/* ========================================
   drekatty.com — V2 premium (accueil seulement)
   Branche drekatty-v2-premium — prototype de refonte
   70 % identité actuelle (aubergine/lavande/or, Cormorant+Raleway)
   30 % présentation premium : ivoire, formes organiques, air, éditorial.
   Chargé APRÈS style.css, uniquement par index.html.
   WHY: fichier séparé pour ne rien casser sur les autres pages.
   Context: prompt V2 de Sébastien, 2026-08-27
   ======================================== */

:root {
  --v2-ivory:        #FAF6F0;
  --v2-blob-hero:    54% 46% 48% 52% / 60% 54% 46% 40%;
  --v2-blob-soft:    48% 52% 55% 45% / 52% 48% 52% 48%;
  --v2-ease:         cubic-bezier(0.4, 0, 0.2, 1);
  /* WHY: rose poudré / mauve rosé — passe visuelle 2026-08-27. L'or redevient
     une signature discrète (flèches, filets), plus la couleur des mots clés. */
  /* Contrastes verifies sur ivoire ET mauve pale (audit accessibilite 2026-08-27).
     --v2-rose est reserve aux GRANDS titres (seuil AA 3:1) ; tout texte courant
     utilise --v2-rose-text (5,3:1). L'ancien #C4899E tombait a 2,63:1. */
  --v2-rose:         #B4728A;   /* grands titres uniquement — 3,41:1 */
  --v2-rose-text:    #8E5570;   /* petit texte — 5,30:1 */
  --v2-gold-text:    #7E653A;   /* liens de carte — 5,38:1 (--gold etait a 2,69:1) */
  --v2-plum-link:    #6B4E8E;   /* liens carte esthetique — 6,26:1 */
}

body.v2 {
  background: var(--v2-ivory);
}

/* ========================================
   HEADER — presque transparent en haut, aubergine au défilement
   WHY: accroché à .nav--v2 et non à body.v2, pour que les pages secondaires
   portent le MÊME en-tête sans hériter du fond ivoire de l'accueil. Elles le
   déclarent d'emblée en .scrolled : pas de hero derrière, donc pas d'état
   transparent, et aucun clignotement avant que le script s'exécute.
   Context: décision Sébastien 2026-08-27 — navigation uniforme avant publication
   WHY: au chargement le hero doit sembler continuer derrière le header
   (demande Sébastien 2026-08-27). Le fond ivoire du hero impose alors un
   lettrage FONCÉ ; au défilement le fond aubergine reprend et le lettrage
   repasse en clair. Les deux états sont donc déclarés en entier.
   ======================================== */
.nav--v2 {
  background: rgba(250, 246, 240, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 34, 53, 0.07);
  transition: background 350ms var(--v2-ease), border-color 350ms var(--v2-ease);
}

.nav--v2 .nav__brand,
.nav--v2 .nav__brand-full,
.nav--v2 .nav__brand-short { color: var(--text-dark); }
.nav--v2 .nav__brand-sub { color: var(--text-muted); }
.nav--v2 .nav__links a,
.nav--v2 .nav__tabs a { color: var(--text-body); }
.nav--v2 .nav__links a:hover,
.nav--v2 .nav__tabs a:hover { color: var(--v2-rose-text); }
.nav--v2 .nav__phone-btn { border-color: var(--gold-dark); color: var(--gold-dark); }
.nav--v2 .nav__phone-btn:hover { background: var(--gold-dark); color: #fff; }
.nav--v2 .nav__hamburger span { background: var(--text-dark); }
/* WHY: style.css met le lien actif en blanc !important — invisible sur le
   bandeau clair du haut de page. Les pages Dentisterie et Esthetique sont
   devenues des pages hero le 2026-08-27, elles y sont donc exposees. */
.nav--v2:not(.scrolled) .nav__links a.nav__active,
.nav--v2:not(.scrolled) .nav__tabs a.nav__active {
  color: var(--text-dark) !important;
  border-bottom-color: var(--gold-dark);
}

/* Au défilement : la masse aubergine reprend, légèrement plus compacte */
.nav--v2.scrolled {
  background: rgba(45, 34, 53, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(184, 169, 204, 0.2);
}

.nav--v2.scrolled .nav__brand,
.nav--v2.scrolled .nav__brand-full,
.nav--v2.scrolled .nav__brand-short { color: var(--lavender-light); }
.nav--v2.scrolled .nav__brand-sub { color: rgba(255, 255, 255, 0.5); }
.nav--v2.scrolled .nav__links a,
.nav--v2.scrolled .nav__tabs a { color: rgba(255, 255, 255, 0.85); }
.nav--v2.scrolled .nav__links a:hover,
.nav--v2.scrolled .nav__tabs a:hover { color: var(--gold-light); }
.nav--v2.scrolled .nav__phone-btn { border-color: var(--gold); color: var(--gold); }
.nav--v2.scrolled .nav__phone-btn:hover { background: var(--gold); color: #fff; }
.nav--v2.scrolled .nav__hamburger span { background: rgba(255, 255, 255, 0.85); }

.nav--v2 .nav__inner { transition: height 350ms var(--v2-ease); }
.nav--v2.scrolled .nav__inner { height: 54px; }

/* Marque texte seule : « Dre Katty » + sous-ligne, sans icône dent */
.nav--v2 .nav__brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}

.nav__brand-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 350ms var(--v2-ease);
}

.nav__brand-sub-short { display: none; }

@media (max-width: 768px) {
  /* WHY: « Dentisterie & esthétique faciale » passait sur deux lignes a 375 px
     et faisait grossir le bandeau. Version courte en dessous de 768 px. */
  .nav__brand-sub { font-size: 0.6rem; letter-spacing: 0.08em; }
  .nav__brand-sub-long { display: none; }
  .nav__brand-sub-short { display: inline; }
}

/* --- Conteneur éditorial commun --- */
.v2-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Surtitre pilule --- */
.v2-eyebrow {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  background: var(--lavender-pale);
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A5FA0;
}.v2-eyebrow--rose {
  background: rgba(196, 137, 158, 0.14);
  color: var(--v2-rose-text);
}

/* --- Boutons du design system V2 --- */
.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s var(--v2-ease), box-shadow 0.25s var(--v2-ease),
              background 0.25s var(--v2-ease), color 0.25s var(--v2-ease);
}

.v2-btn--primary {
  background: #38294E;
  color: #fff;
}

.v2-btn--primary:hover {
  background: #46345F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(56, 41, 78, 0.28);
}.v2-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Lien texte avec flèche */
.v2-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-gold-text);
  transition: gap 0.25s var(--v2-ease), color 0.25s var(--v2-ease);
}

.v2-link:hover { color: var(--v2-gold-text); gap: 0.8rem; }
.v2-link svg { width: 16px; height: 16px; }

/* ========================================
   HERO V2 — deux colonnes, vidéo en forme organique
   ======================================== */
.v2-hero {
  padding: 7.5rem 0 4rem;   /* dégage la nav fixe de 60px */
}

.v2-hero__grid {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.v2-hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

/* Surtitre du hero : plus de capsule — le texte seul sur le fond, pour
   réduire le nombre de formes graphiques concurrentes (passe 2026-08-27) */
.v2-hero .v2-eyebrow {
  padding: 0;
  background: none;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--v2-rose-text);
}

.v2-hero__title {
  font-size: clamp(2.05rem, 3.7vw, 3.05rem);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  max-width: 15em;
}

.v2-hero__title em {
  font-style: italic;
  color: var(--v2-rose);
}

.v2-hero__sub {
  max-width: 27rem;
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.8;
  color: #3E3648;
}

.v2-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

/* Colonne média : blob vidéo + blob décoratif + traits */
.v2-hero__media {
  position: relative;
  width: 42%;
  max-width: 480px;
  aspect-ratio: 7 / 6;
  flex-shrink: 0;
}

.v2-hero__media::after {
  /* WHY: halo tres diffus mauve pale qui fond vers l'ivoire — remplace
     l'ombre portee grise qui donnait un contour net a la forme. */
  content: '';
  position: absolute;
  inset: -16% -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 169, 204, 0.4), rgba(196, 137, 158, 0.16) 55%, rgba(250, 246, 240, 0) 80%);
  z-index: -1;
}

.v2-hero__media::before {
  /* WHY: blob lavande décalé derrière la vidéo — la forme organique du mockup */
  content: '';
  position: absolute;
  left: -6%;
  bottom: 4%;
  width: 46%;
  height: 38%;
  background: var(--lavender);
  opacity: 0.5;
  border-radius: 58% 42% 65% 35% / 62% 48% 52% 38%;
}

.v2-hero__blob {
  position: absolute;
  inset: 0 0 0 8%;
  overflow: hidden;
  border-radius: var(--v2-blob-hero);
  /* WHY: le fond du conteneur = la première image de la vidéo (son poster).
     Quand js/main.js fond la vidéo en fin de boucle (.video-fading), c'est
     cette image qui apparaît — la reprise à la frame 1 devient invisible. */
  background: var(--lavender-pale) url('../images/hero-katty.webp') center top / cover no-repeat;
}

/* WHY: neutralise le position:fixed plein écran de .page-video-bg (style.css) —
   dans la V2 la vidéo vit DANS la forme organique du hero, plus derrière la page. */
.v2-hero__blob .page-video-bg {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  transition: opacity 0.6s ease;
}

/* Fin de boucle : js/main.js pose cette classe ~0,7 s avant la fin, la retire
   au redémarrage — fondu vers le poster puis retour, au lieu d'une coupure. */
.v2-hero__blob .page-video-bg.video-fading {
  opacity: 0;
}

/* WHY: ornements dessines par Sebastien (2026-08-27), ils remplacent mes deux
   trace SVG. Ils portent leurs propres couleurs, plus besoin de currentColor. */
.v2-hero__sparkle {
  position: absolute;
  top: -6%;
  right: -6%;
  width: 46px;
  height: auto;
}

/* Accueil : ornements plus riches et nettement plus presents (demande
   Sebastien 2026-08-27). Les pages de service gardent la version au trait. */
.v2-hero:not(.v2-hero--page) .v2-hero__sparkle { width: 86px; top: -9%; right: -7%; }
.v2-hero:not(.v2-hero--page) .v2-hero__leaf { width: 260px; right: -16%; bottom: -12%; opacity: 1; }

@media (max-width: 900px) {
  .v2-hero:not(.v2-hero--page) .v2-hero__sparkle { width: 62px; }
  .v2-hero:not(.v2-hero--page) .v2-hero__leaf { width: 190px; right: -10%; }
}

.v2-hero__leaf {
  position: absolute;
  right: -12%;
  bottom: -9%;
  width: 172px;
  height: auto;
  opacity: 0.9;
}

/* ========================================
   HERO DE PAGE — Dentisterie et Esthétique
   WHY: en pleine largeur, la photo prenait 107 % de la hauteur d'un portable
   1366x800 et le bouton tombait sous la ligne de flottaison. En forme
   organique, elle devient un élément de la composition. Chaque page a SA
   forme : le contour ne doit pas se répéter d'une page à l'autre.
   Context: décision Sébastien 2026-08-27
   ======================================== */
.v2-hero--page {
  padding: 7rem 0 3.5rem;
  background: var(--v2-ivory);
}

.v2-hero--page .v2-hero__media { aspect-ratio: 5 / 4; }

.v2-hero--page .v2-hero__blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

/* Une forme par page, plus un blob décalé de teinte différente */
.v2-hero--dent .v2-hero__blob { border-radius: 46% 54% 38% 62% / 56% 44% 56% 44%; }
.v2-hero--dent .v2-hero__media::before {
  background: var(--gold-light);
  border-radius: 64% 36% 48% 52% / 42% 58% 42% 58%;
  opacity: 0.45;
}

.v2-hero--esth .v2-hero__blob { border-radius: 62% 38% 55% 45% / 40% 58% 42% 60%; }
/* WHY: la photo de la page Esthetique est recadree carre — serre sur le visage
   et le bracelet, la vitrine hors champ. Le cadre suit, sinon on la rognerait
   une seconde fois. Context: photo choisie par Sebastien 2026-08-27 */
.v2-hero--esth .v2-hero__media { aspect-ratio: 1; }
.v2-hero--esth .v2-hero__blob img { object-position: center 42%; }
.v2-hero--esth .v2-hero__media::before {
  background: var(--lavender);
  border-radius: 38% 62% 60% 40% / 55% 42% 58% 45%;
  opacity: 0.5;
}

/* Mention professionnelle obligatoire (art. 3.09.05) */
.v2-hero__mention {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: -0.6rem 0 0;
}

.v2-hero--page .v2-hero__title { font-size: clamp(1.95rem, 3.4vw, 2.8rem); }

@media (max-width: 900px) {
  .v2-hero--page { padding-top: 5.5rem; }
  .v2-hero--page .v2-hero__media { width: 84%; max-width: 420px; aspect-ratio: 4 / 3; }
  /* La photo de la page Esthetique est carree : on ne la rogne pas une
     seconde fois, sinon le bracelet sort du cadre. */
  .v2-hero--esth .v2-hero__media { aspect-ratio: 1; }
}

/* ========================================
   REPÈRES — quatre colonnes filetées
   ======================================== */
.v2-marks {
  padding: 2.5rem 0 4rem;
}

.v2-marks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.v2-mark {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(184, 151, 90, 0.15);
}

/* WHY: le pictogramme apporte lui-meme son trait prune et son accent dore
   (planche fournie 2026-08-27). La pastille teintee ferait un second niveau
   d'or et brouillerait le motif — on la retire, l'icone se suffit. */
.v2-mark__icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}



.v2-mark__title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.v2-mark p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #6B6175;
  margin: 0;
}

/* ========================================
   LES DEUX PORTES — cartes premium à poids égal
   (décision 2026-04-09 : poids visuel strictement égal)
   ======================================== */
.v2-portes {
  padding: 1rem 0 4.5rem;
}

.v2-portes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.v2-porte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 2.2rem 1.8rem;
  background: var(--warm-white);
  border: 1px solid rgba(184, 151, 90, 0.25);
  border-radius: 24px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--v2-ease), box-shadow 0.3s var(--v2-ease),
              border-color 0.3s var(--v2-ease);
}

.v2-porte--esth {
  border-color: rgba(184, 169, 204, 0.55);
  background: #F8F5FB;
}

.v2-porte:hover,
.v2-porte:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(45, 34, 53, 0.11);
  border-color: var(--gold);
  background: #FFFDF9;
}

.v2-porte--esth:hover,
.v2-porte--esth:focus-within {
  border-color: #8B6CAE;
  background: #FBF8FE;
}

/* Le libellé passe en gras au survol — signale clairement l'élément cliquable */
.v2-porte:hover .v2-link,
.v2-porte:focus-within .v2-link {
  font-weight: 700;
  gap: 0.85rem;
  color: var(--v2-gold-text);
}

.v2-porte--esth:hover .v2-link,
.v2-porte--esth:focus-within .v2-link { color: var(--v2-plum-link); }

.v2-porte:hover .v2-porte__icon,
.v2-porte:focus-within .v2-porte__icon { transform: translateY(-4px) scale(1.04); }

.v2-porte--esth:hover {
  border-color: #8B6CAE;
}

.v2-porte::after {
  /* WHY: halo organique discret dans le coin — répond aux formes du hero */
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 188, 138, 0.22), rgba(255, 255, 255, 0));
  transition: transform 0.4s var(--v2-ease);
}

.v2-porte--esth::after {
  background: radial-gradient(circle, rgba(184, 169, 204, 0.3), rgba(255, 255, 255, 0));
}

.v2-porte:hover::after { transform: scale(1.25); }

.v2-porte__icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  transition: transform 0.35s var(--v2-ease);
}

.v2-porte:hover .v2-porte__icon { transform: translateY(-3px); }

.v2-porte h2 {
  font-size: 1.7rem;
  margin: 0;
}

.v2-porte__lead {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

.v2-porte ul {
  list-style: none;
  margin: 0.1rem 0 0.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.v2-porte li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.v2-porte li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--gold);
}

.v2-porte--esth li svg { color: #8B6CAE; }

/* WHY: la carte etait un <a> avalant titre, chapeau et 5 puces — un nom de lien
   de 40 mots au lecteur d'ecran. Le libelle redevient le seul lien, etire sur
   toute la carte pour garder la zone cliquable. Context: audit UX 2026-08-27 */
.v2-porte .v2-link { margin-top: auto; }

.v2-porte .v2-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.v2-porte--esth .v2-link { color: var(--v2-plum-link); }

/* ========================================
   LE DERNIER ACTE — la personne derrière la professionnelle
   Composition éditoriale asymétrique : photo fondue + présentation
   + conversion intégrée. Remplace les 3 pictogrammes (passe 2026-08-27).
   ======================================== */
.v2-humaine {
  padding: 4.5rem 0 5.5rem;
  background: linear-gradient(180deg, var(--v2-ivory) 0%, #F5F1F8 35%, #F5F1F8 75%, var(--v2-ivory) 100%);
}

.v2-humaine__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.v2-humaine__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0;
}

.v2-humaine__head h2 em {
  font-style: italic;
  color: var(--v2-rose);
}

.v2-humaine__grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 3.2rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* Photo éditoriale : côté gauche défini, côté droit qui fond dans le fond */
.v2-humaine__media {
  position: relative;
}

.v2-humaine__media::before {
  /* WHY: halo mauve/rose très doux derrière la photo — aucune bordure nette */
  content: '';
  position: absolute;
  inset: -14% -12% -10% -16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 169, 204, 0.35), rgba(196, 137, 158, 0.14) 60%, rgba(245, 241, 248, 0) 82%);
  z-index: 0;
}

/* WHY: forme éditoriale horizontale et asymétrique — côté gauche bien arrondi,
   haut légèrement irrégulier, côté droit ouvert qui se fond dans le fond.
   Volontairement PAS un ovale : la précédente lisait comme un « œuf » de gabarit.
   Context: retour Sébastien 2026-08-27 */
.v2-humaine__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  object-position: 44% 67%;
  border-radius: 58% 24% 32% 50% / 64% 38% 54% 44%;
  transform: translateX(-2.5%);
  -webkit-mask-image: linear-gradient(96deg, #000 48%, rgba(0, 0, 0, 0.4) 74%, transparent 95%);
  mask-image: linear-gradient(96deg, #000 48%, rgba(0, 0, 0, 0.4) 74%, transparent 95%);
  filter: drop-shadow(0 16px 28px rgba(45, 34, 53, 0.10));
}

.v2-humaine__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.v2-humaine__text h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 0;
}

/* WHY: selecteur qualifie — .v2-humaine__text > p (0,1,1) battait la classe
   seule (0,1,0), et la ligne DMD retombait sur la couleur du corps de texte.
   C'est une mention professionnelle obligatoire : elle doit rester distincte.
   Context: audit 2026-08-27 */
.v2-humaine__text > .v2-humaine__role {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--v2-rose-text);
  margin: 0;
}

.v2-humaine__text > p {
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--text-body);
  margin: 0;
  max-width: 33rem;
}

.v2-humaine__text .v2-link { margin-top: 0.2rem; }

/* Zone de conversion intégrée — pas une nouvelle carte */
.v2-humaine__cta {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(184, 151, 90, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.v2-humaine__cta > p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0;
  max-width: 33rem;
}/* ========================================
   DRE KATTY — section éditoriale portrait + parcours
   ======================================== */
.v2-katty {
  padding: 5rem 0;
}

.v2-katty__grid {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.v2-katty__media {
  position: relative;
  width: 38%;
  max-width: 420px;
  aspect-ratio: 7 / 9;
  flex-shrink: 0;
}

.v2-katty__media::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -4%;
  width: 40%;
  height: 34%;
  background: rgba(212, 188, 138, 0.4);
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
}

.v2-katty__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45, 34, 53, 0.14);
}

.v2-katty__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.v2-katty__badge {
  position: absolute;
  left: 6%;
  bottom: 5%;
  padding: 0.55rem 1.1rem;
  background: var(--warm-white);
  border: 1px solid rgba(184, 151, 90, 0.4);
  border-radius: 40px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  box-shadow: 0 6px 18px rgba(45, 34, 53, 0.12);
}

.v2-katty__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.v2-katty__text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0;
}

.v2-katty__text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0;
}

.v2-katty__text p strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}/* ========================================
   POPUP RENDEZ-VOUS — <dialog> natif (Échap + piège de focus gratuits)
   Un seul popup par page, ouvert par tout [data-rdv-open].
   ======================================== */
/* WHY: le reset « * { margin: 0 } » de style.css annule le margin:auto que le
   navigateur applique a un <dialog> ouvert en modal — le popup partait donc
   dans le coin haut-gauche. On le positionne nous-memes : js/main.js l'ancre
   sous le bouton cliqué sur grand écran, centré sur petit écran.
   Context: signale par Sebastien 2026-08-27 */
.v2-modal {
  position: fixed;
  margin: 0;
  height: fit-content;   /* sinon il se mesure pleine hauteur au 1er calcul */
  border: none;
  padding: 0;
  background: transparent;
  max-width: 27rem;
  width: calc(100% - 2.5rem);
  color: var(--text-body);
  overflow: visible;
}

/* Repli : centré tant que le script n'a pas calculé la position */
.v2-modal:not([data-place]) {
  inset: 0;
  margin: auto;
}

.v2-modal::backdrop {
  background: rgba(45, 34, 53, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.v2-modal__inner {
  position: relative;
  padding: 2.6rem 2rem 2rem;
  background: var(--warm-white);
  border: 1px solid rgba(184, 151, 90, 0.28);
  border-radius: 26px;
  box-shadow: 0 26px 64px rgba(45, 34, 53, 0.26);
  text-align: center;
}

.v2-modal[open] .v2-modal__inner {
  animation: v2-modal-in 0.28s var(--v2-ease);
}

@keyframes v2-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.v2-modal__title {
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 1.5rem;
}

/* Texte d'orientation : on demande le besoin, pas l'agenda. Il explique aussi
   ce qui va se passer ensuite — le visiteur sait où il atterrit avant de cliquer.
   Context: demande Sébastien 2026-08-27 */
.v2-modal__intro {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: -0.9rem 0 1.45rem;
  text-align: left;
}

.v2-modal__choices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.v2-modal__choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.4rem;
  background: var(--cream);
  border: 1px solid rgba(184, 151, 90, 0.35);
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.25s var(--v2-ease), border-color 0.25s var(--v2-ease),
              transform 0.25s var(--v2-ease);
}

.v2-modal__choice svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-dark); }

.v2-modal__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.v2-modal__choice span { flex: 1; }

.v2-modal__choice:hover,
.v2-modal__choice:focus-visible {
  background: #FFFDF9;
  border-color: var(--gold);
  color: var(--text-dark);
  transform: translateX(3px);
}

.v2-modal__choice--esth {
  background: var(--lavender-bg);
  border-color: rgba(184, 169, 204, 0.6);
}

.v2-modal__choice--esth svg { color: #8B6CAE; }

.v2-modal__choice--esth:hover,
.v2-modal__choice--esth:focus-visible {
  background: #F8F5FB;
  border-color: #8B6CAE;
}

/* Sortie douce avant la navigation vers le formulaire (js/main.js) */
.v2-modal__inner { transition: opacity 0.25s var(--v2-ease), transform 0.25s var(--v2-ease); }

.v2-modal.is-leaving .v2-modal__inner {
  opacity: 0;
  transform: translateY(-6px);
}

.v2-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s var(--v2-ease), color 0.2s var(--v2-ease);
}

.v2-modal__close:hover { background: var(--lavender-pale); color: var(--text-dark); }
.v2-modal__close svg { width: 17px; height: 17px; }

/* ========================================
   INTRO DES FORMULAIRES — pages dentisterie et esthétique
   « Laissez-nous vos coordonnées » plutôt que « remplissez ce formulaire » :
   ça explique pourquoi il n'y a pas de calendrier automatique, et ça se lit
   comme un service personnalisé plutôt que comme une limite.
   ======================================== */
.form-intro {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-intro p { margin: 0; }

/* WHY: sélecteurs qualifiés — .form-section__header p (0,1,1) de style.css
   battait la classe seule (0,1,0) et écrasait taille et couleur.
   Context: 2026-08-27 */
.form-intro > .form-intro__lead {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.form-intro > p:not([class]) {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-body);
}

.form-intro > .form-intro__first {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(184, 151, 90, 0.25);
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.form-intro > .form-intro__first strong { color: var(--text-dark); font-weight: 600; }

/* ========================================
   PAGE DRE KATTY — en-tete editorial
   ======================================== */
.v2-pagehead {
  padding: 7.5rem 0 1.5rem;
  text-align: center;
}

.v2-pagehead .v2-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.v2-pagehead h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0;
}

.v2-pagehead h1 em {
  font-style: italic;
  color: var(--v2-rose);
}

.v2-pagehead__lead {
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
}

/* Forme de la photo de la page Dre Katty — volontairement DIFFÉRENTE de celle
   de l'accueil (verticale, plus fermée) pour ne pas répéter le même traitement */
.v2-katty__photo {
  border-radius: 36% 64% 52% 48% / 46% 36% 64% 54%;
}

/* Lieu de pratique — compact, sans grande photo ni section entière */
.v2-lieu {
  padding: 1rem 0 4.5rem;
}

.v2-lieu__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 40rem;
  padding: 1.9rem 2rem;
  background: var(--warm-white);
  border: 1px solid rgba(184, 151, 90, 0.22);
  border-radius: 20px;
}

.v2-lieu__box h2 {
  font-size: 1.3rem;
  margin: 0;
}

.v2-lieu__box p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

.v2-lieu__coords {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-body);
}

.v2-lieu__links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

/* Clôture de page — conversion discrète, pas une carte */
.v2-outro {
  padding: 0 0 5rem;
}

.v2-outro__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 40rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 151, 90, 0.25);
}

.v2-outro__box p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .v2-hero { padding-top: 6rem; }
  .v2-hero__grid { flex-direction: column-reverse; gap: 2.5rem; }
  .v2-hero__media { width: 82%; max-width: 420px; }
  .v2-hero__text { align-items: center; text-align: center; }
  .v2-hero__actions { justify-content: center; flex-wrap: wrap; }
  .v2-marks__grid { grid-template-columns: 1fr; max-width: 26rem; }
  .v2-portes__grid { grid-template-columns: 1fr; }
  .v2-humaine__grid { grid-template-columns: 1fr; gap: 2rem; max-width: 30rem; }
  .v2-humaine__media img {
    aspect-ratio: 6 / 5;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 44% 30% 36% 46% / 52% 40% 50% 44%;
  }
  .v2-hero__title { max-width: none; }
  .v2-katty__grid { flex-direction: column; gap: 2.5rem; }
  .v2-katty__media { width: 72%; }}

@media (max-width: 520px) {
  .v2-hero__actions { flex-direction: column; }
}

/* Réduction de mouvement : on coupe transitions et translations */
@media (prefers-reduced-motion: reduce) {
  .v2-btn, .v2-porte, .v2-porte::after, .v2-porte__icon, .v2-link {
    transition: none;
  }
  .v2-porte:hover { transform: none; }
  .v2-btn--primary:hover { transform: none; }
  .v2-porte:hover .v2-porte__icon { transform: none; }
  .v2-modal[open] .v2-modal__inner { animation: none; }
  .v2-modal__choice:hover { transform: none; }
  .nav--v2, .nav--v2 .nav__inner, .nav__brand-sub { transition: none; }
}

/* ========================================
   PICTOGRAMMES DES BLOCS DE REASSURANCE
   WHY: ces blocs portaient des <i data-lucide> — vestiges de la librairie
   retiree le 2026-08-11, qui n'affichaient plus rien depuis. Remplaces par
   les pictogrammes dessines par Sebastien (2026-08-27).
   ======================================== */
.reassurance__icon {
  display: block;
  width: 62px;
  height: 62px;
  margin: 0 auto 0.6rem;
  object-fit: contain;
}

@media (max-width: 600px) {
  .reassurance__icon { width: 54px; height: 54px; }
}

/* ========================================
   EMPLACEMENTS D ICONES VIDES
   WHY: 38 balises <i data-lucide> subsistent sur Dentisterie et Esthetique.
   La librairie Lucide a ete retiree le 2026-08-11 : elles n affichent plus
   rien mais gardent leur 28x28 en ligne, ce qui laisse des trous dans les
   listes. On les replie tant qu on ne les a pas remplacees par des
   pictogrammes. Retirer cette regle le jour ou on les comble.
   Context: audit avant publication 2026-08-27
   ======================================== */
[data-lucide]:empty {
  display: none !important;
}
