/* ============================================================
 * ÔKEYHOUSE — Design System
 * Style : épuré, prestige, conciergerie haut de gamme
 * Palette : or #B8953E + crème #FAF7F2 + anthracite #1A1A1A
 * Typographie : Cormorant Garamond (titres) + Inter (corps)
 * ============================================================ */

/* ---- 1. Variables ---- */
:root {
  /* Couleurs */
  --gold: #B8953E;
  --gold-light: #C9A85B;
  --gold-pale: #E8D9B7;
  --gold-bg: #FAF5EA;

  --cream: #FAF7F2;
  --cream-darker: #F2EDE3;

  --anthracite: #1A1A1A;
  --anthracite-soft: #2C2C2C;
  --slate: #4A4A4A;
  --slate-light: #6B6B6B;

  --white: #FFFFFF;
  --border: rgba(184, 149, 62, 0.15);
  --border-strong: rgba(184, 149, 62, 0.35);

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Espacements verticaux */
  --section-py: clamp(64px, 9vw, 120px);
  --section-py-sm: clamp(40px, 6vw, 80px);

  /* Conteneurs */
  --container: 1240px;
  --container-narrow: 920px;
}

/* ---- 2. Reset minimal ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Polices fallback pour CLS */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Georgia');
  size-adjust: 99%;
  ascent-override: 102%;
  descent-override: 30%;
}

/* ---- 3. Typographie ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display), 'Cormorant Fallback';
  font-weight: 400;
  color: var(--anthracite);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.5vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 720px;
}
.section-title h2 { margin-bottom: 16px; }
.section-title p {
  font-size: 16px;
  color: var(--slate-light);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- 4. Conteneurs ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container--narrow { max-width: var(--container-narrow); }

section { padding: var(--section-py) 0; position: relative; }

/* ---- 5. Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--anthracite);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--anthracite);
}
.btn--outline:hover {
  background: var(--anthracite);
  color: var(--white);
}
.btn--ghost {
  padding: 8px 0;
  color: var(--slate-light);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
}
.btn--ghost:hover { color: var(--gold); }
.btn--ghost::after {
  content: '↗';
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
}

/* ---- 6. Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, background 0.3s ease;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(250, 247, 242, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}
.header.is-scrolled .header__logo img { height: 40px; }

.header__nav {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--anthracite);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.header__nav a:hover { color: var(--gold); }
.header__nav a:hover::after { width: 100%; }
.header__nav a.is-active { color: var(--gold); }
.header__nav a.is-active::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__burger {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
}
.header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--anthracite);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- 7. Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari : exclut la barre URL */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
  /* Image en background-image : méthode la plus robuste sur tous navigateurs */
  background-image: url('../img/hero-landscape-1920.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--anthracite);
}
.hero__bg {
  display: none;
}
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(26,26,26,0.65) 0%, rgba(26,26,26,0.55) 50%, rgba(26,26,26,0.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 20px;
  color: var(--white);
}
.hero__scroll {
  z-index: 3;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 1px 30px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.hero .btn--outline:hover {
  background: var(--white);
  color: var(--anthracite);
  border-color: var(--white);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  z-index: 3;
}
.hero__scroll::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--white);
  transform: translateX(-50%);
  border-radius: 1px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---- 8. Bandeau chiffres clés ---- */
.stats {
  background: var(--cream);
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
}
.stats__item {
  padding: 56px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stats__number {
  font-family: var(--font-display), 'Cormorant Fallback';
  font-size: clamp(40px, 5vw, 56px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.stats__number sup { font-size: 0.5em; vertical-align: super; }
.stats__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* ---- 9. Services ---- */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service {
  background: var(--white);
  padding: 48px 36px;
  transition: background 0.3s ease;
}
.service:hover { background: var(--cream); }
.service__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}
.service__icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 14px; color: var(--anthracite); }
.service p { color: var(--slate); font-size: 15px; }

/* ---- 10. Bandeau Toulouse (sombre) ---- */
.toulouse {
  background: var(--anthracite);
  color: var(--white);
  text-align: center;
  padding: var(--section-py-sm) 0;
}
.toulouse h2 { color: var(--white); margin-bottom: 20px; }
.toulouse p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}
.toulouse .eyebrow { color: var(--gold); }

/* Séparateur doré sous le bandeau */
.toulouse::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 36px auto 0;
}

/* ---- 11. Process (Comment ça marche) ---- */
.process { background: var(--cream); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.process__step { text-align: center; position: relative; }
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -22px;
  width: 30px;
  height: 1px;
  background: var(--border-strong);
}
.process__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-style: italic;
}
.process h3.h4-style { color: var(--anthracite); margin-bottom: 10px; font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.process__step p { font-size: 14px; color: var(--slate-light); line-height: 1.6; }

/* ---- 12. Témoignages ---- */
.testimonials { background: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.testimonial {
  background: var(--cream);
  padding: 48px 40px;
  position: relative;
  border-left: 2px solid var(--gold);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold-pale);
  line-height: 1;
}
.testimonial__stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 18px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--anthracite);
  margin: 0 0 24px;
  padding: 0;
  border: none;
}
.testimonial__author {
  font-size: 13px;
  color: var(--slate-light);
  letter-spacing: 0.05em;
}
.testimonial__author strong {
  display: block;
  color: var(--anthracite);
  font-weight: 500;
  margin-bottom: 2px;
}

/* ---- 13. CTA final ---- */
.cta-final {
  background: var(--cream);
  text-align: center;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 1px;
  background: var(--gold);
  top: 50%;
  opacity: 0.3;
}
.cta-final::before { left: 0; }
.cta-final::after { right: 0; }
.cta-final h2 { margin-bottom: 20px; }
.cta-final p {
  color: var(--slate-light);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* ---- 14. Footer ---- */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__logo img { height: 60px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__about { color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 320px; }
.footer h3.h4-style {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer ul a:hover { color: var(--gold); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
}
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.25s ease;
}
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.6); margin-left: 20px; }
.footer__bottom a:hover { color: var(--gold); }

/* ---- 15. Animations au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* Première vue hero : animation auto sans scroll */
.hero .reveal { opacity: 0; transform: translateY(16px); animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero .reveal--delay-1 { animation-delay: 0.2s; }
.hero .reveal--delay-2 { animation-delay: 0.4s; }
.hero .reveal--delay-3 { animation-delay: 0.6s; }
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- 16. Responsive ---- */

/* Tablette (≤ 991px) */
@media (max-width: 991px) {
  :root {
    --section-py: clamp(56px, 8vw, 80px);
  }

  /* Header */
  .header__nav,
  .header__actions .btn--ghost,
  .header__actions .btn--primary {
    display: none;
  }
  .header__burger { display: block; }
  .header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 32px 28px;
    gap: 4px;
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .header__nav.is-open li {
    border-bottom: 1px solid var(--border);
  }
  .header__nav.is-open li:last-child { border-bottom: none; }
  .header__nav.is-open a {
    font-size: 17px;
    padding: 18px 0;
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
  }
  .header__nav.is-open a::after { display: none; }

  /* Grilles 3 colonnes → 1 colonne propre */
  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .process__step::after { display: none; }

  /* Stats : verticales sur mobile, plus aérées */
  .stats__grid { grid-template-columns: 1fr; border-left: none; }
  .stats__item {
    padding: 36px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stats__item:last-child { border-bottom: none; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer__about { max-width: none; }
  .footer__logo + .footer__about + .footer__social,
  .footer > .container > .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .testimonials__grid { gap: 20px; }
  .cta-final::before, .cta-final::after { display: none; }
}

/* Mobile (≤ 575px) — refonte poussée */
@media (max-width: 575px) {
  :root {
    --section-py: 56px;
    --section-py-sm: 44px;
  }

  /* Image verticale dédiée mobile (ratio 9:19.5 adapté aux smartphones) */
  .hero {
    background-image: url('../img/hero-portrait-1080.jpg');
  }

  h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.18; }
  h2 { font-size: clamp(26px, 7vw, 34px); line-height: 1.2; }

  .container { padding: 0 22px; }

  /* Header plus serré */
  .header { padding: 14px 0; }
  .header.is-scrolled { padding: 10px 0; }
  .header__logo img { height: 38px; }
  .header.is-scrolled .header__logo img { height: 34px; }
  .header__inner { gap: 12px; }

  /* Hero plus respirant */
  .hero {
    min-height: 100vh;
    min-height: 100dvh; /* iOS Safari */
    padding: 100px 0 100px;
    /* Image carrée pour tablette */
    background-image: url('../img/hero-square-1536.jpg');
  }
  .hero__content {
    padding: 0 16px;
    width: 100%;
  }
  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.18;
  }
  .hero__subtitle {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 12px;
  }
  .hero__scroll { display: none; }

  /* Eyebrows plus discrètes */
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
  }
  .section-title { margin-bottom: 40px; }

  /* Stats : grille de 1 simple, chiffres plus impactants */
  .stats__number {
    font-size: 44px;
    margin-bottom: 8px;
  }
  .stats__label {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .stats__item { padding: 30px 20px; }

  /* Services */
  .service {
    padding: 36px 28px;
  }
  .service__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
  }

  /* Process : 2 colonnes plus serrées */
  .process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .process__num {
    width: 40px;
    height: 40px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Bandeau Toulouse plus serré */
  .toulouse {
    padding: 56px 0;
  }
  .toulouse::after { margin-top: 28px; }

  /* Témoignages */
  .testimonial {
    padding: 32px 24px;
  }
  .testimonial::before {
    font-size: 64px;
    top: -6px;
    left: 22px;
  }
  .testimonial blockquote {
    font-size: 17px;
  }

  /* CTA final */
  .cta-final p {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .cta-final .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer en 1 colonne propre */
  .footer {
    padding: 56px 0 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }
  .footer__logo img { height: 50px; }
  .footer__about { font-size: 14px; }
  .footer h3.h4-style {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 12px;
  }
  .footer__bottom div:last-child a { margin: 0 8px; }
  .footer__social { gap: 10px; }
  .footer__social a {
    width: 40px;
    height: 40px;
  }
}

/* Très petits écrans (≤ 380px) */
@media (max-width: 380px) {
  .header__logo img { height: 34px; }
  .header__actions { gap: 8px; }
  h1 { font-size: 28px; }
  .hero { padding: 100px 0 60px; }
  .container { padding: 0 18px; }
}

/* Print */
@media print {
  .header, .footer, .hero__scroll { display: none; }
}

/* Préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- 17. Menu burger : items mobile-only ---- */
/* Par défaut (desktop), on cache "Réserver un séjour" et "Estimation gratuite"
   du menu, car ils sont déjà visibles dans .header__actions. */
.header__nav-mobile-only {
  display: none;
}
/* Sur tablette et mobile (≤ 991px), on les affiche dans le menu burger,
   puisque le .header__actions est masqué. */
@media (max-width: 991px) {
  .header__nav-mobile-only {
    display: list-item;
  }
  /* Petite touche : on met l'item "Estimation gratuite" en doré
     pour bien marquer le CTA principal */
  .header__nav-mobile-only--cta a {
    color: var(--gold) !important;
    font-weight: 500;
  }
}

/* ============================================================
 * STYLES POUR LES PAGES INTERNES (V2)
 * ============================================================ */

/* ---- Hero secondaire (toutes pages sauf home) ---- */
.page-hero {
  padding: 160px 0 60px;
  background: var(--cream);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 36px auto 0;
}
.page-hero h1 {
  margin-bottom: 20px;
}
.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.page-hero__subtitle {
  font-size: 17px;
  color: var(--slate-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}
@media (max-width: 575px) {
  .page-hero { padding: 120px 0 40px; }
  .page-hero__subtitle { font-size: 15px; }
  .page-hero::after { margin: 24px auto 0; }
}

/* ============================================================
 * SERVICES (services.html)
 * ============================================================ */
.service-detail {
  padding: var(--section-py) 0;
  background: var(--white);
}
.service-detail--alt {
  background: var(--cream);
}
.service-detail__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.service-detail__num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.service-detail__icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--cream);
}
.service-detail__icon svg {
  width: 30px;
  height: 30px;
}
.service-detail__numtxt {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}
.service-detail__content h2 {
  margin-bottom: 20px;
}
.service-detail__lead {
  font-size: 18px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--anthracite);
  margin-bottom: 32px;
  line-height: 1.5;
}
.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail__list li {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.service-detail__list li:last-child {
  border-bottom: 1px solid var(--border);
}
.service-detail__list strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--anthracite);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.service-detail__list p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
}
@media (max-width: 767px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-detail__num {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .service-detail__icon {
    width: 48px;
    height: 48px;
  }
  .service-detail__icon svg {
    width: 22px;
    height: 22px;
  }
  .service-detail__numtxt {
    font-size: 56px;
  }
  .service-detail__lead {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

/* ============================================================
 * TARIFS (tarifs.html)
 * ============================================================ */
.pricing {
  padding: var(--section-py) 0;
  background: var(--white);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing__card {
  background: var(--cream);
  padding: 48px 40px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing__card--featured {
  background: var(--white);
  border: 1.5px solid var(--gold);
  box-shadow: 0 20px 60px rgba(184, 149, 62, 0.12);
}
.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 18px;
  white-space: nowrap;
}
.pricing__card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
}
.pricing__desc {
  color: var(--slate-light);
  font-size: 14px;
  margin-bottom: 28px;
  min-height: 48px;
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing__number {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.pricing__unit {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
}
.pricing__period {
  font-size: 13px;
  color: var(--slate-light);
  margin-left: 12px;
  flex: 1;
}
.pricing__number-text {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  font-style: italic;
}
.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.pricing__features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--anthracite);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pricing__check {
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}
.pricing__included {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 6px;
}
.pricing__cta {
  width: 100%;
  justify-content: center;
}
.pricing__note {
  margin: 60px auto 0;
  max-width: 720px;
  text-align: center;
  padding: 32px;
  background: var(--gold-bg);
  border-left: 2px solid var(--gold);
}
.pricing__note p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}
.pricing__note strong {
  color: var(--anthracite);
}

.pricing-why {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.pricing-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.pricing-why__item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--anthracite);
  margin-bottom: 14px;
}
.pricing-why__item p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.65;
}

/* ---- Partner / Capsul ---- */
.partner {
  padding: var(--section-py) 0;
  background: var(--anthracite);
  color: var(--cream);
}
.partner__inner {
  max-width: 920px;
  margin: 0 auto;
}
.partner h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 28px;
  text-align: center;
}
.partner h2 em {
  color: var(--gold);
  font-style: italic;
}
.partner .eyebrow {
  display: block;
  text-align: center;
  color: var(--gold);
}
.partner__lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.partner__lead strong {
  color: var(--gold-light);
}
.partner__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}
.partner__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.partner__check {
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}
.partner__list strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.partner__list p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
}
.partner__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.partner .btn--outline {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.4);
}
.partner .btn--outline:hover {
  background: var(--cream);
  color: var(--anthracite);
  border-color: var(--cream);
}
.partner__footnote {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .partner__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing__card {
    padding: 40px 28px;
  }
  .pricing-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
 * ÉQUIPE (equipe.html)
 * ============================================================ */
.team-page {
  padding: var(--section-py) 0;
  background: var(--white);
}
.team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 100px;
}
.team-member:last-child {
  margin-bottom: 0;
}
.team-member--reverse {
  grid-template-columns: 1fr 280px;
}
.team-member--reverse .team-member__content {
  order: 1;
}
.team-member--reverse .team-member__photo {
  order: 2;
}
.team-member__photo {
  position: relative;
}
.team-member__photo::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.team-member__photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
}
.team-member__role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-member__content h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 24px;
}
.team-member__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .team-member,
  .team-member--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }
  .team-member--reverse .team-member__content { order: 2; }
  .team-member--reverse .team-member__photo { order: 1; }
  .team-member__photo {
    max-width: 240px;
    margin: 0 auto;
  }
  .team-member__photo::before {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
  }
}

/* ============================================================
 * À PROPOS (a-propos.html)
 * ============================================================ */
.story {
  padding: var(--section-py) 0;
  background: var(--white);
}
.story__chapter {
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.story__chapter:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.story__chapter h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 24px;
}
.story__chapter p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 16px;
}

.values {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.value {
  background: var(--white);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--border);
}
.value__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.value h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.value p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .values__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
 * FAQ (faq.html)
 * ============================================================ */
.faq-page {
  padding: var(--section-py) 0;
  background: var(--white);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-item__q { color: var(--gold); }
.faq-item__q {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--anthracite);
  transition: color 0.2s;
  line-height: 1.3;
  flex: 1;
}
.faq-item__icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--white);
}
.faq-item__a {
  padding: 0 0 28px;
  max-width: 760px;
}
.faq-item__a p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a strong {
  color: var(--anthracite);
}

@media (max-width: 575px) {
  .faq-item__q {
    font-size: 17px;
  }
  .faq-item summary {
    padding: 22px 0;
    gap: 16px;
  }
  .faq-item__icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/* ============================================================
 * ESTIMATION (estimation.html — formulaire)
 * ============================================================ */
.estimation {
  padding: var(--section-py) 0;
  background: var(--white);
}
.estimation__form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.form-step {
  border: none;
  padding: 0;
  margin: 0;
}
.form-step__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--anthracite);
  margin-bottom: 28px;
  padding: 0;
}
.form-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  border-radius: 50%;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-required {
  color: var(--gold);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--anthracite);
  border-radius: 0;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}
.form-checkbox label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
  margin: 0;
}
.form-checkbox label a {
  color: var(--gold);
  text-decoration: underline;
}
.form-actions {
  text-align: center;
  margin-top: 16px;
}
.form-actions .btn {
  min-width: 280px;
}
.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-light);
}

@media (max-width: 575px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-step__title {
    font-size: 22px;
  }
  .form-step__num {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .form-actions .btn {
    min-width: auto;
    width: 100%;
  }
}

/* ============================================================
 * SÉJOURS (sejours.html)
 * ============================================================ */
.sejours-promise {
  padding: var(--section-py) 0;
  background: var(--white);
}
.sejours-promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.sejours-promise__item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 14px;
}
.sejours-promise__item p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.7;
}

.sejours-booking {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.sejours-booking__widget {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}
.sejours-booking__widget iframe {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
}

.quartiers {
  padding: var(--section-py) 0;
  background: var(--white);
}
.quartiers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.quartier {
  background: var(--cream);
  padding: 32px 28px;
  border-left: 2px solid var(--gold);
}
.quartier h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--anthracite);
}
.quartier p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .sejours-promise__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .quartiers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 575px) {
  .quartiers__grid {
    grid-template-columns: 1fr;
  }
  .sejours-booking__widget iframe {
    height: 900px;
  }
}

/* ============================================================
 * PAGES LÉGALES (mentions-legales, conditions, confidentialite)
 * ============================================================ */
.legal {
  padding: var(--section-py) 0;
  background: var(--white);
}
.legal__article {
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal__article:last-child {
  border-bottom: none;
}
.legal__article h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--anthracite);
}
.legal__article p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 14px;
}
.legal__article strong {
  color: var(--anthracite);
  font-weight: 500;
}
.legal__article a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal__article a:hover {
  color: var(--anthracite);
}
.legal__article ul {
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal__article li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 8px;
}
.legal__date {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--slate-light);
  font-style: italic;
  text-align: center;
}

@media (max-width: 575px) {
  .legal__article h2 {
    font-size: 22px;
  }
  .legal__article p,
  .legal__article li {
    font-size: 14px;
  }
}

/* ---- Utility : screen-reader only (SEO / accessibilité) ---- */
.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;
}

/* ============================================================
 * FORMULAIRE — BLOC FEEDBACK (success / error)
 * ============================================================ */
.form-feedback {
  margin-bottom: 48px;
  padding: 40px 32px;
  text-align: center;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.form-feedback svg {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--gold);
}
.form-feedback h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--anthracite);
}
.form-feedback p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
.form-feedback a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-feedback__success svg {
  color: #2E8B57;
}
.form-feedback__error svg {
  color: #C23B3B;
}
.form-feedback > div { display: none; }

/* ============================================================
 * CONTACT — Bloc coordonnées
 * ============================================================ */
.contact-info {
  padding: var(--section-py) 0 0;
  background: var(--white);
}
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.contact-info__item {
  text-align: center;
  padding: 40px 28px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
}
.contact-info__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 20px;
  background: var(--white);
}
.contact-info__icon svg {
  width: 26px;
  height: 26px;
}
.contact-info__item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--anthracite);
}
.contact-info__item p {
  font-size: 15px;
  color: var(--slate);
  margin: 0 0 6px;
  line-height: 1.6;
}
.contact-info__item a {
  color: var(--anthracite);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s;
}
.contact-info__item a:hover {
  color: var(--gold);
}
.contact-info__detail {
  font-size: 13px !important;
  color: var(--slate-light) !important;
  font-style: italic;
  margin-top: 8px !important;
}

@media (max-width: 767px) {
  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-feedback {
    padding: 32px 24px;
  }
  .form-feedback h3 {
    font-size: 22px;
  }
}

/* ============================================================
 * PARTENAIRES (partenaires.html)
 * ============================================================ */
.partners {
  padding: var(--section-py) 0;
  background: var(--white);
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Carte partenaire ---- */
.partner-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

/* ---- Zone photo (avec fallback dégradé d'ambiance) ---- */
.partner-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.partner-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
}
.partner-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 26, 26, 0.15) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ---- Fallback : dégradés d'ambiance par catégorie ---- */
/* Si l'image n'existe pas (onerror cache l'img), on voit le fond du parent.
   Chaque variante a son dégradé + motif décoratif léger. */
.partner-card__media--night {
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 149, 62, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
}
.partner-card__media--gold {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #E5C66E 0%, #B8953E 100%);
}
.partner-card__media--sage {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #A8B89C 0%, #6D8268 100%);
}
.partner-card__media--lavender {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #C8B8D4 0%, #8A789B 100%);
}
.partner-card__media--plum {
  background:
    radial-gradient(circle at 30% 70%, rgba(184, 149, 62, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #6B3A5A 0%, #3D1F3A 100%);
}
.partner-card__media--earth {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #A78465 0%, #6B4A3A 100%);
}

/* ---- Body de la carte ---- */
.partner-card__body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.partner-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.partner-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--anthracite);
  line-height: 1.2;
}
.partner-card__desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 20px;
}
.partner-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.partner-card__features li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: 6px;
}
.partner-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anthracite);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  transition: color 0.2s, gap 0.2s;
}
.partner-card__link:hover {
  color: var(--gold);
  gap: 12px;
}
.partner-card__link svg {
  width: 14px;
  height: 14px;
}

/* ---- Comment ça marche ---- */
.partners-how {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.partners-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 48px 0;
}
.partners-how__step {
  text-align: center;
}
.partners-how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  margin-bottom: 18px;
}
.partners-how__step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--anthracite);
}
.partners-how__step p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}
.partners-how__note {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-left: 2px solid var(--gold);
  max-width: 640px;
  margin: 0 auto;
}
.partners-how__note p {
  font-size: 15px;
  color: var(--slate);
  margin: 0;
  line-height: 1.7;
}
.partners-how__note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .partners__grid,
  .partners-how__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner-card__body {
    padding: 28px 24px;
  }
  .partner-card h2 {
    font-size: 24px;
  }
}

/* ---- Partners CTA (sur sejours.html) ---- */
.partners-cta {
  padding: var(--section-py) 0;
  background: var(--cream);
  text-align: center;
}
.partners-cta h2 {
  margin-bottom: 24px;
}
.partners-cta > .container > p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ============================================================
 * FORMULAIRES — Compteur de caractères textarea
 * ============================================================ */
.form-counter {
  font-size: 12px;
  color: var(--slate-light);
  margin: 6px 0 0;
  text-align: right;
  font-feature-settings: 'tnum' 1; /* chiffres tabulaires : pas de gigotage */
}
.form-counter__num {
  font-weight: 500;
  color: var(--slate);
}
.form-counter.is-near .form-counter__num {
  color: #B8953E;
}
.form-counter.is-warning .form-counter__num {
  color: #C23B3B;
}

/* ---- Style d'erreur pour les inputs invalides (HTML5 :invalid) ---- */
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: #C23B3B;
}
.form-field input:valid:not(:placeholder-shown) {
  border-color: var(--gold);
}

/* ============================================================
 * BANDEAU TRADUCTION (visible visiteurs non francophones)
 * ============================================================ */
.i18n-banner {
  background: var(--anthracite);
  color: var(--cream);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(184, 149, 62, 0.4);
  position: relative;
  z-index: 100;
}
.i18n-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  min-height: 40px;
}
.i18n-banner__msg {
  flex: 1;
  text-align: center;
  line-height: 1.45;
  color: rgba(250, 247, 242, 0.85);
  max-width: 900px;
}
.i18n-banner__close {
  background: none;
  border: none;
  color: rgba(250, 247, 242, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.i18n-banner__close:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}
.i18n-banner__close svg {
  width: 16px;
  height: 16px;
}

/* Sur mobile : message un peu plus condensé */
@media (max-width: 575px) {
  .i18n-banner {
    font-size: 12px;
  }
  .i18n-banner__inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .i18n-banner__msg {
    line-height: 1.4;
  }
}

/* ============================================================
 * ÉQUIPEMENT (equipement.html) — format tableau
 * ============================================================ */

/* ---- Légende avec les 3 niveaux ---- */
.equip-legend {
  padding: 0 0 var(--section-py);
  background: var(--white);
}
.equip-legend__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.equip-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
}

/* ---- Badge niveau ---- */
.equip-badge {
  display: inline-block;
  padding: 3px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 99px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.equip-badge--must {
  background: var(--anthracite);
  color: var(--cream);
}
.equip-badge--reco {
  background: var(--gold);
  color: var(--white);
}
.equip-badge--plus {
  background: var(--cream);
  color: var(--anthracite);
  border: 1px solid var(--gold);
}

/* ---- Section tableau ---- */
.equip-table-section {
  padding: 0 0 var(--section-py);
  background: var(--white);
}
.equip-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
}
.equip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--white);
}

/* En-tête */
.equip-table thead th {
  background: var(--anthracite);
  color: var(--cream);
  text-align: left;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.equip-table thead th:last-child { border-right: none; }
.equip-th--cat   { width: 22%; }
.equip-th--items { width: 60%; }
.equip-th--level { width: 18%; text-align: center; }

/* Lignes */
.equip-table tbody tr {
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.equip-table tbody tr:nth-child(even) {
  background: var(--cream);
}
.equip-table tbody tr:hover {
  background: rgba(184, 149, 62, 0.06);
}

/* Cellules */
.equip-table td {
  padding: 20px 24px;
  vertical-align: top;
  border-right: 1px solid var(--border);
}
.equip-table td:last-child {
  border-right: none;
  text-align: center;
}

.equip-row__cat {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--anthracite);
  line-height: 1.25;
}

.equip-row__items ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.equip-row__items li {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.5;
  padding: 3px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.equip-table tbody tr:nth-child(even) .equip-row__items li {
  background: rgba(255, 255, 255, 0.7);
}

.equip-row__level {
  vertical-align: middle !important;
}

/* ---- Responsive : tablette ---- */
@media (max-width: 991px) {
  .equip-table { font-size: 14px; }
  .equip-table td { padding: 16px 18px; }
  .equip-table thead th { padding: 14px 18px; }
  .equip-row__cat { font-size: 17px; }
}

/* ---- Responsive : mobile (transformation en cartes) ---- */
@media (max-width: 700px) {
  .equip-legend__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* On masque l'en-tête sur mobile */
  .equip-table thead {
    display: none;
  }
  .equip-table,
  .equip-table tbody,
  .equip-table tr,
  .equip-table td {
    display: block;
    width: 100%;
  }
  .equip-table-wrap {
    border: none;
  }
  .equip-table tbody tr {
    background: var(--white) !important;
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    margin-bottom: 20px;
    padding: 0;
  }
  .equip-table td {
    padding: 14px 20px;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    text-align: left !important;
  }
  .equip-table td:last-child {
    border-bottom: none;
    padding-top: 16px;
    padding-bottom: 18px;
  }
  /* Affichage du label de la colonne via data-label */
  .equip-row__cat::before,
  .equip-row__level::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 500;
  }
  .equip-row__cat {
    font-size: 22px;
    padding-top: 18px;
  }
  .equip-row__items {
    padding-top: 14px;
  }
  .equip-row__items li {
    font-size: 13px;
  }
}
/* ============================================================
 * PAGES LÉGALES (mentions, conditions, confidentialité)
 * ============================================================ */
.legal-content {
  padding: 60px 0 var(--section-py);
  background: var(--white);
}
.legal-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-block {
  margin-bottom: 48px;
}
.legal-block:last-of-type {
  margin-bottom: 32px;
}
.legal-block h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--anthracite);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  line-height: 1.25;
}
.legal-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 14px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong {
  color: var(--anthracite);
  font-weight: 500;
}
.legal-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-block a:hover {
  color: var(--anthracite);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.legal-warn {
  margin-top: 16px !important;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 14px !important;
  color: var(--slate-light);
}

.legal-update {
  margin-top: 56px !important;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px !important;
  color: var(--slate-light) !important;
  font-style: italic;
  text-align: center;
}

/* ---- Mobile ---- */
@media (max-width: 575px) {
  .legal-block h2 { font-size: 22px; }
  .legal-block p,
  .legal-list li { font-size: 14.5px; }
}

/* ---- Actions sur les cartes partenaires (flyer + contacter) ---- */
.partner-card__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  margin-top: auto;
}
