/* ============================================================
   Cabinet Naturo — Feuille de style principale
   Auteur : Thème personnalisé Marion Verdoni
   ============================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  /* Palette */
  --sage:            #5B8C6B;
  --sage-light:      #8BBF9F;
  --sage-xlight:     #C8E0D0;
  --sage-dark:       #3A5C47;
  --sage-xdark:      #1E3328;
  --warm:            #C4976A;
  --warm-light:      #E4C5A0;
  --warm-xlight:     #F2E0CB;
  --cream:           #F8F5EF;
  --beige:           #EDE7DA;
  --beige-dark:      #DDD5C5;
  --text:            #2A2520;
  --text-mid:        #5C5248;
  --text-light:      #9C8E82;
  --white:           #FFFFFF;

  /* Typographie */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements */
  --gap-xs:   0.5rem;
  --gap-sm:   1rem;
  --gap-md:   2rem;
  --gap-lg:   4rem;
  --gap-xl:   6rem;
  --gap-xxl:  10rem;

  /* Layout */
  --container:        1200px;
  --container-narrow:  800px;
  --nav-height:         80px;

  /* Bordures */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-xs: 0 1px 4px rgba(42, 37, 32, 0.06);
  --shadow-sm: 0 2px 12px rgba(42, 37, 32, 0.08);
  --shadow-md: 0 4px 24px rgba(42, 37, 32, 0.12);
  --shadow-lg: 0 8px 48px rgba(42, 37, 32, 0.16);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans: 0.35s var(--ease);
  --trans-fast: 0.2s var(--ease);

  /* Z-index */
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
/*
 * Spécificité zéro grâce à :where() → toute classe tierce (WebbaBooking, etc.)
 * peut surcharger ces valeurs sans avoir besoin d'isolation supplémentaire.
 */
:where(*, *::before, *::after) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:where(img, video, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--trans-fast);
}
a:hover { color: var(--sage-dark); }

:where(ul, ol) { list-style: none; }

:where(button, input, textarea, select) {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

address { font-style: normal; }

/* Focus visible accessible */
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ── 3. TYPOGRAPHIE ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1rem;   font-weight: 600; }

p + p { margin-top: 1em; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: var(--z-modal);
  padding: 0.5rem 1rem;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius-sm);
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--gap-xl);
  position: relative;
  overflow: hidden;
}

.section--light-bg { background-color: var(--cream); }
.section--alt-bg   { background-color: var(--beige); }

/* ── 5. BOUTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.btn:hover::before { transform: scaleX(1); }

.btn--primary {
  background-color: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  box-shadow: 0 4px 16px rgba(91, 140, 107, 0.3);
}
.btn--primary:hover {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(91, 140, 107, 0.4);
}

.btn--ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn--outline:hover {
  background-color: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--warm {
  background-color: transparent;
  color: var(--warm);
  border-color: var(--warm);
}
.btn--warm:hover {
  background-color: var(--warm);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg { padding: 1em 2.4em; font-size: 1rem; }
.btn--sm { padding: 0.6em 1.4em; font-size: 0.8rem; }

/* ── 6. NAVIGATION ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  transition: background-color var(--trans), box-shadow var(--trans);
}

/* État par défaut: transparent sur le hero */
.site-header {
  background-color: transparent;
}

/* Quand la page a défilé */
.site-header.is-scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled .nav-brand__name,
.site-header.is-scrolled .nav-brand__tagline {
  color: var(--text);
}

.site-header.is-scrolled .nav-menu > li > a {
  color: var(--text);
}
.site-header.is-scrolled .nav-menu > li > a:hover {
  color: var(--sage);
}

.site-header.is-scrolled .nav-toggle__bar {
  background-color: var(--text);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  gap: var(--gap-md);
}

/* Logo / marque */
.nav-brand { flex-shrink: 0; }

.nav-brand__text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-brand__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: color var(--trans);
}

.nav-brand__tagline {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--trans);
}

.custom-logo-link img {
  height: 50px;
  width: auto;
  transition: opacity var(--trans);
}
.custom-logo-link:hover img { opacity: 0.85; }

/* Menu wrapper */
.nav-menu-wrapper { flex: 1; display: flex; justify-content: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--white);
  background-color: rgba(255,255,255,0.15);
}

/* CTA nav */
.nav-cta { flex-shrink: 0; }
.nav-cta .btn {
  font-size: 0.8rem;
  padding: 0.7em 1.4em;
}

/* Bouton hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background-color var(--trans-fast);
  flex-shrink: 0;
}
.nav-toggle:hover { background-color: rgba(255,255,255,0.1); }

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--trans);
  transform-origin: center;
}

/* État ouvert du hamburger */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 51, 40, 0.88) 0%,
    rgba(58, 92, 71, 0.75) 50%,
    rgba(196, 151, 106, 0.45) 100%
  );
}

/* Formes organiques décoratives */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero__shape--1 {
  width: 600px;
  height: 600px;
  background: var(--sage-light);
  top: -200px;
  right: -100px;
}
.hero__shape--2 {
  width: 400px;
  height: 400px;
  background: var(--warm);
  bottom: -100px;
  left: -100px;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-block: var(--gap-xl);
}

.hero__content {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-light);
  margin-bottom: var(--gap-sm);
  padding: 0.4em 1em;
  border: 1px solid rgba(228, 197, 160, 0.4);
  border-radius: var(--radius-full);
  background: rgba(228, 197, 160, 0.1);
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--gap-sm);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--gap-md);
  max-width: 520px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap-md);
}

.hero__tags span {
  font-size: 0.75rem;
  padding: 0.3em 0.9em;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Indicateur scroll */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-full);
  position: relative;
}

.hero__scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-full);
  animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(14px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

/* ── 8. EN-TÊTES DE SECTIONS ──────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--gap-lg);
  max-width: 700px;
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: var(--gap-sm);
}

.section-eyebrow--light { color: var(--warm-light); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--gap-sm);
  line-height: 1.15;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
}

/* ── 9. PRESTATIONS ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
  transition: all var(--trans);
  animation-delay: var(--delay, 0s);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-xlight);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--sage-xlight), var(--warm-xlight));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  color: var(--sage-dark);
}

.service-card__body { flex: 1; }

.service-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.service-card__description {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  text-align: justify;
}

.service-card__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.75rem;
}

.service-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--beige-dark); }

/* ── 10. À PROPOS ─────────────────────────────────────────── */
.section--about {
  background-color: var(--beige);
  padding-block: var(--gap-xl);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.about-image__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-image__frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  /* placeholder si pas d'image */
  background: linear-gradient(135deg, var(--sage-xlight), var(--beige-dark));
}

/* Badge décoratif sur la photo */
.about-image__badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 110px;
}

.about-image__badge-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}

.about-image__badge-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 0.25rem;
}

.about-content { padding-left: var(--gap-sm); }

.about-content .section-eyebrow { display: block; margin-bottom: 0.5rem; }

.about-content .section-title { text-align: left; margin-bottom: 1.5rem; }

.about-content__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-certifications {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-certifications li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.about-certifications li svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* ── 11. RÉSERVATION ──────────────────────────────────────── */
.section--booking {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-xdark) 100%);
  color: var(--white);
  padding-block: var(--gap-xl);
  position: relative;
  overflow: hidden;
}

.booking-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.booking-bg__shape {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 191, 159, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking-intro .section-title { margin-bottom: 1rem; }
.booking-intro p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.booking-features li svg { color: var(--warm-light); flex-shrink: 0; }

.booking-widget__inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  min-height: 300px;
}

/*
 * Isolation WebbaBooking — SUPPRIMÉE.
 * Le passage du reset global à :where() (spécificité zéro) suffit :
 * toute classe du plugin surcharge naturellement nos resets sans conflit.
 */


/* Placeholder WebbaBooking */
.booking-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
  color: var(--text-mid);
}

.booking-placeholder svg { color: var(--sage-light); }
.booking-placeholder p { font-size: 0.95rem; }

/* ── 12. TARIFS ───────────────────────────────────────────── */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tarif-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--beige-dark);
  box-shadow: var(--shadow-xs);
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation-delay: var(--delay, 0s);
}

.tarif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tarif-card--featured {
  border-color: var(--sage);
  background: linear-gradient(135deg, rgba(91,140,107,0.04), var(--white));
}

.tarif-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--sage);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-full);
}

.tarif-card__service {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.tarif-card__details {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.tarif-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--beige-dark);
}

.tarif-card__duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tarif-card__price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sage);
}

.tarif-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.tarif-card__actions .btn {
  flex: 1;
  justify-content: center;
}

.tarif-card__cta { align-self: flex-start; }

.tarifs-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  background: var(--beige);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--sage);
}

.tarifs-note svg { color: var(--sage); flex-shrink: 0; margin-top: 2px; }

/* ── 13. AVIS GOOGLE ─────────────────────────────────────── */
.section--reviews {
  background-color: var(--cream);
  padding-block: var(--gap-xl);
}

.section--reviews .section-header--centered {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--gap-lg);
}

.reviews-widget {
  max-width: 1100px;
  margin-inline: auto;
}

/* ── 14. CONTACT ──────────────────────────────────────────── */
.section--contact {
  background-color: var(--white);
  padding-block: var(--gap-xl);
}

.section--contact .section-header { margin-bottom: var(--gap-md); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gap-lg);
  align-items: start;
}

.contact-map {
  margin-top: var(--gap-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage-xlight), var(--warm-xlight));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage-dark);
}

.contact-info__body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-info__body p,
.contact-info__body address {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-info__body a {
  color: var(--text-mid);
  font-weight: 500;
}
.contact-info__body a:hover { color: var(--sage); }

/* Formulaire */
.contact-form-wrapper {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
}

.contact-form__notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.contact-form__notice--success {
  background: #edf7f0;
  color: #2d6a42;
  border: 1px solid #a8d8b8;
}
.contact-form__notice--error {
  background: #fdf2f0;
  color: #9b3a2a;
  border: 1px solid #f0b8b0;
}
.contact-form__notice svg { flex-shrink: 0; margin-top: 1px; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91, 140, 107, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239C8E82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group--consent { flex-direction: row; align-items: flex-start; }

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sage);
}

.checkbox-label a { color: var(--sage); text-decoration: underline; }

/* ── 14. PIED DE PAGE ─────────────────────────────────────── */
.site-footer {
  background-color: var(--sage-xdark);
  color: rgba(255,255,255,0.75);
}

.footer-top { padding-block: var(--gap-lg); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--gap-md);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: all var(--trans-fast);
}
.footer-social a:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-menu { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-menu li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-fast);
}
.footer-menu li a:hover { color: var(--white); }

.footer-address p {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-address svg { flex-shrink: 0; margin-top: 2px; color: var(--sage-light); }
.footer-address a { color: rgba(255,255,255,0.65); }
.footer-address a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copyright, .footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ── 15. PAGE GÉNÉRIQUE ───────────────────────────────────── */
.page-content {
  padding-top: var(--nav-height);
  min-height: 60vh;
}

.page-hero {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage-xdark));
  color: var(--white);
  padding-block: var(--gap-lg);
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero__excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

.entry-content {
  max-width: 800px;
  margin-inline: auto;
}

.entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content p { margin-bottom: 1rem; color: var(--text-mid); }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-mid);
}
.entry-content li { margin-bottom: 0.4rem; }
.entry-content a { text-decoration: underline; }

/* ── 16. PAGE 404 ─────────────────────────────────────────── */
.error-404 {
  text-align: center;
  padding-block: var(--gap-xl);
  padding-top: calc(var(--nav-height) + var(--gap-xl));
}

.error-404__number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--sage-xlight);
  line-height: 1;
  margin-bottom: 0;
  user-select: none;
}

.error-404__title {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.error-404__message {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.error-404__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 17. ANIMATIONS REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 18. MEDIA QUERIES ────────────────────────────────────── */

/* Tablette large */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
  }
}

/* Tablette */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-content { padding-left: 0; }
  .about-image__badge { right: 0.5rem; }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav-menu-wrapper,
  .nav-cta {
    display: none;
  }

  .nav-toggle { display: flex; }

  /* Menu mobile */
  .nav-menu-wrapper.is-open {
    display: block;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: calc(var(--z-nav) - 1);
  }

  .nav-menu-wrapper.is-open .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-menu-wrapper.is-open .nav-menu > li > a {
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-menu-wrapper.is-open .nav-menu > li > a:hover {
    background-color: var(--cream);
    color: var(--sage);
  }

  .site-header.is-scrolled .nav-toggle__bar { background-color: var(--text); }
  .site-header:not(.is-scrolled) .nav-toggle[aria-expanded="true"] + .nav-cta + .nav-menu-wrapper { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --gap-xl: 4rem;
    --gap-lg: 2.5rem;
  }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 1.5rem; }

  .footer-bottom .container { flex-direction: column; text-align: center; }

  .about-image__frame img { height: 380px; }
  .about-image__badge { bottom: 1rem; right: 0; }
}

/* ── 19. UTILITAIRES ──────────────────────────────────────── */
.visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Compatibilité WebbaBooking */
.webba-booking-table { width: 100%; }
.wbk-skin-default { font-family: var(--font-body) !important; }
