/*
Theme Name:        STC Construction v6
Theme URI:         https://stc-construction.ma
Description:       Thème officiel STC Construction — Ingénierie & Construction Tous Corps d'État.
Author:            STC Construction
Author URI:        https://stc-construction.ma
Version:           6.0.0
Requires at least: 6.0
Tested up to:      6.9
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       stc
Tags:              construction, corporate, custom-colors, custom-logo, full-width-template
*/

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: #1A1A1A;
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1,h2,h3,h4,h5,h6 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.5px;
	color: #1A1A1A;
}

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
	--orange:       #C85B30;
	--orange-dark:  #b84e26;
	--dark:         #0D0D0D;
	--dark2:        #1A1A1A;
	--mid:          #666666;
	--light:        #F4F0EB;
	--border:       #E5E0D8;
	--white:        #ffffff;
	--max-w:        1340px;
	--gap:          clamp(20px, 5vw, 80px);
	--section-pad:  clamp(60px, 8vw, 100px);
	--header-h:     72px;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.stc-wrap {
	width: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 var(--gap);
}
.stc-section {
	padding: var(--section-pad) var(--gap);
	max-width: var(--max-w);
	margin: 0 auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.stc-header {
	position: sticky;
	top: 0;
	z-index: 200;
	height: var(--header-h);
	background: var(--dark);
	border-bottom: 3px solid var(--orange);
	transition: box-shadow .3s;
}
.stc-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.35); }
.stc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 var(--gap);
}
.stc-logo { display: flex; align-items: center; gap: 11px; }
.stc-logo__icon { width: 34px; height: 34px; flex-shrink: 0; }
.stc-logo__text {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	color: var(--white);
	letter-spacing: 2px;
	line-height: 1;
}
.stc-logo__sub {
	display: block;
	font-family: 'Manrope', sans-serif;
	font-size: 0.5rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--orange);
	margin-top: 3px;
}
.stc-nav { display: flex; align-items: center; gap: 4px; }
.stc-nav__link {
	padding: 8px 15px;
	font-family: 'Manrope', sans-serif;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
	border-radius: 2px;
	transition: color .2s, background .2s;
}
.stc-nav__link:hover,
.stc-nav__link.active {
	color: var(--white);
	background: rgba(255,255,255,.08);
}
.stc-nav__link--cta {
	background: var(--orange) !important;
	color: var(--white) !important;
	font-weight: 700;
	margin-left: 8px;
	padding: 8px 20px;
	border-radius: 2px;
}
.stc-nav__link--cta:hover { background: var(--orange-dark) !important; }

/* Hamburger */
.stc-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 40px; height: 40px;
	background: none; border: none;
	cursor: pointer; padding: 8px;
}
.stc-hamburger span {
	display: block; width: 24px; height: 2px;
	background: var(--white); border-radius: 2px;
	transition: transform .3s, opacity .3s;
}
.stc-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.stc-hamburger.open span:nth-child(2) { opacity: 0; }
.stc-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.stc-mobile-nav {
	display: none;
	flex-direction: column;
	background: var(--dark);
	padding: 12px var(--gap) 20px;
	border-top: 1px solid rgba(255,255,255,.06);
}
.stc-mobile-nav.open { display: flex; }
.stc-mobile-nav a {
	padding: 14px 0;
	font-family: 'Manrope', sans-serif;
	font-size: .9rem; font-weight: 600;
	letter-spacing: .5px;
	color: rgba(255,255,255,.75);
	border-bottom: 1px solid rgba(255,255,255,.06);
	transition: color .2s;
}
.stc-mobile-nav a:hover { color: var(--orange); }
.stc-mobile-nav a:last-child { border: none; color: var(--orange); font-weight: 700; margin-top: 8px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.stc-footer { background: var(--dark); color: rgba(255,255,255,.55); font-size: .875rem; }
.stc-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: clamp(56px,7vw,88px) var(--gap) clamp(40px,5vw,60px);
}
.stc-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.stc-footer__logo-icon { width: 30px; height: 30px; }
.stc-footer__logo-name {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.6rem; letter-spacing: 2px;
	color: var(--white);
}
.stc-footer__desc { line-height: 1.75; margin-bottom: 24px; max-width: 280px; font-size: .875rem; }
.stc-footer__row {
	display: flex; align-items: flex-start;
	gap: 10px; margin-bottom: 10px; font-size: .8rem;
}
.stc-footer__row svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.stc-footer__row a { color: inherit; }
.stc-footer__row a:hover { color: var(--orange); }
.stc-footer__col-title {
	font-family: 'Manrope', sans-serif;
	font-size: .65rem; font-weight: 700;
	letter-spacing: 2.5px; text-transform: uppercase;
	color: var(--white); margin-bottom: 18px;
}
.stc-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.stc-footer__col a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s; }
.stc-footer__col a:hover { color: var(--orange); }
.stc-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.07);
	max-width: var(--max-w); margin: 0 auto;
	padding: 18px var(--gap);
	display: flex; justify-content: space-between; align-items: center;
	font-size: .75rem; color: rgba(255,255,255,.3);
	flex-wrap: wrap; gap: 12px;
}
.stc-footer__bottom a { color: rgba(255,255,255,.3); }
.stc-footer__bottom a:hover { color: var(--orange); }

/* ==========================================================================
   PAGE HERO — pages intérieures
   ========================================================================== */
.stc-page-hero {
	background: var(--dark);
	position: relative; overflow: hidden;
}
.stc-page-hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(200,91,48,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(200,91,48,.04) 1px, transparent 1px);
	background-size: 60px 60px; pointer-events: none;
}
.stc-page-hero__stripe {
	position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
	background: linear-gradient(to bottom, var(--orange), transparent);
}
.stc-page-hero__inner {
	position: relative; z-index: 2;
	max-width: var(--max-w); margin: 0 auto;
	padding: clamp(60px,8vw,100px) var(--gap);
}
.stc-page-hero__breadcrumb {
	display: flex; align-items: center; gap: 8px;
	font-family: 'Manrope', sans-serif;
	font-size: .72rem; font-weight: 600;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.stc-page-hero__breadcrumb a { color: rgba(255,255,255,.3); }
.stc-page-hero__breadcrumb a:hover { color: var(--orange); }
.stc-page-hero__breadcrumb .sep { color: var(--orange); }
.stc-page-hero h1 {
	font-size: clamp(3rem,8vw,6rem);
	color: var(--white);
	letter-spacing: -1px; line-height: .95;
}
.stc-page-hero h1 em { color: var(--orange); font-style: normal; }
.stc-page-hero__sub {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem; color: rgba(255,255,255,.5);
	margin-top: 16px; line-height: 1.7;
}
.stc-page-hero__stats {
	display: flex; gap: 0; margin-top: 32px;
	border: 1px solid rgba(255,255,255,.08); border-radius: 4px;
	overflow: hidden; align-self: flex-start;
}
.stc-page-hero__stat {
	padding: 16px 32px; text-align: center;
	border-right: 1px solid rgba(255,255,255,.08);
}
.stc-page-hero__stat:last-child { border-right: none; }
.stc-page-hero__stat-num {
	font-size: 2rem; color: var(--white);
	letter-spacing: 1px; line-height: 1;
}
.stc-page-hero__stat-lbl {
	font-family: 'Manrope', sans-serif;
	font-size: .62rem; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase;
	color: rgba(255,255,255,.35); margin-top: 4px;
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.stc-ticker { background: var(--orange); overflow: hidden; padding: 13px 0; }
.stc-ticker__inner { display: flex; animation: stc-tick 30s linear infinite; width: max-content; }
.stc-ticker__item {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.1rem; letter-spacing: 2px;
	color: #fff; padding: 0 40px;
	display: flex; align-items: center; gap: 16px; white-space: nowrap;
}
.stc-ticker__item::after { content: '◆'; font-size: .5rem; opacity: .6; }
@keyframes stc-tick { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.stc-label {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: 'Manrope', sans-serif;
	font-size: .68rem; font-weight: 700;
	letter-spacing: 3px; text-transform: uppercase;
	color: var(--orange); margin-bottom: 16px;
}
.stc-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--orange); }
.stc-label--center { justify-content: center; }
.stc-label--center::before, .stc-label--center::after { content: ''; flex: 0 0 24px; height: 2px; background: var(--orange); }

.stc-h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: .95; letter-spacing: -1px;
	color: var(--dark2); margin-bottom: 20px;
}
.stc-h2--light { color: var(--white); }
.stc-h2--sm { font-size: clamp(1.6rem, 3vw, 2.6rem); }

.stc-body {
	font-family: 'Manrope', sans-serif;
	font-size: .95rem; color: var(--mid);
	line-height: 1.8;
}

.stc-subtitle {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem; color: var(--mid);
	line-height: 1.7; max-width: 560px;
}
.stc-subtitle--light { color: rgba(255,255,255,.55); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.stc-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 32px;
	font-family: 'Manrope', sans-serif;
	font-size: .75rem; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase;
	border-radius: 2px; border: 2px solid transparent;
	cursor: pointer; transition: all .2s; white-space: nowrap;
}
.stc-btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.stc-btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,91,48,.3); color: var(--white); }
.stc-btn--dark { background: var(--dark2); color: var(--white); border-color: var(--dark2); }
.stc-btn--dark:hover { background: #2a2a2a; transform: translateY(-1px); color: var(--white); }
.stc-btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.stc-btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.stc-btn--outline-dark { background: transparent; color: var(--dark2); border-color: var(--dark2); }
.stc-btn--outline-dark:hover { background: var(--dark2); color: var(--white); }
.stc-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.stc-card {
	background: var(--white);
	border: 1px solid var(--border); border-radius: 4px;
	overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.stc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); border-color: var(--orange); }
.stc-card__body { padding: 28px 30px; }
.stc-card__icon {
	width: 48px; height: 48px;
	background: rgba(200,91,48,.08); border-radius: 4px;
	display: flex; align-items: center; justify-content: center;
	color: var(--orange); margin-bottom: 18px;
}
.stc-card__title {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem; font-weight: 700;
	color: var(--dark2); margin-bottom: 10px;
}
.stc-card__text { font-size: .875rem; color: var(--mid); line-height: 1.7; }

/* Pilier card */
.stc-pilier {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 22px 24px;
	background: var(--white); border: 1px solid var(--border); border-radius: 4px;
	transition: border-color .2s, transform .2s;
}
.stc-pilier:hover { border-color: var(--orange); transform: translateY(-2px); }
.stc-pilier__num {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.1rem; color: var(--orange);
	background: rgba(200,91,48,.08); border-radius: 3px;
	padding: 4px 10px; flex-shrink: 0;
}
.stc-pilier__title {
	font-family: 'Manrope', sans-serif;
	font-size: .9375rem; font-weight: 700;
	color: var(--dark2); margin-bottom: 5px;
}
.stc-pilier__desc { font-size: .875rem; color: var(--mid); line-height: 1.65; }

/* Project card */
.stc-proj-card {
	background: var(--white); border: 1px solid var(--border); border-radius: 4px;
	overflow: hidden; display: block; color: inherit;
	transition: all .3s;
}
.stc-proj-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); border-color: var(--orange); color: inherit; }
.stc-proj-card__img { height: 220px; overflow: hidden; background: var(--light); }
.stc-proj-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.stc-proj-card:hover .stc-proj-card__img img { transform: scale(1.06); }
.stc-proj-card__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #F4F0EB, #E8E2DA);
}
.stc-proj-card__body { padding: 22px 24px; }
.stc-proj-card__sector {
	font-family: 'Manrope', sans-serif;
	font-size: .62rem; font-weight: 700;
	letter-spacing: 2.5px; text-transform: uppercase;
	color: var(--orange); margin-bottom: 8px;
}
.stc-proj-card__title {
	font-family: 'Manrope', sans-serif;
	font-size: .95rem; font-weight: 800;
	color: var(--dark2); margin-bottom: 10px; line-height: 1.3;
}
.stc-proj-card__meta {
	font-size: .75rem; color: var(--mid);
	display: flex; gap: 12px;
}
.stc-proj-card__arrow {
	width: 34px; height: 34px;
	border: 1.5px solid var(--border); border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin-top: 14px; transition: all .2s;
}
.stc-proj-card:hover .stc-proj-card__arrow { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Ref row — dark bg */
.stc-ref-item {
	display: grid; grid-template-columns: 300px 1fr 1fr;
	border: 1px solid rgba(255,255,255,.06); border-bottom: none;
}
.stc-ref-item:last-child { border-bottom: 1px solid rgba(255,255,255,.06); }
.stc-ref-item:hover .stc-ref-item__img img { transform: scale(1.05); }
.stc-ref-item__img { overflow: hidden; min-height: 180px; }
.stc-ref-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.stc-ref-item__meta {
	padding: 32px 36px;
	background: rgba(255,255,255,.02);
	border-left: 1px solid rgba(255,255,255,.06);
	border-right: 1px solid rgba(255,255,255,.06);
	display: flex; flex-direction: column; justify-content: center;
}
.stc-ref-item__sector {
	font-family: 'Manrope', sans-serif;
	font-size: .62rem; font-weight: 700;
	letter-spacing: 3px; text-transform: uppercase;
	color: var(--orange); margin-bottom: 12px;
}
.stc-ref-item__name {
	font-size: 1.6rem; line-height: 1;
	color: #fff; margin-bottom: 16px;
}
.stc-ref-item__tag {
	font-family: 'Manrope', sans-serif;
	font-size: .72rem; color: rgba(255,255,255,.4);
	display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
}
.stc-ref-item__desc { padding: 32px 40px; display: flex; align-items: center; }
.stc-ref-item__desc p {
	font-family: 'Manrope', sans-serif;
	font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.75;
}

/* Comp item — dark grid */
.stc-comp-grid {
	display: grid; grid-template-columns: repeat(4,1fr);
	gap: 1px; background: rgba(255,255,255,.06);
}
.stc-comp-item {
	background: var(--dark); padding: 40px 24px; text-align: center;
	transition: background .3s; position: relative; overflow: hidden;
}
.stc-comp-item::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: var(--orange); transform: scaleX(0); transition: transform .4s; transform-origin: left;
}
.stc-comp-item:hover { background: #161616; }
.stc-comp-item:hover::before { transform: scaleX(1); }
.stc-comp-item__num {
	font-size: 3.5rem; color: rgba(200,91,48,.15);
	line-height: 1; margin-bottom: 16px;
}
.stc-comp-item__title {
	font-family: 'Manrope', sans-serif;
	font-size: .78rem; font-weight: 800;
	color: var(--orange); margin-bottom: 10px;
}
.stc-comp-item__desc {
	font-family: 'Manrope', sans-serif;
	font-size: .76rem; color: rgba(255,255,255,.4); line-height: 1.65;
}

/* ==========================================================================
   FILTER BAR
   ========================================================================== */
.stc-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.stc-filter-btn {
	padding: 9px 22px;
	font-family: 'Manrope', sans-serif;
	font-size: .7rem; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	border: 1.5px solid var(--border); background: transparent;
	cursor: pointer; border-radius: 2px;
	color: var(--mid); transition: all .2s;
}
.stc-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.stc-filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.stc-form-group { margin-bottom: 20px; }
.stc-form-label {
	display: block;
	font-family: 'Manrope', sans-serif;
	font-size: .72rem; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--dark2); margin-bottom: 8px;
}
.stc-form-label .req { color: var(--orange); }
.stc-input, .stc-textarea, .stc-select {
	width: 100%; padding: 12px 16px;
	font-family: 'Manrope', sans-serif;
	font-size: .9375rem; color: var(--dark2);
	background: var(--white);
	border: 1.5px solid var(--border); border-radius: 2px;
	transition: border-color .2s, box-shadow .2s;
	outline: none; -webkit-appearance: none;
}
.stc-input:focus, .stc-textarea:focus, .stc-select:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(200,91,48,.1);
}
.stc-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.stc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stc-feedback { display: none; padding: 14px 20px; border-radius: 2px; font-size: .9rem; font-weight: 500; margin-top: 16px; }
.stc-feedback.success { display: block; background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.stc-feedback.error   { display: block; background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ==========================================================================
   CONTACT CARDS
   ========================================================================== */
.stc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.stc-contact-card {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 24px; background: var(--light); border-radius: 4px;
	border-left: 3px solid var(--orange);
}
.stc-contact-card__icon {
	width: 44px; height: 44px; background: var(--orange); border-radius: 4px;
	display: flex; align-items: center; justify-content: center;
	color: var(--white); flex-shrink: 0;
}
.stc-contact-card__lbl {
	font-family: 'Manrope', sans-serif;
	font-size: .65rem; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase;
	color: var(--mid); margin-bottom: 6px;
}
.stc-contact-card__val {
	font-family: 'Manrope', sans-serif;
	font-size: .9375rem; font-weight: 500;
	color: var(--dark2); line-height: 1.5;
}
.stc-contact-card__val a { color: inherit; }
.stc-contact-card__val a:hover { color: var(--orange); }

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stc-stats-bar { display: grid; grid-template-columns: repeat(4,1fr); }
.stc-stats-bar__item {
	text-align: center; padding: 28px 20px;
	border-right: 1px solid rgba(255,255,255,.15);
}
.stc-stats-bar__item:last-child { border-right: none; }
.stc-stats-bar__num {
	font-size: clamp(1.8rem,3.5vw,2.8rem);
	color: var(--white); letter-spacing: -1px; line-height: 1; margin-bottom: 6px;
}
.stc-stats-bar__lbl {
	font-family: 'Manrope', sans-serif;
	font-size: .7rem; font-weight: 600;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: rgba(255,255,255,.75);
}

/* ==========================================================================
   SECTION BACKGROUNDS
   ========================================================================== */
.stc-bg-dark  { background: var(--dark); }
.stc-bg-dark2 { background: var(--dark2); }
.stc-bg-light { background: var(--light); }
.stc-bg-orange { background: var(--orange); }
.stc-bg-white  { background: var(--white); }

.stc-section-dark  { background: var(--dark);  padding: var(--section-pad) var(--gap); }
.stc-section-light { background: var(--light); padding: var(--section-pad) var(--gap); }
.stc-section-orange { background: var(--orange); padding: var(--section-pad) var(--gap); }

.stc-section-dark  > .stc-inner,
.stc-section-light > .stc-inner,
.stc-section-orange > .stc-inner { max-width: var(--max-w); margin: 0 auto; }

.stc-inner { max-width: var(--max-w); margin: 0 auto; }

/* ==========================================================================
   LAYOUT GRIDS
   ========================================================================== */
.stc-cols-2 {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(32px,5vw,72px); align-items: start;
}
.stc-cols-2--wide-left {
	display: grid; grid-template-columns: 1.2fr 1fr;
	gap: clamp(32px,5vw,64px); align-items: start;
}
.stc-cols-2--centered {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(40px,6vw,96px); align-items: center;
}
.stc-cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stc-cols-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stc-cols-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Section intro centrée */
.stc-section-head { margin-bottom: 56px; }
.stc-section-head--center { text-align: center; }
.stc-section-head--center .stc-label { justify-content: center; }

/* Check list */
.stc-checklist { display: flex; flex-direction: column; gap: 12px; }
.stc-checklist li {
	display: flex; align-items: flex-start; gap: 12px;
	font-family: 'Manrope', sans-serif;
	font-size: .9rem; color: var(--dark2); line-height: 1.5;
}
.stc-checklist li svg { flex-shrink: 0; margin-top: 2px; }
.stc-checklist--light li { color: rgba(255,255,255,.75); }

/* Method item */
.stc-method-item { display: flex; gap: 16px; align-items: flex-start; }
.stc-method-item__icon {
	width: 40px; height: 40px; flex-shrink: 0;
	background: var(--orange); border-radius: 2px;
	display: flex; align-items: center; justify-content: center;
}
.stc-method-item__title {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem; font-weight: 700;
	color: var(--dark2); margin-bottom: 6px;
}
.stc-method-item__desc { font-size: .875rem; color: var(--mid); line-height: 1.7; }

/* Mode cards */
.stc-mode-card { background: var(--white); border-radius: 4px; border: 1px solid var(--border); overflow: hidden; }
.stc-mode-card__head { padding: 32px; border-bottom-width: 3px; border-bottom-style: solid; }
.stc-mode-card__head--dark { background: var(--dark); border-bottom-color: var(--orange); }
.stc-mode-card__head--orange { background: var(--orange); border-bottom-color: var(--dark); }
.stc-mode-card__tag {
	font-family: 'Manrope', sans-serif;
	font-size: .65rem; font-weight: 700;
	letter-spacing: 2.5px; text-transform: uppercase;
	margin-bottom: 12px;
}
.stc-mode-card__head--dark .stc-mode-card__tag { color: var(--orange); }
.stc-mode-card__head--orange .stc-mode-card__tag { color: rgba(255,255,255,.7); }
.stc-mode-card__title { font-size: 1.6rem; margin-bottom: 8px; }
.stc-mode-card__head--dark .stc-mode-card__title { color: #fff; }
.stc-mode-card__head--orange .stc-mode-card__title { color: #fff; }
.stc-mode-card__desc { font-family: 'Manrope', sans-serif; font-size: .875rem; line-height: 1.7; }
.stc-mode-card__head--dark .stc-mode-card__desc { color: rgba(255,255,255,.6); }
.stc-mode-card__head--orange .stc-mode-card__desc { color: rgba(255,255,255,.8); }
.stc-mode-card__body { padding: 32px; }

/* CTA section */
.stc-cta { position: relative; overflow: hidden; padding: clamp(80px,10vw,140px) var(--gap); text-align: center; }
.stc-cta--dark  { background: var(--dark); }
.stc-cta--orange { background: var(--orange); }
.stc-cta--light { background: var(--light); }
.stc-cta__bg {
	position: absolute; font-size: min(30vw,280px);
	color: rgba(255,255,255,.02); bottom: -30px; left: 50%; transform: translateX(-50%);
	white-space: nowrap; pointer-events: none; letter-spacing: -5px; line-height: 1;
}
.stc-cta--light .stc-cta__bg { color: rgba(0,0,0,.03); }
.stc-cta__inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.stc-cta__title { font-size: clamp(2.5rem,6vw,5rem); line-height: .9; letter-spacing: -2px; margin-bottom: 20px; }
.stc-cta--dark .stc-cta__title  { color: #fff; }
.stc-cta--orange .stc-cta__title { color: #fff; }
.stc-cta--light .stc-cta__title  { color: var(--dark2); }
.stc-cta__sub {
	font-family: 'Manrope', sans-serif;
	font-size: .95rem; line-height: 1.75; margin-bottom: 40px;
}
.stc-cta--dark .stc-cta__sub   { color: rgba(255,255,255,.45); }
.stc-cta--orange .stc-cta__sub { color: rgba(255,255,255,.85); }
.stc-cta--light .stc-cta__sub  { color: var(--mid); }

/* Quote block */
.stc-quote {
	border-left: 3px solid var(--orange);
	padding: 24px 32px;
	background: rgba(255,255,255,.03);
	border-radius: 0 4px 4px 0;
}
.stc-quote p {
	font-family: 'Manrope', sans-serif;
	font-size: clamp(1rem,2vw,1.35rem);
	color: rgba(255,255,255,.85); font-style: italic;
	line-height: 1.7; margin-bottom: 16px;
}
.stc-quote__author {
	display: flex; align-items: center; gap: 12px;
	font-family: 'Manrope', sans-serif;
	font-size: .72rem; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase;
	color: var(--orange);
}
.stc-quote__author::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }

/* Quote block light bg */
.stc-quote--light {
	border-left-color: var(--orange);
	background: var(--light);
	border-radius: 0 4px 4px 0;
}
.stc-quote--light p { color: var(--dark2); }
.stc-quote--light .stc-quote__author { color: var(--orange); }

/* Info highlight */
.stc-highlight {
	padding: 20px 24px;
	border-left: 3px solid var(--orange);
	background: var(--light);
	border-radius: 0 4px 4px 0;
}
.stc-highlight p {
	font-family: 'Manrope', sans-serif;
	font-size: .9375rem; font-weight: 600;
	color: var(--dark2); line-height: 1.6;
}

/* Dark highlight */
.stc-highlight--dark {
	background: var(--dark); border-left-color: var(--orange);
	padding: 24px 32px; border-radius: 0 4px 4px 0;
}
.stc-highlight--dark p { color: rgba(255,255,255,.85); font-style: italic; }

/* Criteria bar */
.stc-criteria {
	display: flex; gap: 28px; flex-wrap: wrap;
	padding: 20px 24px; background: var(--light); border-radius: 4px;
}
.stc-criteria__item {
	font-family: 'Manrope', sans-serif;
	font-size: .72rem; font-weight: 700;
	letter-spacing: 1px; text-transform: uppercase;
	color: var(--orange); display: flex; align-items: center; gap: 8px;
}
.stc-criteria__item::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }

/* Photo grid 2x2 */
.stc-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stc-photo-grid__item { border-radius: 4px; overflow: hidden; }
.stc-photo-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Team card */
.stc-team-card {
	background: var(--white); border-radius: 4px;
	border: 1px solid var(--border); padding: 32px;
}
.stc-team-card__avatar {
	width: 52px; height: 52px; background: var(--dark);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
}
.stc-team-card__title {
	font-family: 'Manrope', sans-serif;
	font-size: 1.05rem; font-weight: 700; margin-bottom: 12px;
}
.stc-team-card__desc { font-size: .875rem; color: var(--mid); line-height: 1.7; }

/* Admin bar fix */
.stc-header { top: 0; }
.admin-bar .stc-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .stc-header { top: 46px; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.stc-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.stc-stats-bar { grid-template-columns: repeat(2,1fr); }
	.stc-stats-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
	.stc-stats-bar__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
	.stc-stats-bar__item:nth-last-child(-n+2) { border-bottom: none; }
	.stc-cols-4 { grid-template-columns: repeat(2,1fr); }
	.stc-comp-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
	.stc-cols-2, .stc-cols-2--wide-left, .stc-cols-2--centered { grid-template-columns: 1fr; }
	.stc-cols-3 { grid-template-columns: repeat(2,1fr); }
	.stc-ref-item { grid-template-columns: 1fr; }
	.stc-ref-item__img { min-height: 220px; }
	.stc-ref-item__meta { border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,.06); }
	.stc-ref-item__desc { border-top: 1px solid rgba(255,255,255,.06); }
	.stc-page-hero__stats { flex-wrap: wrap; }
	.stc-page-hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); flex: 1 1 120px; }
	.stc-page-hero__stat:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
	.stc-nav { display: none; }
	.stc-hamburger { display: flex; }
	.stc-form-row { grid-template-columns: 1fr; }
	.stc-contact-grid { grid-template-columns: 1fr; }
	.stc-cols-2x2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.stc-cols-3 { grid-template-columns: 1fr; }
	.stc-cols-4, .stc-comp-grid { grid-template-columns: 1fr; }
	.stc-photo-grid { grid-template-columns: 1fr; }
	.stc-footer__grid { grid-template-columns: 1fr; }
	.stc-footer__bottom { flex-direction: column; text-align: center; }
	.stc-btn-group { flex-direction: column; }
	.stc-btn-group .stc-btn { width: 100%; justify-content: center; }
}
/* ==========================================================================
   EVOLVE IT CREDIT
   ========================================================================== */
.stc-footer__evolve {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px var(--gap);
	border-top: 1px solid rgba(255,255,255,.06);
	flex-wrap: wrap;
}
.stc-footer__evolve-label {
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.3);
}
.stc-footer__evolve-link {
	display: flex;
	align-items: center;
	opacity: .65;
	transition: opacity .2s;
}
.stc-footer__evolve-link:hover { opacity: 1; }
.stc-footer__evolve-logo {
	height: 60px;
	width: auto;
	display: block;
}
.stc-footer__evolve-sep {
	color: rgba(255,255,255,.2);
	font-size: .8rem;
}
.stc-footer__evolve-icon {
	display: flex;
	align-items: center;
	color: #E8571A;
	opacity: .65;
	transition: opacity .2s;
}
.stc-footer__evolve-icon:hover { opacity: 1; }
@media (max-width: 480px) {
	.stc-footer__evolve { gap: 8px; padding: 12px 16px; }
	.stc-footer__evolve-logo { height: 60px; }
}
