/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img{display:block;max-width:100%}
a{color:inherit}

/* ── TOKENS ── */
:root{
  --navy:#1a2035;
  --navy2:#232b42;
  --blue:#2e5be8;
  --blue-h:#1a40c0;
  --blue-l:#eef2ff;
  --teal:#046c91;      /* bleu pétrole — couleur de marque, repris du logo */
  --teal-d:#03587a;    /* bleu pétrole foncé */
  --teal-l:#e3f0f5;    /* bleu pétrole très clair (backgrounds) */
  --white:#ffffff;
  --off:#f7f8fc;
  --gray:#5a6271;     /* gris texte — contraste 5.5:1 sur blanc (WCAG AA+) */
  --light:#e5e9f5;
  --text:#1a2035;
  --font:'Inter',sans-serif;
  --display:'Orbitron',sans-serif;
  --nav-h:72px;
  --max:1320px;        /* +20% sur grand écran */
  --r:6px;
  --r-lg:10px;
  /* Ombres tokenisées pour une cohérence des profondeurs */
  --shadow-sm:0 2px 8px -2px rgba(26,32,53,.06);
  --shadow-md:0 8px 24px -6px rgba(26,32,53,.10);
  --shadow-lg:0 18px 48px -12px rgba(26,32,53,.18);
  --shadow-blue:0 10px 30px -8px rgba(46,91,232,.35);
  --shadow-teal:0 10px 30px -8px rgba(4,108,145,.30);
}

html{scroll-behavior:smooth}
body{font-family:var(--font);font-size:17px;line-height:1.7;color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* Sélection de texte aux couleurs Synappli */
::selection{background:var(--teal);color:var(--white)}

/* ── NAV ── */
#nav{position:fixed;top:0;left:0;right:0;height:var(--nav-h);background:var(--white);border-bottom:1px solid var(--light);z-index:200;display:flex;align-items:center;padding:0 40px}
.nav-inner{width:100%;max-width:var(--max);margin:0 auto;display:flex;align-items:center;gap:12px}
.site-logo{text-decoration:none;display:flex;align-items:center;gap:10px;flex-shrink:0}
.site-logo img.logo-png{height:40px;width:auto}
.logo-svg-fallback{display:none;align-items:center;gap:10px}
.site-logo.logo-failed img.logo-png{display:none}
.site-logo.logo-failed .logo-svg-fallback{display:flex}
.logo-svg-fallback svg{height:36px;width:auto}
.logo-wordmark{font-family:'Orbitron',sans-serif;font-size:.9rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#046c91}
.nav-menu{display:flex;align-items:center;gap:2px;list-style:none;margin-left:auto}
.nav-menu li{display:inline-flex;align-items:center}
.nav-menu a{font-size:.92rem;font-weight:500;color:var(--navy);text-decoration:none;padding:8px 16px;border-radius:var(--r);transition:background .15s,color .15s;line-height:1}
.nav-menu a:hover{background:var(--off)}
.nav-menu a.active{color:var(--blue)}
.nav-menu .btn-nav{background:var(--blue);color:var(--white)!important;padding:9px 20px;border-radius:var(--r);font-weight:600;margin-left:8px}
.nav-menu .btn-nav:hover{background:var(--blue-h)}
.hamburger{display:none;margin-left:auto;cursor:pointer;background:none;border:none;padding:6px}
.hamburger span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0;border-radius:2px;transition:.2s}

/* ── PAGE HERO (toutes pages sauf accueil) ── */
.page-hero{position:relative;padding:calc(var(--nav-h) + 64px) 40px 64px;background:linear-gradient(180deg,#fbfcfe 0%,var(--white) 100%);border-bottom:1px solid var(--light);overflow:hidden}
.page-hero::after{content:"";position:absolute;top:-40px;right:-60px;width:340px;height:340px;background:radial-gradient(circle,rgba(26,122,138,.08) 0%,transparent 60%);pointer-events:none}
.page-hero-inner{max-width:var(--max);margin:0 auto;position:relative;z-index:1}
.page-hero h1{font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:700;color:var(--navy);line-height:1.18;margin-bottom:1.1rem;max-width:880px;letter-spacing:-.01em}
.page-hero p{font-size:1.05rem;color:var(--gray);max-width:720px;line-height:1.75}
.page-hero .btn-primary{margin-top:1.5rem}

/* ── HERO ACCUEIL ── */
.hero-home{position:relative;padding-top:var(--nav-h);background:linear-gradient(180deg,#fafbfd 0%,var(--white) 100%);overflow:hidden}
/* Décor : spirale teal en watermark, très discrète, en haut à droite */
.hero-home::before{content:"";position:absolute;top:60px;right:-120px;width:540px;height:540px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%231ecbba'/><stop offset='100%25' stop-color='%230a7a8a'/></linearGradient></defs><path d='M24 8.5C22 6.3 19.2 5 16 5C10 5 5.5 9.5 5.5 15.5C5.5 19.5 7.8 22.8 11 24.5' fill='none' stroke='url(%23g)' stroke-width='3.2' stroke-linecap='round'/><path d='M12 27.5C14 29.7 16.8 31 20 31C26 31 30.5 26.5 30.5 20.5C30.5 16.5 28.2 13.2 25 11.5' fill='none' stroke='url(%23g)' stroke-width='3.2' stroke-linecap='round'/><circle cx='18' cy='18' r='2' fill='url(%23g)'/></svg>");background-repeat:no-repeat;background-size:contain;opacity:.06;pointer-events:none;z-index:0}
.hero-home::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--light),transparent)}
.hero-inner{position:relative;z-index:1;max-width:var(--max);margin:0 auto;padding:96px 40px;display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}
.hero-text h1{font-size:clamp(2rem,3.6vw,3rem);font-weight:700;line-height:1.15;color:var(--navy);margin-bottom:1.25rem;letter-spacing:-.015em}
.hero-text p{font-size:1.05rem;color:var(--gray);margin-bottom:2rem;max-width:560px;line-height:1.75}
.hero-text p strong{color:var(--navy);font-weight:600}

/* ── BOUTONS — micro-animations au hover ── */
.btn-primary{display:inline-block;background:var(--blue);color:var(--white);font-weight:600;font-size:.95rem;padding:13px 28px;border-radius:var(--r);text-decoration:none;transition:background .15s,transform .15s,box-shadow .2s;box-shadow:0 1px 2px rgba(46,91,232,.20)}
.btn-primary:hover{background:var(--blue-h);transform:translateY(-1px);box-shadow:var(--shadow-blue)}
.btn-primary:active{transform:translateY(0)}
.btn-secondary{display:inline-block;background:var(--navy);color:var(--white);font-weight:600;font-size:.9rem;padding:11px 24px;border-radius:var(--r);text-decoration:none;transition:background .15s,transform .15s,box-shadow .2s}
.btn-secondary:hover{background:var(--navy2);transform:translateY(-1px);box-shadow:0 8px 20px -6px rgba(26,32,53,.30)}
.btn-outline{display:inline-block;border:1.5px solid var(--light);color:var(--navy);font-size:.9rem;font-weight:600;padding:10px 20px;border-radius:var(--r);text-decoration:none;transition:border-color .15s,background .15s,color .15s}
.btn-outline:hover{border-color:var(--teal);background:var(--teal-l);color:var(--teal-d)}
.btn-outline-white{display:inline-block;border:1.5px solid rgba(255,255,255,.35);color:rgba(255,255,255,.85);font-size:.88rem;font-weight:500;padding:9px 18px;border-radius:var(--r);text-decoration:none;transition:background .15s,border-color .15s}
.btn-outline-white:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.6)}
.btn-row{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.75rem}

/* ── SECTIONS ── */
.section{padding:88px 40px}
.section-inner{max-width:var(--max);margin:0 auto}
.section-bg{background:var(--off)}
.section-dark{background:var(--navy);color:var(--white)}
.section h2{font-size:clamp(1.5rem,2.7vw,2.1rem);font-weight:700;color:var(--navy);margin-bottom:1rem;line-height:1.22;letter-spacing:-.01em}
.section-dark h2{color:var(--white)}
.section p{color:var(--gray)}
.section-dark p{color:rgba(255,255,255,.65)}
/* section-label : petit trait teal décoratif à gauche, signature visuelle Synappli */
.section-label{display:inline-flex;align-items:center;gap:10px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);margin-bottom:.6rem}
.section-label::before{content:"";width:22px;height:2px;background:currentColor;border-radius:2px}

/* ── HERO IMAGE (placeholder SVG) ── */
.img-box{border-radius:var(--r-lg);background:var(--off);border:1px solid var(--light);display:flex;align-items:center;justify-content:center;overflow:hidden}
.img-box svg{opacity:.25}
.img-box.ratio-169{aspect-ratio:16/9}
.img-box.ratio-43{aspect-ratio:4/3}
.img-box.ratio-32{aspect-ratio:3/2}

/* img-frame : conteneur pour les images détourées (transparentes) */
.img-frame{position:relative;border-radius:var(--r-lg);overflow:visible;background:transparent}
.img-frame img{display:block;width:100%;height:auto;border-radius:var(--r-lg)}
.img-frame.shadow{filter:drop-shadow(0 12px 28px rgba(26,32,53,.10)) drop-shadow(0 4px 8px rgba(26,32,53,.04))}

/* ── LISTE PUCES BLEUES ── */
.blue-list{list-style:none;margin-top:1rem;display:flex;flex-direction:column;gap:.8rem}
.blue-list li{padding-left:1.25rem;position:relative;font-size:.97rem;color:var(--gray);line-height:1.6}
.blue-list li::before{content:'';position:absolute;left:0;top:.62rem;width:6px;height:6px;border-radius:50%;background:var(--teal)}
.blue-list li strong{color:var(--navy);font-weight:600}

/* ── GRILLE 2 COL ── */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.grid2.center{align-items:center}

/* ── CARTES ── */
.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--light);border-radius:var(--r-lg);overflow:hidden;margin-top:2rem;background:var(--white)}
.card-item{padding:2rem;background:var(--white);border-right:1px solid var(--light);border-bottom:1px solid var(--light);position:relative;transition:background .2s}
.card-item:nth-child(2n){border-right:none}
.card-item:last-child,.card-item:nth-last-child(2):nth-child(2n+1),.card-item:nth-last-child(2):nth-child(2n+1)~.card-item{border-bottom:none}
.card-item:hover{background:#fcfdff}
.card-item h3{font-size:1.05rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}
.card-item p{font-size:.92rem;color:var(--gray);line-height:1.65}
.card-num{display:inline-block;font-family:var(--display);font-size:.75rem;font-weight:700;letter-spacing:.12em;color:var(--teal);margin-bottom:.85rem}

.dark-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:.5rem}
.dark-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:var(--r-lg);padding:1.75rem;transition:background .2s,border-color .2s}
.dark-card:hover{background:rgba(255,255,255,.08);border-color:rgba(30,203,186,.30)}
.dark-card h3{font-size:1rem;font-weight:700;color:var(--white);margin-bottom:.5rem}
.dark-card p{font-size:.9rem;color:rgba(255,255,255,.55);line-height:1.65}

/* ── PRICING ── */
.price-tag{font-family:var(--display);font-size:2.6rem;font-weight:700;color:var(--navy);margin:1rem 0 .5rem;letter-spacing:-.01em}
.price-range{display:inline-block;background:var(--teal);color:var(--white);font-size:.78rem;font-weight:600;padding:5px 14px;border-radius:100px;margin-bottom:.75rem;letter-spacing:.03em}
.price-block{border:1px solid var(--light);border-radius:var(--r-lg);padding:2rem;margin-top:1.5rem;background:var(--white);transition:border-color .2s,box-shadow .2s,transform .2s}
.price-block:hover{border-color:var(--teal);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.price-block h3{font-size:1.05rem;font-weight:700;color:var(--navy);margin-bottom:.4rem}

/* ── LIENS DANS LE CONTENU ── */
/* Liens inline dans paragraphes : underline subtil teal, sans casser les boutons */
.section p a:not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-outline-white),
.legal a,
.about-block p a{
  color:var(--teal-d);
  text-decoration:underline;
  text-decoration-color:rgba(26,122,138,.35);
  text-underline-offset:3px;
  text-decoration-thickness:1.5px;
  transition:color .15s,text-decoration-color .15s;
}
.section p a:hover:not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-outline-white),
.legal a:hover,
.about-block p a:hover{
  color:var(--teal);
  text-decoration-color:var(--teal);
}

/* ── CONTACT FORM ── */
.contact-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:60px;align-items:start}
.contact-info p{font-size:.95rem;color:var(--gray);line-height:1.75;margin-bottom:1.5rem}
.contact-detail{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}
.contact-detail-item h4{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--navy);margin-bottom:.2rem}
.contact-detail-item p,.contact-detail-item a{font-size:.95rem;color:var(--gray);text-decoration:none}
.contact-detail-item a:hover{color:var(--blue)}
.form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.25rem}
.form-group label{font-size:.85rem;font-weight:600;color:var(--navy)}
.form-group input,.form-group textarea{width:100%;padding:10px 14px;border:1.5px solid var(--light);border-radius:var(--r);font-family:var(--font);font-size:.95rem;color:var(--text);background:var(--white);transition:border-color .15s}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--blue)}
.form-group textarea{min-height:140px;resize:vertical}
.form-success{display:none;background:#f0fdf4;border:1px solid #86efac;color:#166534;padding:12px 16px;border-radius:var(--r);font-size:.9rem;margin-top:1rem}

/* ── À PROPOS ── */
.about-section{padding:60px 40px}
.about-inner{max-width:var(--max);margin:0 auto}
.about-block{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:48px 0;border-bottom:1px solid var(--light)}
.about-block:last-child{border-bottom:none}
.about-block.reverse{direction:rtl}
.about-block.reverse>*{direction:ltr}
.about-block h2{font-size:1.5rem;font-weight:700;color:var(--navy);margin-bottom:1rem}
.about-block p{font-size:.97rem;color:var(--gray);line-height:1.75;margin-bottom:.75rem}
.about-block p strong{color:var(--navy)}

/* ── RÉALISATIONS ── */
.real-item{border:1px solid var(--light);border-radius:10px;padding:2rem;margin-bottom:1.5rem}
.real-tag{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;background:var(--off);color:var(--blue);padding:3px 12px;border-radius:100px;margin-bottom:1rem}
.real-item h2{font-size:1.25rem;font-weight:700;color:var(--navy);margin-bottom:.25rem}
.real-item h3{font-size:1.1rem;font-weight:700;color:var(--navy);margin-bottom:.25rem}
.real-item .sub{font-size:.9rem;font-style:italic;color:var(--gray);margin-bottom:1rem}
.real-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1rem}
.real-block{background:var(--off);border-radius:var(--r);padding:1.25rem}
.real-block h4{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--navy);margin-bottom:.5rem}
.real-block p,.real-block li{font-size:.88rem;color:var(--gray);line-height:1.65}
.real-block ul{list-style:none;display:flex;flex-direction:column;gap:.3rem}
.real-block ul li::before{content:'— ';color:var(--blue)}
.real-links{display:flex;gap:1rem;margin-top:1.25rem;flex-wrap:wrap}

/* ── MAP ── */
.map-wrap{border-radius:10px;overflow:hidden;background:var(--off);border:1px solid var(--light)}
.map-wrap svg{width:100%;height:100%}

/* ── CTA STRIP ── */
.cta-strip{background:var(--white);border-top:1px solid var(--light);padding:80px 40px;text-align:center}
.cta-strip h2{font-size:clamp(1.4rem,2.5vw,2rem);font-weight:700;color:var(--navy);margin-bottom:.75rem}
.cta-strip p{color:var(--gray);margin-bottom:1.75rem}

/* ── FOOTER ── */
footer{background:var(--navy);color:rgba(255,255,255,.55);padding:60px 40px 32px}
.footer-inner{max-width:var(--max);margin:0 auto}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand .site-logo{margin-bottom:1rem}
/* Wordmark dans le footer : bleu clair pour bon contraste sur fond navy */
.footer-brand .logo-wordmark{color:#5fb4d4}
/* Logo PNG : léger éclaircissement pour bien ressortir sur le navy sombre */
.footer-brand .site-logo img.logo-png{filter:brightness(1.45) saturate(1.3)}
.footer-brand p{font-size:.88rem;line-height:1.75;max-width:280px}
.footer-col h4{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--white);margin-bottom:1.1rem}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.55rem}
.footer-col ul li a{font-size:.88rem;color:rgba(255,255,255,.45);text-decoration:none;transition:color .15s}
.footer-col ul li a:hover{color:var(--white)}
.footer-address{font-size:.88rem;line-height:1.9}
.footer-address a{color:rgba(255,255,255,.45);text-decoration:none}
.footer-address a:hover{color:var(--white)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:28px;font-size:.8rem;flex-wrap:wrap;gap:.75rem}
.footer-bottom a{color:rgba(255,255,255,.35);text-decoration:none}
.footer-bottom a:hover{color:var(--white)}

/* ── SVG ILLUS ── */
.illus-hero{width:100%;height:auto}

/* ─────────────────────────────────────────────────────────────
   COMPOSANTS v2 — Badges, FAQ, scroll-top, cookie, quiz, cartes
   ───────────────────────────────────────────────────────────── */

/* ── BADGES & KPI ── */
.hero-badge{display:inline-flex;align-items:center;gap:10px;background:var(--white);color:var(--teal-d);font-size:.82rem;font-weight:600;padding:7px 16px 7px 12px;border-radius:100px;margin-bottom:1.5rem;border:1px solid #d4e7ea;box-shadow:var(--shadow-sm)}
.hero-badge .dot{width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px rgba(26,122,138,.15);animation:pulse 2.4s ease-in-out infinite}
.hero-badge strong{color:var(--navy);font-weight:700}
.kpi-strip{display:flex;flex-wrap:wrap;gap:1.25rem 3rem;padding:1.5rem 0 .5rem;border-top:1px solid var(--light);margin-top:2.25rem}
.kpi-strip .kpi{display:flex;flex-direction:column}
.kpi-strip .kpi-num{font-family:var(--display);font-size:1.7rem;font-weight:700;color:var(--navy);line-height:1.1;letter-spacing:-.01em}
.kpi-strip .kpi-lbl{font-size:.78rem;color:var(--gray);text-transform:uppercase;letter-spacing:.06em;margin-top:.35rem;font-weight:500}
.response-promise{display:inline-flex;align-items:center;gap:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:.85rem;font-weight:500;padding:6px 12px;border-radius:100px;margin-bottom:1rem}
.response-promise::before{content:"";width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.18);animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 3px rgba(22,163,74,.18)}50%{box-shadow:0 0 0 6px rgba(22,163,74,.05)}}

/* ── FAQ / ACCORDÉON ── */
.faq{display:flex;flex-direction:column;gap:.5rem;margin-top:1.75rem;max-width:880px}
.faq-item{border:1px solid var(--light);border-radius:var(--r-lg);background:var(--white);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.faq-item:hover{border-color:#cdd3e8}
.faq-item.open{border-color:var(--teal);box-shadow:var(--shadow-sm)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.35rem;background:none;border:none;font-family:var(--font);font-size:1rem;font-weight:600;color:var(--navy);cursor:pointer;text-align:left;line-height:1.4}
.faq-q::after{content:"+";font-size:1.5rem;font-weight:400;color:var(--teal);transition:transform .25s ease;flex-shrink:0;line-height:1}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;padding:0 1.35rem}
.faq-item.open .faq-a{max-height:600px;padding-bottom:1.2rem}
.faq-a p{font-size:.95rem;color:var(--gray);line-height:1.75;margin-bottom:.6rem}
.faq-a p:last-child{margin-bottom:0}

/* ── BREADCRUMB ── */
.breadcrumb{padding:calc(var(--nav-h) + 18px) 40px 0;max-width:var(--max);margin:0 auto;font-size:.82rem;color:var(--gray)}
.breadcrumb a{color:var(--gray);text-decoration:none;transition:color .15s}
.breadcrumb a:hover{color:var(--teal)}
.breadcrumb .sep{margin:0 .55rem;color:#c8cdde}
.breadcrumb .current{color:var(--navy);font-weight:500}
.breadcrumb+.page-hero,.breadcrumb+main.legal{padding-top:28px}

/* ── SCROLL TO TOP ── */
.scroll-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--white);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-md);opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .25s,transform .25s,background .15s;z-index:150}
.scroll-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.scroll-top:hover{background:var(--teal-d)}
.scroll-top svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

/* ── COOKIE BANNER ── */
.cookie-banner{position:fixed;bottom:16px;left:16px;right:16px;max-width:520px;margin:0 auto;background:var(--white);border:1px solid var(--light);box-shadow:var(--shadow-lg);border-radius:var(--r-lg);padding:18px 20px;z-index:160;font-size:.88rem;color:var(--gray);line-height:1.6;display:none;animation:slideUp .35s ease}
.cookie-banner.show{display:block}
.cookie-banner p{margin-bottom:.85rem}
.cookie-banner p strong{color:var(--navy)}
.cookie-banner a{color:var(--teal-d);text-decoration:underline}
.cookie-banner .cookie-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.cookie-banner button{font-family:var(--font);font-size:.85rem;font-weight:600;padding:8px 16px;border-radius:var(--r);cursor:pointer;border:none;transition:background .15s}
.cookie-banner .cookie-ok{background:var(--blue);color:var(--white)}
.cookie-banner .cookie-ok:hover{background:var(--blue-h)}
.cookie-banner .cookie-info{background:var(--off);color:var(--navy);border:1px solid var(--light)}
@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* ── FEATURE GRID — Icônes de section ── */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;margin-top:1.75rem}
.feature{display:flex;flex-direction:column;gap:.6rem;padding:1.75rem;background:var(--white);border:1px solid var(--light);border-radius:var(--r-lg);transition:border-color .2s,transform .2s,box-shadow .2s;position:relative;overflow:hidden}
.feature::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--teal),var(--teal-d));transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.feature:hover{border-color:var(--teal);transform:translateY(-3px);box-shadow:var(--shadow-md)}
.feature:hover::before{transform:scaleX(1)}
.feature .icon{width:42px;height:42px;border-radius:8px;background:var(--teal-l);color:var(--teal-d);display:flex;align-items:center;justify-content:center;margin-bottom:.4rem}
.feature .icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.feature h3{font-size:1.05rem;font-weight:700;color:var(--navy);margin:0}
.feature p{font-size:.92rem;color:var(--gray);line-height:1.65;margin:0}

/* ── RÉALISATIONS (cartes filtrables) ── */
.real-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.75rem 0 2rem}
.real-filter{font-family:var(--font);font-size:.82rem;font-weight:600;padding:7px 16px;border-radius:100px;border:1.5px solid var(--light);background:var(--white);color:var(--navy);cursor:pointer;transition:all .15s}
.real-filter:hover{border-color:var(--teal);color:var(--teal-d)}
.real-filter.active{background:var(--navy);color:var(--white);border-color:var(--navy)}
.real-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}
.real-card{background:var(--white);border:1px solid var(--light);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s,transform .2s,box-shadow .2s}
.real-card:hover{border-color:var(--teal);transform:translateY(-3px);box-shadow:var(--shadow-md)}
.real-card.hidden{display:none}
.real-card .thumb{aspect-ratio:16/10;background:var(--off);border-bottom:1px solid var(--light);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.real-card .thumb svg{width:60%;height:60%;opacity:.55}
.real-card .body{padding:1.5rem 1.6rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.real-card .cat{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--teal-d)}
.real-card h3{font-size:1.1rem;font-weight:700;color:var(--navy);line-height:1.35;margin:0}
.real-card .sub{font-size:.86rem;color:var(--gray);font-style:italic;margin:0}
.real-card .desc{font-size:.92rem;color:var(--gray);line-height:1.65;margin:.25rem 0;flex:1}
.real-card .stack{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.tag-stack{font-size:.74rem;font-weight:600;background:var(--off);color:var(--navy);padding:3px 10px;border-radius:100px;border:1px solid var(--light)}

/* ── QUESTIONNAIRE D'ESTIMATION ── */
.q-wrap{background:var(--white);border:1px solid var(--light);border-radius:var(--r-lg);padding:2.25rem;max-width:720px;margin:0 auto;box-shadow:var(--shadow-sm)}
.q-progress{display:flex;gap:6px;margin-bottom:1.75rem}
.q-progress span{flex:1;height:4px;border-radius:2px;background:var(--light);transition:background .25s}
.q-progress span.done{background:var(--teal)}
.q-step{display:none}
.q-step.active{display:block;animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.q-step-num{font-family:var(--display);font-size:.72rem;font-weight:700;letter-spacing:.12em;color:var(--teal-d);margin-bottom:.4rem;text-transform:uppercase}
.q-step h3{font-size:1.3rem;font-weight:700;color:var(--navy);margin-bottom:.4rem;line-height:1.3;letter-spacing:-.01em}
.q-step .hint{font-size:.92rem;color:var(--gray);margin-bottom:1.35rem}
.q-options{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.5rem}
.q-option{display:flex;align-items:center;gap:.85rem;padding:14px 18px;border:1.5px solid var(--light);border-radius:8px;background:var(--white);cursor:pointer;font-family:var(--font);font-size:.97rem;color:var(--navy);text-align:left;transition:all .15s;width:100%}
.q-option:hover{border-color:#bcc3de;background:#fcfdff}
.q-option.selected{border-color:var(--teal);background:var(--teal-l)}
.q-option .check{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--light);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .15s}
.q-option.selected .check{background:var(--teal);border-color:var(--teal)}
.q-option.selected .check::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--white)}
.q-nav{display:flex;justify-content:space-between;gap:1rem;padding-top:1.1rem;border-top:1px solid var(--light)}
.q-result{display:none;text-align:center;padding:.5rem 0}
.q-result.show{display:block;animation:fadeIn .35s ease}
.q-result .range-tag{display:inline-block;background:var(--teal);color:var(--white);font-size:.78rem;font-weight:600;padding:5px 14px;border-radius:100px;margin-bottom:.85rem;letter-spacing:.03em}
.q-result .range-value{font-family:var(--display);font-size:1.85rem;font-weight:700;color:var(--navy);margin-bottom:.5rem;line-height:1.2;letter-spacing:-.01em}
.q-result .range-sub{font-size:.95rem;color:var(--gray);margin-bottom:1.5rem;max-width:480px;margin-left:auto;margin-right:auto}
.q-result .btn-row{justify-content:center}

/* ── GUIDE PDF DOWNLOAD ── */
.guide-block{background:linear-gradient(135deg,var(--navy) 0%,#252d4b 100%);color:var(--white);border-radius:14px;padding:2.75rem;display:grid;grid-template-columns:1fr 1.4fr;gap:2.5rem;align-items:center;position:relative;overflow:hidden}
.guide-block::after{content:"";position:absolute;top:-80px;right:-80px;width:280px;height:280px;background:radial-gradient(circle,rgba(30,203,186,.12) 0%,transparent 65%);pointer-events:none}
.guide-block>*{position:relative;z-index:1}
.guide-block .guide-cover{aspect-ratio:1/1.4;max-width:210px;margin:0 auto;background:var(--white);border-radius:6px;padding:1.5rem 1.25rem;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 18px 50px -8px rgba(0,0,0,.40);transform:rotate(-3deg);transition:transform .35s}
.guide-block .guide-cover:hover{transform:rotate(-1deg) scale(1.03)}
.guide-block .guide-cover .tag{font-family:var(--display);font-size:.55rem;font-weight:700;letter-spacing:.15em;color:var(--teal-d);text-transform:uppercase}
.guide-block .guide-cover .gtitle{font-size:.92rem;font-weight:800;color:var(--navy);line-height:1.2;margin-top:.5rem}
.guide-block .guide-cover .line{width:32px;height:2px;background:var(--teal);margin-top:.65rem}
.guide-block .guide-cover .gsub{font-size:.62rem;color:var(--gray);line-height:1.4;margin-top:.5rem}
.guide-block .guide-cover .gbrand{font-family:var(--display);font-size:.55rem;font-weight:700;color:var(--teal);letter-spacing:.18em;text-transform:uppercase}
.guide-block h2{color:var(--white);margin-bottom:.5rem;font-size:1.5rem}
.guide-block p{color:rgba(255,255,255,.72);font-size:.97rem;margin-bottom:1.35rem}
.guide-block .section-label{color:#86efac}
.guide-block .section-label::before{background:#86efac}
.guide-block .guide-form{display:flex;gap:.5rem;flex-wrap:wrap;align-items:stretch}
.guide-block .guide-form input{flex:1;min-width:200px;padding:11px 14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:var(--white);border-radius:var(--r);font-family:var(--font);font-size:.92rem}
.guide-block .guide-form input::placeholder{color:rgba(255,255,255,.45)}
.guide-block .guide-form input:focus{outline:none;border-color:var(--teal);background:rgba(255,255,255,.1)}
.guide-block .guide-form button{border:none;cursor:pointer;font-family:var(--font);background:var(--teal);color:var(--white);font-weight:600;padding:11px 22px;border-radius:var(--r);transition:background .15s,transform .15s;box-shadow:0 1px 2px rgba(26,122,138,.30)}
.guide-block .guide-form button:hover{background:var(--teal-d);transform:translateY(-1px)}
.guide-block .guide-feedback{font-size:.82rem;color:rgba(255,255,255,.55);margin-top:.7rem;min-height:1.2em}
.guide-block .guide-feedback.success{color:#86efac}

/* ── CALENDLY EMBED ── */
.calendly-wrap{border:1px solid var(--light);border-radius:var(--r-lg);overflow:hidden;background:var(--white);min-height:640px}
.calendly-wrap iframe{width:100%;height:640px;border:none;display:block}
.calendly-placeholder{padding:3rem 2rem;text-align:center;background:var(--off);border:1px dashed #c8cdde;border-radius:var(--r-lg)}
.calendly-placeholder p{color:var(--gray);font-size:.92rem;margin-bottom:1rem}

/* ── ANIMATIONS SCROLL ── */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.in-view{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.cookie-banner,.q-step.active,.q-result.show,.hero-badge .dot,.response-promise::before{animation:none}}

/* ── RESPONSIVE des nouveaux composants ── */
@media(max-width:1200px){
  /* Sur les écrans intermédiaires, on rapproche un peu le contenu des bords */
  .section,.cta-strip{padding-left:32px;padding-right:32px}
  #nav,.page-hero,.hero-inner,footer,.about-section{padding-left:32px;padding-right:32px}
}
@media(max-width:860px){
  .breadcrumb{padding-left:20px;padding-right:20px}
  .guide-block{grid-template-columns:1fr;padding:2rem;text-align:center;gap:1.75rem}
  .guide-block .guide-cover{margin-bottom:.5rem}
  .guide-block .guide-form{flex-direction:column}
  .q-wrap{padding:1.75rem}
  .scroll-top{bottom:16px;right:16px;width:40px;height:40px}
  .hero-home::before{display:none}
  .page-hero::after{display:none}
}
@media(max-width:520px){
  .real-cards{grid-template-columns:1fr}
  .kpi-strip{gap:1rem 2rem}
  .kpi-strip .kpi-num{font-size:1.4rem}
}

/* ── RESPONSIVE ── */
@media(max-width:860px){
  .nav-menu{display:none;flex-direction:column;position:fixed;top:var(--nav-h);left:0;right:0;background:var(--white);border-bottom:1px solid var(--light);padding:12px 20px 20px;gap:4px;z-index:199}
  .nav-menu.open{display:flex}
  .hamburger{display:block}
  .hero-inner,.grid2,.contact-layout,.about-block,.about-block.reverse,.card-grid,.dark-card-grid,.real-grid{grid-template-columns:1fr;direction:ltr;gap:40px}
  .card-item{border-right:none!important}
  .footer-top{grid-template-columns:1fr 1fr}
  .section,.about-section,.cta-strip,.page-hero{padding-left:20px;padding-right:20px}
  footer{padding-left:20px;padding-right:20px}
  #nav{padding:0 20px}
  .hero-inner{padding:56px 20px}
  .section{padding-top:60px;padding-bottom:60px}
}
@media(max-width:520px){
  .footer-top{grid-template-columns:1fr}
  .btn-row{flex-direction:column}
}

/* ─────────────────────────────────────────────────────────────
   PAGE MÉTHODE — Liste 5 étapes avec ligne verticale
   ───────────────────────────────────────────────────────────── */
.method-steps{position:relative;display:flex;flex-direction:column;gap:1rem;max-width:880px;margin:0 auto}
.method-steps::before{content:"";position:absolute;left:30px;top:30px;bottom:30px;width:2px;background:linear-gradient(180deg,var(--teal) 0%,var(--teal-d) 100%);opacity:.25;border-radius:2px}
.method-step{display:grid;grid-template-columns:62px 1fr;gap:1.25rem;align-items:start;background:var(--white);border:1px solid var(--light);border-radius:var(--r-lg);padding:1.5rem 1.75rem;position:relative;transition:border-color .2s,box-shadow .2s,transform .2s}
.method-step:hover{border-color:var(--teal);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.method-num{font-family:var(--display);font-size:1.5rem;font-weight:700;width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,var(--teal) 0%,var(--teal-d) 100%);color:var(--white);display:flex;align-items:center;justify-content:center;letter-spacing:-.02em;box-shadow:0 4px 12px -2px rgba(26,122,138,.30);position:relative;z-index:1}
.method-content h3{font-size:1.2rem;font-weight:700;color:var(--navy);margin:.4rem 0 .5rem;letter-spacing:-.005em}
.method-content p{font-size:.97rem;color:var(--gray);line-height:1.7;margin-bottom:.6rem}
.method-time{display:inline-block;font-size:.78rem;font-weight:600;color:var(--teal-d);background:var(--teal-l);padding:3px 12px;border-radius:100px;letter-spacing:.02em}

/* ─────────────────────────────────────────────────────────────
   ROI CALCULATOR
   ───────────────────────────────────────────────────────────── */
.roi-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:2.5rem;align-items:start}
.roi-form{display:flex;flex-direction:column;gap:1.25rem}
.roi-block{background:var(--white);border:1px solid var(--light);border-radius:var(--r-lg);padding:1.75rem}
.roi-block h3{font-size:1.05rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;display:flex;align-items:baseline;gap:.5rem}
.roi-block .roi-hint{font-size:.88rem;color:var(--gray);margin-bottom:1.25rem;line-height:1.6}
.roi-field{margin-bottom:1rem}
.roi-field:last-child{margin-bottom:0}
.roi-field label{display:block;font-size:.85rem;font-weight:600;color:var(--navy);margin-bottom:.45rem}
.roi-input-wrap{position:relative;display:flex;align-items:center}
.roi-input-wrap input{width:100%;padding:11px 60px 11px 14px;border:1.5px solid var(--light);border-radius:var(--r);font-family:var(--font);font-size:1rem;color:var(--navy);background:var(--white);transition:border-color .15s,box-shadow .15s}
.roi-input-wrap input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(26,122,138,.12)}
.roi-input-wrap input::-webkit-outer-spin-button,.roi-input-wrap input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.roi-input-wrap input[type=number]{-moz-appearance:textfield}
.roi-unit{position:absolute;right:14px;font-size:.85rem;font-weight:500;color:var(--gray);pointer-events:none}
.roi-help{display:block;font-size:.78rem;color:var(--gray);margin-top:.35rem;font-style:italic}
.roi-result{position:sticky;top:calc(var(--nav-h) + 24px);background:linear-gradient(135deg,var(--navy) 0%,#252d4b 100%);color:var(--white);border-radius:var(--r-lg);padding:2rem;overflow:hidden}
.roi-result .section-label{color:#7dd3c0}
.roi-result .section-label::before{background:#7dd3c0}
.roi-total{font-family:var(--display);font-size:2.8rem;font-weight:700;color:var(--white);line-height:1.1;margin:.5rem 0 1.5rem;letter-spacing:-.015em}
.roi-breakdown{display:flex;flex-direction:column;gap:.6rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.10)}
.roi-line{display:flex;justify-content:space-between;align-items:baseline;font-size:.92rem}
.roi-line span{color:rgba(255,255,255,.65)}
.roi-line strong{color:var(--white);font-weight:600;font-variant-numeric:tabular-nums}
.roi-payback{margin-top:1.5rem;padding:1.25rem;background:rgba(255,255,255,.05);border:1px solid rgba(125,211,192,.20);border-radius:var(--r)}
.roi-payback p{font-size:.88rem;color:rgba(255,255,255,.75);margin-bottom:.4rem;line-height:1.6}
.roi-payback p strong{color:var(--white)}
.roi-months{font-family:var(--display);font-size:1.4rem;font-weight:700;color:#7dd3c0;letter-spacing:-.01em}
.roi-disclaimer{font-size:.78rem;color:rgba(255,255,255,.45);margin-top:1rem;line-height:1.5;font-style:italic}

@media(max-width:860px){
  .roi-layout{grid-template-columns:1fr;gap:1.5rem}
  .roi-result{position:static}
  .method-step{grid-template-columns:50px 1fr;padding:1.25rem 1.25rem}
  .method-num{width:48px;height:48px;font-size:1.2rem}
  .method-steps::before{left:24px}
}

/* ─── Sélecteur de langue (lang-switch) ─── */
.nav-menu .lang-switch{display:inline-flex;align-items:center;margin-left:.35rem;padding-left:.75rem;border-left:1px solid var(--light)}
.nav-menu .lang-switch a{font-size:.78rem;font-weight:700;letter-spacing:.08em;color:var(--gray);text-transform:uppercase;padding:6px 10px;border-radius:var(--r);transition:color .15s,background .15s}
.nav-menu .lang-switch a:hover{color:var(--teal-d);background:var(--teal-l)}
@media(max-width:860px){
  .nav-menu .lang-switch{margin-left:0;padding-left:0;border-left:none;border-top:1px solid var(--light);margin-top:8px;padding-top:8px;width:100%;justify-content:flex-start}
}

/* ─── Carte réalisation cliquable (cas détaillé) ─── */
.real-card-link{display:flex;flex-direction:column;text-decoration:none;color:inherit;flex:1}
.case-flag{display:inline-block;font-size:.6rem;font-weight:700;letter-spacing:.08em;color:#fff;background:var(--teal);padding:2px 8px;border-radius:100px;margin-left:.5rem;vertical-align:middle;text-transform:uppercase}
.case-link{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:var(--teal-d);margin-top:.75rem;transition:gap .2s}
.real-card-link:hover .case-link{gap:10px}
.real-card:has(.real-card-link):hover .case-link{gap:10px}


/* ─── PAGES LÉGALES (CGV / Politique de confidentialité) ─────── */
main.legal{
  max-width:880px;
  margin:0 auto;
  padding:calc(var(--nav-h) + 56px) 40px 80px;
}
main.legal h1{
  font-size:clamp(1.7rem,2.8vw,2.3rem);
  font-weight:700;
  color:var(--navy);
  line-height:1.2;
  margin-bottom:.5rem;
  letter-spacing:-.01em;
}
main.legal h2{
  font-size:1.15rem;
  font-weight:700;
  color:var(--navy);
  margin-top:2.5rem;
  margin-bottom:.75rem;
  padding-top:1.25rem;
  border-top:1px solid var(--light);
}
main.legal h2:first-of-type{border-top:none;padding-top:0;margin-top:1.75rem}
main.legal h3{
  font-size:.98rem;
  font-weight:700;
  color:var(--navy);
  margin-top:1.5rem;
  margin-bottom:.5rem;
}
main.legal p{
  font-size:.97rem;
  color:var(--gray);
  line-height:1.75;
  margin-bottom:.85rem;
}
main.legal ul{
  margin:.5rem 0 1rem 1.25rem;
  padding-left:.5rem;
}
main.legal li{
  font-size:.97rem;
  color:var(--gray);
  line-height:1.75;
  margin-bottom:.35rem;
}
main.legal .updated{
  font-size:.85rem;
  color:var(--gray);
  font-style:italic;
  margin-bottom:2rem;
  padding-bottom:1.5rem;
  border-bottom:1px solid var(--light);
}
main.legal strong{color:var(--navy);font-weight:600}
@media(max-width:860px){
  main.legal{padding:calc(var(--nav-h) + 40px) 20px 60px}
}

/* ═════════════════════════════════════════════════════════════
   BLOG — index (sélection des articles) et article détaillé
   ═════════════════════════════════════════════════════════════ */

/* ─── Index Blog : grille de cards ─── */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
  gap:1.75rem;
  margin-top:2rem
}
.blog-card{
  background:var(--white);
  border:1px solid var(--light);
  border-radius:var(--r-lg);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
  text-decoration:none;
  color:inherit
}
.blog-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--teal)
}
.blog-card .blog-cover{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--teal) 0%,var(--teal-d) 100%);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center
}
.blog-card .blog-cover-symbol{
  font-family:var(--display);
  font-size:4rem;
  font-weight:700;
  color:rgba(255,255,255,.92);
  letter-spacing:-.04em
}
.blog-card .blog-cover-icon{
  width:64px;
  height:64px;
  color:rgba(255,255,255,.92)
}
.blog-card .blog-cover.alt{
  background:linear-gradient(135deg,#1a2035 0%,#252d4b 100%)
}
.blog-card .blog-cover.alt2{
  background:linear-gradient(135deg,#2e5be8 0%,#1a40c0 100%)
}
.blog-card .blog-card-body{
  padding:1.5rem 1.75rem 1.75rem;
  display:flex;
  flex-direction:column;
  flex:1
}
.blog-card .blog-meta{
  font-size:.78rem;
  font-weight:600;
  color:var(--teal-d);
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:.75rem;
  display:flex;
  align-items:center;
  gap:.75rem
}
.blog-card .blog-meta .dot{
  width:3px;
  height:3px;
  background:var(--gray);
  border-radius:50%;
  opacity:.5
}
.blog-card h3{
  font-size:1.2rem;
  font-weight:700;
  color:var(--navy);
  line-height:1.3;
  margin-bottom:.65rem;
  letter-spacing:-.005em
}
.blog-card p{
  font-size:.94rem;
  color:var(--gray);
  line-height:1.65;
  margin-bottom:1rem;
  flex:1
}
.blog-card .blog-read{
  font-size:.88rem;
  font-weight:600;
  color:var(--teal-d);
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  transition:gap .2s ease
}
.blog-card:hover .blog-read{gap:.7rem}

/* ─── Article : header (titre, méta, intro) ─── */
.article-header{
  padding:calc(var(--nav-h) + 56px) 40px 40px;
  background:linear-gradient(180deg,#fbfcfe 0%,#fff 100%);
  border-bottom:1px solid var(--light)
}
.article-header-inner{
  max-width:780px;
  margin:0 auto
}
.article-meta{
  display:flex;
  align-items:center;
  gap:1rem;
  font-size:.85rem;
  color:var(--gray);
  margin-bottom:1.25rem;
  flex-wrap:wrap
}
.article-meta .article-tag{
  background:var(--teal-l);
  color:var(--teal-d);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  padding:3px 10px;
  border-radius:100px
}
.article-meta .sep{
  width:3px;
  height:3px;
  background:var(--gray);
  border-radius:50%;
  opacity:.5
}
.article-header h1{
  font-size:clamp(1.8rem,3.6vw,2.6rem);
  font-weight:700;
  color:var(--navy);
  line-height:1.18;
  margin-bottom:1.1rem;
  letter-spacing:-.012em
}
.article-header .article-lead{
  font-size:1.13rem;
  color:var(--gray);
  line-height:1.65;
  font-weight:400
}

/* ─── Article : corps + TOC sticky ─── */
.article-body{
  padding:48px 40px 64px;
  background:#fff
}
.article-layout{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 240px;
  gap:64px;
  align-items:start
}
.article-content{
  max-width:720px;
  font-size:1.02rem;
  line-height:1.78;
  color:#2a3142
}
.article-content > p:first-of-type::first-letter{
  font-family:var(--display);
  font-size:3.4rem;
  float:left;
  line-height:.9;
  padding:.2rem .6rem 0 0;
  color:var(--teal);
  font-weight:700
}
.article-content h2{
  font-size:1.55rem;
  font-weight:700;
  color:var(--navy);
  line-height:1.25;
  margin:2.5rem 0 1rem;
  letter-spacing:-.005em;
  scroll-margin-top:calc(var(--nav-h) + 24px)
}
.article-content h2:first-child{margin-top:0}
.article-content h3{
  font-size:1.15rem;
  font-weight:700;
  color:var(--navy);
  line-height:1.35;
  margin:2rem 0 .75rem;
  scroll-margin-top:calc(var(--nav-h) + 24px)
}
.article-content p{margin-bottom:1.1rem}
.article-content strong{color:var(--navy);font-weight:600}
.article-content em{color:#3a4154}
.article-content a{
  color:var(--teal-d);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:color .15s ease
}
.article-content a:hover{color:var(--navy)}
.article-content ul,.article-content ol{
  margin:.5rem 0 1.4rem 1.25rem;
  padding-left:.5rem
}
.article-content li{margin-bottom:.55rem;line-height:1.7}
.article-content li::marker{color:var(--teal)}
.article-content blockquote{
  border-left:3px solid var(--teal);
  background:linear-gradient(90deg,var(--teal-l) 0%,rgba(255,255,255,0) 100%);
  margin:1.75rem 0;
  padding:1rem 1.25rem;
  font-style:italic;
  color:#2a3142;
  border-radius:0 var(--r) var(--r) 0
}
.article-content blockquote p:last-child{margin-bottom:0}
.article-content .article-callout{
  background:#fffbeb;
  border:1px solid #fde68a;
  border-left:3px solid #d97706;
  border-radius:var(--r);
  padding:1.1rem 1.25rem;
  margin:1.75rem 0;
  font-size:.95rem;
  color:#451a03
}
.article-content .article-callout strong{color:#451a03}
.article-content .article-callout p:last-child{margin-bottom:0}
.article-content code{
  background:var(--off);
  border:1px solid var(--light);
  padding:1px 6px;
  border-radius:4px;
  font-family:'SFMono-Regular',Consolas,monospace;
  font-size:.9em;
  color:var(--navy)
}
.article-content hr{
  border:none;
  height:1px;
  background:var(--light);
  margin:2.5rem 0
}

/* ─── Table des matières sticky ─── */
.article-toc{
  position:sticky;
  top:calc(var(--nav-h) + 24px);
  padding:1.25rem 1rem 1.25rem 1.25rem;
  border-left:1px solid var(--light);
  font-size:.88rem
}
.article-toc-title{
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--gray);
  margin-bottom:1rem
}
.article-toc ul{list-style:none;padding:0;margin:0}
.article-toc li{margin-bottom:.7rem;line-height:1.45}
.article-toc a{
  color:var(--gray);
  text-decoration:none;
  display:block;
  padding:.2rem 0;
  transition:color .15s ease,padding-left .15s ease;
  border-left:2px solid transparent;
  padding-left:.65rem;
  margin-left:-.65rem
}
.article-toc a:hover{color:var(--teal-d)}
.article-toc a.active{
  color:var(--navy);
  font-weight:600;
  border-left-color:var(--teal)
}

/* ─── Pied d'article : auteur, partage, related ─── */
.article-footer{
  max-width:720px;
  margin:3rem auto 0;
  padding-top:2rem;
  border-top:1px solid var(--light)
}
.article-author{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.25rem;
  background:var(--off);
  border-radius:var(--r-lg)
}
.article-author-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--teal) 0%,var(--teal-d) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-family:var(--display);
  font-weight:700;
  font-size:1.05rem;
  flex-shrink:0
}
.article-author-info{flex:1}
.article-author-info strong{display:block;color:var(--navy);font-weight:600;font-size:.95rem;margin-bottom:.15rem}
.article-author-info p{font-size:.85rem;color:var(--gray);margin:0}

.article-related{margin-top:3rem}
.article-related h3{
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--gray);
  margin-bottom:1.25rem
}

/* ─── Responsive Blog ─── */
@media(max-width:980px){
  .article-layout{grid-template-columns:1fr;gap:0}
  .article-toc{display:none}
  .article-header,.article-body{padding-left:20px;padding-right:20px}
  .article-header{padding-top:calc(var(--nav-h) + 32px)}
  .article-body{padding-top:32px}
  .article-content > p:first-of-type::first-letter{font-size:2.8rem}
}
