/* PESSIMEDICAL – feuille de style */
:root{
  --navy:#0B2A4A;
  --navy-2:#10375F;
  --navy-3:#08203A;
  --teal:#0E7C8F;
  --teal-bright:#14A3B8;
  --teal-soft:#E3F3F6;
  --green:#2E7D5B;
  --ink:#2B3036;
  --muted:#4B5560;
  --line:#E3EAEF;
  --line-2:#B8C4CC;
  --tint:#F3F8FA;
  --tint-2:#DCE8EE;
  --white:#FFFFFF;
  --radius:16px;
  --font-head:'Manrope','Segoe UI',system-ui,sans-serif;
  --font-body:'Source Sans 3','Segoe UI',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:17px;line-height:1.6;color:var(--ink);background:var(--white);-webkit-text-size-adjust:100%}
img,svg{max-width:100%;height:auto}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--teal)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--teal-bright);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--navy);line-height:1.15;margin:0}
h1{font-size:clamp(32px,5vw,48px);font-weight:800}
h2{font-size:clamp(26px,3.6vw,34px);font-weight:800}
h3{font-size:22px;font-weight:700}
p{margin:0}
ul{margin:0;padding-left:20px}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px;top:8px}

/* Barre supérieure */
.topbar{background:var(--navy);color:var(--tint-2);font-size:14px}
.topbar .container{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-top:10px;padding-bottom:10px}
.topbar a{color:var(--tint-2)}
.topbar a:hover{color:#fff}

/* En-tête */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand img{width:44px;height:44px;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-name{font-family:var(--font-head);font-weight:800;font-size:22px;letter-spacing:.02em;color:var(--navy)}
.brand-tag{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nav{display:flex;align-items:center;gap:6px 14px;font-size:15px;font-weight:600}
.nav a{color:var(--navy);padding:6px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{color:var(--teal);border-bottom-color:var(--teal)}
.nav .btn{border-bottom:0;padding:11px 18px;color:#fff}
.nav .btn:hover{color:#fff;background:var(--navy)}
.nav-toggle{display:none;background:var(--navy);color:#fff;border:0;border-radius:8px;padding:10px 14px;font:600 15px var(--font-body);min-height:44px;cursor:pointer}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px var(--font-body);padding:14px 24px;border-radius:8px;border:2px solid transparent;cursor:pointer;min-height:44px;transition:background .15s,color .15s}
.btn-primary{background:var(--teal);color:#fff}
.btn-primary:hover{background:var(--navy);color:#fff}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--teal);color:#fff}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-light{background:var(--teal-bright);color:#062033}
.btn-light:hover{background:#fff;color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Hero */
.hero{background:linear-gradient(180deg,var(--tint) 0%,#fff 100%);padding:64px 0 72px}
.hero .container{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.hero-text{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero-text p.lead{font-size:19px;max-width:560px}
.hero-side{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
.badge{align-self:flex-start;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);background:var(--teal-soft);padding:6px 12px;border-radius:999px}
.hero-visual{border-radius:var(--radius);background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 55%,var(--teal) 100%);min-height:280px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hero-visual svg{width:100%;height:100%;max-height:300px}
.route-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 24px rgba(11,42,74,.08)}
.route-card strong{font-family:var(--font-head);color:var(--navy);font-size:16px}
.route{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chip{display:inline-block;padding:6px 12px;border-radius:999px;font-size:14px;font-weight:600}
.chip-navy{background:var(--navy);color:#fff}
.chip-teal{background:var(--teal-bright);color:#062033}
.chip-soft{background:var(--tint);border:1px solid var(--tint-2);color:var(--navy);padding:9px 16px;font-size:16px}
.small{font-size:14px;color:var(--muted)}

/* Sections */
.section{padding:72px 0}
.section-alt{background:var(--tint)}
.section-dark{background:var(--navy);color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark p{color:var(--tint-2)}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:760px;margin-bottom:36px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto;align-items:center}
.lead{font-size:18px}
.split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.split>*{flex:1 1 380px;min-width:0}
.stack{display:flex;flex-direction:column;gap:20px}

/* Grilles et cartes */
.grid{display:flex;flex-wrap:wrap;gap:24px}
.grid>*{flex:1 1 300px;min-width:0}
.grid-4>*{flex-basis:240px}
.grid-2>*{flex-basis:420px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:14px}
.card ul{display:flex;flex-direction:column;gap:6px}
.card .more{margin-top:auto;font-weight:600;color:var(--teal)}
.icon-box{width:44px;height:44px;border-radius:12px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center}
.icon-box svg{width:26px;height:26px}
.check-card{background:#fff;border-radius:12px;padding:20px;display:flex;gap:14px;align-items:flex-start}
.check-card svg{flex:none}
.check-card strong{color:var(--navy)}
.step-num{font-family:var(--font-head);font-weight:800;font-size:40px;color:var(--teal-bright);line-height:1}
.step{display:flex;flex-direction:column;gap:10px}
.step strong{color:var(--navy);font-size:18px}

/* Titre de page */
.page-title{background:var(--tint);padding:48px 0}
.page-title .container{display:flex;flex-direction:column;gap:14px}
.page-title p{font-size:19px;max-width:760px}
.breadcrumb{font-size:14px;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--teal)}

/* Texte */
.prose{max-width:820px;display:flex;flex-direction:column;gap:16px}
.prose h2{margin-top:24px;font-size:26px}
.prose h3{margin-top:12px;font-size:20px}
.prose ul{display:flex;flex-direction:column;gap:6px}
.notice{background:var(--teal-soft);border-radius:12px;padding:18px 20px;color:var(--navy);font-size:16px}
.notice-warn{background:#FFF5E0;color:#5B3B00}

/* Produits */
.family-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.product-grid{display:flex;flex-wrap:wrap;gap:16px}
.product-card{flex:1 1 260px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:10px}
.product-card h4{font-size:18px}
.product-card .tag{font-size:13px;font-weight:600;color:var(--green)}
.product-card a.btn{margin-top:auto;padding:10px 16px;font-size:15px}
.family{scroll-margin-top:100px;padding:8px 0 40px}
.family h2{margin-bottom:6px}

/* Carte des marchés (schéma à tuiles) */
.map-box{background:var(--tint);border-radius:var(--radius);padding:28px}
.map-tiles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:80px;gap:8px}
.tile{border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;font-weight:600;padding:4px;background:var(--tint-2);color:var(--navy)}
.tile-now{background:var(--navy);color:#fff;font-weight:700}
.tile-prio{background:var(--teal-bright);color:#062033;font-weight:700}
.tile-ghost{background:transparent;border:1px dashed var(--line-2);color:var(--muted);font-weight:400;font-size:13px}
.legend{display:flex;flex-direction:column;gap:16px}
.legend-item{display:flex;gap:12px;align-items:center}
.swatch{width:28px;height:28px;border-radius:8px;flex:none}

/* Formulaires */
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:16px}
.form-row{display:flex;flex-wrap:wrap;gap:16px}
.field{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:6px}
.field label,.field legend{font-weight:600;font-size:15px;color:var(--navy)}
.field input,.field select,.field textarea{font:16px var(--font-body);padding:12px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--ink);min-height:46px;width:100%}
.field textarea{min-height:120px;resize:vertical}
.field small{color:var(--muted);font-size:13px}
.req{color:#B3261E}
.checks,fieldset.field.checks{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 20px;border:0;padding:0;margin:0}
.checks legend{width:100%;padding:0;margin-bottom:2px}
.checks label{display:flex;align-items:center;gap:8px;font-weight:400;color:var(--ink)}
.checks input{width:20px;height:20px;min-height:0;accent-color:var(--teal)}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.consent input{width:20px;height:20px;margin-top:3px;accent-color:var(--teal);flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.alert{padding:14px 18px;border-radius:10px;font-weight:600}
.alert-err{background:#FDECEA;color:#8A1C14}
.alert-ok{background:#E6F4EC;color:#175C3B}

/* Contact */
.contact-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px}
.contact-list li{display:flex;gap:12px;align-items:flex-start}

/* Actualités */
.news-card{padding:0;overflow:hidden;gap:0}
.news-thumb{height:150px;background:repeating-linear-gradient(135deg,var(--tint-2) 0,var(--tint-2) 12px,#E8F0F4 12px,#E8F0F4 24px)}
.news-body{padding:20px;display:flex;flex-direction:column;gap:8px}

/* Bandeau d'appel */
.cta-band .container{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.cta-band h2{max-width:660px;font-size:clamp(24px,3vw,30px)}

/* Pied de page */
.site-footer{background:var(--navy);color:var(--tint-2);padding:56px 0 24px}
.site-footer a{color:var(--tint-2)}
.site-footer a:hover{color:#fff}
.footer-cols{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}
.footer-cols>div{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:8px}
.footer-cols strong{color:#fff}
.footer-name{font-family:var(--font-head);font-weight:800;font-size:22px;color:#fff}
.footer-legal{border-top:1px solid #2A4D73;margin-top:32px;padding-top:20px;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px}

/* WhatsApp */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:60;background:#1F8F5F;color:#fff;border-radius:999px;padding:13px 20px;font-weight:600;display:flex;align-items:center;gap:10px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.wa-float:hover{background:#176f49;color:#fff}

/* Page d'erreur / merci */
.center-page{min-height:50vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:72px 24px}
.center-page .stack{align-items:center;max-width:560px}

/* Responsive */
.nav a{white-space:nowrap}
.form>.field,.form>fieldset.field{flex:0 0 auto}
@media (max-width:1250px){
  .nav-toggle{display:inline-flex;align-items:center}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px 24px 20px;gap:2px;box-shadow:0 10px 20px rgba(11,42,74,.08)}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line)}
  .nav .btn{margin-top:10px;text-align:center}
  .site-header .container{position:relative}
}
@media (max-width:900px){
  .section{padding:52px 0}
  .hero{padding:40px 0 48px}
}
@media (max-width:600px){
  body{font-size:16px}
  .brand-tag{display:none}
  .map-tiles{grid-auto-rows:64px;gap:6px}
  .map-box{overflow-x:auto}
  .map-tiles{min-width:480px}
  .tile{font-size:12px}
  .map-box{padding:16px}
  .topbar .container{flex-direction:column}
  .wa-float span{display:none}
  .wa-float{padding:14px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.topbar,.site-header,.wa-float,.cta-band,.site-footer{display:none}}

/* Polices autohébergées (licence SIL OFL 1.1 : Manrope, Source Sans 3) */
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/manrope-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/source-sans-3-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/source-sans-3-latin-600-normal.woff2) format('woff2')}

/* Sélecteur de langue EN | FR */
.lang-switch{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;margin-left:6px}
.lang-switch a{color:var(--navy);padding:4px 2px;border-bottom:2px solid transparent;text-decoration:none}
.lang-switch a:hover{color:var(--teal)}
.lang-switch a[aria-current="true"]{color:var(--teal);border-bottom-color:var(--teal)}
.lang-switch span{color:#9AA7B2}
@media (max-width:1250px){.lang-switch{margin:10px 0 0;padding:0 4px}}
@media (min-width:1251px){.brand-tag{display:none}}
