/* ===== Optima 360 – feuille de style du site =====
   Couleurs : marine #0A2240 · lime #AFDC20 · olive #7FA30F · brume #F4F6F3 */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('montserrat-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('montserrat-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('montserrat-latin-800-normal.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:700;font-display:swap;src:url('montserrat-latin-700-italic.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:800;font-display:swap;src:url('montserrat-latin-800-italic.woff2') format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url('figtree-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url('figtree-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url('figtree-latin-600-normal.woff2') format('woff2')}
body{margin:0;background:#F4F6F3}
html{scroll-behavior:smooth}
[id]{scroll-margin-top:96px}
.navl{text-decoration:none;position:relative}.navl::after{content:'';position:absolute;left:0;right:0;bottom:-4px;height:2px;background:#AFDC20;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}.navl:hover::after,.navl.on::after{transform:scaleX(1)}
.more{font-weight:600;font-size:15px;display:inline-flex;gap:8px;align-items:center}
p{text-align:justify;-webkit-hyphens:auto;hyphens:auto}
a{color:#0A2240}a:hover{color:#7FA30F}
.wrap{max-width:1480px;margin:0 auto;padding-left:clamp(24px,4vw,64px);padding-right:clamp(24px,4vw,64px)}
.disp{font-family:Montserrat,sans-serif;font-weight:800;letter-spacing:-0.02em;line-height:1.02;margin:0}
.disp em{font-style:italic;font-weight:800}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.22em;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;padding:16px 28px;border-radius:999px;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,34,64,.18)}
.btn .arr{transition:transform .25s ease}.btn:hover .arr,.lift:hover .arr{transform:translateX(4px)}.arr{display:inline-block;transition:transform .25s ease}
.lift{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
.lift:hover{transform:translateY(-8px);box-shadow:0 24px 48px rgba(10,34,64,.12)}
@keyframes fadeUp{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes draw{from{stroke-dasharray:0 360}to{stroke-dasharray:var(--len) 360}}
@keyframes pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
@keyframes marquee{to{transform:translateX(-50%)}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
.fu{animation:fadeUp 1s cubic-bezier(.2,.7,.2,1) both}
.d1{animation-delay:.15s}.d2{animation-delay:.3s}.d3{animation-delay:.45s}.d4{animation-delay:.6s}
.seg{stroke-dasharray:var(--len) 360;animation:draw 1.6s cubic-bezier(.6,.1,.2,1) both}
.seg2{animation-delay:.25s}.seg3{animation-delay:.5s}.seg4{animation-delay:.9s}
.dot{animation:pop .8s 1.2s cubic-bezier(.3,1.6,.5,1) both;transform-box:fill-box;transform-origin:center}
.track{display:flex;width:max-content;animation:marquee 38s linear infinite}
.marquee:hover .track{animation-play-state:paused}
.cue{animation:bob 2s ease-in-out infinite}
/* scroll-driven (navigateurs récents) */
@keyframes par{to{transform:translateY(140px) scale(.92)}}
@keyframes ink{to{background-size:100% 100%,100% 100%}}
@keyframes zoom{from{transform:scale(1.18)}to{transform:scale(1)}}
@keyframes trace{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.sticky{position:sticky;top:120px}
@media (max-width:900px){.sticky{position:static}}
.ink{background-image:linear-gradient(#0A2240,#0A2240),linear-gradient(rgba(10,34,64,.16),rgba(10,34,64,.16));background-repeat:no-repeat;background-size:100% 100%,100% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.horse path{stroke-dasharray:1;stroke-dashoffset:0}
@supports (animation-timeline: view()){
.reveal{animation:fadeUp linear both;animation-timeline:view();animation-range:entry 0% cover 25%}
.par{animation:par linear both;animation-timeline:scroll();animation-range:0 100vh}
.ink{background-size:0% 100%,100% 100%;animation:ink linear both;animation-timeline:view();animation-range:cover 15% cover 55%}
.zoom{animation:zoom linear both;animation-timeline:view();animation-range:entry 0% exit 0%}
.horse path{stroke-dashoffset:1;animation:trace linear both;animation-timeline:view();animation-range:entry 20% cover 50%}
}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.bars rect{transform-box:fill-box;transform-origin:50% 100%}
.line{stroke-dasharray:1;stroke-dashoffset:0}
@supports (animation-timeline: view()){.bars rect{animation:grow linear both;animation-timeline:view();animation-range:entry 10% cover 40%}.line{stroke-dashoffset:1;animation:trace linear both;animation-timeline:view();animation-range:entry 10% cover 45%}}
.dtile{position:relative;width:64px;height:64px;border-radius:18px;background-color:#0A2240;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px);background-size:8px 8px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(10,34,64,.22);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.dtile::after{content:'';position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;background:#AFDC20;animation:ping 2.4s ease-out infinite}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(175,220,32,.7)}70%,100%{box-shadow:0 0 0 9px rgba(175,220,32,0)}}
.pcard:hover .dtile{transform:translateY(-3px) rotate(-6deg)}
@keyframes sway{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(18px) rotate(-2deg)}}
.boat{animation:sway 9s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 100%}
@keyframes rise{to{stroke-dashoffset:-20}}
@keyframes fall{to{stroke-dashoffset:-24}}
@keyframes plume{0%,100%{transform:skewX(0)}50%{transform:skewX(-4deg)}}
.jcol{animation:rise .9s linear infinite}
.plume{animation:plume 4.5s ease-in-out infinite;transform-box:fill-box;transform-origin:0% 0%}
.spray{animation:fall 2.4s linear infinite}.s2{animation-duration:3.1s}.s3{animation-duration:2.7s}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}.ink{background-size:100% 100%,100% 100%}.horse path{stroke-dashoffset:0}.line{stroke-dashoffset:0}}

/* --- calculateur (page Nos offres) --- */
.stepnum{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#AFDC20;color:#0A2240;font-size:20px;font-weight:800;margin-right:14px;vertical-align:middle;letter-spacing:0}
.choice{position:relative;cursor:pointer}
.choice:has(input:focus-visible){outline:3px solid #7FA30F;outline-offset:3px}
.sr{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.tile{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;transition:background .25s ease}

/* --- en-tête sur téléphone : logo + bouton rendez-vous seulement --- */
@media (max-width: 760px){
  header nav .navl, header nav > span{display:none!important}
  header img{height:34px!important}
  header nav .btn{padding:10px 14px!important;font-size:13px!important;white-space:nowrap}
  header .wrap{gap:10px;flex-wrap:nowrap!important}
}

html{--z:1}
/* Grands écrans : le site s'agrandit proportionnellement pour garder l'aspect « ordinateur portable » */
@media (min-width:1700px){html{zoom:1.13;--z:1.13}}
@media (min-width:1900px){html{zoom:1.27;--z:1.27}}
@media (min-width:2200px){html{zoom:1.45;--z:1.45}}
@media (min-width:2500px){html{zoom:1.68;--z:1.68}}
@media (min-width:2900px){html{zoom:1.9;--z:1.9}}
@media (min-width:3400px){html{zoom:2.25;--z:2.25}}
