/* =========================================================
   GUIDE VOYAGEUR — SCÈNE 1
   Image de référence : "scène 1 vierge"
   ========================================================= */

:root {
  --pink: #f13e7c;
  --pink-dark: #d92868;
  --navy: #101b35;
  --white: #ffffff;
  --header-height: 88px;
  --page-padding: clamp(22px, 4vw, 72px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--navy);
  background: #7b4528;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Scène unique ---------- */

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("../assets/images/scene-1-vierge-desktop.avif");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* ---------- En-tête ---------- */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 68px);
  padding: 14px var(--page-padding);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 27, 53, 0.08);
  box-shadow: 0 8px 28px rgba(45, 24, 14, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  width: 37px;
  height: 44px;
  overflow: visible;
}

.brand-mark path {
  fill: var(--pink);
}

.brand-mark circle {
  fill: var(--white);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 0.84;
  letter-spacing: -0.045em;
}

.brand-name strong {
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--navy);
}

.brand-name span {
  margin-left: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pink);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 42px);
}

.main-navigation a {
  position: relative;
  padding: 10px 0;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 14px;
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 10px 24px rgba(241, 62, 124, 0.25);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.header-button:hover,
.header-button:focus-visible {
  background: var(--pink-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  color: var(--navy);
  background: rgba(241, 62, 124, 0.09);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ---------- Contenu de gauche ---------- */

.hero-content {
  position: relative;
  z-index: 5;
  width: min(42vw, 690px);
  margin-left: var(--page-padding);
  padding-top: clamp(154px, 16vh, 190px);
  padding-bottom: 54px;
}

.title-wrap {
  position: relative;
  display: inline-block;
}

.title-halo {
  position: absolute;
  z-index: -1;
  top: 48%;
  left: 40%;
  width: 112%;
  height: 116%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.50) 34%,
      rgba(255, 255, 255, 0.22) 62%,
      rgba(255, 255, 255, 0) 82%
    );
  filter: blur(13px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

h1 {
  max-width: 690px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.25rem, 4.5vw, 5.15rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.058em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.34);
}

h1 span {
  color: var(--pink);
}

.hero-text {
  max-width: 580px;
  margin: 25px 0 0;
  color: var(--navy);
  font-size: clamp(1.04rem, 1.25vw, 1.34rem);
  font-weight: 620;
  line-height: 1.55;
  text-shadow:
    0 1px 8px rgba(255, 255, 255, 0.76),
    0 1px 1px rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: 2px solid transparent;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(49, 27, 20, 0.16);
}

.button-primary {
  color: var(--white);
  background: var(--pink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--pink-dark);
}

.button-secondary {
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--pink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--pink);
}

.play-icon {
  margin-right: 10px;
  font-size: 0.75rem;
}

/* ---------- Tablettes et ordinateurs compacts ---------- */

@media (max-width: 1180px) {
  :root {
    --header-height: 78px;
    --page-padding: clamp(20px, 3vw, 38px);
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .header-button {
    justify-self: end;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--page-padding);
    width: min(330px, calc(100vw - 40px));
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(16, 27, 53, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(42, 22, 14, 0.19);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-navigation a {
    padding: 13px 15px;
    border-radius: 11px;
  }

  .main-navigation a:hover,
  .main-navigation a:focus-visible {
    background: rgba(241, 62, 124, 0.08);
  }

  .main-navigation a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    background-position: 55% center;
  }

  .hero-content {
    width: min(47vw, 575px);
  }

  h1 {
    font-size: clamp(3rem, 5.4vw, 4.35rem);
  }
}

/* ---------- Tablettes verticales ---------- */

@media (max-width: 860px) {
  :root {
    --page-padding: 24px;
  }

  .hero {
    /*
      On décale la scène vers la gauche afin de réserver la zone
      sans mascotte au contenu HTML.
    */
    background-position: 28% center;
  }

  .hero-content {
    width: min(62vw, 510px);
    padding-top: 138px;
  }

  h1 {
    font-size: clamp(2.8rem, 7.2vw, 4.1rem);
  }

  .hero-text {
    max-width: 470px;
  }
}

/* ---------- Smartphones ---------- */

@media (max-width: 620px) {
  :root {
    --header-height: 68px;
    --page-padding: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: var(--header-height);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-mark {
    width: 31px;
    height: 37px;
  }

  .brand-name strong {
    font-size: 1.08rem;
  }

  .brand-name span {
    font-size: 1rem;
  }

  .header-button {
    display: none;
  }

  .menu-toggle {
    order: initial;
  }

  .main-navigation {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .hero {
    /*
      En portrait, "cover" recadre fortement une image 16/9.
      Ce cadrage privilégie la zone libre du canapé et des fenêtres,
      afin que le texte ne recouvre ni le téléphone ni les mascottes.
    */
    background-position: 20% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 470px;
    margin-left: 16px;
    padding-top: 106px;
    padding-bottom: 28px;
  }

  .title-halo {
    width: 116%;
    height: 120%;
    background:
      radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.57) 36%,
        rgba(255, 255, 255, 0.24) 64%,
        rgba(255, 255, 255, 0) 84%
      );
  }

  h1 {
    max-width: 94%;
    font-size: clamp(2.55rem, 11.8vw, 3.8rem);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 93%;
    margin-top: 20px;
    font-size: clamp(0.97rem, 4.1vw, 1.08rem);
    line-height: 1.48;
  }

  .hero-actions {
    width: min(100%, 360px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 23px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* ---------- Petits smartphones ---------- */

@media (max-width: 390px) {
  .hero-content {
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 2.8rem);
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .button {
    min-height: 47px;
    font-size: 0.94rem;
  }
}

/* ---------- Écrans très larges ---------- */

@media (min-width: 1800px) {
  :root {
    --page-padding: clamp(72px, 6vw, 130px);
  }

  .hero {
    background-position: center center;
  }

  .hero-content {
    width: min(39vw, 760px);
    padding-top: clamp(170px, 18vh, 230px);
  }

  h1 {
    font-size: clamp(4.7rem, 4.3vw, 6.1rem);
  }
}

/* ---------- Accessibilité ---------- */

:focus-visible {
  outline: 3px solid rgba(241, 62, 124, 0.58);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   IMAGE DÉDIÉE SMARTPHONE
   ========================================================= */

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    background-image: url("../assets/images/scene-1-vierge-smartphone.avif");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 470px;
    margin-left: 16px;
    padding-top: clamp(710px, calc(52vh - 50px), 890px);
    padding-bottom: 34px;
  }

  .title-wrap {
    width: 100%;
  }

  .title-halo {
    top: 48%;
    left: 50%;
    width: 118%;
    height: 125%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3.45rem);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 100%;
    font-size: clamp(0.98rem, 4.1vw, 1.08rem);
    line-height: 1.48;
  }

  .hero-actions {
    width: 100%;
    max-width: 360px;
    margin-top: 73px;
  }
}

@media (max-width: 390px) {
  .hero-content {
    padding-top: clamp(640px, calc(50vh - 50px), 770px);
  }

  h1 {
    font-size: clamp(2.15rem, 10.7vw, 2.75rem);
  }
}

/* Pour les mobiles en paysage, revenir au visuel ordinateur */
@media (max-width: 920px) and (orientation: landscape) {
  .hero {
    background-image: url("../assets/images/scene-1-vierge-desktop.avif");
    background-position: center center;
  }

  .hero-content {
    width: min(46vw, 520px);
    margin-left: var(--page-padding);
    padding-top: 120px;
    padding-bottom: 30px;
  }
}


/* =========================================================
   GV-S01-V04 — IMAGE DÉDIÉE TABLETTE 4:3
   ========================================================= */

@media (min-width: 621px) and (max-width: 1180px) {
  .hero {
    background-image: url("../assets/images/scene-1-vierge-tablette.avif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    width: min(43vw, 520px);
    margin-left: var(--page-padding);
    padding-top: clamp(132px, 14vh, 174px);
    padding-bottom: 40px;
  }

  h1 {
    max-width: 520px;
    transform: translateX(-25px);
    font-size: clamp(2.75rem, 5.8vw, 4.2rem);
  }

  .hero-text {
    max-width: 470px;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
  }

  .hero-actions {
    max-width: 470px;
  }
}

@media (min-width: 621px) and (max-width: 900px) and (orientation: portrait) {
  .hero {
    background-position: 42% center;
  }

  .hero-content {
    width: min(58vw, 500px);
    padding-top: clamp(124px, 12vh, 160px);
  }

  h1 {
    font-size: clamp(2.65rem, 7vw, 3.85rem);
  }
}

@media (min-width: 621px) and (max-width: 1180px) and (orientation: landscape) {
  .hero {
    background-image: url("../assets/images/scene-1-vierge-tablette.avif");
    background-position: center center;
  }

  .hero-content {
    width: min(40vw, 500px);
    padding-top: clamp(118px, 15vh, 160px);
  }
}


/* =========================================================
   GV-S01-V05 — H1 REMONTÉ SUR SMARTPHONE
   Ordinateur, tablette et images inchangés.
   ========================================================= */

@media (max-width: 620px) and (orientation: portrait) {
  .hero-content {
    padding-top: clamp(600px, 40vh, 690px);
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .hero-content {
    padding-top: clamp(550px, 38vh, 630px);
  }
}


/* =========================================================
   GV-S01-V06 — BLOC HTML ENCORE REMONTÉ SUR SMARTPHONE
   Correction ciblée : environ 100 px plus haut que GV-S01-V05.
   ========================================================= */

@media (max-width: 620px) and (orientation: portrait) {
  .hero-content {
    padding-top: clamp(500px, 34vh, 590px);
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .hero-content {
    padding-top: clamp(460px, 32vh, 540px);
  }
}

/* =========================================================
   GV-S01-V07 — SÉLECTEUR DE LANGUE
   Ajout technique discret, sans modification des visuels.
   ========================================================= */

.language-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-selector select {
  min-height: 38px;
  padding: 0 30px 0 10px;
  border: 1px solid rgba(16, 27, 53, 0.14);
  border-radius: 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-selector select:focus-visible {
  outline: 3px solid rgba(241, 62, 124, 0.58);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .language-selector {
    width: 100%;
    padding: 6px 8px 2px;
  }

  .language-selector select {
    width: 100%;
    min-height: 44px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   GV-S01-V08 — SCÈNE 2 : QUESTIONS ANIMÉES
   ========================================================= */

.scene-next {
  position: absolute;
  z-index: 15;
  left: 50%;
  bottom: clamp(18px, 3vh, 34px);
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--white);
  text-decoration: none;
  transform: translateX(-50%);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.scene-next-label {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(16, 27, 53, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 800;
  white-space: nowrap;
}

.scene-next-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(241, 62, 124, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font-size: 1.45rem;
  font-weight: 900;
  animation: sceneArrowBounce 1.55s ease-in-out infinite;
}

.scene {
  position: relative;
  isolation: isolate;
  width: 100%;
}

.scene-2 {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #2a140c;
}

.scene-2-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.scene-2-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  pointer-events: none;
}

.question-bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.question-bubble {
  position: absolute;
  display: grid;
  min-width: clamp(150px, 13vw, 245px);
  max-width: clamp(190px, 17vw, 310px);
  min-height: clamp(66px, 7vw, 108px);
  padding: clamp(13px, 1.2vw, 21px) clamp(16px, 1.5vw, 27px);
  place-items: center;
  border: 2px solid rgba(255, 112, 165, 0.9);
  border-radius: 42% 42% 45% 45% / 48% 48% 42% 42%;
  color: var(--navy);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,232,240,.94));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.8) inset,
    0 0 22px rgba(241,62,124,.48),
    0 16px 36px rgba(0,0,0,.24);
  opacity: 0;
  transform: translateY(18px) scale(.72) rotate(var(--bubble-rotate, 0deg));
  transform-origin: 50% 100%;
}

.question-bubble::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: var(--tail-left, 50%);
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 112, 165, 0.9);
  border-bottom: 2px solid rgba(255, 112, 165, 0.9);
  background: rgba(255, 239, 245, .97);
  transform: translateX(-50%) rotate(45deg);
  border-bottom-right-radius: 5px;
}

.question-bubble span {
  position: relative;
  z-index: 1;
  font-size: clamp(.92rem, 1.2vw, 1.28rem);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

.scene-2.is-active .question-bubble {
  animation: bubblePop .62s cubic-bezier(.2, .9, .3, 1.25) forwards;
  animation-delay: calc(.24s + var(--bubble-index) * .43s);
}

.bubble-1 { top: 12%; left: 4%; --bubble-rotate: -3deg; --tail-left: 67%; }
.bubble-2 { top: 8%; left: 25%; --bubble-rotate: 2deg; --tail-left: 52%; }
.bubble-3 { top: 7%; left: 47%; --bubble-rotate: -1deg; --tail-left: 48%; }
.bubble-4 { top: 10%; right: 5%; --bubble-rotate: 3deg; --tail-left: 35%; }
.bubble-5 { top: 29%; left: 20%; --bubble-rotate: -2deg; --tail-left: 55%; }
.bubble-6 { top: 27%; right: 22%; --bubble-rotate: 2deg; --tail-left: 42%; }
.bubble-7 { top: 55%; left: 4%; --bubble-rotate: 2deg; --tail-left: 70%; }
.bubble-8 { top: 56%; right: 4%; --bubble-rotate: -2deg; --tail-left: 30%; }

@keyframes bubblePop {
  0% { opacity: 0; transform: translateY(20px) scale(.68) rotate(var(--bubble-rotate, 0deg)); }
  68% { opacity: 1; transform: translateY(-5px) scale(1.07) rotate(var(--bubble-rotate, 0deg)); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--bubble-rotate, 0deg)); }
}

@keyframes sceneArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 1180px) {
  .question-bubble {
    min-width: clamp(135px, 17vw, 205px);
    max-width: clamp(170px, 23vw, 255px);
    min-height: clamp(60px, 9vw, 88px);
  }
  .question-bubble span { font-size: clamp(.8rem, 1.55vw, 1.02rem); }
}

@media (max-width: 760px) {
  .scene-next-label { display: none; }
  .scene-2-image { object-position: 50% center; }
  .question-bubble {
    min-width: 124px;
    max-width: 172px;
    min-height: 56px;
    padding: 11px 13px;
  }
  .question-bubble span { font-size: clamp(.72rem, 2.8vw, .9rem); }
  .bubble-1 { top: 10%; left: 2%; }
  .bubble-2 { top: 8%; left: 37%; }
  .bubble-3 { top: 20%; right: 2%; left: auto; }
  .bubble-4 { top: 35%; left: 2%; right: auto; }
  .bubble-5 { top: 49%; right: 2%; left: auto; }
  .bubble-6 { top: 63%; left: 2%; right: auto; }
  .bubble-7 { top: 76%; right: 2%; left: auto; }
  .bubble-8 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-next-arrow { animation: none; }
  .scene-2.is-active .question-bubble {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   GV-S01-V09 — ADAPTATION TABLETTE & SMARTPHONE DE LA SCÈNE 2
   La version ordinateur V08 reste inchangée au-dessus de 1180 px.
   ========================================================= */

.scene-2-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Tablette / iPad ---------- */
@media (min-width: 621px) and (max-width: 1180px) {
  .scene-2-image {
    object-position: center center;
  }

  .question-bubble {
    min-width: clamp(132px, 17vw, 202px);
    max-width: clamp(164px, 22vw, 246px);
    min-height: clamp(56px, 7.8vw, 82px);
    padding: clamp(10px, 1.3vw, 16px) clamp(13px, 1.7vw, 20px);
  }

  .question-bubble span {
    font-size: clamp(.77rem, 1.45vw, 1rem);
  }

  .bubble-1 { top: 7%; left: 3%; }
  .bubble-2 { top: 5%; left: 28%; }
  .bubble-3 { top: 6%; left: 53%; }
  .bubble-4 { top: 9%; right: 3%; }
  .bubble-5 { top: 31%; left: 12%; }
  .bubble-6 { top: 29%; right: 12%; }
  .bubble-7 { top: 60%; left: 3%; }
  .bubble-8 { display: none; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 620px) {
  .scene-2,
  .scene-2-stage {
    min-height: 100svh;
  }

  .scene-2-image {
    object-position: center top;
  }

  .question-bubble {
    display: grid;
    min-width: 0;
    width: clamp(126px, 39vw, 164px);
    max-width: 44vw;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 24px;
    transform-origin: 50% 100%;
  }

  .question-bubble::after {
    bottom: -12px;
    width: 22px;
    height: 22px;
  }

  .question-bubble span {
    font-size: clamp(.72rem, 3.3vw, .9rem);
    line-height: 1.08;
  }

  /* Quatre emplacements réutilisés par deux vagues de questions. */
  .bubble-1,
  .bubble-5 { top: 6%; left: 4%; right: auto; }

  .bubble-2,
  .bubble-6 { top: 8%; right: 4%; left: auto; }

  .bubble-3,
  .bubble-7 { top: 27%; left: 3%; right: auto; }

  .bubble-4,
  .bubble-8 { top: 30%; right: 3%; left: auto; }

  .scene-2.is-active .question-bubble {
    animation-duration: 4.8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
  }

  /* Première vague : elle apparaît puis disparaît comme auparavant. */
  .scene-2.is-active .bubble-1,
  .scene-2.is-active .bubble-2,
  .scene-2.is-active .bubble-3,
  .scene-2.is-active .bubble-4 {
    animation-name: mobileBubbleCycle;
  }

  /* Deuxième vague : elle apparaît progressivement puis reste visible. */
  .scene-2.is-active .bubble-5,
  .scene-2.is-active .bubble-6,
  .scene-2.is-active .bubble-7,
  .scene-2.is-active .bubble-8 {
    animation-name: mobileBubbleStay;
    animation-duration: .75s;
    animation-timing-function: cubic-bezier(.2, .9, .3, 1.2);
    animation-fill-mode: forwards;
  }

  /* Première vague : 1 à 4. */
  .scene-2.is-active .bubble-1 { animation-delay: .25s; }
  .scene-2.is-active .bubble-2 { animation-delay: .60s; }
  .scene-2.is-active .bubble-3 { animation-delay: .95s; }
  .scene-2.is-active .bubble-4 { animation-delay: 1.30s; }

  /* Deuxième vague : remplace progressivement la première. */
  .scene-2.is-active .bubble-5 { animation-delay: 4.55s; }
  .scene-2.is-active .bubble-6 { animation-delay: 4.90s; }
  .scene-2.is-active .bubble-7 { animation-delay: 5.25s; }
  .scene-2.is-active .bubble-8 { animation-delay: 5.60s; }
}

@keyframes mobileBubbleCycle {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(.72) rotate(var(--bubble-rotate, 0deg));
  }
  13% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06) rotate(var(--bubble-rotate, 0deg));
  }
  21%, 72% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--bubble-rotate, 0deg));
  }
  88%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(.9) rotate(var(--bubble-rotate, 0deg));
  }
}


@keyframes mobileBubbleStay {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(.72) rotate(var(--bubble-rotate, 0deg));
  }
  72% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06) rotate(var(--bubble-rotate, 0deg));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--bubble-rotate, 0deg));
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .scene-2.is-active .question-bubble {
    animation: none;
    opacity: 0;
  }

  .scene-2.is-active .bubble-5,
  .scene-2.is-active .bubble-6,
  .scene-2.is-active .bubble-7,
  .scene-2.is-active .bubble-8 {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   GV-S01-V10 — SCÈNE 3 ORDINATEUR, ANIMATION SIMPLE
   Base officielle : GV-S01-V09.
   Aucun halo localisé, aucun cadre autour des icônes.
   ========================================================= */

.scene-2 { position: relative; }
.scene-next--from-two {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.1vw, 34px);
  z-index: 12;
  transform: translateX(-50%);
}

.scene-3 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #151b22;
}

.scene-3-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.scene-3-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.scene-3-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.72) blur(4px);
  transform: scale(1.035);
  transition: filter 2.4s ease, transform 4.2s cubic-bezier(.2,.7,.2,1);
}

.scene-3-sweep {
  position: absolute;
  z-index: 2;
  top: -15%;
  bottom: -15%;
  left: -45%;
  width: 34%;
  transform: skewX(-15deg);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,210,231,.08) 24%,
    rgba(255,239,247,.42) 50%,
    rgba(255,160,205,.12) 76%,
    rgba(255,255,255,0) 100%);
  filter: blur(13px);
}

.scene-3-copy {
  position: absolute;
  z-index: 4;
  top: clamp(28px, 5.5vh, 76px);
  right: clamp(28px, 5vw, 94px);
  left: auto;
  width: min(34vw, 540px);
  margin: 0;
  padding: clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 34px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 28px;
  color: #fff;
  text-align: left;
  background: rgba(19, 23, 31, .56);
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .85s ease, transform .85s ease, visibility 0s linear .85s;
}

.scene-3-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.scene-3-copy p {
  margin: 15px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.32rem);
  line-height: 1.42;
  color: rgba(255,255,255,.88);
}

.scene-3-final {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(26px, 5vh, 70px);
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  font-weight: 900;
  text-align: center;
  background: rgba(19,23,31,.52);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .75s ease, transform .75s ease, visibility 0s linear .75s;
}

.scene-3.is-active .scene-3-image {
  filter: brightness(1) blur(0);
  transform: scale(1);
}

.scene-3.is-active .scene-3-sweep {
  animation: scene3Sweep 2.2s ease-in-out 1.5s 1 both;
}

.scene-3.show-copy .scene-3-copy {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.scene-3.show-final .scene-3-final {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

@keyframes scene3Sweep {
  0% { left: -45%; opacity: 0; }
  14% { opacity: .85; }
  84% { opacity: .72; }
  100% { left: 118%; opacity: 0; }
}

/* =========================================================
   GV-S01-V12 — ADAPTATION TABLETTE DE LA SCÈNE 3
   Desktop V10 et smartphone V11 conservés sans modification.
   ========================================================= */

@media (min-width: 621px) and (max-width: 1180px) {
  .scene-next--from-two {
    display: flex;
    bottom: clamp(18px, 2.5vw, 28px);
  }

  .scene-3,
  .scene-3-stage {
    min-height: 100svh;
  }

  .scene-3-stage {
    aspect-ratio: 4 / 3;
    background: #30150b;
  }

  .scene-3-picture,
  .scene-3-image {
    width: 100%;
    height: 100%;
  }

  .scene-3-image {
    object-fit: cover;
    object-position: center center;
    filter: brightness(.74) blur(3px);
    transform: scale(1.025);
    transition: filter 2.3s ease, transform 4.1s cubic-bezier(.2,.7,.2,1);
  }

  .scene-3-sweep {
    top: -12%;
    bottom: -12%;
    left: -55%;
    width: 42%;
    transform: skewX(-13deg);
    filter: blur(11px);
  }

  .scene-3-copy {
    top: clamp(24px, 4.2vh, 52px);
    right: clamp(24px, 4vw, 52px);
    left: auto;
    width: min(40vw, 430px);
    padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
    border-radius: 24px;
    text-align: left;
    background: rgba(28, 13, 8, .52);
    backdrop-filter: blur(8px);
    transform: translateY(-12px);
  }

  .scene-3-copy h2 {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1;
    letter-spacing: -.04em;
  }

  .scene-3-copy p {
    margin-top: 11px;
    font-size: clamp(.98rem, 1.8vw, 1.24rem);
    line-height: 1.38;
  }

  .scene-3-final {
    left: 50%;
    bottom: clamp(24px, 4vh, 48px);
    width: max-content;
    max-width: 82%;
    padding: 10px 18px;
    font-size: clamp(1rem, 2.25vw, 1.45rem);
    background: rgba(28, 13, 8, .48);
  }

  @keyframes scene3Sweep {
    0% { left: -55%; opacity: 0; }
    14% { opacity: .78; }
    84% { opacity: .66; }
    100% { left: 122%; opacity: 0; }
  }
}

@media (max-width: 620px) {
  .scene-next--from-two {
    display: flex;
    bottom: 18px;
  }

  .scene-3,
  .scene-3-stage {
    min-height: 100svh;
  }

  .scene-3-stage {
    aspect-ratio: 853 / 1844;
    background: #321408;
  }

  .scene-3-picture,
  .scene-3-image {
    width: 100%;
    height: 100%;
  }

  .scene-3-image {
    object-fit: cover;
    object-position: center top;
    filter: brightness(.72) blur(3px);
    transform: scale(1.025);
    transition: filter 2.2s ease, transform 4s cubic-bezier(.2,.7,.2,1);
  }

  .scene-3-sweep {
    top: -8%;
    bottom: -8%;
    left: -70%;
    width: 52%;
    transform: skewX(-10deg);
    filter: blur(10px);
  }

  .scene-3-copy {
    top: max(22px, env(safe-area-inset-top));
    right: 6%;
    left: 6%;
    width: auto;
    padding: 14px 16px;
    border-radius: 20px;
    text-align: center;
    background: rgba(28, 13, 8, .52);
    backdrop-filter: blur(7px);
    transform: translateY(-10px);
  }

  .scene-3-copy h2 {
    font-size: clamp(1.7rem, 8.2vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .scene-3-copy p {
    margin-top: 9px;
    font-size: clamp(.88rem, 3.75vw, 1.05rem);
    line-height: 1.32;
  }

  .scene-3-final {
    bottom: max(120px, calc(env(safe-area-inset-bottom) + 100px));
    top: auto;
    left: 50%;
    width: max-content;
    max-width: 88%;
    padding: 9px 15px;
    font-size: clamp(.92rem, 4.2vw, 1.15rem);
    background: rgba(28, 13, 8, .48);
    transform: translate(-50%, 10px);
  }

  .scene-3.show-final .scene-3-final {
    transform: translate(-50%, 0);
  }

  @keyframes scene3Sweep {
    0% { left: -70%; opacity: 0; }
    14% { opacity: .75; }
    84% { opacity: .62; }
    100% { left: 125%; opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-3-image { filter: none; transform: none; transition: none; }
  .scene-3-sweep { display: none; }
  .scene-3-copy,
  .scene-3-final {
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .scene-3-copy { transform: none; }
  .scene-3-final { transform: translate(-50%, 0); }
}


/* =========================================================
   SCÈNE 4 — IMAGE VIERGE ORDINATEUR
   Ajout isolé : aucune règle des scènes 1 à 3 n'est modifiée.
   ========================================================= */
.scene-4 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #efb6bd;
}

.scene-4-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.scene-4-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-4-image {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  object-position: center center;
}


/* =========================================================
   GV-S04-V3 — DÉCALAGE DU BLOC TEXTE VERS LA DROITE
   Le bloc HTML de la scène 4 est déplacé de 140 px.
   Les scènes 1 à 3 et tous les autres réglages restent intacts.
   ========================================================= */
.scene-4-copy {
  --gv-copy-left: clamp(640px, calc(30vw + 140px), 790px);
  position: absolute;
  z-index: 4;
  top: clamp(24px, 4.2vh, 54px);
  left: var(--gv-copy-left);
  width: min(65vw, 980px, calc(100vw - var(--gv-copy-left) - 48px));
  pointer-events: none;
}

.scene-4-title {
  max-width: 980px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.25rem, 4.5vw, 5.15rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.058em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.34);
}

.scene-4-title span {
  color: var(--pink);
}

.scene-4-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--navy);
  font-size: clamp(1.04rem, 1.25vw, 1.34rem);
  font-weight: 620;
  line-height: 1.55;
  text-shadow:
    0 1px 8px rgba(255, 255, 255, 0.76),
    0 1px 1px rgba(255, 255, 255, 0.92);
}

@media (max-width: 1180px) {
  .scene-4-copy {
    top: 34px;
    left: 30%;
    width: 66%;
  }

  .scene-4-title {
    font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  }
}

@media (max-width: 720px) {
  /* GV-S04-V4 — fond portrait officiel de la scène 4 sur smartphone. */
  .scene-4,
  .scene-4-stage {
    min-height: 0;
    overflow: visible;
    background: #fbe3e5;
  }

  .scene-4-picture {
    height: auto;
  }

  .scene-4-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .scene-4-copy {
    top: 21%;
    left: 6%;
    width: 88%;
    pointer-events: auto;
  }

  .scene-4-title {
    max-width: 100%;
    font-size: clamp(1.32rem, 5.8vw, 1.66rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .scene-4-description {
    max-width: 100%;
    margin-top: clamp(5px, 1.4vw, 8px);
    font-size: clamp(0.8rem, 3.4vw, 0.94rem);
    line-height: 1.28;
  }
}

/* =========================================================
   GV-S04-V6.1 — Restauration vidéo d'introduction scène 1
   Ordinateur uniquement. La vidéo couvre toute la scène puis
   reste derrière le contenu HTML pendant sa lecture, puis
   disparaît pour révéler le fond statique, sans effet de réduction.
   ========================================================= */

.scene-1-intro-video {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.scene-1-intro-video.is-finished {
  display: none;
}

@media (max-width: 1180px), (prefers-reduced-motion: reduce) {
  .scene-1-intro-video {
    display: none;
  }
}

/* =========================================================
   GV-S04-V6.4 — FLÈCHE DE DÉFILEMENT SCÈNE 3 VERS SCÈNE 4
   Affichée sur ordinateur et smartphone, masquée sur tablette.
   ========================================================= */

.scene-next--from-three {
  z-index: 20;
}

@media (min-width: 621px) and (max-width: 1180px) {
  .scene-next--from-three {
    display: none;
  }
}

@media (max-width: 620px) {
  .scene-next--from-three {
    display: grid;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}


/* =========================================================
   GV-S04-V7.1 — SCÈNE 4 TABLETTE, TEXTE RECENTRÉ
   Fond AVIF 4:3 dédié, texte placé dans la zone libre à droite,
   et flèche de continuité vers la future scène 5.
   Bloc texte décalé vers la gauche par rapport à la V7.0.
   Ordinateur et smartphone validés restent inchangés.
   ========================================================= */
@media (min-width: 721px) and (max-width: 1180px) {
  .scene-4,
  .scene-4-stage {
    min-height: 100vh;
    min-height: 100svh;
  }

  .scene-4-image {
    width: 100%;
    height: 100vh;
    height: 100svh;
    object-fit: cover;
    object-position: center center;
  }

  .scene-4-copy {
    top: clamp(88px, 10vh, 132px);
    left: 28%;
    width: 45%;
    max-width: 570px;
    pointer-events: none;
  }

  .scene-4-title {
    max-width: 100%;
    font-size: clamp(2.15rem, 4.7vw, 4.15rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
  }

  .scene-4-description {
    max-width: 520px;
    margin-top: clamp(13px, 2vh, 22px);
    font-size: clamp(0.94rem, 1.75vw, 1.2rem);
    line-height: 1.45;
  }

  .scene-next--from-four {
    display: grid;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 1181px) {
  .scene-next--from-four {
    display: none;
  }
}

@media (max-width: 720px) {
  .scene-next--from-four {
    display: grid;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}

/* =========================================================
   GV-S05-V1.0 — SCÈNE 5 (ORDINATEUR)
   Fond photo Nancy pleine page, panneau de texte à gauche avec
   dégradé rose, titre + liste à puces + bouton CTA.
   Tablette et smartphone pas encore construits (fond desktop
   utilisé partout en attendant).
   ========================================================= */

.scene-5-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.scene-5-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.scene-5-image {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  object-position: center center;
}

.scene-5-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(255, 214, 227, 0.94) 0%,
    rgba(255, 214, 227, 0.66) 24%,
    rgba(255, 214, 227, 0.22) 44%,
    rgba(255, 214, 227, 0) 58%);
  pointer-events: none;
}

.scene-5-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(48px, 6vw, 112px);
  transform: translateY(-50%);
  width: min(30vw, 460px);
  pointer-events: auto;
}

.scene-5-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.scene-5-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.scene-5-list li {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 650;
}

.scene-5-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.scene-5-cta {
  margin-top: 34px;
}

/* =========================================================
   GV-S04-V8.0 — CARTES DE FONCTIONNALITÉS EN HTML (ORDINATEUR)
   Les 5 cartes étaient auparavant gravées dans l'image de fond.
   Elles sont maintenant de vrais éléments HTML/CSS, positionnées
   sur le nouveau fond "sans cartes". Tablette et smartphone pas
   concernés (ils utilisent toujours leurs fonds dédiés existants).
   ========================================================= */
@media (min-width: 1181px) {
  .scene-4-cards {
    position: absolute;
    z-index: 4;
    top: 40vh;
    left: 27%;
    width: 67%;
    display: flex;
    gap: 1.3%;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .scene-4-card {
    position: relative;
    flex: 1 1 0;
    background: #f8ece7;
    border-radius: 22px;
    padding: 22px 20px 64px;
    box-shadow: 0 14px 30px rgba(51, 20, 20, .08);
  }

  .scene-4-card-kicker {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
  }

  .scene-4-card-title {
    margin: 2px 0 14px;
    color: var(--pink);
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.15;
  }

  .scene-4-card-visual {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 14px;
  }

  .scene-4-card-text {
    margin: 0;
    color: rgba(16, 27, 53, .68);
    font-size: .92rem;
    line-height: 1.4;
  }

  .scene-4-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
  }

  .scene-4-card-arrow:hover,
  .scene-4-card-arrow:focus-visible {
    background: var(--pink-dark);
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .scene-4-cards {
    display: none;
  }
}

/* =========================================================
   GV-S04-V9.0 — CARTES DE FONCTIONNALITÉS EN HTML (SMARTPHONE)
   Sur smartphone, les 5 éléments deviennent une seule carte
   verticale (icône à gauche, texte à droite, flèche à droite),
   au lieu de 5 cartes côte à côte comme sur ordinateur.
   Réutilise les mêmes visuels d'icônes que la version ordinateur.
   ========================================================= */
@media (max-width: 720px) {
  .scene-4-cards {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: 95.4%;
    margin: -118vw auto 20px;
    background: #fbf0ed;
    border-radius: 22px;
    padding: 4px 4vw;
    list-style: none;
    box-shadow: 0 10px 24px rgba(51, 20, 20, .06);
  }

  .scene-4-card {
    position: relative;
    display: grid;
    grid-template-columns: 24vw 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 4vw;
    align-items: start;
    padding: 26px 46px 26px 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .scene-4-card + .scene-4-card {
    border-top: 1px solid rgba(16, 27, 53, .08);
  }

  .scene-4-card-visual {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    width: 24vw;
    max-width: 100px;
    height: 24vw;
    max-height: 100px;
    margin: 0;
    border-radius: 14px;
    object-fit: contain;
  }

  .scene-4-card-kicker {
    grid-column: 2;
    grid-row: 1;
    font-size: .82rem;
  }

  .scene-4-card-title {
    grid-column: 2;
    grid-row: 2;
    margin: 2px 0 8px;
    font-size: .98rem;
  }

  .scene-4-card-text {
    grid-column: 2;
    grid-row: 3;
    font-size: .78rem;
    line-height: 1.36;
  }

  .scene-4-card-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-size: .95rem;
    text-decoration: none;
  }
}

/* =========================================================
   GV-S05-V2.0 — SCÈNE 5 SMARTPHONE
   Même principe que la scène 4 mobile : l'image suit son
   propre ratio (au lieu d'un cover 100vh), pour s'enchaîner
   immédiatement après la scène 4 sans espace disgracieux.
   Titre/liste/CTA en blanc directement sur la photo (pas de
   dégradé nécessaire, la photo est déjà sombre à cet endroit).
   ========================================================= */
@media (max-width: 720px) {
  .scene-5-stage {
    min-height: 0;
    overflow: visible;
  }

  .scene-5-picture {
    position: static;
    height: auto;
  }

  .scene-5-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .scene-5-stage::before {
    display: none;
  }

  .scene-5-copy {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    transform: none;
  }

  .scene-5-title {
    position: absolute;
    z-index: 4;
    top: 5%;
    left: 8%;
    width: 78%;
    color: #fff;
    font-size: clamp(1.85rem, 8.6vw, 2.5rem);
    line-height: 1.04;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
  }

  .scene-5-list {
    position: absolute;
    z-index: 4;
    top: 66%;
    left: 8%;
    width: 84%;
    margin-top: 0;
    gap: 14px;
  }

  .scene-5-list li {
    color: #fff;
    font-size: clamp(1.05rem, 4.6vw, 1.3rem);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
  }

  .scene-5-cta {
    position: absolute;
    z-index: 4;
    top: 88%;
    left: 8%;
    width: auto;
    margin-top: 0;
    padding: 16px 30px;
    font-size: 1.05rem;
  }
}

/* =========================================================
   GV-S06-V1.0 — MASCOTTE FLOTTANTE + CHAT (VERSION SIMPLE)
   Présente sur toutes les scènes, tous les formats, 3 langues.
   Cigogne stylisée en icône plate (pas la version photo),
   pour rester légère et nette à toutes les tailles.
   ========================================================= */
.mascot-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.mascot-button {
  width: 76px;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 22px rgba(16, 27, 53, .28));
  display: block;
  cursor: pointer;
  padding: 0;
  animation: mascot-bob 3.2s ease-in-out infinite;
}

.mascot-button:hover,
.mascot-button:focus-visible {
  filter: drop-shadow(0 12px 26px rgba(16, 27, 53, .36));
}

.mascot-icon {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 55% 85%;
}

.mascot-icon.is-wiggling {
  animation: mascot-wiggle .7s ease-in-out;
}

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes mascot-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-9deg); }
  75% { transform: rotate(9deg); }
}

.mascot-chat {
  width: min(340px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 27, 53, .28);
}

.mascot-chat[hidden] {
  display: none;
}

.mascot-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
}

.mascot-chat-close {
  border: none;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.mascot-chat-body {
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mascot-chat-bubble {
  margin: 0;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(241, 62, 124, .09);
  color: var(--navy);
  font-size: .88rem;
  line-height: 1.4;
  max-width: 92%;
}

.mascot-chat-bubble--muted {
  background: rgba(16, 27, 53, .06);
}

.mascot-chat-bubble--confirm {
  background: rgba(46, 168, 118, .12);
}

.mascot-chat-fallback {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mascot-chat-fallback[hidden] {
  display: none;
}

.mascot-chat-email-form {
  display: flex;
  gap: 8px;
}

.mascot-chat-email-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 27, 53, .18);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: .85rem;
  font-family: inherit;
}

.mascot-chat-email-form button {
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
}

.mascot-chat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(16, 27, 53, .08);
}

.mascot-chat-form textarea {
  resize: none;
  height: 56px;
  border: 1px solid rgba(16, 27, 53, .18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .88rem;
  font-family: inherit;
}

.mascot-chat-form button {
  border: none;
  border-radius: 999px;
  padding: 11px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
}

.mascot-chat-form button:hover {
  background: var(--pink-dark);
}

@media (max-width: 600px) {
  .mascot-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .mascot-button {
    width: 64px;
    height: auto;
  }

  .mascot-chat {
    width: calc(100vw - 24px);
  }
}

/* =========================================================
   GV-S07-V1.0 — SECTION CONTACT
   Nouvelle section reliée à l'ancre #contact du menu (jusqu'ici
   sans destination). Formulaire moderne + accès rapides
   WhatsApp/email, en complément de la mascotte.
   ========================================================= */
.contact-section {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

.contact-section[hidden] {
  display: none;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 53, .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.contact-modal {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff 0%, #fdf2ef 100%);
  border-radius: 26px;
  padding: clamp(28px, 4.5vw, 56px);
  box-shadow: 0 30px 80px rgba(16, 27, 53, .35);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(16, 27, 53, .08);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: rgba(16, 27, 53, .16);
}

.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .1);
  color: var(--pink);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.contact-intro h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.contact-intro > p {
  margin: 0 0 28px;
  color: rgba(16, 27, 53, .68);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 27, 53, .08);
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 27, 53, .14);
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(241, 62, 124, .1);
  color: var(--pink);
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 21px;
  height: 21px;
}

.contact-channel-sub {
  display: block;
  font-weight: 500;
  color: rgba(16, 27, 53, .55);
  font-size: .78rem;
  margin-top: 2px;
}

.contact-card {
  background: #fff;
  border-radius: 26px;
  padding: clamp(24px, 3.2vw, 40px);
  box-shadow: 0 20px 60px rgba(16, 27, 53, .1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  background: #fdfbfa;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(241, 62, 124, .12);
}

.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-form-note {
  margin: 0;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(46, 168, 118, .12);
  color: #1f7a54;
  font-weight: 700;
  font-size: .88rem;
}

.contact-form-note[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }
}

/* =========================================================
   GV-S13-V1.0 — ANNUAIRE PRESTATAIRES (PROTOTYPE)
   ========================================================= */
.prestataires-hero {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 80px) clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, #fff 0%, #fdf2ef 100%);
  text-align: center;
}

.prestataires-hero h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.prestataires-hero p {
  max-width: 60ch;
  margin: 0 auto 24px;
  color: rgba(16, 27, 53, .68);
  font-size: 1.02rem;
  line-height: 1.55;
}

.prestataires-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px) 100px;
}

.prestataires-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(16, 27, 53, .08);
  margin-bottom: 28px;
}

.prestataires-filters select {
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--navy);
  background: #fdfbfa;
}

.prestataires-filters .filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prestataires-filters .filter-categories label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .08);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

.prestataires-filters .filter-categories input {
  accent-color: var(--pink);
}

.prestataires-count {
  margin: 0 0 18px;
  color: rgba(16, 27, 53, .55);
  font-size: .88rem;
  font-weight: 700;
}

.prestataires-count strong {
  color: var(--navy);
}

.prestataires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.provider-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(16, 27, 53, .08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provider-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.provider-category {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  background: rgba(241, 62, 124, .1);
  color: var(--pink);
}

.provider-category--menage {
  background: rgba(46, 168, 118, .12);
  color: #1f7a54;
}

.provider-category--artisan {
  background: rgba(16, 27, 53, .08);
  color: var(--navy);
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--navy);
  font-weight: 700;
}

.provider-stars {
  color: #f5a623;
  letter-spacing: -1px;
  font-size: .9rem;
}

.provider-name {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
}

.provider-location {
  margin: 0;
  color: rgba(16, 27, 53, .55);
  font-size: .82rem;
  font-weight: 700;
}

.provider-description {
  margin: 4px 0 6px;
  color: rgba(16, 27, 53, .72);
  font-size: .9rem;
  line-height: 1.45;
}

.provider-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .82rem;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 27, 53, .08);
}

.provider-contact a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

.prestataires-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(16, 27, 53, .55);
  font-size: .95rem;
}

.prestataires-cta {
  text-align: center;
  margin-top: 36px;
}

/* ---- Formulaire dépôt de fiche ---- */
.provider-form-section {
  max-width: 720px;
  margin: 0 auto 100px;
  padding: 0 clamp(20px, 6vw, 80px);
}

.provider-form-card {
  background: #fff;
  border-radius: 26px;
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: 0 20px 60px rgba(16, 27, 53, .1);
}

.provider-form-note-banner {
  background: rgba(16, 27, 53, .05);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: .85rem;
  color: rgba(16, 27, 53, .72);
  margin-bottom: 22px;
}

.provider-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.provider-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.provider-form .contact-field select {
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--navy);
  background: #fdfbfa;
}

@media (max-width: 720px) {
  .provider-form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Espace admin (modération) ---- */
.admin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 40px) 100px;
}

.admin-page h1 {
  color: var(--navy);
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.admin-page > p {
  color: rgba(16, 27, 53, .6);
  margin-bottom: 28px;
  font-size: .92rem;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(16, 27, 53, .08);
  margin-bottom: 14px;
}

.admin-row-info {
  font-size: .9rem;
  color: var(--navy);
  line-height: 1.5;
}

.admin-row-desc,
.admin-row-contact {
  color: rgba(16, 27, 53, .6);
  font-size: .84rem;
}

.admin-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.admin-approve,
.admin-reject {
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
}

.admin-approve {
  background: #1f7a54;
  color: #fff;
}

.admin-reject {
  background: rgba(16, 27, 53, .08);
  color: var(--navy);
}

.admin-empty {
  color: rgba(16, 27, 53, .5);
  font-size: .92rem;
  padding: 20px 0;
}

.site-header--static {
  position: static;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* =========================================================
   GV-S14-V1.0 — HUB D'ARTICLES / GUIDES (PROTOTYPE)
   ========================================================= */
.guides-toolbar {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 0 clamp(20px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.guides-search {
  flex: 1 1 260px;
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 27, 53, .06);
}

.guides-filters {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0 clamp(20px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  background: #fff;
  border-radius: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  box-shadow: 0 10px 30px rgba(16, 27, 53, .06);
  margin-left: auto;
  margin-right: auto;
}

.guides-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guides-filter-group-label {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(16, 27, 53, .5);
}

.guides-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guides-filter-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .07);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

.guides-filter-options input {
  accent-color: var(--pink);
}

.guides-count {
  max-width: 1180px;
  margin: 0 auto 16px;
  padding: 0 clamp(20px, 6vw, 80px);
  color: rgba(16, 27, 53, .55);
  font-size: .88rem;
  font-weight: 700;
}

.guides-count strong {
  color: var(--navy);
}

.guides-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.guide-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 27, 53, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 27, 53, .14);
}

.guide-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.guide-thumb {
  position: relative;
  height: 130px;
  display: grid;
  place-items: center;
}

.guide-thumb-initials {
  color: rgba(255, 255, 255, .85);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.guide-thumb-play {
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: .75rem;
}

.guide-card-body {
  padding: 14px 16px 18px;
}

.guide-card-theme {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 6px;
}

.guide-card-title {
  margin: 0;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.35;
}

.guides-empty {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(20px, 6vw, 80px);
  text-align: center;
  color: rgba(16, 27, 53, .5);
}

.guides-pagination {
  max-width: 1180px;
  margin: 32px auto 100px;
  padding: 0 clamp(20px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.guides-page-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(16, 27, 53, .08);
}

.guides-page-btn.is-active {
  background: var(--pink);
  color: #fff;
}

/* ---- Fiche article ---- */
.guide-detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 40px) 100px;
}

.guide-detail-theme {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .1);
  color: var(--pink);
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: 14px;
}

.guide-detail-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
}

.guide-detail-meta {
  margin: 0 0 22px;
  color: rgba(16, 27, 53, .5);
  font-size: .86rem;
  font-weight: 600;
}

.guide-detail-cover,
.guide-detail-video {
  height: 280px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

.guide-detail-cover .guide-thumb-initials {
  font-size: 2.6rem;
}

.guide-detail-video .guide-thumb-play {
  position: static;
  width: 64px;
  height: 64px;
  font-size: 1.2rem;
}

.guide-detail-body {
  color: rgba(16, 27, 53, .78);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* =========================================================
   GV-S15-V1.0 — ANNUAIRE D'ANNONCES DE LOGEMENTS (PROTOTYPE)
   ========================================================= */
.annonces-filters {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 27, 53, .08);
}

.annonces-filters select {
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--navy);
  background: #fdfbfa;
}

.listing-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 27, 53, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 27, 53, .14);
}

.listing-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.listing-thumb {
  height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f13e7c 0%, #ff9472 100%);
}

.listing-thumb-initials {
  color: rgba(255, 255, 255, .9);
  font-size: 1.9rem;
  font-weight: 900;
}

.listing-card-body {
  padding: 14px 16px 18px;
}

.listing-card-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 800;
}

.listing-card-location {
  margin: 0 0 6px;
  color: rgba(16, 27, 53, .55);
  font-size: .82rem;
  font-weight: 700;
}

.listing-card-meta {
  margin: 0 0 8px;
  color: rgba(16, 27, 53, .55);
  font-size: .78rem;
}

.listing-card-price {
  margin: 0;
  color: var(--pink);
  font-size: 1.05rem;
  font-weight: 900;
}

.listing-card-price span {
  color: rgba(16, 27, 53, .5);
  font-size: .74rem;
  font-weight: 600;
}

/* ---- Fiche annonce ---- */
.listing-detail-cover {
  height: 300px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f13e7c 0%, #ff9472 100%);
  margin-bottom: 24px;
}

.listing-detail-cover .listing-thumb-initials {
  font-size: 2.8rem;
}

.listing-detail-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
}

.listing-detail-location {
  margin: 0 0 10px;
  color: rgba(16, 27, 53, .55);
  font-weight: 700;
}

.listing-detail-price {
  margin: 0 0 16px;
  color: var(--pink);
  font-size: 1.4rem;
  font-weight: 900;
}

.listing-detail-price span {
  font-size: .8rem;
  color: rgba(16, 27, 53, .5);
  font-weight: 600;
}

.listing-detail-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
}

.listing-detail-description {
  color: rgba(16, 27, 53, .75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.listing-amenities {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-amenities li {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .08);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
}

.listing-section-title {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.listing-calendar-note {
  color: rgba(16, 27, 53, .55);
  font-size: .84rem;
  margin: 0 0 16px;
}

.listing-calendar {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(16, 27, 53, .08);
  margin-bottom: 36px;
  max-width: 380px;
}

.cal-month-label {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: capitalize;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
}

.cal-cell--available {
  background: rgba(46, 168, 118, .12);
  color: #1f7a54;
}

.cal-cell--unavailable {
  background: rgba(16, 27, 53, .08);
  color: rgba(16, 27, 53, .35);
  text-decoration: line-through;
}

.cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: .78rem;
  color: rgba(16, 27, 53, .6);
}

.cal-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.cal-dot--available { background: #1f7a54; }
.cal-dot--unavailable { background: rgba(16, 27, 53, .35); }

/* ---- Formulaire de dépôt d'annonce ---- */
.listing-form .contact-field select {
  border: 1.5px solid rgba(16, 27, 53, .14);
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--navy);
  background: #fdfbfa;
}

.listing-amenities-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-amenities-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(241, 62, 124, .08);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

.listing-amenities-checks input {
  accent-color: var(--pink);
}

/* =========================================================
   GV-S16-V1.0 — CATALOGUE PRODUITS RECOMMANDÉS
   ========================================================= */
.catalogue-filters {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 27, 53, .06);
}

.product-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 27, 53, .08);
  display: flex;
  flex-direction: column;
}

.product-thumb {
  height: 130px;
  background: linear-gradient(135deg, #fdf2ef 0%, #ffe3d6 100%);
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
}

.product-thumb-label {
  color: rgba(16, 27, 53, .45);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.product-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-description {
  margin: 0 0 10px;
  color: rgba(16, 27, 53, .62);
  font-size: .82rem;
  line-height: 1.42;
  flex: 1;
}

.product-price {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.product-cta {
  width: 100%;
  text-align: center;
  padding: 11px;
  font-size: .86rem;
}

.catalogue-disclaimer {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 14px 20px;
  background: rgba(16, 27, 53, .05);
  border-radius: 14px;
  color: rgba(16, 27, 53, .62);
  font-size: .82rem;
  line-height: 1.5;
}
