/* ============================================================
   African Odyssey — Main stylesheet
   Esthétique luxe noir & or, typographie Art Deco, motifs africains.
   ============================================================ */

/* --- Self-hosted fonts (charte graphique officielle) ----- */
@font-face {
	font-family: 'Trajan Pro';
	src: url('../fonts/TrajanPro-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Trajan Pro';
	src: url('../fonts/TrajanPro-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cinzel';
	src: url('../fonts/Cinzel-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cinzel';
	src: url('../fonts/Cinzel-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cinzel';
	src: url('../fonts/Cinzel-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Cinzel';
	src: url('../fonts/Cinzel-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* --- Tokens ----------------------------------------------- */
:root {
	/* Couleurs officielles charte graphique African Odyssey */
	--bg:           #1A1A1A;  /* Pantone Black 6 C — RGB(26,26,26) */
	--bg-2:         #1F1D1A;
	--surface:      #252220;
	--surface-2:    #2C2925;
	--ink:          #F5EDDD;
	--ink-soft:     #C8BDA5;
	--ink-muted:    #8A816F;
	--line:         rgba(209, 167, 109, 0.18);
	--line-2:       rgba(245, 237, 221, 0.08);
	--gold:         #D1A76D;  /* Pantone 4024 C — RGB(209,167,109) */
	--gold-bright:  #E5BD86;
	--gold-soft:    #A88555;
	--gold-deep:    #7C5F33;
	--white:        #FFFFFF;

	--radius-sm: 4px;
	--radius:    8px;
	--radius-lg: 14px;

	/* Typographie alignée sur la charte (Trajan Pro 3 + Futura) */
	/* Trajan Pro et Cinzel sont auto-hébergés (assets/fonts/) — Cinzel = fallback élégant */
	--ff-display: 'Trajan Pro', 'Cinzel', 'Trajan', Georgia, serif;
	--ff-serif:   'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
	--ff-sans:    'Jost', 'Futura', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--shadow-sm: 0 1px 3px rgba(0,0,0,.4);
	--shadow:    0 12px 32px -8px rgba(0,0,0,.6);
	--shadow-gold: 0 0 32px rgba(209, 167, 109, 0.18);

	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--ff-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-serif);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ink);
}

p { color: var(--ink-soft); font-weight: 300; }

::selection { background: var(--gold); color: var(--bg); }

/* --- Helpers ---------------------------------------------- */
.container { width: min(1240px, 92%); margin-inline: auto; }
.container-narrow { width: min(760px, 92%); margin-inline: auto; }

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--gold); color: var(--bg);
	padding: .75rem 1rem; z-index: 999;
	font-family: var(--ff-sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: .8rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- African triangle border ------------------------------ */
.tribal-border {
	height: 18px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 18' width='40' height='18'><path d='M0,18 L10,0 L20,18 Z M20,18 L30,0 L40,18 Z' fill='%23D1A76D'/><path d='M5,18 L15,0 L25,18 Z M25,18 L35,0 L45,18 Z' fill='%23D1A76D' opacity='.45'/></svg>");
	background-repeat: repeat-x;
	background-size: 40px 18px;
	opacity: .85;
}

/* --- Buttons ---------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: .65em;
	padding: .95rem 1.6rem;
	font-family: var(--ff-sans);
	font-size: .82rem;
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
	border-radius: 0;
	border: 1px solid transparent;
	transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
	white-space: nowrap;
	cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: var(--shadow-gold); }

.btn-ghost { color: var(--ink); border-color: rgba(201, 168, 106, 0.35); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201, 168, 106, 0.06); }

.btn-sm { padding: .65rem 1.15rem; font-size: .72rem; letter-spacing: .16em; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform .3s var(--ease); display: inline-block; font-size: 1.2em; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* --- Eyebrow / accents ------------------------------------ */
.eyebrow {
	display: inline-flex; align-items: center; gap: .8rem;
	font-family: var(--ff-sans);
	font-size: .72rem;
	font-weight: 400;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
}
.eyebrow .dot { display: inline-block; width: 28px; height: 1px; background: var(--gold); }

.cowrie {
	display: inline-block;
	width: 14px; height: 14px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><ellipse cx='7' cy='7' rx='4' ry='6.5' fill='%23D1A76D'/><path d='M7 1.5 Q7 7 7 12.5' stroke='%231A1A1A' stroke-width='.7' fill='none'/><path d='M5.5 4 L5.5 5.2 M8.5 4 L8.5 5.2 M5.5 8.8 L5.5 10 M8.5 8.8 L8.5 10' stroke='%231A1A1A' stroke-width='.5' fill='none' opacity='.5'/></svg>");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.ornament-divider {
	display: flex; align-items: center; justify-content: center;
	gap: 1.1rem;
	margin: 1.5rem 0;
}
.ornament-divider::before, .ornament-divider::after {
	content: '';
	height: 1px;
	width: clamp(40px, 12vw, 110px);
	background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* --- Site header ------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(14, 14, 14, 0.85);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	transition: background .35s var(--ease), border-color .35s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(14, 14, 14, 0.96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.brand-text {
	display: inline-flex; align-items: center; gap: .65rem;
	font-family: var(--ff-display);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink);
}
.brand-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	color: var(--gold);
	font-size: .9rem;
	flex-shrink: 0;
}
.brand-name { white-space: nowrap; }
.custom-logo-link img { max-height: 44px; width: auto; }

.primary-nav .nav-menu { display: flex; gap: 2.4rem; list-style: none; padding: 0; margin: 0; }
.primary-nav a {
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-soft);
	position: relative;
	transition: color .25s var(--ease);
	font-weight: 400;
}
.primary-nav a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
	height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: left;
	transition: transform .4s var(--ease);
}
.primary-nav a:hover { color: var(--gold-bright); }
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
	display: none;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid var(--line);
	flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 18px; height: 1px; background: var(--gold); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
	display: none;
	position: fixed; inset: 64px 0 0 0;
	background: var(--bg);
	padding: 2rem 5%;
	flex-direction: column; gap: 1.5rem;
	overflow-y: auto;
	transform: translateY(-12px); opacity: 0; pointer-events: none;
	transition: transform .4s var(--ease), opacity .3s var(--ease);
	border-top: 1px solid var(--line);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu .mobile-nav-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.mobile-menu .mobile-nav-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-nav-menu a {
	display: block;
	padding: 1.2rem 0;
	font-family: var(--ff-display);
	font-size: 1.1rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink);
}

/* --- Sections (general) ----------------------------------- */
section { position: relative; }

.section-head { max-width: 760px; margin-bottom: 4.5rem; text-align: center; margin-inline: auto; }
.section-num {
	display: inline-block;
	font-family: var(--ff-serif);
	font-size: .85rem;
	font-style: italic;
	color: var(--gold);
	letter-spacing: .1em;
	margin-bottom: 1.25rem;
	font-weight: 400;
}
.section-num::before, .section-num::after { content: '—'; margin: 0 .8rem; color: var(--gold-soft); opacity: .6; }
.section-title {
	font-family: var(--ff-display);
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	color: var(--ink);
}
.section-lead {
	font-family: var(--ff-serif);
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	font-style: italic;
	color: var(--ink-soft);
	max-width: 60ch;
	margin-inline: auto;
	font-weight: 300;
}

/* --- HERO ------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(5rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
	overflow: hidden;
	background:
		radial-gradient(70% 50% at 50% 0%, rgba(201, 168, 106, 0.10), transparent 70%),
		radial-gradient(40% 40% at 100% 100%, rgba(201, 168, 106, 0.06), transparent 70%),
		var(--bg);
	text-align: center;
}
.hero-grain {
	position: absolute; inset: 0;
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23D1A76D' stroke-width='.5' opacity='.12'><circle cx='100' cy='100' r='1.5'/><path d='M88 100 L112 100 M100 88 L100 112 M91 91 L109 109 M109 91 L91 109'/><circle cx='500' cy='200' r='1.5'/><path d='M488 200 L512 200 M500 188 L500 212 M491 191 L509 209 M509 191 L491 209'/><circle cx='200' cy='500' r='1.5'/><path d='M188 500 L212 500 M200 488 L200 512 M191 491 L509 209 M509 191 L491 509'/><circle cx='480' cy='480' r='1.5'/><path d='M468 480 L492 480 M480 468 L480 492 M471 471 L489 489 M489 471 L471 489'/></g></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .79  0 0 0 0 .66  0 0 0 0 .42  0 0 0 .14 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	background-size: 600px 600px, 200px 200px;
	pointer-events: none;
	mix-blend-mode: screen;
}

/* Halftone dot pattern — signature visuelle de la charte */
.hero-halftone {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 45%;
	pointer-events: none;
	background-image: radial-gradient(circle, rgba(245, 237, 221, 0.18) 1.5px, transparent 1.6px);
	background-size: 22px 22px;
	background-position: 0 0;
	-webkit-mask-image: linear-gradient(105deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.15) 70%, transparent 100%);
	mask-image: linear-gradient(105deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.15) 70%, transparent 100%);
	opacity: .8;
}
.hero-inner { position: relative; }

.hero-display {
	font-family: var(--ff-display);
	font-size: clamp(2.4rem, 7.5vw, 5.4rem);
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 1.75rem 0 1rem;
	line-height: 1.05;
}
.hero-display em, .hero-display .accent { color: var(--gold); font-style: normal; }

.hero-quote {
	font-family: var(--ff-serif);
	font-style: italic;
	font-size: clamp(1.1rem, 1.7vw, 1.4rem);
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 60ch;
	margin: 0 auto 2.75rem;
	font-weight: 300;
}
.hero-quote::before, .hero-quote::after {
	content: '«';
	color: var(--gold);
	margin: 0 .25em;
	font-size: 1.3em;
	vertical-align: -.05em;
}
.hero-quote::after { content: '»'; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 4.5rem; }

.hero-meta {
	display: flex; align-items: stretch; gap: 0;
	flex-wrap: wrap; justify-content: center;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
	max-width: 880px;
	margin-inline: auto;
}
.meta-item {
	display: flex; flex-direction: column; gap: .35rem;
	padding: 0 clamp(1rem, 4vw, 2.5rem);
	min-width: 180px;
	text-align: center;
}
.meta-num { font-family: var(--ff-display); font-size: 1.3rem; letter-spacing: .15em; color: var(--gold); font-weight: 500; }
.meta-label { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.meta-divider { width: 1px; background: var(--line); }

.scroll-cue {
	position: absolute; bottom: 1.5rem; left: 50%;
	transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: .6rem;
	font-family: var(--ff-sans);
	font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
	color: var(--ink-muted);
	pointer-events: none;
}

/* When the hero has a background image, lighten the text shadow to keep readability */
.hero--has-image {
	background-attachment: scroll;
}
.hero--has-image .hero-display {
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero--has-image .hero-quote {
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero--has-image .meta-num,
.hero--has-image .meta-label {
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
	.hero--has-image { background-attachment: fixed; }
}
@media (max-width: 980px) {
	.hero--has-image { background-attachment: scroll; }
}
.scroll-line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.4); opacity: .3; } }

/* --- MARQUEE ---------------------------------------------- */
.marquee-section { background: var(--bg-2); color: var(--gold); padding: 1.4rem 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
	display: inline-flex; gap: 2.5rem; align-items: center;
	white-space: nowrap;
	animation: marqueeScroll 35s linear infinite;
	font-family: var(--ff-display);
	font-size: 1rem;
	letter-spacing: .26em;
	text-transform: uppercase;
}
.marquee-track .sep { color: var(--gold-soft); font-style: normal; font-size: .8em; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- VOCATION --------------------------------------------- */
.vocation { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg); position: relative; }
.vocation-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	max-width: 1100px;
	margin-inline: auto;
}
.vocation-content { text-align: left; }
.vocation-content .section-head { text-align: left; margin-inline: 0; margin-bottom: 2rem; }
.vocation-content .section-num::before { display: none; }
.vocation-content .section-num::after { display: none; }
.vocation-content .section-title { text-align: left; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.vocation-text p { margin-bottom: 1.15rem; }
.vocation-text p:first-of-type {
	font-family: var(--ff-serif);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--ink);
	font-weight: 300;
	margin-bottom: 1.5rem;
}
.vocation-cta {
	margin-top: 1.75rem;
	font-family: var(--ff-serif);
	font-style: italic;
	color: var(--gold);
	font-size: 1.1rem;
	font-weight: 400;
}

.gold-arc { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; }
.gold-arc::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); opacity: .35; }
.gold-arc::after { content: ''; position: absolute; top: 8%; left: 8%; right: 8%; bottom: 8%; border-radius: 50%; border: 1px solid var(--gold); opacity: .55; }
.gold-arc-inner {
	position: absolute;
	top: 16%; left: 16%; right: 16%; bottom: 16%;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold) 30%, var(--gold-deep) 70%);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 60px rgba(201, 168, 106, .35);
}
.gold-arc-mark { font-family: var(--ff-display); font-size: 3rem; font-weight: 600; color: var(--bg); letter-spacing: .1em; }

/* --- SERVICES --------------------------------------------- */
.services { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.service-card {
	background: var(--bg-2);
	padding: 2.5rem 2rem;
	transition: background .4s var(--ease), transform .4s var(--ease);
	display: flex; flex-direction: column; gap: 1rem;
	min-height: 260px;
	position: relative;
}
.service-card:hover { background: var(--surface); }
.service-card:hover .service-num { color: var(--gold-bright); }

.service-num {
	font-family: var(--ff-serif);
	font-style: italic;
	color: var(--gold);
	font-size: 1rem;
	letter-spacing: .05em;
	transition: color .35s var(--ease);
}
.service-title {
	font-family: var(--ff-display);
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: .25rem;
	color: var(--ink);
}
.service-desc { color: var(--ink-soft); font-size: .95rem; font-weight: 300; font-family: var(--ff-sans); }

/* --- ENGAGEMENT ------------------------------------------- */
.engagement { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg); }
.engagement-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.engagement-step {
	padding: 0 clamp(1.5rem, 3vw, 2.5rem);
	border-left: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 1rem;
	position: relative;
}
.engagement-step:first-child { padding-left: 0; border-left: 0; }
.step-icon {
	width: 60px; height: 60px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--ff-display);
	font-size: 1.1rem;
	color: var(--gold);
	letter-spacing: .1em;
	margin-bottom: .5rem;
	transition: background .35s var(--ease), color .35s var(--ease);
}
.engagement-step:hover .step-icon { background: var(--gold); color: var(--bg); }
.step-number { font-family: var(--ff-serif); font-style: italic; font-size: 1.15rem; font-weight: 400; color: var(--gold); margin-top: .25rem; }
.engagement-step h3 {
	font-family: var(--ff-display);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink);
}
.engagement-step p { color: var(--ink-soft); font-size: .95rem; font-weight: 300; }

/* --- B2B -------------------------------------------------- */
.btob { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.btob-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.btob-content .section-head { text-align: left; margin-inline: 0; margin-bottom: 2rem; }
.btob-content .section-title { text-align: left; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.btob-content .section-num::before { display: none; }
.btob-text p { margin-bottom: 1rem; color: var(--ink-soft); }
.btob-pillars { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.btob-pillars li {
	display: flex; align-items: center; gap: .85rem;
	font-family: var(--ff-serif);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--ink);
	font-weight: 400;
	padding: .35rem 0;
}
.btob-visual { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.btob-visual img { width: 100%; height: 100%; object-fit: cover; }
.btob-placeholder {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
	color: var(--ink-muted);
	font-family: var(--ff-sans);
	font-size: .8rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-align: center;
	padding: 2rem;
}
.placeholder-shape {
	width: 90px; height: 90px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--gold);
	font-family: var(--ff-display);
	font-size: 1.4rem;
}
.btob-frame { position: relative; }
.btob-frame::before {
	content: ''; position: absolute; inset: -1px;
	border: 1px solid var(--gold);
	pointer-events: none;
	transform: translate(14px, 14px);
	z-index: -1;
}

/* --- CLIENTÈLE -------------------------------------------- */
.clientele { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg); text-align: center; }
.clientele-quote {
	font-family: var(--ff-display);
	font-size: clamp(.8rem, 1.1vw, .95rem);
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 2rem;
}
.clientele-title {
	font-family: var(--ff-serif);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-style: italic;
	color: var(--ink);
	max-width: 28ch;
	margin: 0 auto 2.5rem;
	font-weight: 300;
	line-height: 1.3;
}
.clientele-list {
	display: flex; flex-wrap: wrap; gap: 0;
	justify-content: center;
	max-width: 920px;
	margin: 2.5rem auto 0;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}
.clientele-item {
	flex: 1 1 200px;
	padding: 1rem 1.5rem;
	border-right: 1px solid var(--line);
	font-family: var(--ff-sans);
	font-size: .85rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.clientele-item:last-child { border-right: 0; }

/* --- TÉMOIGNAGES ------------------------------------------ */
.testimonials { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
	background: var(--bg);
	border: 1px solid var(--line);
	padding: 2.25rem;
	margin: 0;
	display: flex; flex-direction: column; gap: 1.25rem;
	position: relative;
	transition: border-color .35s var(--ease);
}
.testimonial:hover { border-color: var(--gold); }
.testimonial::before {
	content: '"';
	position: absolute; top: 1rem; left: 1.4rem;
	font-family: var(--ff-serif);
	font-size: 4.5rem;
	font-style: italic;
	color: var(--gold);
	opacity: .25;
	line-height: 1;
}
.testimonial blockquote {
	margin: 0;
	padding-top: 1.5rem;
	font-family: var(--ff-serif);
	font-size: 1.1rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ink);
}
.testimonial figcaption { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.testimonial figcaption strong {
	font-family: var(--ff-display);
	font-size: .85rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
}
.testimonial figcaption span { font-size: .82rem; color: var(--ink-muted); font-family: var(--ff-sans); }

/* --- CTA FINAL -------------------------------------------- */
.cta-final {
	padding: clamp(5rem, 11vw, 9rem) 0;
	background:
		radial-gradient(60% 60% at 50% 50%, rgba(201, 168, 106, 0.10), transparent 70%),
		var(--bg);
	position: relative;
	overflow: hidden;
	text-align: center;
}
.cta-final::before, .cta-final::after {
	content: '';
	position: absolute; width: 1px;
	background: linear-gradient(to bottom, transparent, var(--gold), transparent);
	height: 80%; top: 10%;
	opacity: .35;
}
.cta-final::before { left: 6%; }
.cta-final::after  { right: 6%; }

.cta-inner { position: relative; max-width: 760px; margin-inline: auto; }
.cta-eyebrow { color: var(--gold); }
.cta-title {
	font-family: var(--ff-display);
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 1.5rem 0 1.5rem;
	line-height: 1.1;
}
.cta-text {
	font-family: var(--ff-serif);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--ink-soft);
	max-width: 60ch;
	margin: 0 auto 3rem;
	font-weight: 300;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.cta-coords {
	display: flex; flex-wrap: wrap; gap: 2rem;
	justify-content: center; align-items: center;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	font-family: var(--ff-sans);
	font-size: .82rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.cta-coords a, .cta-coords span { color: var(--ink-soft); transition: color .25s var(--ease); }
.cta-coords a:hover { color: var(--gold-bright); }
.cta-coord-label { color: var(--gold); letter-spacing: .22em; margin-right: .55em; }
.cta-coord-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); }

/* --- BLOG / ARCHIVE / SINGLE ------------------------------ */
.archive, .single-page, .single-post { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); background: var(--bg); }
.archive-head, .single-head { margin-bottom: 3rem; text-align: center; }
.single-head .post-meta { margin-bottom: 1rem; justify-content: center; }
.post-cats { color: var(--gold); font-family: var(--ff-sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.single-title { font-family: var(--ff-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.post-item { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-thumb:hover img { transform: scale(1.04); }
.post-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--ink-muted); align-items: center; }
.post-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.post-title a { transition: color .25s var(--ease); }
.post-title a:hover { color: var(--gold-bright); }
.post-excerpt { color: var(--ink-soft); }
.post-more { font-family: var(--ff-sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-top: auto; }
.post-more:hover { color: var(--gold-bright); }

.single-thumb { margin-bottom: 2.5rem; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--line); }
.single-thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-content { font-family: var(--ff-serif); font-size: 1.15rem; line-height: 1.8; color: var(--ink); font-weight: 300; }
.single-content > * + * { margin-top: 1.5rem; }
.single-content h2 { font-family: var(--ff-display); font-size: 1.7rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 3rem; }
.single-content h3 { font-family: var(--ff-serif); font-style: italic; font-size: 1.5rem; color: var(--gold); margin-top: 2rem; }
.single-content blockquote {
	border-left: 2px solid var(--gold);
	padding: .5rem 1.75rem;
	font-family: var(--ff-serif);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--ink);
	margin: 2.5rem 0;
}
.single-content ul, .single-content ol { padding-left: 1.5rem; color: var(--ink-soft); }
.single-content li + li { margin-top: .35rem; }
.single-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-soft); }
.single-content a:hover { color: var(--gold-bright); }
.single-content code { background: var(--surface); padding: .15em .4em; border-radius: 3px; font-size: .9em; color: var(--gold-bright); }
.single-content img { margin: 2rem 0; border: 1px solid var(--line); }

.pagination, .page-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span,
.page-links a, .page-links > span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 .85rem;
	border: 1px solid var(--line);
	font-size: .82rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--ink-soft);
	font-family: var(--ff-sans);
}
.pagination .current, .page-links > .page-link { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* --- 404 -------------------------------------------------- */
.page-header { padding: clamp(4rem, 10vw, 8rem) 0 2rem; text-align: center; background: var(--bg); }
.page-header__title { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .12em; text-transform: uppercase; margin: 1rem 0; }
.page-header__desc { max-width: 50ch; margin: 0 auto; color: var(--ink-soft); font-family: var(--ff-serif); font-style: italic; }
.page-header + .container { text-align: center; padding-bottom: 6rem; }

/* --- Site footer ------------------------------------------ */
.site-footer { background: var(--bg-2); color: var(--ink); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 50px; height: 50px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	color: var(--gold);
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
.footer-name { font-family: var(--ff-display); font-size: 1.2rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; }
.footer-tagline { font-family: var(--ff-serif); font-style: italic; font-size: .98rem; color: var(--ink-soft); max-width: 32ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-family: var(--ff-sans); font-size: .72rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a, .footer-col li { color: var(--ink-soft); font-size: .9rem; font-family: var(--ff-sans); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 2rem; font-size: .76rem; letter-spacing: .12em; color: var(--ink-muted); font-family: var(--ff-sans); }
.footer-bottom em { color: var(--gold); font-style: italic; }

/* --- Reveal animations ------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.marquee-track, .scroll-line { animation: none; }
	.btn:hover { transform: none; }
}

/* --- Widgets ---------------------------------------------- */
.widget-title { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: .35rem 0; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 980px) {
	.services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
	.engagement-grid { grid-template-columns: 1fr; gap: 2rem; }
	.engagement-step { padding: 1.5rem 0 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.engagement-step:first-child { padding-top: 0; border-top: 0; }
	.vocation-grid, .btob-grid { grid-template-columns: 1fr; }
	.btob-content { order: 2; }
	.post-list { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	body { font-size: 15px; }
	.primary-nav, .header-cta { display: none; }
	.menu-toggle { display: inline-flex; }
	.mobile-menu { display: flex; }

	.services-grid, .testimonials-grid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }

	.hero-meta { gap: 1rem; padding-top: 2rem; }
	.meta-item { padding: 0; min-width: 140px; }
	.meta-divider { display: none; }
	.meta-num { font-size: 1.1rem; }

	.hero-actions .btn,
	.cta-actions .btn { width: 100%; justify-content: center; }

	.scroll-cue { display: none; }

	.section-head { margin-bottom: 2.75rem; }

	.cta-coords { gap: 1rem; flex-direction: column; }
	.cta-coord-divider { display: none; }
}

@media (max-width: 480px) {
	.footer-cols { grid-template-columns: 1fr; }
	.clientele-item { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
	.clientele-item:last-child { border-bottom: 0; }
}

/* ============================================================
   Compatibilité Elementor
   Neutralise les contraintes du thème sur les templates Elementor.
   ============================================================ */

/* Canvas template — corps vierge, fond noir cohérent */
body.elementor-template-canvas {
	background: var(--bg);
	color: var(--ink);
}

/* Full-width template — laisse Elementor gérer la largeur */
.elementor-full-width {
	width: 100%;
}
.elementor-full-width > .elementor {
	width: 100%;
	max-width: none;
}

/* Évite que les styles de typo du thème écrasent les widgets Elementor.
   Les composants Elementor doivent rester maîtres de leurs propres styles. */
.elementor-widget h1,
.elementor-widget h2,
.elementor-widget h3,
.elementor-widget h4,
.elementor-widget h5,
.elementor-widget h6,
.elementor-widget p,
.elementor-widget a {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

/* Mais la palette globale reste disponible — Elementor lit ces variables CSS */
.elementor-page,
.elementor-section,
.elementor-widget {
	--e-global-color-primary: var(--gold);
	--e-global-color-secondary: var(--gold-bright);
	--e-global-color-text: var(--ink);
	--e-global-color-accent: var(--gold-soft);
}

/* Les classes utilitaires de Gutenberg pour la palette restent utilisables dans Elementor */
.has-bg-color { color: var(--bg) !important; }
.has-bg-background-color { background-color: var(--bg) !important; }
.has-bg-2-color { color: var(--bg-2) !important; }
.has-bg-2-background-color { background-color: var(--bg-2) !important; }
.has-gold-color { color: var(--gold) !important; }
.has-gold-background-color { background-color: var(--gold) !important; }
.has-gold-bright-color { color: var(--gold-bright) !important; }
.has-gold-bright-background-color { background-color: var(--gold-bright) !important; }
.has-gold-deep-color { color: var(--gold-deep) !important; }
.has-gold-deep-background-color { background-color: var(--gold-deep) !important; }
.has-ink-color { color: var(--ink) !important; }
.has-ink-background-color { background-color: var(--ink) !important; }
.has-ink-soft-color { color: var(--ink-soft) !important; }
.has-ink-soft-background-color { background-color: var(--ink-soft) !important; }
