/* ============================================================
   MediTravel Solutions — Front v3
   Direction artistique : bleu médical clair + accent orange.
   Polices : Barlow (titres) · Source Sans 3 (corps) · Barlow Condensed (chiffres)
   ============================================================ */

:root {
  --v3-navy: #0B3C6B;
  --v3-navy-deep: #082744;
  --v3-blue: #1272C4;
  --v3-blue-mid: #11538F;
  --v3-blue-link: #0E5AA0;
  --v3-orange: #F0700F;       /* orange plus vif et contrasté (texte blanc lisible) */
  --v3-orange-hi: #FF8A29;    /* highlight dégradé */
  --v3-orange-deep: #D85E06;  /* survol */
  --v3-orange-soft: #FFC08A;  /* accents sur fond foncé, plus lumineux */
  --v3-orange-pale: #FFF1E4;
  --v3-orange-ink: #B85305;
  --v3-bg: #F5F8FB;
  --v3-panel: #EAF2FB;
  --v3-ink: #12263A;
  --v3-ink-soft: #56697C;
  --v3-muted: #7D8FA1;
  --v3-line: #E7EDF4;
  --v3-line-2: #D6E3EF;
  --v3-shell: 1280px;

  /* Couleurs de lien/texte sur fond FONCÉ (footer, panneaux CTA, hero) */
  --v3-on-dark: #C4D6E8;        /* texte courant clair */
  --v3-on-dark-strong: #FFFFFF; /* titres */
  --v3-on-dark-link: #CBDDEE;   /* liens */
  --v3-on-dark-muted: #8FA6BC;  /* texte secondaire */

  /* Ombres cohérentes (élévation) */
  --v3-sh-1: 0 2px 10px rgba(11,60,107,.06);
  --v3-sh-2: 0 8px 26px rgba(11,60,107,.09);
  --v3-sh-3: 0 20px 46px rgba(11,60,107,.14);

  --v3-sans: 'Source Sans 3', system-ui, sans-serif;
  --v3-title: 'Barlow', sans-serif;
  --v3-cond: 'Barlow Condensed', sans-serif;
}

* { box-sizing: border-box; }

body.v3 {
  margin: 0;
  background: var(--v3-bg);
  color: var(--v3-ink);
  font-family: var(--v3-sans);
  -webkit-font-smoothing: antialiased;
  /* Garde-fou débordement horizontal (défense en profondeur).
     En RTL, tout élément hors-champ positionné par un « left » physique négatif
     (ex. ancien honeypot « left:-9999px ») gonflait la largeur de défilement et
     décalait toute la page → page blanche sur mobile. Le clip sur <body> AVEC
     « position:relative » établit le bloc conteneur et confine ce débordement ;
     les champs masqués utilisent désormais la technique « clip:rect(0,0,0,0) »
     sans empreinte de mise en page (voir formulaires). */
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

body.v3 a { color: var(--v3-blue-link); text-decoration: none; transition: color .2s; }
body.v3 a:hover { color: var(--v3-orange); }

/* Lien d'action « En savoir plus → » — visible, avec flèche orange animée */
.v3-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--v3-title); font-weight: 700; font-size: 14.5px; color: var(--v3-orange-ink); }
.v3-more::after { content: "→"; color: var(--v3-orange); transition: transform .2s ease; }
.v3-more:hover { color: var(--v3-orange-deep); }
.v3-more:hover::after { transform: translateX(4px); }

@keyframes v3In { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.v3-shell { max-width: var(--v3-shell); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---- Skip link ---- */
.v3-skip { position: absolute; inset-inline-start: -999px; top: 0; background: #fff; color: var(--v3-navy); padding: 10px 16px; z-index: 200; }
.v3-skip:focus { inset-inline-start: 8px; top: 8px; }

/* ---- Topbar ---- */
.v3-topbar {
  background: var(--v3-navy); color: #CFE2F5; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding: 9px 24px;
}
.v3-topbar .sep { color: var(--v3-orange); }

/* ---- Header ---- */
.v3-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(11,60,107,.08);
}
.v3-header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 14px; padding-bottom: 14px; }
.v3-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.v3-logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(140deg, var(--v3-blue), var(--v3-navy));
  color: #fff; display: grid; place-items: center;
  font-family: var(--v3-cond); font-weight: 700; font-size: 22px;
}
.v3-logo-img { height: 46px; width: auto; display: block; }
.v3-logo-txt { display: flex; flex-direction: column; line-height: 1.12; }
.v3-logo-name { font-family: var(--v3-title); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--v3-navy); }
.v3-logo-sub { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--v3-muted); }

.v3-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.v3-nav a { padding: 10px 13px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--v3-ink); }
.v3-nav a:hover, .v3-nav a.is-active { background: var(--v3-panel); color: var(--v3-blue-link); }

.v3-header-actions { display: flex; align-items: center; gap: 10px; }
.v3-lang { display: flex; gap: 2px; background: var(--v3-panel); border-radius: 8px; padding: 3px; }
.v3-lang a {
  font-family: var(--v3-title); font-size: 13px; font-weight: 700;
  padding: 8px 11px; border-radius: 6px; border: none; cursor: pointer;
  background: transparent; color: var(--v3-ink-soft); line-height: 1;
}
.v3-lang a.on { background: var(--v3-blue); color: #fff; }

/* ---- Boutons ----
   Les couleurs de texte sont préfixées par body.v3 pour battre en spécificité
   la règle globale « body.v3 a » (sinon les boutons <a> héritent du bleu). */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--v3-title); font-weight: 700; border-radius: 8px;
  border: none; cursor: pointer; text-align: center; transition: .2s; white-space: nowrap;
}
.v3-btn:active { transform: translateY(1px); }
.v3-btn:focus-visible { outline: 3px solid rgba(240,112,15,.55); outline-offset: 2px; }

body.v3 .v3-btn-orange { background: linear-gradient(135deg, var(--v3-orange-hi), var(--v3-orange)); color: #fff; padding: 14px 24px; font-size: 15px; box-shadow: 0 8px 18px rgba(216,94,6,.32); }
body.v3 .v3-btn-orange:hover { background: linear-gradient(135deg, var(--v3-orange), var(--v3-orange-deep)); color: #fff; box-shadow: 0 12px 26px rgba(216,94,6,.42); transform: translateY(-2px); }
.v3-btn-lg { padding: 17px 30px; font-size: 16px; }
body.v3 .v3-btn-navy { background: var(--v3-navy); color: #fff; padding: 16px 28px; font-size: 15.5px; }
body.v3 .v3-btn-navy:hover { background: var(--v3-orange); color: #fff; transform: translateY(-2px); }
body.v3 .v3-btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; padding: 17px 30px; font-size: 16px; background: none; }
body.v3 .v3-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
body.v3 .v3-btn-line { border: 1.5px solid var(--v3-line-2); color: var(--v3-navy); padding: 14px 24px; font-size: 15px; background: none; }
body.v3 .v3-btn-line:hover { border-color: var(--v3-blue); color: var(--v3-blue-link); background: var(--v3-panel); }
/* Le bouton soumission de formulaire est un <button>, pas concerné, mais on l'assure */
body.v3 .v3-form-submit { color: #fff; }

/* ---- Sections & titres ---- */
.v3-sec { padding-top: 84px; }
.v3-sec-head { text-align: center; max-width: 42em; margin: 0 auto 40px; }
.v3-kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--v3-title); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-orange); }
.v3-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.v3-sec-head .v3-kicker { justify-content: center; }
.v3-h1 { font-family: var(--v3-title); font-weight: 700; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.05; letter-spacing: -.025em; margin: 20px 0 0; text-wrap: balance; }
.v3-h2 { font-family: var(--v3-title); font-weight: 700; font-size: clamp(27px, 3.4vw, 42px); letter-spacing: -.025em; line-height: 1.12; color: var(--v3-navy); margin: 14px 0 12px; text-wrap: balance; }
.v3-h3 { font-family: var(--v3-title); font-weight: 700; color: var(--v3-navy); margin: 0; letter-spacing: -.01em; }
.v3-lead { font-size: 17px; line-height: 1.72; color: var(--v3-ink-soft); margin: 0; }

/* ---- Filtres (chips catégories) ---- */
.v3-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.v3-filter { display: inline-flex; align-items: center; gap: 7px; font-family: var(--v3-title); font-size: 14px; font-weight: 600; color: var(--v3-navy); background: #fff; border: 1.5px solid var(--v3-line-2); border-radius: 30px; padding: 9px 18px; transition: all .18s ease; }
.v3-filter:hover { border-color: var(--v3-blue); color: var(--v3-blue); background: var(--v3-panel); }
.v3-filter.is-on { background: linear-gradient(135deg, var(--v3-navy), var(--v3-blue)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(11,60,107,.22); }
body.v3 .v3-filter.is-on { color: #fff; }

/* ---- Cartes catégories (explorer par spécialité) ---- */
.v3-cat { position: relative; display: block; border-radius: 14px; overflow: hidden; height: 130px; box-shadow: var(--v3-sh-1); transition: transform .22s ease, box-shadow .22s ease; }
.v3-cat:hover { transform: translateY(-3px); box-shadow: var(--v3-sh-3); }
.v3-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.v3-cat:hover img { transform: scale(1.08); }
.v3-cat-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,38,68,.15), rgba(8,38,68,.78)); }
.v3-cat-label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-family: var(--v3-title); font-weight: 700; font-size: 16px; color: #fff; line-height: 1.15; }
.v3-cat-count { display: block; font-size: 12px; font-weight: 600; color: var(--v3-orange-soft); margin-top: 2px; }

/* Vignettes galerie */
.v3-thumb { height: 110px; border-radius: 12px; overflow: hidden; background: var(--v3-panel); border: 1px solid var(--v3-line); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.v3-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.v3-thumb:hover { box-shadow: var(--v3-sh-2); }
.v3-thumb:hover img { transform: scale(1.08); }

/* État vide soigné */
.v3-empty { text-align: center; max-width: 30em; margin: 0 auto; background: #fff; border: 1px solid var(--v3-line); border-radius: 16px; padding: 48px 32px; box-shadow: var(--v3-sh-1); }
.v3-empty-ico { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; background: var(--v3-panel); color: var(--v3-blue); display: grid; place-items: center; }
.v3-empty h3 { font-family: var(--v3-title); font-weight: 700; font-size: 20px; color: var(--v3-navy); margin: 0 0 8px; }
.v3-empty p { font-size: 15px; line-height: 1.6; color: var(--v3-ink-soft); margin: 0 0 20px; }

/* Section à fond alterné (rythme visuel), pleine largeur */
.v3-band { background: var(--v3-panel); }
.v3-band-soft { background: linear-gradient(180deg, #fff 0%, var(--v3-bg) 100%); }
.v3-band .v3-sec, .v3-band-soft .v3-sec { padding-bottom: 84px; }

/* ---- Grilles auto-fit responsive ---- */
.v3-grid { display: grid; gap: 22px; }
.v3-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.v3-grid-230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.v3-grid-290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.v3-grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.v3-grid-270 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.v3-grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.v3-grid-210 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.v3-grid-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.v3-items-center { align-items: center; }
.v3-items-start { align-items: start; }

/* ---- Hero ---- */
.v3-hero { position: relative; background: linear-gradient(120deg, #0A3560 0%, #11538F 55%, #1472C6 100%); color: #fff; overflow: hidden; overflow: clip; }
.v3-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(242,130,46,.16), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(255,255,255,.06), transparent 55%); pointer-events: none; }
.v3-hero-page { background: linear-gradient(120deg, #0A3560, var(--v3-blue)); }
/* Orbe décorative : positionnée en logique (inset-inline-end) + max-width pour
   ne jamais déborder du viewport en RTL. */
.v3-hero-orb { position: absolute; inset-inline-end: -140px; top: -160px; width: min(520px, 90vw); height: min(520px, 90vw); border-radius: 50%; background: radial-gradient(circle, rgba(242,130,46,.22), transparent 68%); pointer-events: none; }
.v3-hero-in { position: relative; z-index: 1; padding: 76px 24px 80px; }
.v3-hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: 8px 14px; font-family: var(--v3-title); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--v3-orange-soft); }
.v3-hero h1 { color: #fff; }
.v3-hero .accent { color: var(--v3-orange-soft); }
.v3-hero-lead { font-size: 17.5px; line-height: 1.65; color: #D4E5F6; margin: 20px 0 0; max-width: 34em; text-wrap: pretty; }
.v3-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v3-hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14.5px; color: #CFE2F5; }
.v3-hero-media { position: relative; min-width: 0; }
.v3-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-hero-frame { position: relative; border-radius: 20px; overflow: hidden; height: clamp(340px, 42vw, 470px); box-shadow: 0 30px 64px rgba(4,26,48,.42); outline: 6px solid rgba(255,255,255,.08); outline-offset: -1px; }
.v3-hero-card { position: absolute; left: -14px; bottom: -26px; background: #fff; color: var(--v3-ink); border-radius: 14px; padding: 15px 20px; box-shadow: 0 22px 46px rgba(4,26,48,.3); display: flex; align-items: center; gap: 14px; max-width: 90%; }
.v3-hero-card-badge { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--v3-orange), #E2701C); color: #fff; display: grid; place-items: center; font-family: var(--v3-title); font-weight: 700; font-size: 15px; flex-shrink: 0; box-shadow: 0 6px 14px rgba(242,130,46,.34); }

/* ---- Cartes ---- */
.v3-card { background: #fff; border-radius: 16px; border: 1px solid var(--v3-line); box-shadow: var(--v3-sh-1); min-width: 0; transition: transform .22s ease, box-shadow .22s ease; }
.v3-card:hover { transform: translateY(-3px); box-shadow: var(--v3-sh-3); }
.v3-card-pad { padding: 24px; }

.v3-pillar { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1px solid var(--v3-line); border-top: 3px solid var(--v3-blue); box-shadow: var(--v3-sh-1); min-width: 0; transition: transform .22s ease, box-shadow .22s ease; }
.v3-pillar:hover { transform: translateY(-3px); box-shadow: var(--v3-sh-3); }
.v3-pillar-n { font-family: var(--v3-cond); font-weight: 700; font-size: 34px; color: var(--v3-orange); line-height: 1; }
.v3-pillar h3 { font-family: var(--v3-title); font-weight: 700; font-size: 20px; color: var(--v3-navy); margin: 10px 0 8px; }
.v3-pillar p { font-size: 15px; line-height: 1.6; color: var(--v3-ink-soft); margin: 0; text-wrap: pretty; }

/* ---- Liste à cases cochées ---- */
.v3-checks { display: grid; gap: 12px; }
.v3-check { display: flex; gap: 12px; align-items: flex-start; }
.v3-check-box { width: 24px; height: 24px; border-radius: 6px; background: var(--v3-blue); color: #fff; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.v3-check span.txt { font-size: 15.5px; line-height: 1.55; color: var(--v3-ink); min-width: 0; }

/* ---- Bandeau stats ---- */
.v3-stats { background: var(--v3-navy); color: #fff; margin-top: 80px; }
.v3-stats-in { padding: 56px 24px; }
.v3-stat { min-width: 0; border-left: 3px solid var(--v3-orange); padding-left: 18px; }
.v3-stat-num { font-family: var(--v3-cond); font-weight: 700; font-size: clamp(38px, 4vw, 52px); line-height: 1; color: #fff; }
.v3-stat-label { font-family: var(--v3-title); font-weight: 700; font-size: 15px; margin: 8px 0 5px; }
.v3-stat-note { font-size: 14px; line-height: 1.55; color: #B7D1E9; }

/* ---- Cartes spécialités ---- */
.v3-spec { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--v3-line); box-shadow: var(--v3-sh-1); display: flex; flex-direction: column; min-width: 0; transition: transform .22s ease, box-shadow .22s ease; }
.v3-spec:hover { transform: translateY(-3px); box-shadow: var(--v3-sh-3); }
.v3-spec:hover .v3-spec-media img { transform: scale(1.05); }
.v3-spec-media { position: relative; height: 200px; background: var(--v3-panel); overflow: hidden; }
.v3-spec-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.v3-spec-price { position: absolute; left: 14px; bottom: 14px; background: linear-gradient(135deg, var(--v3-orange-hi), var(--v3-orange)); color: #fff; font-family: var(--v3-title); font-weight: 700; font-size: 13.5px; padding: 7px 13px; border-radius: 6px; box-shadow: 0 4px 12px rgba(216,94,6,.32); }
.v3-spec-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v3-spec-body h3 { min-height: 2.4em; display: flex; align-items: flex-start; }
.v3-spec-desc { font-size: 15px; line-height: 1.6; color: var(--v3-ink-soft); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v3-spec-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid var(--v3-line); padding-top: 14px; }

/* ---- Équipe ---- */
.v3-panel-sec { background: var(--v3-panel); margin-top: 80px; }
.v3-panel-in { padding: 72px 24px; }
.v3-member { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(11,60,107,.08); min-width: 0; transition: box-shadow .2s; }
.v3-member:hover { box-shadow: 0 18px 40px rgba(11,60,107,.16); }
.v3-member-photo { height: 270px; background: var(--v3-bg); }
.v3-member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-member-body { padding: 20px; }
.v3-member-role { font-size: 14px; font-weight: 600; color: var(--v3-orange); margin-bottom: 8px; }

/* ---- Séjour / stays ---- */
.v3-stay { position: relative; border-radius: 16px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; background: var(--v3-navy); min-width: 0; }
.v3-stay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-stay-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,38,68,.93) 10%, rgba(8,38,68,.2) 58%, transparent); pointer-events: none; }
.v3-stay-body { position: relative; padding: 26px; color: #fff; min-width: 0; }
.v3-tag-orange { display: inline-block; background: var(--v3-orange); border-radius: 5px; padding: 6px 12px; font-family: var(--v3-title); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }

/* ---- Chips / tags ---- */
.v3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-chip { font-size: 13px; font-weight: 600; color: var(--v3-blue-link); background: var(--v3-panel); border-radius: 6px; padding: 7px 13px; }
.v3-chip-orange { font-size: 13px; font-weight: 600; color: var(--v3-orange-ink); background: var(--v3-orange-pale); border-radius: 6px; padding: 7px 13px; }

/* ---- Panneau foncé (CTA) ---- */
.v3-dark { background: linear-gradient(135deg, var(--v3-navy), var(--v3-blue-mid)); color: var(--v3-on-dark); border-radius: 20px; padding: clamp(26px, 3.4vw, 48px); }
.v3-dark h2, .v3-dark h3 { color: var(--v3-on-dark-strong); }
.v3-dark p { color: var(--v3-on-dark); }
/* Liens sur tout fond foncé → clair, survol orange */
body.v3 .v3-dark a:not(.v3-btn), body.v3 .v3-stats a:not(.v3-btn), body.v3 .v3-hero a:not(.v3-btn) { color: var(--v3-on-dark-link); }
body.v3 .v3-dark a:not(.v3-btn):hover, body.v3 .v3-stats a:not(.v3-btn):hover, body.v3 .v3-hero a:not(.v3-btn):hover { color: var(--v3-orange); }

/* ---- Formulaire devis ---- */
.v3-form { background: #fff; border-radius: 18px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 15px; min-width: 0; box-shadow: 0 24px 56px rgba(4,26,48,.28); }
.v3-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; min-width: 0; }
.v3-label { display: grid; gap: 7px; min-width: 0; font-family: var(--v3-title); font-size: 13px; font-weight: 700; color: #2B4C66; }
.v3-input, .v3-select, .v3-textarea {
  width: 100%; min-width: 0; font-family: var(--v3-sans); font-size: 15px;
  padding: 13px 14px; border: 1px solid var(--v3-line-2); border-radius: 9px; background: #F9FCFF; color: var(--v3-ink);
}
.v3-textarea { resize: vertical; }
.v3-form-submit { background: var(--v3-orange); color: #fff; border: none; font-family: var(--v3-title); font-size: 16px; font-weight: 700; padding: 17px; border-radius: 9px; cursor: pointer; transition: .2s; }
.v3-form-submit:hover { background: var(--v3-navy); }
.v3-form-note { font-size: 13px; color: var(--v3-muted); margin: 0; line-height: 1.5; text-align: center; }
.v3-promise { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.1); border-radius: 10px; padding: 14px 16px; }
.v3-promise .tick { color: var(--v3-orange-soft); font-weight: 700; font-size: 14px; }
.v3-promise span.txt { font-size: 15px; line-height: 1.55; color: #EAF3FA; min-width: 0; }

/* ---- Parcours (étapes) ---- */
.v3-step { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(11,60,107,.08); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; min-width: 0; transition: box-shadow .2s; }
.v3-step:hover { box-shadow: 0 18px 40px rgba(11,60,107,.15); }
.v3-step-media { position: relative; min-height: 240px; background: var(--v3-panel); }
.v3-step-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.v3-step-body { padding: 28px 26px; min-width: 0; }
.v3-step-n { width: 42px; height: 42px; border-radius: 10px; background: var(--v3-blue); color: #fff; display: grid; place-items: center; font-family: var(--v3-cond); font-weight: 700; font-size: 22px; }
.v3-step-when { background: var(--v3-orange-pale); color: var(--v3-orange-ink); border-radius: 6px; padding: 7px 13px; font-family: var(--v3-title); font-size: 13px; font-weight: 700; }

/* ---- Cliniques / rows média+texte ---- */
.v3-row { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(11,60,107,.08); display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); min-width: 0; transition: box-shadow .2s; }
.v3-row:hover { box-shadow: 0 18px 40px rgba(11,60,107,.15); }
.v3-row-media { position: relative; min-height: 240px; background: var(--v3-panel); }
.v3-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.v3-row-body { padding: 28px 26px; min-width: 0; }

/* ---- FAQ ---- */
.v3-faq { background: #fff; border-radius: 12px; padding: 22px 24px; box-shadow: 0 6px 22px rgba(11,60,107,.07); min-width: 0; }
.v3-faq h3 { font-family: var(--v3-title); font-weight: 700; font-size: 17.5px; color: var(--v3-navy); margin: 0 0 8px; text-wrap: pretty; }
.v3-faq p { font-size: 15px; line-height: 1.65; color: var(--v3-ink-soft); margin: 0; text-wrap: pretty; }

/* ---- Coordonnées contact ---- */
.v3-contact-way { background: rgba(255,255,255,.12); border-radius: 12px; padding: 20px; min-width: 0; }
.v3-contact-way .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v3-orange-soft); }
.v3-contact-way .val { font-family: var(--v3-title); font-weight: 700; font-size: 17px; margin: 8px 0 4px; word-break: break-word; color: #fff; }
.v3-contact-way .note { font-size: 13.5px; color: #C6DCF0; }

/* ---- Footer ---- */
.v3-footer { margin-top: 90px; background: var(--v3-navy-deep); color: var(--v3-on-dark); padding: 64px 24px 30px; }
.v3-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
body.v3 .v3-footer a { color: var(--v3-on-dark-link); }
body.v3 .v3-footer a:hover { color: var(--v3-orange); }
.v3-footer p { color: var(--v3-on-dark-muted); }
.v3-footer-col { display: grid; gap: 11px; font-size: 14.5px; align-content: start; min-width: 0; }
.v3-footer-col span:not(.h) { color: var(--v3-on-dark-muted); }
.v3-footer-col .h { font-family: var(--v3-title); font-weight: 700; color: var(--v3-on-dark-strong); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.v3-footer-col .h::after { content: ""; display: block; width: 26px; height: 2px; background: var(--v3-orange); margin-top: 8px; border-radius: 2px; }
.v3-footer-bottom { max-width: var(--v3-shell); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(196,214,232,.16); display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 13px; color: var(--v3-on-dark-muted); }
body.v3 .v3-footer-bottom a { color: var(--v3-on-dark-muted); }
body.v3 .v3-footer-bottom a:hover { color: var(--v3-orange); }

/* ---- Burger + drawer mobile ---- */
.v3-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.v3-drawer { display: none; }
.v3-drawer-overlay { display: none; }

@media (max-width: 900px) {
  .v3-nav, .v3-header-actions .v3-lang { display: none; }
  .v3-burger { display: inline-flex; }
  .v3-header-in { padding-top: 12px; padding-bottom: 12px; }
  .v3-logo-img { height: 40px; }
  .v3-drawer.open { display: block; }
  .v3-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(86vw, 360px); z-index: 75;
    background: #fff; border-left: 1px solid var(--v3-line);
    padding: 84px 26px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: -24px 0 60px -20px rgba(11,60,107,.4);
  }
  .v3-drawer-overlay.open { display: block; position: fixed; inset: 0; background: rgba(8,38,68,.45); z-index: 74; }
  .v3-drawer a.nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--v3-line); font-size: 15px; font-weight: 600; color: var(--v3-ink); }
  .v3-drawer .v3-btn { width: 100%; margin-top: 16px; }
  .v3-drawer-lang { display: flex; gap: 6px; margin-top: 18px; }
  .v3-drawer-lang a { padding: 6px 12px; border-radius: 6px; background: var(--v3-panel); font-family: var(--v3-title); font-weight: 700; font-size: 13px; color: var(--v3-ink-soft); }
  .v3-drawer-lang a.on { background: var(--v3-blue); color: #fff; }
  .v3-drawer-close { position: absolute; top: 22px; right: 22px; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--v3-ink); line-height: 1; }
}

/* ---- Téléphone (≤ 600px) : compacter titres, espacements, header ---- */
@media (max-width: 600px) {
  /* Header allégé : le CTA est déjà dans le menu → on le retire du header */
  .v3-header-actions .v3-btn-orange { display: none; }
  .v3-logo-img { height: 36px; }

  /* Titres et sur-titres plus compacts */
  .v3-h1 { font-size: clamp(28px, 8.5vw, 36px); }
  .v3-h2 { font-size: clamp(23px, 6.5vw, 30px); }
  .v3-lead { font-size: 15.5px; }
  .v3-hero-lead { font-size: 15.5px; }

  /* Espacements de section réduits */
  .v3-sec { padding-top: 52px; }
  .v3-band .v3-sec, .v3-band-soft .v3-sec { padding-bottom: 52px; }
  .v3-hero-in { padding-top: 40px; padding-bottom: 48px; }
  .v3-stats { margin-top: 52px; }
  .v3-panel-in { padding-top: 48px; padding-bottom: 48px; }
  .v3-footer { margin-top: 60px; padding-top: 48px; }

  /* Marges laterales un poil réduites pour gagner de la place */
  .v3-shell { padding-left: 18px; padding-right: 18px; }

  /* Boutons hero pleine largeur pour un tap confortable */
  .v3-hero-cta { gap: 10px; }
  .v3-hero-cta .v3-btn { width: 100%; }

  /* Carte flottante du hero : repositionnée dans le flux */
  .v3-hero-card { position: static; max-width: none; margin-top: 14px; }
}

/* ---- Auth (login/register/…) ---- */
.v3-auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; background: linear-gradient(135deg, #0B3C6B 0%, #11538F 55%, #1272C4 100%); }
.v3-auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 30px 70px rgba(4,26,48,.4); }
.v3-auth-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.v3-auth-logo .v3-logo-mark { width: 40px; height: 40px; font-size: 20px; }
.v3-auth h1 { font-family: var(--v3-title); font-weight: 700; font-size: 25px; color: var(--v3-navy); margin: 0 0 6px; }
.v3-auth-sub { font-size: 14.5px; color: var(--v3-ink-soft); margin: 0 0 24px; line-height: 1.5; }
.v3-auth-form { display: grid; gap: 15px; }
.v3-auth-foot { margin-top: 22px; text-align: center; font-size: 14px; color: var(--v3-ink-soft); }
.v3-auth-back { display: block; text-align: center; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.v3-auth-back:hover { color: #fff; }
.v3-auth-error { background: #FCECEC; border: 1px solid #E4A9A9; color: #B23B3B; border-radius: 9px; padding: 12px 14px; font-size: 13.5px; }
.v3-auth-status { background: #E7F6EC; border: 1px solid #9FD7B4; color: #1E7F45; border-radius: 9px; padding: 12px 14px; font-size: 14px; }
.v3-field-error { color: #B23B3B; font-size: 13px; font-weight: 400; }

/* ---- Cartes cliniques ---- */
.v3-clinic { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(11,60,107,.08); display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.v3-clinic:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,60,107,.16); }
.v3-clinic-banner { position: relative; height: 170px; background: linear-gradient(135deg, #0B3C6B, #1272C4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v3-clinic-banner::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(242,130,46,.22); z-index: 1; }
.v3-clinic-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.v3-clinic-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,38,68,.15) 0%, rgba(8,38,68,.55) 100%); }
.v3-clinic-mono { position: relative; font-family: var(--v3-cond); font-weight: 700; font-size: 40px; color: #fff; letter-spacing: .02em; z-index: 1; }
.v3-clinic-logo { position: relative; z-index: 1; height: 40px; width: auto; opacity: .95; }
.v3-clinic-pin { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(8,38,68,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 20px; }
.v3-clinic-badge { position: absolute; right: 14px; top: 14px; z-index: 2; background: var(--v3-orange); color: #fff; font-family: var(--v3-title); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; box-shadow: 0 4px 10px rgba(216,94,6,.3); }
.v3-clinic-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.v3-clinic-body h3 { font-family: var(--v3-title); font-weight: 700; font-size: 20px; color: var(--v3-navy); margin: 0; }
.v3-clinic-addr { display: flex; gap: 7px; align-items: flex-start; font-size: 13.5px; color: var(--v3-muted); }
.v3-clinic-desc { font-size: 14.5px; line-height: 1.6; color: var(--v3-ink-soft); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v3-clinic-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--v3-line); padding-top: 14px; margin-top: 4px; }
.v3-clinic-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--v3-blue-link); }
.v3-clinic-cta { margin-left: auto; font-family: var(--v3-title); font-size: 14px; font-weight: 700; color: var(--v3-orange); }

/* ---- Bande de garanties (icônes) ---- */
.v3-guarantee { background: #fff; border-radius: 14px; padding: 24px 22px; box-shadow: 0 6px 22px rgba(11,60,107,.07); min-width: 0; text-align: center; }
.v3-guarantee-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: var(--v3-panel); color: var(--v3-blue); display: grid; place-items: center; }
.v3-guarantee h3 { font-family: var(--v3-title); font-weight: 700; font-size: 16.5px; color: var(--v3-navy); margin: 0 0 6px; }
.v3-guarantee p { font-size: 13.5px; line-height: 1.55; color: var(--v3-ink-soft); margin: 0; }

[x-cloak] { display: none !important; }
