/* ================================================================
   GLOBAL K9 SERVICES — Feuille de style principale
   Fichier : css/style.css

   SOMMAIRE
   1. Variables (couleurs, polices, espacements)
   2. Bases (remise à zéro, typographie globale)
   3. Boutons
   4. En-tête (header + menu mobile)
   5. Hero (section d'ouverture)
   6. Signature « piste olfactive »
   7. Responsive (adaptations mobile)
   8. Accessibilité (focus clavier, mouvement réduit)
   ================================================================ */


/* ----------------------------------------------------------------
   1. VARIABLES — la charte en un seul endroit.
   Pour changer une couleur sur TOUT le site, modifiez-la ici.
   ---------------------------------------------------------------- */
:root {
  /* Couleurs extraites de votre logo et prospectus */
  --navy:        #003060;   /* bleu marine — sérieux, confiance */
  --navy-deep:   #001B38;   /* marine profond — fonds sombres */
  --gold:        #A87830;   /* or/bronze — accents premium */
  --gold-light:  #C89A52;   /* or clair — survols, détails */
  --ink:         #10151C;   /* quasi-noir — texte principal */
  --grey:        #5C6672;   /* gris — texte secondaire */
  --paper:       #FFFFFF;   /* blanc — fond principal */
  --paper-soft:  #F6F7F8;   /* blanc cassé — fonds alternés */

  /* Polices */
  --font-display: 'Archivo', Arial, sans-serif;        /* titres */
  --font-body:    'Instrument Sans', Arial, sans-serif; /* texte */

  /* Hauteur de l'en-tête fixe */
  --header-h: 76px;
}


/* ----------------------------------------------------------------
   2. BASES
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }


/* ----------------------------------------------------------------
   3. BOUTONS — deux styles : plein or, et contour clair
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.9rem 1.9rem;
  border-radius: 4px;                 /* coins à peine adoucis : sobre */
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.15s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Bouton principal : or */
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-light); }

/* Bouton secondaire : contour blanc (utilisé sur fond sombre) */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}


/* ----------------------------------------------------------------
   4. EN-TÊTE
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;              /* reste collé en haut de l'écran */
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);  /* léger flou façon Apple */
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
/* Ombre discrète ajoutée par JavaScript dès qu'on fait défiler */
.site-header.scrolled { box-shadow: 0 1px 24px rgba(16, 21, 28, 0.10); }

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo texte (provisoire, en attendant le fichier PNG) --- */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.logo-global   { color: var(--ink); }
.logo-k9 {
  color: #fff;
  background: linear-gradient(90deg, var(--navy) 50%, var(--gold) 50%);
  padding: 0.05rem 0.45rem;
  border-radius: 2px;
}
.logo-services { color: var(--ink); }
/* Logo image (remplace le logo texte) */
.logo-img { height: 52px; width: auto; display: block; }
/* Dans le pied de page (fond sombre), le logo a des lettres noires :
   on l'affiche sur une pastille blanche pour rester lisible. */
.logo-img-footer {
  height: 58px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.8rem; }
.main-nav ul a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.main-nav ul a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.btn-nav { padding: 0.65rem 1.3rem; font-size: 0.88rem; }

/* --- Sélecteur de langue FR / EN ─────────────────────────────────────────
   Un pill bicolore toujours visible. Sur desktop, avant le burger (hidden).
   Sur mobile, il est visible à côté du burger dans la barre de navigation.
   ─────────────────────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0,48,96,0.07);
  border: 1px solid rgba(0,48,96,0.14);
  border-radius: 20px;
  padding: 3px;
  margin-left: 0.75rem;
}
/* Survol ou ouvert (tap mobile) : fond légèrement plus marqué */
.lang-toggle:hover,
.lang-toggle.is-open {
  background: rgba(0,48,96,0.12);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  /* Padding horizontal animé à l'ouverture */
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: transparent;
  color: var(--grey);
  /* max-width + padding animés → boutons s'ouvrent en largeur */
  transition: max-width 0.26s ease, padding-left 0.26s ease, padding-right 0.26s ease,
              opacity 0.22s, background 0.18s, color 0.18s;
  white-space: nowrap;
  overflow: hidden; /* masque le texte quand max-width → 0 */
  flex-shrink: 0;
}
.lang-btn.is-active {
  background: var(--navy);
  color: #fff;
  max-width: 4rem; /* toujours visible */
}
/* Non-actifs : réduits à 0 — DOM alphabétique intact */
.lang-btn:not(.is-active) {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
}
/* Visibles au survol ou si .is-open */
.lang-toggle:hover .lang-btn:not(.is-active),
.lang-toggle.is-open .lang-btn:not(.is-active) {
  max-width: 4rem;
  padding-left: 10px;
  padding-right: 10px;
  opacity: 1;
  pointer-events: auto;
}
.lang-btn:not(.is-active):hover {
  background: rgba(0,48,96,0.10);
  color: var(--navy);
}
/* Mobile : le toggle reste visible même quand le nav est masqué */
@media (max-width: 900px) {
  .lang-toggle { margin-left: 0; margin-right: 0.5rem; }
}

/* --- Bouton burger (caché sur ordinateur, visible sur mobile) --- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Transformation du burger en croix quand le menu est ouvert */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ----------------------------------------------------------------
   5. HERO — section d'ouverture plein écran
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;            /* occupe tout l'écran visible */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 24px 96px;
}

/* Fond du hero.
   ➜ QUAND VOUS AUREZ VOTRE PHOTO : déposez-la dans images/hero.jpg
     puis retirez les deux barres obliques devant background-image
     ci-dessous pour activer la ligne. */
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,27,56,0.15) 0%, rgba(0,27,56,0.35) 100%),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center 35%;
}

/* Voile sombre pour garantir la lisibilité du texte sur la photo */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(0, 27, 56, 0.32) 0%,
              rgba(0, 27, 56, 0.42) 55%,
              rgba(0, 27, 56, 0.68) 100%);
}

.hero-content {
  position: relative;            /* passe au-dessus du fond */
  max-width: 860px;
}

/* Petite ligne d'introduction dorée en lettres espacées */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}

/* Titre principal : grand, dense, impactant */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);  /* s'adapte à l'écran */
  line-height: 1.06;
  letter-spacing: -0.015em;
}

/* Le mot « l'invisible » légèrement estompé : le sens porté par la forme */
.accent-invisible {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  max-width: 620px;
  margin: 1.8rem auto 2.6rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;               /* les boutons passent à la ligne si besoin */
}
/* Boutons profil : curseur et transition */
.hero-profil { cursor: pointer; border: 1.5px solid transparent; }
/* Non sélectionné : fond bleu marine, bien visible */
.hero-profil {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.hero-profil:hover { background: #0A4580; border-color: #0A4580; }
/* Le deuxième bouton (contour) devient aussi bleu plein pour l'uniformité */
.btn-outline.hero-profil {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-outline.hero-profil:hover { background: #0A4580; border-color: #0A4580; }
/* Bouton profil sélectionné : passe en or, avec un léger halo */
.hero-profil.is-selected,
.btn-outline.hero-profil.is-selected {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(168, 120, 48, 0.3);
}
/* L'autre bouton s'estompe légèrement quand un choix est fait */
#hero-profils:has(.is-selected) .hero-profil:not(.is-selected) { opacity: 0.6; }

/* --- Indication de défilement en bas --- */
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
}
.scroll-cue-line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: cue-drop 2.2s ease-in-out infinite;
}
/* Mise en valeur temporaire de "Découvrir" après un choix de profil */
.scroll-cue.pulse {
  animation: cue-pulse 0.8s ease-in-out 3;
}
@keyframes cue-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); color: rgba(255,255,255,0.7); }
  50% { transform: translateX(-50%) scale(1.15); color: var(--gold-light); }
}
@keyframes cue-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ----------------------------------------------------------------
   6. SIGNATURE « PISTE OLFACTIVE »
   Le trait pointillé doré se dessine au chargement de la page,
   comme la trace d'odeur que remonte le chien, jusqu'au point
   final : la source, trouvée.
   ---------------------------------------------------------------- */
.scent-trail {
  width: min(560px, 82%);
  height: 40px;
  margin: 1.4rem auto 0;
  overflow: visible;
}
.scent-path {
  stroke: var(--gold-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 9;         /* motif pointillé */
  opacity: 0;
  animation: trail-appear 2.4s ease-out 0.5s forwards;
}
.scent-dot {
  fill: var(--gold-light);
  opacity: 0;
  animation: dot-found 0.6s ease-out 2.7s forwards;
}
@keyframes trail-appear {
  from { opacity: 0; stroke-dashoffset: 60; }
  to   { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes dot-found {
  from { opacity: 0; transform: scale(0); transform-origin: center; }
  60%  { transform: scale(1.6); }
  to   { opacity: 1; transform: scale(1); }
}


/* ================================================================
   SECTIONS DE CONTENU — gabarits communs
   ================================================================ */

/* En-tête de section : petit surtitre + grand titre + intro */
.section-head {
  max-width: 720px;
  margin: 0 auto 3.2rem;
  text-align: center;
}
.eyebrow-dark { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--grey);
}


/* ----------------------------------------------------------------
   ③ BANDE DE CHIFFRES-CLÉS
   ---------------------------------------------------------------- */
.stats {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, #0A4580 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 3.4rem 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 0.5rem 0.8rem;
  position: relative;
}
/* Fins séparateurs verticaux entre les chiffres */
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem; top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 0.7rem;
}
.stat-suffix, .stat-unit { color: var(--gold-light); }
.stat-prefix {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0;
  margin-bottom: 0.15rem;
}
.stat-unit {
  font-size: 0.5em;
  margin-left: 0.15em;
  vertical-align: baseline;
}
/* Le badge certification (texte, pas un chiffre) */
.stat-badge {
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-badge-source {
  color: var(--gold-light);
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}


/* ----------------------------------------------------------------
   ④ CARTES DE DÉTECTION
   ---------------------------------------------------------------- */
.detections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 24px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.card {
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 27, 56, 0.10);
  border-color: #E0D3BC;
}

/* Zone image de la carte */
.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;                /* remplit sans déformer */
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }  /* léger zoom au survol */

/* Ancien badge "photo à venir" (conservé si une carte n'a pas d'image) */
.card-media-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 40px;
}

.card-body { padding: 1.7rem 1.7rem 1.9rem; }
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.card-subtitle {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: -0.45rem;
  margin-bottom: 0.7rem;
}
.card-badge-pro {
  display: block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(0, 48, 96, 0.07);
  border: 1px solid rgba(0, 48, 96, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.card-text {
  font-size: 0.96rem;
  color: var(--grey);
  margin-bottom: 1.2rem;
}
.card-text em { font-style: italic; color: #47515C; }

.card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.card:hover .card-link::after { transform: translateX(4px); }

/* Carte entièrement cliquable (lien) : on neutralise le style de lien */
.card-clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* ----------------------------------------------------------------
   ⑤ POURQUOI LA DÉTECTION CANINE — 4 arguments
   ---------------------------------------------------------------- */
.why {
  background: var(--paper-soft);
  border-top: 1px solid #ECEEF0;
  padding: 5.5rem 24px;
}
.why-inner { max-width: 1100px; margin: 0 auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-item { text-align: center; }

.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.3rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 48px; height: 48px; }

.why-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.why-text { font-size: 0.95rem; color: var(--grey); }


/* ----------------------------------------------------------------
   ⑥ DÉROULÉ D'UNE INTERVENTION — 5 étapes (fond sombre)
   ---------------------------------------------------------------- */
.process {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, #0A4580 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 5.5rem 24px;
}
.process-inner { max-width: 1150px; margin: 0 auto; }
.section-title-light { color: #fff; }
.process .eyebrow { color: var(--gold-light); }

.steps {
  list-style: none;                 /* masque les numéros auto du navigateur (1. 2. 3.) */
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px; left: 10%; right: 10%;
  border-top: 1px dashed rgba(200, 154, 82, 0.45);
  z-index: 0;
}
/* Ligne de progression pleine qui se trace au défilement (par-dessus le pointillé).
   Elle épouse EXACTEMENT le tracé pointillé (10% → 90%), du centre du 1er numéro
   au centre du dernier — valable pour 5 étapes (accueil) comme 4 (franchise).
   On anime scaleX (et non une largeur en %) : tracé net, fluide, et bien calé
   aux deux extrémités quel que soit le nombre de pastilles. */
.steps::after {
  content: "";
  position: absolute;
  top: 22px; left: 10%; right: 10%;
  border-top: 2px solid var(--gold);
  z-index: 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 3.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
/* Quand la section devient visible, la ligne se trace du 1er au dernier numéro */
.steps.is-visible::after { transform: scaleX(1); opacity: 1; }

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: rgba(168, 120, 48, 0.35);   /* pastille éteinte au départ */
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--navy-deep);
  transition: background 0.6s ease, transform 0.6s ease;
}
/* Les pastilles s'allument une par une quand la section apparaît (rythme ralenti) */
.steps.is-visible .step:nth-child(1) .step-num { transition-delay: 0.2s; background: var(--gold); }
.steps.is-visible .step:nth-child(2) .step-num { transition-delay: 0.9s; background: var(--gold); }
.steps.is-visible .step:nth-child(3) .step-num { transition-delay: 1.6s; background: var(--gold); }
.steps.is-visible .step:nth-child(4) .step-num { transition-delay: 2.3s; background: var(--gold); }
.steps.is-visible .step:nth-child(5) .step-num { transition-delay: 3.0s; background: var(--gold); }
/* Petit "pop" à l'allumage */
.steps.is-visible .step .step-num { animation: step-pop 0.5s ease; }
@keyframes step-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.step-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.process-note {
  max-width: 760px;
  margin: 3.5rem auto 0;
  padding: 1.4rem 1.8rem;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.process-note strong { color: #fff; }


/* ----------------------------------------------------------------
   ⑦⑧ BLOCS "SPLIT" — image d'un côté, texte de l'autre
   Utilisé pour Professionnels et Franchise
   ---------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}
/* Version inversée (image à droite) */
.split-reverse .split-media { order: 2; }

.split-media { overflow: hidden; }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-body {
  padding: 4.5rem clamp(1.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-title { text-align: left; margin-bottom: 1.3rem; }
.split-text {
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 1.6rem;
  max-width: 520px;
}

/* Version sombre (franchise) */
.split-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.split-text-light { color: rgba(255,255,255,0.82); }
.split-dark .eyebrow { color: var(--gold-light); }

/* Liste à puces "coché" */
.check-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 520px;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  /* petite coche blanche dessinée */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5 L8.5 13.5 L14.5 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check-list-light li { color: rgba(255,255,255,0.9); }

/* Bouton bleu marine (fond clair) */
.btn-navy { background: var(--navy); color: #fff; align-self: flex-start; }
.btn-navy:hover { background: #0A4580; }
.split-body .btn-gold { align-self: flex-start; }


/* ----------------------------------------------------------------
   ⑨ PREUVE SOCIALE
   ---------------------------------------------------------------- */
.proof {
  background: #fff;
  padding: 5.5rem 24px;
}
.proof-inner { max-width: 1150px; margin: 0 auto; text-align: center; }
.proof .section-title { margin-bottom: 3.2rem; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  text-align: left;
}
.proof-card {
  border: 1px solid #ECEEF0;
  border-radius: 10px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}
.proof-card:hover {
  box-shadow: 0 18px 40px rgba(0, 27, 56, 0.09);
  transform: translateY(-4px);
}
.proof-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.proof-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 1rem;
}
.proof-source {
  font-size: 0.92rem;
  color: var(--grey);
  margin-bottom: 1.3rem;
  flex-grow: 1;
}
.proof-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.proof-link::after { content: "→"; transition: transform 0.2s ease; }
.proof-card:hover .proof-link::after { transform: translateX(4px); }
.proof-links { display: flex; flex-direction: column; gap: 0.6rem; }
.proof-link--secondary { margin-top: 0; }
.proof-link--play::after { content: none; }


/* ----------------------------------------------------------------
   ⑩ PIED DE PAGE
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 24px 0;
}
.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.logo-footer { margin-bottom: 1.2rem; }
.logo-footer .logo-global, .logo-footer .logo-services { color: #fff; }
.footer-baseline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-pillars {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.footer-h {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav .caret-btn { display: none; } /* bouton dropdown masqué dans le footer */
.footer-nav a, .footer-contact a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact address { font-style: normal; line-height: 1.7; }

/* Réseaux sociaux dans le pied de page */
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.social-link:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1150px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }


/* ----------------------------------------------------------------
   ⑩ FORMULAIRE DE CONTACT
   ---------------------------------------------------------------- */
.contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 5.5rem 24px;
}
.contact-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

/* Colonne gauche */
.contact-intro { padding-top: 0.5rem; }
.contact-intro .eyebrow { color: var(--gold-light); }
.contact-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.2rem;
  max-width: 420px;
}
.contact-direct { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-direct li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-direct-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.contact-direct a, .contact-direct li > span:last-child {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-direct a:hover { color: var(--gold-light); }

/* Colonne droite : la carte formulaire, blanche */
.contact-form-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 2.4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.devis-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; }
/* IMPORTANT : garantit que l'attribut HTML "hidden" masque bien l'élément,
   même s'il porte la classe .field (qui applique display:flex).
   Sans cette règle, un champ marqué hidden resterait visible. */
.field[hidden] { display: none; }
.field-full { grid-column: 1 / -1; }

.field-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.req { color: var(--gold); }

/* Champs de saisie */
.devis-form input[type="text"],
.devis-form input[type="email"],
.devis-form input[type="tel"],
.devis-form select,
.devis-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1px solid #D9DEE3;
  border-radius: 7px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 120, 48, 0.15);
}
.devis-form textarea { resize: vertical; min-height: 96px; }

/* Groupe téléphone : sélecteur de préfixe + champ numéro côte à côte */
.tel-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.tel-group input[type="tel"]#tel {
  flex: 1 1 8rem;
  min-width: 0;
}

/* Sélecteur de préfixe personnalisé */
.prefixe-select { position: relative; flex: 0 0 auto; }
.prefixe-bouton {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  min-height: 46px;
  padding: 0.5rem 0.7rem;
  border: 1px solid #D9DEE3;
  border-radius: 7px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.prefixe-bouton:hover { border-color: #B8C0C8; }
.prefixe-select.open .prefixe-bouton {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 120, 48, 0.15);
}
.prefixe-fleche { font-size: 0.7rem; color: var(--grey); transition: transform 0.2s ease; }
.prefixe-select.open .prefixe-fleche { transform: rotate(180deg); }

/* Liste déroulante des pays */
.prefixe-liste {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  width: 300px;
  max-width: 80vw;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #fff;
  border: 1px solid #E2E6EA;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 27, 56, 0.14);
}
.prefixe-liste li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  font-size: 0.94rem;
  color: var(--ink);
  cursor: pointer;
}
.prefixe-liste li:hover,
.prefixe-liste li.actif { background: var(--paper-soft); }
.prefixe-liste .pays-nom { flex: 1 1 auto; }
.prefixe-liste .pays-code { color: var(--grey); font-variant-numeric: tabular-nums; }
/* Drapeaux SVG : petites images nettes, identiques sur tous les OS */
.drapeau-img {
  display: inline-block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.12);
  vertical-align: middle;
  flex-shrink: 0;
}
.prefixe-affiche { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Message d'aide / d'erreur sous le champ téléphone */
.field-hint {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #A32626;
  line-height: 1.4;
}
.field-hint.ok { color: var(--grey); }

/* Boutons radio "pilule" (particulier / professionnel) */
.field fieldset,
.devis-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;   /* évite un débordement par défaut des fieldset */
}
.radio-row { display: flex; gap: 0.7rem; }
.radio-pill {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.radio-pill span {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border: 1px solid #D9DEE3;
  border-radius: 7px;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: all 0.2s ease;
}
.radio-pill input:checked + span {
  border-color: var(--gold);
  background: rgba(168, 120, 48, 0.08);
  color: var(--navy);
  font-weight: 600;
}
.radio-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(168, 120, 48, 0.2);
}

/* Consentement RGPD */
.consent-label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--grey);
  cursor: pointer;
  line-height: 1.4;
}
.consent-label input { margin-top: 0.2rem; flex-shrink: 0; }

.form-submit { width: 100%; padding: 1rem; font-size: 1rem; }

/* Message de confirmation / erreur */
.form-feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: 7px;
  font-size: 0.95rem;
  text-align: center;
}
.form-feedback.success {
  background: #E9F6EE;
  color: #1B6B3A;
  border: 1px solid #B6E0C4;
}
.form-feedback.error {
  background: #FBEBEB;
  color: #A32626;
  border: 1px solid #F0C4C4;
}


/* ================================================================
   PAGE "À PROPOS"
   ================================================================ */

/* Lien actif dans le menu */
.main-nav ul a.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ① Hero de page (bandeau titré) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 24px 70px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 10%, #0A4580 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,27,56,0.2); }

/* --- Variante bandeau AVEC photo : page "Devenir franchisé" uniquement ---
   (la page À propos garde son dégradé bleu marine) */
.page-hero--photo .page-hero-bg {
  background:
    url('../images/franchise-hero.jpg') center 25% / cover no-repeat;
}
/* Bandeau plus haut pour que visages ET chien soient visibles en plein écran :
   sur 1920px large le scale CSS force 1280px de hauteur d'image ;
   700px de bandeau → zone visible y=113–660 de l'image (têtes + chien). */
.page-hero--photo {
  min-height: 700px;
}
@media (max-width: 900px) {
  /* Sur mobile le bandeau retrouve une hauteur naturelle (pilotée par le padding) */
  .page-hero--photo { min-height: 0; }
}
.page-hero--photo .page-hero-overlay {
  /* Voile marine dégradé : lisibilité du texte blanc centré,
     un peu plus sombre en bas pour asseoir le sous-titre et le bouton */
  background: linear-gradient(180deg,
    rgba(0,24,50,0.50) 0%,
    rgba(0,20,44,0.55) 50%,
    rgba(0,12,26,0.72) 100%);
}
.page-hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.3rem;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto;
}

/* ② Récit fondateur */
.story { background: #fff; padding: 5.5rem 24px; }
.story-inner { max-width: 760px; margin: 0 auto; }
.story-title { text-align: left; margin-bottom: 1.8rem; }
.story-text p {
  font-size: 1.06rem;
  color: #3A424C;
  margin-bottom: 1.3rem;
  line-height: 1.75;
}
.story-quote {
  margin: 2.5rem 0 0;
  padding: 1.8rem 2rem;
  border-left: 4px solid var(--gold);
  background: var(--paper-soft);
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
}

/* ③ Équipe */
.team { background: var(--paper-soft); padding: 5.5rem 24px; border-top: 1px solid #ECEEF0; }
.team-inner { max-width: 1000px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.team-card {
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-info { padding: 1.8rem; }
.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}
.team-bio { font-size: 0.98rem; color: var(--grey); line-height: 1.65; }

/* ④ Certification */
.cert {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 5.5rem 24px;
  text-align: center;
  color: #fff;
}
.cert-inner { max-width: 720px; margin: 0 auto; }
.cert-badge { width: 72px; height: 72px; margin: 0 auto 1.5rem; color: var(--gold-light); }
.cert-badge svg { width: 72px; height: 72px; }
.cert .eyebrow { color: var(--gold-light); }
.cert-title { margin-bottom: 1.3rem; }
.cert-text { font-size: 1.08rem; color: rgba(255,255,255,0.85); line-height: 1.7; }
.cert-text strong { color: #fff; }

/* ⑤ Méthode NePoPo */
.method { background: #fff; padding: 5.5rem 24px; }
.method-inner { max-width: 1000px; margin: 0 auto; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 1rem; }
.method-item {
  padding: 1.8rem;
  background: var(--paper-soft);
  border-radius: 10px;
  border-top: 3px solid var(--gold);
}
.method-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.method-text { font-size: 0.96rem; color: var(--grey); line-height: 1.6; }
.method-motto {
  text-align: center;
  margin: 3rem auto 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  font-style: italic;
}

/* ⑥ Bella (bloc split réutilisé, version claire à gauche) */
.bella { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.bella-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 480px; }
.bella-media { overflow: hidden; }
.bella-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.bella-body { padding: 4.5rem clamp(1.5rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; color: #fff; }
.bella-body .eyebrow { color: var(--gold-light); }
.bella-text { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; line-height: 1.7; max-width: 520px; }

/* ⑦ Preuve — variante fond clair */
.proof-alt { background: var(--paper-soft); border-top: 1px solid #ECEEF0; }

/* ⑧ Appel à l'action final */
/* ── Section Nos partenaires ──────────────────────────────────────────── */
.partners-section {
  background: var(--paper-soft);
  padding: 5rem 24px;
  text-align: center;
}
.partners-section .eyebrow { color: var(--gold); margin-bottom: 0.4rem; }
.partners-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.partners-desc {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.6;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid rgba(0,48,96,0.10);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-decoration: none;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.partner-card:hover {
  box-shadow: 0 8px 28px rgba(0,48,96,0.12);
  transform: translateY(-3px);
  border-color: rgba(168,120,48,0.35);
}
.partner-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.22s ease;
}
.partner-card:hover img { filter: grayscale(0%); }
.partner-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--grey);
  text-transform: uppercase;
}

.cta-final { background: #fff; padding: 5.5rem 24px; text-align: center; }
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-final-text { font-size: 1.05rem; color: var(--grey); margin-bottom: 2rem; }
.cta-final-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Sur fond clair, le bouton contour doit être visible : on l'inverse */
.cta-final .btn-outline { color: var(--navy); border-color: rgba(0,48,96,0.4); }
.cta-final .btn-outline:hover { border-color: var(--navy); background: rgba(0,48,96,0.05); }


/* ================================================================
   PAGE "DEVENIR FRANCHISÉ"
   ================================================================ */

/* Bouton d'action dans le bandeau titré */
.page-hero-actions { margin-top: 2rem; }

/* ③ Ce que vous recevez — grille de cartes */
.offer { background: var(--paper-soft); padding: 5.5rem 24px; border-top: 1px solid #ECEEF0; }
.offer-inner { max-width: 1150px; margin: 0 auto; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.offer-card {
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 10px;
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 27, 56, 0.09);
}
.offer-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.offer-icon svg { width: 40px; height: 40px; }
.offer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.offer-text { font-size: 0.92rem; color: var(--grey); line-height: 1.55; }

/* ④ Profil recherché — fond sombre */
.profile {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 5.5rem 24px;
  color: #fff;
}
.profile-inner { max-width: 1000px; margin: 0 auto; }
.profile .eyebrow { color: var(--gold-light); }
.profile-intro { color: rgba(255,255,255,0.8); }
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 1rem;
}
.profile-item {
  padding: 1.8rem;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}
.profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.profile-text { font-size: 0.96rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* Variante du déroulé à 4 étapes (au lieu de 5) */
.steps-4 { grid-template-columns: repeat(4, 1fr); }

/* ⑥ FAQ — accordéon */
.faq { background: #fff; padding: 5.5rem 24px; }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  border: 1px solid #ECEEF0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: #E0D3BC; }
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s ease;
}
.faq-item summary:hover { background: var(--paper-soft); }
/* Retire la flèche par défaut du navigateur */
.faq-item summary::-webkit-details-marker { display: none; }
/* Notre propre indicateur "+" qui pivote */
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.3rem; }
.faq-answer p { font-size: 0.98rem; color: var(--grey); line-height: 1.65; }

/* ⑦ CTA final — variante sombre */
.cta-final-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.cta-final-title-light { color: #fff; }
.cta-final-text-light { color: rgba(255,255,255,0.82); }
.cta-final-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-final-dark .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }


/* ================================================================
   PAGES DE DÉTECTION (modèle commun)
   ================================================================ */

/* ① Bandeau titré avec photo */
.detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
}
.detail-hero-media { position: absolute; inset: 0; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Bandeau punaises : le chien est dans la moitié basse de l'image.
   On cadre différemment selon la taille d'écran pour qu'il reste visible. */
.detail-hero-media img.pos-top { object-position: center 58%; }
/* Sur grand écran (bandeau large et court), on descend encore un peu le cadrage
   pour garder le chien bien centré plutôt que de montrer le mur du haut. */
@media (min-width: 900px) {
  .detail-hero-media img.pos-top { object-position: center 62%; }
}
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,27,56,0.35) 0%, rgba(0,27,56,0.85) 100%);
}
.detail-hero-content {
  position: relative;
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 24px;
  color: #fff;
}
.detail-hero .eyebrow { color: var(--gold-light); }
.detail-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.detail-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 620px; }

/* Fil d'Ariane */
.breadcrumb { background: var(--paper-soft); border-bottom: 1px solid #ECEEF0; }
.breadcrumb-inner {
  max-width: 1150px; margin: 0 auto; padding: 0.9rem 24px;
  font-size: 0.85rem; color: var(--grey);
  display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--navy); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner span[aria-hidden] { color: #C3C9CF; }

/* Blocs de contenu */
.detail-block { background: #fff; padding: 5rem 24px; }
.detail-block-alt { background: var(--paper-soft); border-top: 1px solid #ECEEF0; border-bottom: 1px solid #ECEEF0; }
.detail-inner { max-width: 820px; margin: 0 auto; }
.detail-title { text-align: left; }
.detail-text p { font-size: 1.06rem; color: #3A424C; line-height: 1.75; margin-bottom: 1.3rem; }
.detail-text em { font-style: italic; color: #47515C; }

/* Liste "signes qui alertent" — cases cochées */
.alert-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem;
}
.alert-list li {
  position: relative; padding-left: 2rem;
  font-size: 1rem; color: var(--ink);
}
.alert-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5 L9 13.5 L14.5 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Espèces détectées */
.species-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.6rem;
}
.species {
  background: var(--paper-soft);
  border: 1px solid #ECEEF0;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 500;
}
.species em { color: var(--grey); font-weight: 400; }
.detail-note { font-size: 0.96rem; color: var(--grey); line-height: 1.65; font-style: italic; }

/* Figure "cas réel" — preuve terrain */
.case-figure {
  margin: 2.5rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ECEEF0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 27, 56, 0.08);
}
.case-figure img { width: 100%; height: auto; display: block; }
.case-figure figcaption {
  padding: 1.2rem 1.4rem;
  font-size: 0.94rem;
  color: var(--grey);
  line-height: 1.6;
}
.case-figure figcaption em { font-style: italic; color: #47515C; }
.case-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* Bloc avant / après — deux ou trois images côte à côte */
.beforeafter {
  margin: 2.5rem 0 0;
}
.beforeafter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
/* Variante à 3 étapes */
.beforeafter-grid.three { grid-template-columns: repeat(3, 1fr); }
.ba-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ECEEF0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 27, 56, 0.08);
  display: flex;
  flex-direction: column;
}
.ba-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.ba-media img { width: 100%; height: 100%; object-fit: cover; }
.ba-step {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(0,27,56,0.85);
  padding: 0.3rem 0.7rem; border-radius: 4px;
}
.ba-caption {
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.55;
}
.beforeafter-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
  text-align: center;
}

/* Encart mis en avant (ex : détection à tous les stades) */
.highlight-box {
  margin: 0 0 2rem;
  padding: 1.6rem 1.8rem;
  background: rgba(168, 120, 48, 0.07);
  border: 1px solid rgba(168, 120, 48, 0.2);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.highlight-box p { font-size: 1.02rem; color: #3A424C; line-height: 1.7; margin: 0; }

/* Figure du cycle de vie (schéma SVG) */
.cycle-figure {
  margin: 0 0 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 27, 56, 0.06);
}
.cycle-figure img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
.cycle-figure figcaption {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.55;
  text-align: center;
  font-style: italic;
}
.cycle-figure figcaption em { color: #47515C; }

/* Grille "idées reçues" (mythe / réalité) */
.myth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.myth {
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 10px;
  padding: 1.5rem;
}
.myth-false, .myth-true {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.myth-false { color: #A32626; background: #FBEBEB; }
.myth-true { color: #1B6B3A; background: #E9F6EE; margin-top: 0.8rem; }
.myth-text { font-size: 0.96rem; color: #3A424C; line-height: 1.55; margin: 0; }

/* Badge "réservé aux pros" dans le bandeau fuites */
.detail-hero-badge {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(168, 120, 48, 0.9);
  padding: 0.4rem 0.9rem;
  border-radius: 40px;
}

/* Cartes de références (image + texte alternés) */
.ref-list { display: flex; flex-direction: column; gap: 1.6rem; }
.ref-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: #fff;
  border: 1px solid #ECEEF0;
  border-radius: 12px;
  overflow: hidden;
}
.ref-reverse .ref-media { order: 2; }
.ref-media { min-height: 220px; overflow: hidden; background: var(--navy-deep); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; }
/* Média "texte" quand pas de photo (mission UK) */
.ref-media-text {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.ref-flag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.05em;
  border: 2px solid var(--gold-light);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
}
.ref-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.ref-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.ref-text { font-size: 0.98rem; color: var(--grey); line-height: 1.65; }

/* Bloc sombre "pourquoi le canin" */
.detail-block-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.detail-block-dark .eyebrow { color: var(--gold-light); }
.mini-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.mini-why {
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-top: 3px solid var(--gold);
}
.mini-why h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: #fff; margin-bottom: 0.5rem;
}
.mini-why p { font-size: 0.94rem; color: rgba(255,255,255,0.8); line-height: 1.6; }


/* ----------------------------------------------------------------
   RESPONSIVE — tablette et mobile
   ---------------------------------------------------------------- */
@media (max-width: 900px) {

  /* Le burger apparaît, le menu horizontal se cache */
  .burger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 24px 1.6rem;
    box-shadow: 0 18px 30px rgba(16, 21, 28, 0.12);

    /* Menu replié par défaut */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }
  /* La classe .open est ajoutée par JavaScript au clic sur le burger */
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--paper-soft);
  }
  .btn-nav {
    margin-top: 1rem;
    text-align: center;
    padding: 0.95rem;
  }

  .hero { padding-bottom: 110px; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  /* Chiffres-clés : 2 colonnes sur mobile au lieu de 4 */
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  /* On enlève les séparateurs verticaux, peu lisibles en 2 colonnes */
  .stat:not(:last-child)::after { display: none; }

  /* Cartes : 1 seule colonne sur mobile */
  .cards { grid-template-columns: 1fr; }
  .detections { padding: 4rem 24px; }

  /* 4 arguments : 2 colonnes sur mobile */
  .why { padding: 4rem 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; }

  /* 5 étapes : liste verticale, avec ligne à gauche */
  .process { padding: 4rem 24px; }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 460px;
    margin: 1rem auto 0;
  }
  .steps::before {
    top: 0; bottom: 0; left: 22px; right: auto;
    border-top: none;
    border-left: 1px dashed rgba(200, 154, 82, 0.45);
  }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 1.1rem;
    padding-bottom: 2rem;
  }
  .step-num { margin: 0; }
  .step-name { grid-column: 2; margin-top: 0.4rem; }
  .step-text { grid-column: 2; }

  /* Sur mobile, la liste est verticale : la ligne dorée devient verticale elle
     aussi et suit le même repère que le pointillé (bord gauche, x = 22px). */
  .steps::after {
    top: 0; bottom: 0; left: 22px; right: auto;
    border-top: none;
    border-left: 2px solid var(--gold);
    transform: scaleY(0);
    transform-origin: center top;
  }
  .steps.is-visible::after { transform: scaleY(1); }

  /* Blocs split : une colonne, image au-dessus du texte */
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }  /* image toujours en haut sur mobile */
  .split-media img { min-height: 260px; max-height: 340px; }
  .split-body { padding: 3rem 24px; }

  /* Preuve sociale : une colonne */
  .proof { padding: 4rem 24px; }
  .proof-grid { grid-template-columns: 1fr; }

  /* Footer : une colonne */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  /* Formulaire : une colonne */
  .contact { padding: 4rem 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-wrap { padding: 1.6rem; }
  .devis-form { grid-template-columns: 1fr; }

  /* Page À propos */
  .story { padding: 4rem 24px; }
  .team { padding: 4rem 24px; }
  .team-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cert { padding: 4rem 24px; }
  .method { padding: 4rem 24px; }
  .method-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .bella-inner { grid-template-columns: 1fr; }
  .bella-media img { min-height: 260px; max-height: 340px; }
  .bella-body { padding: 3rem 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cta-final { padding: 4rem 24px; }
  .cta-final-actions .btn { width: 100%; max-width: 320px; }

  /* Page Franchise */
  .offer { padding: 4rem 24px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .profile { padding: 4rem 24px; }
  .profile-grid { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .faq { padding: 4rem 24px; }

  /* Pages de détection */
  .detail-hero { min-height: 50vh; }
  .detail-block { padding: 3.5rem 24px; }
  .alert-list { grid-template-columns: 1fr; }
  .species-grid { grid-template-columns: 1fr; }
  .mini-why-grid { grid-template-columns: 1fr; }
  .beforeafter-grid { grid-template-columns: 1fr; }
  /* Sur mobile : l'étiquette d'étape ne recouvre plus du tout la photo.
     Le conteneur cesse d'être un cadre à ratio fixe (qui rognait l'image),
     et le badge devient une bande pleine largeur PLACÉE SOUS l'image. */
  .ba-media {
    position: static;
    aspect-ratio: auto;
  }
  .ba-media img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .ba-step {
    position: static;
    display: block;
    top: auto; bottom: auto; left: auto; right: auto;
    border-radius: 0;
    text-align: center;
    background: rgba(0,27,56,0.92);
    padding: 0.55rem;
    font-size: 0.72rem;
  }
  .myth-grid { grid-template-columns: 1fr; }

  /* Page fuites : cartes références en une colonne */
  .ref-card { grid-template-columns: 1fr; }
  .ref-reverse .ref-media { order: 0; }
  .ref-media { min-height: 200px; max-height: 260px; }
  .ref-media-text { min-height: 140px; }
}


/* ----------------------------------------------------------------
   PAGES LÉGALES (politique de confidentialité, mentions légales)
   ---------------------------------------------------------------- */
.legal-block { padding: 3.5rem 1.5rem 4.5rem; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #E6E9EC;
}
.legal-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2.2rem 0 0.8rem;
}
.legal-inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: #2B333B;
  margin-bottom: 1rem;
}
.legal-inner ul {
  margin: 0 0 1rem 0;
  padding-left: 1.3rem;
}
.legal-inner li {
  font-size: 1rem;
  line-height: 1.7;
  color: #2B333B;
  margin-bottom: 0.4rem;
}
.legal-inner a { color: var(--gold); text-decoration: underline; }
.legal-inner a:hover { color: var(--gold-light); }
.legal-update {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #E6E9EC;
  font-size: 0.9rem;
  color: var(--grey);
}


/* ----------------------------------------------------------------
   8. ACCESSIBILITÉ
   ---------------------------------------------------------------- */

/* Contour visible lors de la navigation au clavier */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Respecte le réglage « réduire les animations » du visiteur */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scent-path, .scent-dot { animation: none; opacity: 1; }
  .scroll-cue-line { animation: none; }
  .btn, .btn:hover { transform: none; }
}


/* ================================================================
   RÉVÉLATION AU DÉFILEMENT (effet façon Apple)
   Les éléments apparaissent en fondu + léger glissement vers le haut
   quand ils entrent dans l'écran. Géré par IntersectionObserver (JS).
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Décalage en cascade quand plusieurs éléments se révèlent ensemble */
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------------------------------------------
   PROTECTION DU CONTENU
   ---------------------------------------------------------------- */

/* Blocage de la sélection de texte sur tout le site */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Réactiver la sélection dans les champs du formulaire (indispensable) */
input, textarea, select, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* Protection des images :
   pointer-events: none  → empêche le drag & drop
   touch-callout: none   → supprime le menu "Enregistrer" sur appui long iOS/Safari */
img {
  -webkit-touch-callout: none;
  pointer-events: none;
  draggable: false;
}

/* Réactiver pointer-events sur les images qui sont dans des liens
   (ex. logo cliquable) : le <a> parent reçoit le clic, l'img non */
a img {
  pointer-events: none; /* le <a> parent reste cliquable */
}

/* ----------------------------------------------------------------
   BLOC FOOTER — FRENCH K9 ACADEMY (lien entre les deux entités)
   ---------------------------------------------------------------- */
.footer-fk9 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
  flex-wrap: wrap;
}
.footer-fk9-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font-body);
  white-space: nowrap;
}
.footer-fk9-link {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 5px 14px;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: auto !important; /* exception protection */
}
.footer-fk9-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.footer-fk9-logo {
  height: 34px;
  width: auto;
  display: block;
  pointer-events: none;
}
@media (max-width: 600px) {
  .footer-fk9 { flex-direction: column; gap: 0.7rem; }
  .footer-fk9-logo { height: 28px; }
}

/* Lien inline FK9A dans le texte (page À propos) */
.fk9a-inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.18s;
}
.fk9a-inline-link:hover { color: var(--gold); }
.fk9a-inline-link strong { color: inherit; }

/* ----------------------------------------------------------------
   DROPDOWN « Nos détections » — navigation
   Même système que French K9 Academy, adapté à la charte marine/or
   ---------------------------------------------------------------- */
.main-nav li.has-dropdown { position: relative; }

.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 8px 0;
  margin-top: 6px;
  background: var(--navy-deep);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  list-style: none;
  z-index: 200;
}
/* Petit triangle pointant vers le lien */
.main-nav .dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--navy-deep);
}
.main-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  color: #C8D5E0 !important;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav .dropdown a:hover {
  background: rgba(168,120,48,0.15);
  color: var(--gold-light) !important;
}

/* Bouton caret — masqué sur desktop, visible sur mobile */
.main-nav .caret-btn { display: none; }

/* ---- Desktop : ouvrir au survol ---- */
@media (min-width: 901px) {
  .main-nav li.has-dropdown:hover .dropdown { display: block; }
  /* Pont invisible entre le lien et le menu pour éviter qu'il se ferme */
  .main-nav .dropdown::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -10px;
    height: 12px;
  }
  /* Petit chevron CSS après le texte */
  .main-nav li.has-dropdown > a { position: relative; padding-right: 18px; }
  .main-nav li.has-dropdown > a::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-top: 5px solid currentColor;
  }
}

/* ---- Mobile : caret séparé du lien ---- */
@media (max-width: 900px) {
  .main-nav li.has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .main-nav li.has-dropdown > a {
    flex: 1;
    padding-right: 4px;
  }
  .main-nav li.has-dropdown > a::after { display: none; }

  .main-nav .caret-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--gold-light);
    font-size: 10px;
    cursor: pointer;
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-right: 10px;
    opacity: 0.75;
  }
  .main-nav .caret-btn:focus-visible { outline: 2px solid var(--gold); border-radius: 4px; }
  .main-nav li.has-dropdown.dd-ouvert .caret-btn { transform: rotate(180deg); opacity: 1; }
  .main-nav li.has-dropdown.dd-ouvert .dropdown { display: block; }
  .main-nav li.has-dropdown .dropdown { width: 100%; }

  .main-nav .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 6px 0 4px;
    padding: 8px 0;
    background: var(--navy-deep);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .main-nav .dropdown::before { display: none; }
  .main-nav .dropdown a {
    padding: 11px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13.5px;
    color: #C8D5E0 !important;
  }
  .main-nav .dropdown a:hover {
    background: rgba(168,120,48,0.2);
    color: var(--gold-light) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   POPUP MASTER FRANCHISE ALLEMAGNE
   Déclenché au passage en langue DE — injecté via JS
   ═══════════════════════════════════════════════════════════════════════════ */
.de-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.de-popup[hidden] { display: none !important; }

/* Fond flouté */
.de-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,27,56,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.de-popup.is-visible .de-popup__backdrop { opacity: 1; }

/* Reflet animé — tige de lumière dorée qui balaie le panel */
@keyframes popup-reflet {
  0%   { transform: translateX(-160%) skewX(-18deg); }
  100% { transform: translateX(260%)  skewX(-18deg); }
}

/* Panneau central */
.de-popup__panel {
  position: relative;
  background: var(--navy-deep);
  border-top: 3px solid var(--gold-light);
  border-radius: 18px;
  padding: 2.75rem 2.25rem 2.25rem;
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0,0,0,0.40);
  transform: translateY(22px) scale(0.96);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34,1.18,0.64,1), opacity 0.3s ease;
}
.de-popup.is-visible .de-popup__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* Tige de lumière */
.de-popup__panel::before {
  content: '';
  position: absolute;
  top: -20%; bottom: -20%;
  left: 0; width: 40%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0)      0%,
    rgba(255,220,140,0.05)  35%,
    rgba(255,255,255,0.08)  50%,
    rgba(255,220,140,0.05)  65%,
    rgba(255,255,255,0)     100%
  );
  animation: popup-reflet 8s ease-in-out infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .de-popup__panel::before { animation: none; }
}

/* Bouton fermeture */
.de-popup__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  flex-shrink: 0;
}
.de-popup__close:hover { background: rgba(255,255,255,0.18); }

/* Label surtitre */
.de-popup__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

/* Titre */
.de-popup__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

/* Corps */
.de-popup__body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.72);
  margin: 0 0 0.9rem;
}

/* Bouton CTA */
.de-popup__cta {
  display: block;
  margin-top: 1.75rem;
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s;
}
.de-popup__cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .de-popup__panel { padding: 2.25rem 1.25rem 1.75rem; }
  .de-popup__title { font-size: 1.25rem; }
}

/* ================================================================
   PAGE FAQ — styles spécifiques
   ================================================================ */

/* Hero minimaliste de la page FAQ */
.faq-page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 4rem) 24px 4rem;
  text-align: center;
  color: #fff;
}
.faq-page-hero .eyebrow {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}
.faq-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-top: 0.6rem;
  line-height: 1.15;
}
.faq-hero-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* Groupes de catégories dans la FAQ */
.faq-category {
  margin-bottom: 3.5rem;
}
.faq-category:last-child {
  margin-bottom: 0;
}
.faq-category-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #ECEEF0;
}

/* Liste ordonnée à l'intérieur des réponses FAQ (protocole 3 étapes) */
.faq-steps {
  list-style: none;
  counter-reset: faq-step;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}
.faq-steps li {
  counter-increment: faq-step;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--grey);
  line-height: 1.6;
}
.faq-steps li::before {
  content: counter(faq-step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Responsive FAQ page */
@media (max-width: 768px) {
  .faq-page-hero {
    padding: calc(var(--header-h) + 3rem) 24px 3rem;
  }
  .faq-hero-sub br { display: none; }
  .faq-category { margin-bottom: 2.5rem; }
}

/* Labels scénarios A/B dans FAQ méthode */
.faq-scenario-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

/* ================================================================
   PAGE FRANCHISE — nouvelles sections
   ================================================================ */

/* Variante fond alterné pour la section Portefeuille */
.offer-alt { background: var(--paper-soft); }

/* Tag "option" dans le nom d'une carte */
.offer-option-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(168,120,48,0.12);
  border: 1px solid rgba(168,120,48,0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* Légère mise en retrait visuelle de la carte CMEI */
.offer-card--option {
  border: 1px dashed rgba(168,120,48,0.35);
}

/* ——— SECTION VOS MARCHÉS ——— */
.marches {
  background: var(--navy);
  padding: 5.5rem 24px;
}
.marches-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.marches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.marche-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.marche-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
}
/* Carte centrale mise en avant */
.marche-card--highlight {
  background: rgba(168,120,48,0.1);
  border-color: rgba(168,120,48,0.4);
}
.marche-card--highlight:hover {
  background: rgba(168,120,48,0.16);
  border-color: rgba(168,120,48,0.6);
}
.marche-icon {
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.marche-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}
.marche-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  flex: 1;
}
.marche-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  align-self: flex-start;
}
.marche-tag--gold {
  color: var(--gold-light);
  background: rgba(168,120,48,0.18);
}

/* Responsive marchés */
@media (max-width: 900px) {
  .marches-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
  .marches { padding: 4rem 24px; }
}
