/* ============================================================
   GINGER POP — Design System
   Expert-mais-chaleureux, premium sans corporate
   Couleurs du logo en accents parcimonieux sur base blanche
   ============================================================ */

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Base */
  --white: #FFFFFF;
  --cream: #FDFCF8;
  --ink: #2A2A2A;
  --gray-1: #F8F7F4;
  --gray-2: #EAE8E3;
  --gray-3: #B8B5AE;
  --gray-4: #7A7770;
  --gray-5: #4A4743;

  /* Accents Ginger Pop (logo) */
  --yellow: #F5C043;
  --yellow-jessica: #FAB712;
  --yellow-jessica-soft: #FFF3CD;
  --yellow-soft: #FDF4D8;
  --blue: #2F4CBF;
  --blue-soft: #E4E9F7;
  --orange: #EA6A3D;
  --orange-soft: #FCE7DC;

  /* Typos */
  --font-display: 'Figtree', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 10vh, 7rem);

  /* Radius */
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(42,42,42,.05);
  --sh: 0 4px 20px rgba(42,42,42,.06);
  --sh-lg: 0 20px 50px rgba(42,42,42,.1);

  /* Transitions */
  --t: .25s cubic-bezier(.4,0,.2,1);
  --t-slow: .5s cubic-bezier(.4,0,.2,1);
}

/* ── RESET + BASE ────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width:100%; height:auto; display:block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font:inherit; cursor:pointer; background:none; border:none; color:inherit; }
input, textarea { font:inherit; color:inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight:700; letter-spacing:-.02em; line-height:1.1; color:var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom:1.2rem; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom:1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom:.6rem; }
h4 { font-size: 1.125rem; font-weight:600; margin-bottom:.4rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom:0; }
em.fancy { font-family:var(--font-serif); font-style:italic; font-weight:400; color:var(--orange); }
em.fancy-blue { font-family:var(--font-serif); font-style:italic; font-weight:400; color:var(--blue); }
strong { font-weight:700; color:var(--ink); }

.eyebrow { display:inline-block; font-size:.75rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase; color:var(--orange); margin-bottom:1.2rem; padding:.4rem 1rem; background:var(--orange-soft); border-radius:var(--r-pill); }
.eyebrow.blue { color:var(--blue); background:var(--blue-soft); }
.eyebrow.yellow { color:#8C6B00; background:var(--yellow-soft); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section.bg-cream { background: var(--cream); }
.section.bg-gray { background: var(--gray-1); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav-wrap { position:fixed; top:0; left:0; right:0; z-index:100; transition: all var(--t); padding: 1.5rem 0; }
.nav-wrap.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--gray-2); padding: .9rem 0; }
.nav { display:flex; align-items:center; justify-content:space-between; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); gap: 2rem; }
.nav-logo { display:flex; align-items:center; gap:.6rem; font-family: var(--font-display); font-weight:700; color: var(--ink); letter-spacing:-.02em; transition: all var(--t); }
.nav-logo img { height: 90px; width:auto; transition: height var(--t-slow); }
.nav-wrap.scrolled .nav-logo img { height: 52px; }
@media(max-width:720px) { .nav-logo img { height: 62px; } .nav-wrap.scrolled .nav-logo img { height: 42px; } }
.nav-links { display:flex; align-items:center; gap:2rem; list-style:none; }
.nav-links > li > a { font-size:.9rem; font-weight:500; color: var(--gray-5); transition: color var(--t); position:relative; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--ink); }
.nav-dropdown { position:relative; }
.nav-dropdown > a::after { content:'▾'; font-size:.65rem; margin-left:.3rem; opacity:.6; }
.nav-submenu { position:absolute; top:100%; left:-.8rem; min-width:260px; padding:.6rem 0; background:var(--white); border:1px solid var(--gray-2); border-radius:var(--r); box-shadow: var(--sh-lg); opacity:0; visibility:hidden; transform: translateY(-6px); transition: all var(--t); list-style:none; margin-top:.6rem; }
.nav-dropdown:hover .nav-submenu { opacity:1; visibility:visible; transform: translateY(0); }
.nav-submenu li a { display:block; padding:.7rem 1.2rem; font-size:.88rem; color:var(--gray-5); transition: all var(--t); }
.nav-submenu li a:hover { color:var(--ink); background: var(--gray-1); }
.nav-cta { display:inline-block; padding: .7rem 1.4rem; background: var(--ink); color: var(--white); border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; transition: all var(--t); white-space:nowrap; }
.nav-cta:hover { background: var(--orange); color: var(--white); transform: translateY(-1px); }
.nav-burger { display:none; width: 28px; height: 20px; position:relative; cursor:pointer; }
.nav-burger span { position:absolute; left:0; width:100%; height:2px; background:var(--ink); transition: all var(--t); }
.nav-burger span:nth-child(1) { top:0; }
.nav-burger span:nth-child(2) { top:9px; }
.nav-burger span:nth-child(3) { top:18px; }
.nav-burger.open span:nth-child(1) { top:9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity:0; }
.nav-burger.open span:nth-child(3) { top:9px; transform: rotate(-45deg); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:.6rem; padding: 1rem 2rem; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; transition: all var(--t); white-space: nowrap; cursor:pointer; border: 2px solid transparent; text-decoration:none; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(234,106,61,.3); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #EFB321; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(245,192,67,.35); }

/* ── CARDS ───────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--r-lg); padding: 2.4rem; transition: all var(--t); position:relative; overflow:hidden; }
.card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-lg); }
.card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--yellow), var(--orange)); opacity:0; transition: opacity var(--t); }
.card:hover::before { opacity:1; }
.card-icon { width: 56px; height: 56px; border-radius: var(--r); display:flex; align-items:center; justify-content:center; margin-bottom: 1.4rem; position:relative; }
.card-icon svg { width: 28px; height: 28px; }
.card-icon.yellow { background: var(--yellow-soft); }
.card-icon.yellow svg { stroke: #8C6B00; }
.card-icon.blue { background: var(--blue-soft); }
.card-icon.blue svg { stroke: var(--blue); }
.card-icon.orange { background: var(--orange-soft); }
.card-icon.orange svg { stroke: var(--orange); }

/* ── HERO SPLIT — texte gauche 30% (reveal scroll) / canvas droite 65% ── */
.hero-scrollytelling { position:relative; background: radial-gradient(ellipse at top right, var(--yellow-soft) 0%, transparent 55%), radial-gradient(ellipse at bottom left, var(--orange-soft) 0%, transparent 55%), var(--white); overflow:hidden; }
.hero-pin-container { position:relative; height:100vh; width:100%; padding: 0; }
/* Colonne texte : positionnée en absolute, centrée verticalement pile au milieu de l'écran */
.hero-content { position:absolute; top:50%; left:5%; width:30%; transform: translateY(-50%); z-index:2; }
.hero-content h1 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1.3rem; opacity: 0; transform: translateY(18px); }
.hero-content h1 .accent-orange { color: var(--orange); }
.hero-content h1 .accent-blue { color: var(--blue); }
.hero-sub { font-size: clamp(.92rem, 1vw, 1rem); color: var(--gray-5); margin: 0 0 1.6rem; line-height: 1.55; opacity: 0; transform: translateY(18px); }
.hero-ctas { display:flex; gap: .7rem; flex-wrap: wrap; opacity: 0; transform: translateY(18px); }
.hero-ctas .btn { padding: .8rem 1.4rem; font-size: .85rem; }
/* Canvas visual : positionné en absolute, centré verticalement pile au milieu */
.hero-visual { position:absolute; top:50%; right:5%; width:55%; transform: translateY(-50%); aspect-ratio: 16/10; max-height: 78vh; border-radius: var(--r-lg); overflow:hidden; background: var(--cream); box-shadow: var(--sh-lg); }
#hero-canvas { width:100%; height:100%; display:block; object-fit:cover; }
.hero-scroll-placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:1; pointer-events:none; padding:2rem; }
.hero-scroll-placeholder-inner { background:repeating-linear-gradient(45deg, var(--gray-1), var(--gray-1) 10px, var(--gray-2) 10px, var(--gray-2) 20px); padding:2rem 1.5rem; border-radius:var(--r); text-align:center; max-width:90%; }
.hero-placeholder-label { font-size:.7rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--orange); margin-bottom:.6rem; }
.hero-scroll-placeholder p { font-size:.82rem; color:var(--gray-4); margin:0; line-height:1.5; }
.hero-scroll-placeholder code { background:var(--white); padding:.12rem .35rem; border-radius:3px; font-size:.75rem; color:var(--ink); }
.hero-scrollytelling.ready .hero-scroll-placeholder { display:none; }
.hero-scroll-hint { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-4); display:flex; flex-direction:column; align-items:center; gap:.4rem; animation: heroBounce 2s infinite; pointer-events:none; z-index:3; }
.hero-scroll-hint::after { content:''; width:1px; height:30px; background: linear-gradient(to bottom, var(--gray-3), transparent); }
@keyframes heroBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (max-width:980px) { .hero-pin-container { padding: 6rem 2rem 2rem; height: auto; min-height: 100vh; display:flex; flex-direction:column; gap:2rem; align-items:center; justify-content:center; } .hero-content { position:static; transform:none; width: 100%; max-width: 600px; text-align:center; left:auto; top:auto; } .hero-ctas { justify-content:center; } .hero-visual { position:static; transform:none; width: 100%; max-width: 600px; right:auto; top:auto; } .hero-scroll-hint { display:none; } }
@media (max-width:720px) { .hero-content h1 { font-size: 1.9rem; } }

/* CTA orange (pour le primaire hero) */
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #d4582e; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(234,106,61,.35); color: var(--white); }

/* ── HERO INTÉRIEUR (pages expertises, événementiel, etc.) ─ */
.hero-page { position:relative; padding: 9rem 0 5rem; background: radial-gradient(ellipse at top right, var(--yellow-soft) 0%, transparent 55%), radial-gradient(ellipse at bottom left, var(--orange-soft) 0%, transparent 55%), var(--white); overflow:hidden; }
.hero-page .hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display:grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items:center; }
.hero-page .hero-text { display:flex; flex-direction:column; gap:.2rem; }
.hero-page .eyebrow { align-self:flex-start; margin-bottom: 1.2rem; }
.hero-page h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin-bottom: 1.4rem; }
.hero-page h1 .accent-orange { color: var(--orange); }
.hero-page h1 .accent-blue { color: var(--blue); }
.hero-page .hero-sub { font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--gray-5); margin: 0 0 2rem; line-height: 1.6; max-width: 540px; }
.hero-page .hero-ctas { justify-content:flex-start; }
.hero-page .hero-img-wrap { width:100%; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-lg); background: var(--cream); max-width: 540px; margin-left: auto; }
.hero-page .hero-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:980px) { .hero-page .hero-inner { grid-template-columns: 1fr; gap:2.5rem; text-align:center; } .hero-page .hero-text { align-items:center; } .hero-page .eyebrow { align-self:center; } .hero-page .hero-sub { margin-left:auto; margin-right:auto; } .hero-page .hero-ctas { justify-content:center; } .hero-page .hero-img-wrap { order: -1; max-width: 460px; margin: 0 auto; aspect-ratio: 16/9; } }
@media (max-width:720px) { .hero-page { padding: 7rem 0 3.5rem; } }

/* ── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumbs { padding: 6.5rem 0 0; font-size:.85rem; color: var(--gray-4); max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.breadcrumbs a { color: var(--gray-4); transition: color var(--t); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 .4rem; color: var(--gray-3); }
.breadcrumbs span:last-child { color: var(--gray-5); }

/* ── LOGOS CLIENTS ───────────────────────────────────────── */
.clients { padding: 6rem 0; background: var(--cream); }
.clients-title { text-align:center; font-size: 1rem; color: var(--gray-4); letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-bottom: 4rem; }
.clients-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap: 3rem 2rem; align-items:center; max-width: 1200px; margin: 0 auto; }
.client-logo { display:flex; align-items:center; justify-content:center; height: 140px; padding: 1rem; transition: all var(--t); background: var(--white); border-radius: var(--r); border: 1px solid transparent; }
.client-logo:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--gray-2); }
.client-logo img { max-height: 100%; max-width: 100%; width:auto; object-fit:contain; }
.client-logo-placeholder { border: 1px dashed var(--gray-3); padding: 1rem; font-size:.85rem; font-weight:500; color: var(--gray-4); text-align:center; border-radius: var(--r-sm); width:100%; height:100%; display:flex; align-items:center; justify-content:center; line-height:1.3; }
@media(max-width:1100px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media(max-width:820px) { .clients-grid { grid-template-columns: repeat(3, 1fr); gap:1.6rem 1.2rem; } .client-logo { height: 110px; } }
@media(max-width:540px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } .client-logo { height: 90px; } }

/* ── GRILLES ─────────────────────────────────────────────── */
.grid { display:grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── SECTION TITLE BLOCK ─────────────────────────────────── */
.section-header { max-width: 820px; margin: 0 auto 4rem; text-align:center; }
.section-header.left { margin-left:0; text-align:left; }
.section-header p.lead { font-size: 1.15rem; color: var(--gray-5); margin-top: .8rem; }

/* ── EXPERTISE CARDS (homepage) ──────────────────────────── */
.exp-card { position:relative; display:block; border-radius: var(--r-lg); overflow:hidden; background: var(--white); border: 1px solid var(--gray-2); transition: all var(--t); aspect-ratio: 4/5; }
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--ink); }
.exp-card-img { width:100%; height:60%; background: var(--gray-1); display:flex; align-items:center; justify-content:center; color: var(--gray-4); font-size:.8rem; overflow:hidden; }
.exp-card-img img { width:100%; height:100%; object-fit:cover; }
.exp-card-body { padding: 1.6rem 1.8rem 2rem; }
.exp-card h3 { margin-bottom:.5rem; }
.exp-card p { font-size:.95rem; color: var(--gray-5); margin: 0; }
.exp-card-arrow { position:absolute; top: 1.2rem; right: 1.2rem; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display:flex; align-items:center; justify-content:center; font-size:1rem; transition: all var(--t); }
.exp-card:hover .exp-card-arrow { background: var(--orange); color: var(--white); transform: rotate(-45deg); }

/* ── CASE STUDY CARDS ────────────────────────────────────── */
.case-card { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--r-lg); padding: 2.2rem; transition: all var(--t); }
.case-card:hover { border-color: var(--ink); box-shadow: var(--sh); }
.case-client { font-size: .82rem; font-weight: 600; letter-spacing:.1em; text-transform:uppercase; color: var(--gray-4); margin-bottom: .6rem; }
.case-result { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.2; color: var(--ink); margin-bottom: .6rem; letter-spacing:-.02em; }
.case-result .highlight { color: var(--orange); }
.case-desc { font-size: .95rem; color: var(--gray-5); margin-bottom: 1.5rem; }
.case-link { font-size:.85rem; font-weight:600; color: var(--ink); display:inline-flex; align-items:center; gap:.4rem; }
.case-link::after { content:'→'; transition: transform var(--t); }
.case-card:hover .case-link::after { transform: translateX(4px); }

/* ── POP EFFECT (méthode) ────────────────────────────────── */
.pop-effect { display:grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pop-step { padding: 2.2rem; background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--r-lg); position:relative; }
.pop-step-num { position:absolute; top:1.5rem; right:1.8rem; font-family: var(--font-serif); font-size: 3.5rem; font-weight: 400; font-style:italic; color: var(--gray-2); line-height: 1; }
.pop-step h3 { margin-bottom:.8rem; font-size: 1.6rem; }
.pop-step h3 .label { display:inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; padding: .3rem .9rem; border-radius: var(--r-pill); margin-right: .7rem; vertical-align: middle; }
.pop-step .shake { background: var(--orange); color: var(--white); }
.pop-step .spark { background: var(--yellow); color: var(--ink); }
.pop-step .shine { background: var(--blue); color: var(--white); }
.pop-step p.tagline { font-family: var(--font-serif); font-style: italic; color: var(--gray-5); margin-bottom: .8rem; font-size: 1.1rem; }
.pop-step p { font-size: .95rem; color: var(--gray-5); }
@media(max-width:900px) { .pop-effect { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-2); padding: 1.5rem 0; }
.faq-item summary { list-style: none; cursor: pointer; display:flex; align-items:center; justify-content:space-between; font-weight: 600; font-size: 1.1rem; color: var(--ink); gap: 1rem; padding-right: .5rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--orange); flex-shrink: 0; transition: transform var(--t); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding-top: 1rem; color: var(--gray-5); line-height: 1.7; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.form-wrap { max-width: 680px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media(max-width:640px) { .form-row { grid-template-columns:1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display:block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; color: var(--gray-5); }
.form-field input, .form-field textarea { width: 100%; padding: .9rem 1rem; border: 1px solid var(--gray-2); border-radius: var(--r); background: var(--white); font-size: .95rem; transition: all var(--t); }
.form-field input:focus, .form-field textarea:focus { outline:none; border-color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-rgpd { display:flex; align-items:flex-start; gap:.7rem; font-size:.85rem; color: var(--gray-5); margin: 1.2rem 0; }
.form-rgpd input { margin-top: .25rem; flex-shrink: 0; }
.form-rgpd a { color: var(--blue); text-decoration: underline; }
.form-feedback { margin-top: 1rem; padding: 1rem; border-radius: var(--r); display:none; font-size:.9rem; }
.form-feedback.success { display:block; background: #E8F7EA; color: #15651F; border:1px solid #B8E6C0; }
.form-feedback.error { display:block; background: #FDECEA; color: #B71C1C; border:1px solid #F5C0BC; }
.honeypot { position:absolute; left:-9999px; opacity:0; pointer-events:none; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: clamp(3rem, 7vw, 5rem); text-align:center; position:relative; overflow:hidden; }
.cta-banner::before { content:''; position:absolute; top:-30%; right:-10%; width: 400px; height: 400px; border-radius:50%; background: radial-gradient(circle, var(--orange) 0%, transparent 60%); opacity: .3; }
.cta-banner::after { content:''; position:absolute; bottom:-30%; left:-10%; width: 400px; height: 400px; border-radius:50%; background: radial-gradient(circle, var(--yellow) 0%, transparent 60%); opacity: .2; }
.cta-banner * { position:relative; z-index:1; }
.cta-banner h2 { color: var(--white); margin-bottom:1rem; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 600px; margin-left:auto; margin-right:auto; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--cream); padding: 5rem 0 2.5rem; border-top: 1px solid var(--gray-2); }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap:2rem; } }
@media(max-width:540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 110px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; color: var(--gray-5); line-height: 1.7; margin-bottom: 1.5rem; max-width: 360px; }
.footer-social { display:flex; gap: .8rem; }
.footer-social a { width:40px; height:40px; border-radius: 50%; background: var(--white); display:flex; align-items:center; justify-content:center; border: 1px solid var(--gray-2); transition: all var(--t); font-size:.95rem; }
.footer-social a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.footer-col h5 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.2rem; }
.footer-col a { display:block; font-size: .9rem; color: var(--gray-5); margin-bottom: .7rem; transition: color var(--t); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--gray-2); padding-top: 2rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; font-size:.82rem; color: var(--gray-4); }

/* ── BREADCRUMBS (sub-pages) ─────────────────────────────── */
.crumbs { padding: 8rem 0 1rem; font-size:.85rem; color: var(--gray-4); }
.crumbs a { color: var(--gray-4); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 .5rem; color: var(--gray-3); }

/* ── SERVICE BLOCKS (pages expertises) — picto décoratif ─── */
.service-block { display: flex; flex-direction: column; gap: 2rem; padding: 3.5rem 0; max-width: 920px; margin: 0 auto; border-bottom: 1px solid var(--gray-2); }
.service-block:last-child { border-bottom: none; }
.service-visual, .service-visual-wrap { order: -1; width: 100%; aspect-ratio: 21/9; border-radius: var(--r-lg); overflow: hidden; display:flex; align-items:center; justify-content:center; padding: 2rem 3rem; box-shadow: var(--sh); position:relative; background: linear-gradient(135deg, var(--cream) 0%, var(--yellow-soft) 100%); }
.service-visual::before, .service-visual-wrap::before { content:''; position:absolute; top:-30%; right:-10%; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, var(--orange-soft) 0%, transparent 70%); opacity:.6; }
.service-visual::after, .service-visual-wrap::after { content:''; position:absolute; bottom:-40%; left:-10%; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%); opacity:.4; }
.service-visual img, .service-visual-wrap img { width:100%; height:100%; object-fit:cover; display:block; position:relative; z-index:2; }
.service-picto { position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:1.2rem; text-align:center; }
.service-picto-icon { width: 120px; height: 120px; border-radius: 30px; background: var(--white); display:flex; align-items:center; justify-content:center; box-shadow: var(--sh-lg); }
.service-picto-icon svg { width:64px; height:64px; stroke:var(--orange); stroke-width:2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.service-picto-label { font-family: var(--font-display); font-weight:700; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ink); letter-spacing: -.01em; }
.service-picto-num { font-family: var(--font-serif); font-style:italic; font-size: .95rem; color: var(--orange); font-weight:500; letter-spacing:.05em; }
/* Aussi augmenter les cards-icon de la homepage + agence */
.card-icon { width: 64px; height: 64px; }
.card-icon svg { width: 34px; height: 34px; }
.service-number { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--orange); margin-bottom: .6rem; font-weight: 500; letter-spacing: .02em; }
.service-content h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1rem; letter-spacing: -.02em; }
.service-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--gray-5); margin-bottom: 1.6rem; line-height: 1.5; max-width: 720px; }
.service-list { list-style:none; padding:0; margin-bottom: 1.8rem; max-width: 820px; }
.service-list li { padding-left: 1.8rem; position:relative; margin-bottom: .8rem; color: var(--gray-5); line-height: 1.6; }
.service-list li::before { content:''; position:absolute; left: 0; top: .7rem; width: .5rem; height: .5rem; border-radius:50%; background: var(--orange); }
.service-impact { background: var(--yellow-soft); padding: 1.3rem 1.6rem; border-radius: var(--r); border-left: 3px solid var(--yellow); font-size:.98rem; color: var(--ink); line-height: 1.6; max-width: 820px; }
.service-impact strong { color: var(--ink); font-weight: 700; }
@media(max-width:720px) { .service-block { padding: 2.5rem 0; } .service-visual { aspect-ratio: 16/9; } }

/* ── CERTIFS GRID ────────────────────────────────────────── */
.certifs-grid { display:grid; grid-template-columns:repeat(7, 1fr); gap:1.2rem; align-items:center; max-width:1200px; margin:0 auto; }
@media (max-width:1100px) { .certifs-grid { grid-template-columns:repeat(4, 1fr); } }
.certif { display:flex; align-items:center; justify-content:center; height:100px; padding:.5rem; transition: all var(--t); filter: grayscale(.2); }
.certif:hover { filter: grayscale(0); transform: translateY(-3px); }
.certif img { max-height:100%; max-width:100%; object-fit:contain; }
.certif-placeholder { border:1px dashed var(--gray-3); padding:1rem .8rem; font-size:.72rem; color:var(--gray-4); text-align:center; border-radius:var(--r-sm); width:100%; height:100%; display:flex; align-items:center; justify-content:center; line-height:1.3; }
@media (max-width:900px) { .certifs-grid { grid-template-columns:repeat(3, 1fr); gap:1rem; } }
@media (max-width:540px) { .certifs-grid { grid-template-columns:repeat(2, 1fr); } }


/* ── Marquee infini (logos clients + réalisations) — propre ── */
.marquee {
  overflow: hidden !important;
  width: 100% !important;
  position: relative;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 2.5rem !important;
  width: max-content !important;
  animation: marqueeScroll 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 1.25rem)); }
}
.marquee .client-logo {
  flex: 0 0 180px !important;
  width: 180px !important;
  min-width: 180px !important;
  height: 110px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r);
  padding: 1rem;
  box-sizing: border-box;
}
.marquee .client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.marquee-card {
  flex: 0 0 280px !important;
  width: 280px !important;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--gray-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.marquee-card > div:first-child { width: 100%; height: 65%; flex: 0 0 65%; }
.marquee-card img, .marquee-card video {
  width: 100%; height: 100%; object-fit: cover;
}
.marquee-card-body { padding: 1rem 1.2rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.marquee-card-body strong { font-size: .95rem; color: var(--ink); display: block; }
.marquee-card-body p { font-size: .8rem; color: var(--gray-5); margin: .3rem 0 0; }

/* Responsive marquee : sur mobile les logos plus petits */
@media (max-width: 720px) {
  .marquee .client-logo { flex: 0 0 130px !important; width: 130px !important; min-width: 130px !important; height: 80px !important; padding: .6rem; }
  .marquee-track { gap: 1.5rem !important; }
  .marquee-card { flex: 0 0 220px !important; width: 220px !important; }
}

/* ── UTILITIES ───────────────────────────────────────────── */
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }
.text-center { text-align:center; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.is-hidden { display:none !important; }

/* Filters (réalisations, actualités) */
.filters { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:3rem; }
.filters button { padding:.6rem 1.3rem; border-radius:var(--r-pill); border:1px solid var(--gray-2); background:var(--white); font-size:.85rem; font-weight:600; color:var(--gray-5); cursor:pointer; transition:all var(--t); }
.filters button:hover { border-color:var(--ink); color:var(--ink); }
.filters button.active { background:var(--ink); color:var(--white); border-color:var(--ink); }

/* Article cards (Pop Culture) */
.article-card { background:var(--white); border:1px solid var(--gray-2); border-radius:var(--r-lg); overflow:hidden; transition:all var(--t); display:flex; flex-direction:column; }
.article-card:hover { transform:translateY(-4px); box-shadow:var(--sh-lg); border-color:var(--ink); }
.article-card-img { aspect-ratio:16/10; background:var(--gray-1); display:flex; align-items:center; justify-content:center; font-size:.75rem; color:var(--gray-4); }
.article-card-body { padding:1.5rem 1.7rem 1.8rem; display:flex; flex-direction:column; flex:1; }
.article-card .article-cat { font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--orange); margin-bottom:.5rem; }
.article-card h3 { font-size:1.2rem; line-height:1.3; margin-bottom:.6rem; }
.article-card .article-date { font-size:.75rem; color:var(--gray-4); margin-bottom:.8rem; }
.article-card .article-extract { font-size:.9rem; color:var(--gray-5); line-height:1.5; flex:1; margin-bottom:1rem; }
.article-card .article-link { font-size:.85rem; font-weight:600; color:var(--ink); }
.article-card .article-link::after { content:' →'; transition:transform var(--t); display:inline-block; }
.article-card:hover .article-link::after { transform:translateX(4px); }

/* Case card complet (réalisations) */
.case-card-full { background:var(--white); border:1px solid var(--gray-2); border-radius:var(--r-lg); overflow:hidden; transition:all var(--t); }
.case-card-full:hover { transform:translateY(-4px); box-shadow:var(--sh-lg); border-color:var(--ink); }
.case-card-full .case-img { aspect-ratio:16/9; background:var(--gray-1); display:flex; align-items:center; justify-content:center; font-size:.8rem; color:var(--gray-4); }
.case-card-full .case-body { padding:1.8rem 2rem; }
/* Logo client dans la card (remplace photo) */
.case-logo-wrap { aspect-ratio: 16/9; background: var(--cream); display:flex; align-items:center; justify-content:center; padding: 2rem; border-bottom: 1px solid var(--gray-2); }
.case-logo-wrap img { max-width: 70%; max-height: 100%; width:auto; height:auto; object-fit:contain; }
.case-logo-placeholder { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; color: var(--gray-4); border: 2px dashed var(--gray-3); padding: 1.5rem 2rem; border-radius: var(--r); background: var(--white); }

/* Legal pages */
.legal-wrap { max-width:820px; margin:0 auto; padding-bottom:2rem; }
.legal-wrap h2 { margin-top:2.5rem; margin-bottom:1rem; font-size:1.5rem; }
.legal-wrap h3 { margin-top:1.8rem; margin-bottom:.6rem; font-size:1.15rem; }
.legal-wrap p, .legal-wrap ul { margin-bottom:1rem; color:var(--gray-5); }
.legal-wrap ul { padding-left:1.5rem; }
.legal-wrap li { margin-bottom:.5rem; }
.legal-wrap a { color:var(--blue); text-decoration:underline; }
.legal-wrap strong { color:var(--ink); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { opacity:0; transform: translateY(20px); transition: all .8s cubic-bezier(.4,0,.2,1); }
  .fade-in.in { opacity:1; transform: translateY(0); }
}

/* ── RESPONSIVE NAV ──────────────────────────────────────── */
@media(max-width:980px) {
  .nav-links { position:fixed; top:0; right:-100%; width:82%; max-width:380px; height:100vh; background:var(--white); flex-direction:column; align-items:stretch; gap: 0; padding: 6rem 2rem 2rem; box-shadow: var(--sh-lg); transition: right var(--t-slow); }
  .nav-links.open { right: 0; }
  .nav-links > li { border-bottom: 1px solid var(--gray-2); }
  .nav-links > li > a { display:block; padding: 1.1rem 0; font-size: 1rem; }
  .nav-submenu { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding:0 0 .8rem .8rem; margin:0; min-width:auto; background:transparent; }
  .nav-submenu li a { padding: .5rem 0; font-size: .88rem; color: var(--gray-4); }
  .nav-dropdown > a::after { float:right; }
  .nav-cta { display:none; }
  .nav-burger { display:block; z-index: 110; }
  body.nav-open { overflow:hidden; }
}


/* ── Ginger Pop buttons override (jaune FAB712 pas flashy) ── */
.btn-primary, .btn-orange, .btn-yellow {
  background: var(--yellow-jessica);
  color: var(--ink);
  border-color: transparent;
}
.btn-primary:hover, .btn-orange:hover, .btn-yellow:hover {
  background: #E6A50F;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(250, 183, 18, .3);
}
.nav-cta {
  background: var(--yellow-jessica);
  color: var(--ink);
}
.nav-cta:hover {
  background: #E6A50F;
  color: var(--ink);
}

/* ── CTA banner en jaune FAB712 au lieu d'ink ── */
.cta-banner {
  background: var(--yellow-jessica);
  color: var(--ink);
}
.cta-banner::before, .cta-banner::after { display: none; }
.cta-banner h2 { color: var(--ink); }
.cta-banner p { color: rgba(42, 42, 42, .8); }
.cta-banner .accent-orange { color: var(--ink); font-style: italic; }
.cta-banner .btn-yellow { background: var(--ink); color: var(--yellow-jessica); }
.cta-banner .btn-yellow:hover { background: #000; color: var(--yellow-jessica); }

/* ── Section accents FAB712 transparents ── */
.accent-soft-yellow { background: var(--yellow-jessica); background: color-mix(in srgb, var(--yellow-jessica) 12%, transparent); }



/* ── FIX pictos services mobile (évite débordement) ── */
@media (max-width: 720px) {
  .service-picto-icon { width: 72px !important; height: 72px !important; border-radius: 18px !important; }
  .service-picto-icon svg { width: 38px !important; height: 38px !important; }
  .service-picto-label { font-size: 1rem !important; line-height: 1.3; }
  .service-picto-num { font-size: .8rem !important; }
  .service-visual, .service-visual-wrap {
    aspect-ratio: auto !important;
    min-height: 200px;
    padding: 1.5rem !important;
  }
  .service-visual::before, .service-visual::after,
  .service-visual-wrap::before, .service-visual-wrap::after {
    display: none; /* désactive les cercles décoratifs sur mobile (évite overflow) */
  }
}
