/* YOBAL TRANSIT — variante « Sur fond clair » (logo Yobal : carré vert + Y or, YOBAL noir, nom du service en vert).
   Couleurs charte : #0D5C3A, #127A4D, #F5C430, #080F0A, fonds #F7FAF8 / #EFF4F0. À charger après yobal.css. */
/* barre de navigation */
.nav-logo-icon{background:none}
.nav-logo-name{color:#080F0A;letter-spacing:.02em}.nav-logo-sub{color:#0D5C3A;font-weight:800;letter-spacing:.16em}
.nav-link{color:rgba(8,15,10,.65)}.nav-link:hover{color:#0D5C3A;background:rgba(13,92,58,.08)}
.burger span{background:#080F0A}
.navbar.scrolled{background:rgba(254,255,254,.96);border-bottom:1px solid #E3ECE6;box-shadow:0 4px 24px rgba(8,15,10,.08)}
.mobile-menu{background:#F7FAF8}.mobile-link{color:#080F0A;border-bottom-color:#E3ECE6}.mobile-link:hover{color:#0D5C3A}
/* hero clair */
.hero{background:#F7FAF8}
.hero-bg{background:radial-gradient(ellipse 60% 70% at 78% 30%,rgba(26,153,96,.14),transparent 65%),radial-gradient(ellipse 50% 50% at 10% 90%,rgba(245,196,48,.16),transparent 55%)}
.hero-grid{opacity:1;background-image:linear-gradient(rgba(13,92,58,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(13,92,58,.05) 1px,transparent 1px)}
.hero-circle-1,.hero-circle-2{border-color:rgba(13,92,58,.1)}
.hero-tag{background:#E6F3EC;border-color:rgba(13,92,58,.15);color:#0D5C3A;font-weight:600}
.hero-h1{color:#080F0A}.hero-h1 em{color:#0D5C3A}
.hero-p{color:#4A5E4D}
.btn-ghost{border:2px solid #0D5C3A;color:#0D5C3A}.btn-ghost:hover{background:#0D5C3A;color:#fff;border-color:#0D5C3A}
.hero-stats{border-top-color:#DCE7DF}.h-stat{border-right-color:#DCE7DF}
.h-stat-n{color:#0D5C3A}.h-stat-l{color:#7C907F}
.hero-float-card{background:#fff;border-color:#E3ECE6;box-shadow:0 10px 30px rgba(8,15,10,.12)}.hfc-n{color:#0D5C3A}.hfc-l{color:#7C907F}
.hero-card{background:#fff;border:1px solid #E3ECE6;box-shadow:0 24px 60px rgba(8,15,10,.12)}
.track-item{background:#F7FAF8;border-color:#E3ECE6}
.track-ico-g{background:#E6F3EC;color:#0D5C3A}.track-ico-gold{background:#FEF5D0;color:#C9A020}
.track-name{color:#080F0A}.track-sub{color:#7C907F}
/* rythme des sections : vert, clair, nuit */
.marquee-section{background:#0D5C3A}
.zones-section{background:#0D5C3A}
.zones-map{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
.form-section{background:#080F0A}
.form-bg{background:radial-gradient(ellipse 60% 80% at 80% 50%,rgba(13,92,58,.55),transparent 60%)}
.why-section{background:#0D5C3A}
.why-card{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.footer{background:#080F0A}

/* TÉLÉPHONE : cibles tactiles ≥ 44 px, pas de zoom automatique des champs sur iPhone, zones sûres (encoche, barre du bas) */
a,button,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:rgba(13,92,58,.15)}
input,select,textarea{font-size:16px}
@media (max-width:980px){
  .burger{min-width:46px;min-height:46px;padding:12px 10px;align-items:center;justify-content:center}
  .btn{min-height:46px}.nav-logo{min-height:46px}
  .footer-link{display:flex;align-items:center;min-height:44px;padding:0}.more{display:inline-block;padding:12px 0}
  .floating-cta{bottom:max(16px,env(safe-area-inset-bottom));right:16px}
  .footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
.form-input{font-size:16px}
.hero-tag-dot{background:#127A4D}
@media (max-width:620px){.hero-btns{flex-direction:column;align-items:stretch}.hero-btns .btn{width:100%;justify-content:center}}

/* Bouton menu (téléphone) : trois traits qui forment une croix centrée à l'ouverture */
.burger{position:relative;width:46px;height:46px;min-width:46px;min-height:46px;padding:0;border-radius:14px;background:#E6F3EC;transition:background .2s}
.burger span{position:absolute;left:12px;width:22px;height:2.4px;margin:0;border-radius:2px;background:#0D5C3A;transition:transform .28s ease,top .28s ease,opacity .2s}
.burger span:nth-child(1){top:15px}.burger span:nth-child(2){top:22px}.burger span:nth-child(3){top:29px}
.burger.open{background:#0D5C3A}.burger.open span{background:#fff}
.burger.open span:nth-child(1){top:22px;transform:rotate(45deg)}.burger.open span:nth-child(2){opacity:0}.burger.open span:nth-child(3){top:22px;transform:rotate(-45deg)}
.burger:focus-visible{outline:3px solid #F5C430;outline-offset:2px}
.mobile-link[aria-current]{color:#0D5C3A}.mobile-link[aria-current]::before{content:"";display:inline-block;width:8px;height:8px;margin:0 12px 4px 0;border-radius:50%;background:#F5C430;vertical-align:middle}

/* Pages intérieures : retour à l'accueil */
.crumb{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:0 0 14px;padding:8px 16px 8px 10px;border-radius:50px;font:600 13.5px var(--font-body,sans-serif);color:#0D5C3A;background:rgba(255,255,255,.7);border:1px solid #E3ECE6;transition:background .2s}
.crumb:hover{background:#E6F3EC}.crumb svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.page-hero .crumb+.eyebrow{display:table}

/* Barre de navigation du bas (téléphone et tablette) */
.tabbar{display:none}
@media (max-width:980px){
  .tabbar{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;position:fixed;left:0;right:0;bottom:0;z-index:95;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #E3ECE6;box-shadow:0 -6px 24px rgba(8,15,10,.08)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-height:52px;padding:2px 0;color:#5F7268;font:600 11px var(--font-body,sans-serif);text-decoration:none;-webkit-tap-highlight-color:transparent}
  .tabbar .tb-ic{display:grid;place-items:center;width:44px;height:30px;border-radius:50px;transition:background .2s}
  .tabbar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .tabbar a[aria-current]{color:#0D5C3A}.tabbar a[aria-current] .tb-ic{background:#E6F3EC}
  .tabbar .tb-main .tb-ic{width:52px;height:52px;margin-top:-24px;border-radius:50%;background:#F5C430;color:#0D5C3A;border:4px solid #fff;box-shadow:0 6px 18px rgba(13,92,58,.25)}
  .tabbar .tb-main svg{width:24px;height:24px;stroke-width:2.6}
  .tabbar .tb-main[aria-current] .tb-ic{background:#0D5C3A;color:#F5C430}
  .tabbar a:focus-visible{outline:3px solid #F5C430;outline-offset:-3px;border-radius:12px}
  body.has-tabbar{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.has-tabbar .auth-wrap{min-height:calc(100vh - 92px - env(safe-area-inset-bottom))}
  body.has-tabbar .floating-cta{display:none!important}
  body.has-tabbar .estbar{bottom:calc(64px + env(safe-area-inset-bottom));padding-bottom:14px;box-shadow:0 -4px 16px rgba(8,15,10,.12)}
  body.has-tabbar .toast{bottom:calc(86px + env(safe-area-inset-bottom))}
}
