/* FANGNON HOLDING — Permis de conduire (maquette v2) */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0A1728;
  --navy-2: #13294A;
  --navy-3: #1C3A63;
  --gold: #E9A13B;
  --gold-light: #F8CC6B;
  --gold-text: #C98A2E;
  --bronze: #8A6420;
  --cream: #FAF6EF;
  --white: #FFFFFF;
  --gutter: clamp(20px, 4vw, 40px);
  --ink-60: rgba(10, 23, 40, .6);
  --ink-75: rgba(10, 23, 40, .75);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Manrope', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--navy); text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
a:hover { color: var(--bronze); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
button, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.accent { color: var(--gold-text); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; white-space: nowrap; border-radius: 10px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); color: var(--cream); }
.btn-sm { font-size: 14px; padding: 10.5px 18px; border-radius: 8px; }
.btn-lg { font-size: 15px; padding: 14px 22px; }
.btn-stack { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.btn-stack small { font-size: 10px; font-weight: 600; letter-spacing: .08em; }

/* Notice bar */
.notice { background: var(--navy); color: var(--cream); font-size: 11px; letter-spacing: .04em; line-height: 1.5; text-align: center; padding: 8px 20px; text-wrap: pretty; }
.notice strong { color: var(--gold-light); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-right: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(10,23,40,.06); }
.site-header .container { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.logo { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; color: var(--gold); font-weight: 800; font-size: 16px; letter-spacing: -.04em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.brand-name span { color: var(--gold-text); }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-60); }
.main-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-call { border: 1.5px solid var(--gold); padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.btn-call:hover { background: var(--cream); color: var(--navy); }
@media (max-width: 859px) {
  .main-nav, .btn-call { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 95% 0%, rgba(248,204,107,.55) 0%, rgba(250,246,239,0) 70%), var(--white); }
.hero-band { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 16vw, 210px); }
.hero-band.gold { background: var(--gold); clip-path: polygon(0 52%, 100% 0, 100% 100%, 0 100%); }
.hero-band.navy { background: var(--navy); clip-path: polygon(0 72%, 100% 18%, 100% 100%, 0 100%); }
.hero-inner { position: relative; padding-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: clamp(140px, 17vw, 220px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(201,138,46,.4); max-width: 100%; font-size: 12px; font-weight: 700; color: var(--bronze); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 28em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; font-weight: 500; color: var(--ink-75); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { padding: 15px 22px; font-size: 15px; }
.hero-ctas .btn-outline { padding: 13.5px 22px; }
.hero-ctas .btn-navy small { color: var(--gold-light); }
.hero-ctas .btn-outline small { color: var(--bronze); }
.hero-band { z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; z-index: 0; height: clamp(420px, 46vw, 600px); }
/* The photo ships on a white background: multiply blends the white into the page,
   and the bands (z-index 1) cover its lower edge so it reads as a cut-out. */
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; mix-blend-mode: multiply; }
.hero-visual .tag { z-index: 2; }
.tag { position: absolute; display: flex; align-items: center; pointer-events: none; }
.tag span.label { background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 12px; font-weight: 700; line-height: 1.25; box-shadow: 0 10px 30px rgba(10,23,40,.12); }
.tag span.pin { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 1px rgba(10,23,40,.1); flex: none; }
.tag-right { right: 0; top: 14%; }
.tag-right .pin { margin-right: -4px; }
.tag-left { left: 0; top: 46%; }
.tag-left .pin { margin-left: -4px; }

/* Trust strip */
.trust .container { padding-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.trust-caption { font-size: 14px; font-weight: 600; color: var(--ink-60); }
.trust-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px; }
.trust-item strong { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.trust-item span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }

/* Sign-up bar */
.signup .container { max-width: 960px; padding-top: 32px; }
.signup-bar { background: var(--cream); border-radius: 14px; padding: 12px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; background: var(--white); border-radius: 10px; cursor: pointer; position: relative; }
.field + .field { flex-basis: 180px; }
.field .eyebrow { letter-spacing: .14em; font-size: 10px; }
.field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-size: 15px; font-weight: 700; color: var(--navy); padding: 2px 22px 2px 0; cursor: pointer; outline: none; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A6420' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; }
.field:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.signup-bar .btn { flex: 0 1 auto; font-size: 15px; padding: 14px 26px; }
@media (max-width: 520px) { .signup-bar .btn { flex: 1 1 100%; } }

/* Formules */
.formules { scroll-margin-top: 70px; }
.formules .container { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.formules-photo { flex: 1 1 420px; min-width: 0; height: clamp(320px, 36vw, 460px); border-radius: 20px; overflow: hidden; background: var(--cream); }
.formules-photo img { width: 100%; height: 100%; object-fit: cover; }
.formules-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.section-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.formule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.formule-list li { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(10,23,40,.08); }
.num { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--navy); }
.formule-list strong { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.02em; }

/* Tarifs */
.tarifs { position: relative; background: linear-gradient(162deg, var(--navy) 0 52%, var(--gold) 52% 100%); color: var(--cream); scroll-margin-top: 70px; }
.tarifs-head { padding-top: clamp(56px, 7vw, 88px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tarifs-head .eyebrow { color: var(--gold-light); letter-spacing: .2em; }
.big-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.tarifs-sub { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,239,.8); }
.carousel { max-width: 1200px; margin: 0 auto; padding: 24px clamp(8px, 3vw, 40px) 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.2fr) minmax(0,1fr); align-items: center; gap: clamp(8px, 2vw, 24px); }
.car-nav { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 8px; transition: opacity .15s; }
.car-nav:hover { opacity: 1 !important; }
.car-nav .arrow { font-size: 22px; }
.car-nav .name { font-size: clamp(14px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.02em; }
.car-prev { text-align: left; color: var(--cream); opacity: .55; }
.car-next { text-align: right; align-items: flex-end; color: var(--navy); opacity: .6; }
.stage { position: relative; height: clamp(220px, 28vw, 360px); }
.slide { position: absolute; inset: 0; display: none; }
.slide.is-active { display: block; animation: fadeIn .35s ease; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Illustrated fallback when no photo is provided for a category */
.slide-art { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.slide-art svg { width: min(78%, 420px); height: auto; max-height: 78%; filter: drop-shadow(0 18px 30px rgba(10,23,40,.35)); }
.slide-art .badge { background: var(--cream); color: var(--navy); font-weight: 800; font-size: clamp(13px, 1.4vw, 16px); padding: 7px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(10,23,40,.2); }
.dots { display: flex; justify-content: center; gap: 8px; padding: 20px 0 28px; }
.dots button { width: 18px; height: 6px; border-radius: 3px; border: 0; padding: 0; cursor: pointer; background: var(--cream); transition: width .25s, background-color .25s; }
.dots button[aria-current="true"] { width: 40px; background: var(--navy); }
.facts { display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; color: var(--navy); }
.facts div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.facts strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.facts span { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.price-card-wrap { position: relative; z-index: 2; max-width: 800px; margin: -8px auto 0; padding: 32px var(--gutter) 0; transform: translateY(50%); }
.price-card { background: var(--white); color: var(--navy); border-radius: 16px; box-shadow: 0 20px 50px rgba(10,23,40,.18); padding: 16px 18px 16px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; color: var(--gold-text); }
.price .cur { font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.price .fee { font-size: 13px; font-weight: 600; color: var(--ink-60); margin-left: 6px; }
.price-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-actions .btn-outline { padding: 11px 18px; font-size: 14px; font-weight: 700; border-radius: 8px; }
.price-actions .btn-gold { padding: 12.5px 20px; font-size: 14px; border-radius: 8px; }

/* Paiement */
.paiement { scroll-margin-top: 70px; }
.paiement .container { padding-top: clamp(110px, 12vw, 150px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 48px; }
.disclaimer { text-align: center; font-size: 13px; font-weight: 600; color: rgba(10,23,40,.65); }
.paiement-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.paiement-head span { font-size: 15px; font-weight: 500; color: rgba(10,23,40,.7); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); row-gap: 40px; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step .eyebrow { padding: 0 24px; }
.track { position: relative; height: 56px; background: var(--navy); display: flex; align-items: center; padding: 0 24px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background-image: repeating-linear-gradient(90deg, var(--gold) 0 28px, transparent 28px 48px); }
.track .num { position: relative; width: 40px; height: 40px; box-shadow: 0 0 0 5px var(--navy); }
.step-body { padding: 0 24px; display: flex; flex-direction: column; gap: 8px; }
.amount { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.amount small { font-size: 18px; color: var(--gold-text); letter-spacing: 0; }
.step-body p { font-size: 15px; line-height: 1.5; font-weight: 500; color: rgba(10,23,40,.72); text-wrap: pretty; }

/* WhatsApp banner */
.wa-section .container { padding-top: 40px; padding-bottom: clamp(64px, 8vw, 96px); }
.wa-banner { position: relative; background: radial-gradient(80% 120% at 75% 50%, var(--navy-3) 0%, var(--navy) 70%); border-radius: 22px; padding: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; color: var(--cream); }
.wa-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.wa-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.wa-copy h2 span { color: var(--gold); }
.wa-copy > span { font-size: 15px; font-weight: 500; color: rgba(250,246,239,.78); }
.wa-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-ghost { border: 1.5px solid rgba(250,246,239,.5); color: var(--cream); font-weight: 700; font-size: 15px; padding: 12.5px 22px; border-radius: 10px; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.phone { flex: 0 0 auto; margin: -80px auto; width: 250px; height: 470px; border-radius: 36px; background: #050D18; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; background: var(--cream); overflow: hidden; display: flex; flex-direction: column; }
.phone-top { background: var(--navy); padding: 28px 14px 12px; display: flex; align-items: center; gap: 10px; }
.phone-top .logo { width: 32px; height: 32px; border-radius: 50%; font-size: 12px; color: var(--navy); background: var(--gold); }
.phone-top div { display: flex; flex-direction: column; line-height: 1.2; }
.phone-top strong { font-size: 12px; font-weight: 800; color: var(--cream); }
.phone-top span { font-size: 10px; font-weight: 600; color: rgba(250,246,239,.6); }
.phone-chat { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bubble { align-self: flex-end; max-width: 86%; background: var(--gold-light); color: var(--navy); font-size: 12px; font-weight: 600; line-height: 1.4; padding: 9px 12px; border-radius: 12px 12px 2px 12px; }
.time { align-self: flex-end; font-size: 9px; font-weight: 600; color: rgba(10,23,40,.5); }
.phone-input { padding: 10px; display: flex; gap: 8px; align-items: center; }
.phone-input span:first-child { flex: 1; height: 34px; border-radius: 17px; background: var(--white); border: 1px solid rgba(10,23,40,.1); }
.phone-input span:last-child { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--navy); }
@media (max-width: 700px) { .phone { margin: 0 auto -100px; } .wa-section .container { padding-bottom: 140px; } }

/* Footer */
.site-footer { background: var(--cream); scroll-margin-top: 70px; }
.site-footer .container { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 28px; display: flex; flex-direction: column; gap: 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-col { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col.about { flex: 1.4 1 320px; gap: 16px; }
.footer-col.visit { flex: 1.4 1 260px; }
.footer-col h3 { margin: 0; font-size: 15px; font-weight: 800; }
.footer-col a, .footer-col li { font-size: 14px; font-weight: 500; color: var(--ink-75); }
.footer-col a:hover { color: var(--bronze); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col .logo { width: 44px; height: 44px; font-size: 17px; }
.footer-col .brand-name { font-size: 20px; }
.footer-col p { font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--ink-75); max-width: 30em; text-wrap: pretty; }
.address { font-size: 14px; line-height: 1.5; font-weight: 600; font-style: normal; }
.footer-col a.tel { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.footer-col a.tel:hover { color: var(--bronze); }
.hours { font-size: 14px; font-weight: 600; color: var(--bronze); }
.footer-bottom { border-top: 1px solid rgba(10,23,40,.12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; color: var(--ink-60); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active { animation: none; }
}
