/* ==========================================================================
   Host' Vosges — Variables de charte, reset, layout responsive (mobile-first)
   Breakpoints : mobile < 480px (base) / tablette >= 768px / desktop >= 1024px
   ========================================================================== */

:root {
  /* Couleurs */
  --color-cream: #ECE7D0;
  --color-forest: #2F523D;
  --color-sage: #758E76;
  --color-ink: #0A0A0A;
  --color-navy: #001425;
  --color-gold: #A9824C;

  /* Typographie */
  --font-heading: 'Chau Philomene One', cursive;
  --font-wordmark: 'Special Elite', cursive;
  --font-body: 'Fira Sans', sans-serif;
}

/* Reset minimal */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-forest);
  margin: 0 0 0.75em;
}

h1 {
  color: var(--color-ink);
}

p {
  margin: 0 0 1em;
  color: var(--color-sage);
  font-size: 1.125rem;
  line-height: 1.65;
}

@media (min-width: 1024px) {
  p {
    font-size: 1.0625rem;
  }
}

a {
  color: var(--color-forest);
  text-decoration: none;
}

ul {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4rem;
  scroll-margin-top: 80px;
}

.hero {
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--color-cream);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.accent-gold {
  color: var(--color-gold);
  font-weight: 700;
}

.accent-forest {
  color: var(--color-forest);
  font-weight: 700;
}

.brand-wordmark,
.hero-wordmark {
  font-family: var(--font-wordmark);
}

.why-title {
  color: var(--color-navy);
}

/* ==========================================================================
   Header — ne doit jamais être coupé / provoquer de scroll horizontal
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-cream);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  width: clamp(28px, 8vw, 40px);
  height: auto;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: clamp(0.85rem, 3.5vw, 1.15rem);
  color: var(--color-forest);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bouton burger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-forest);
  border-radius: 2px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: var(--color-forest);
  border-radius: 2px;
}

.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

/* Nav mobile : panneau déroulant sous le header */
.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-cream);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  transition: max-height 0.3s ease;
}

.main-nav.is-open {
  max-height: 400px;
}

.main-nav ul {
  list-style: none;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-nav a {
  font-weight: 700;
  color: var(--color-forest);
}

.nav-cta {
  display: inline-block;
  background-color: var(--color-forest);
  color: var(--color-cream) !important;
  padding: 0.5em 1.25em;
  border-radius: 999px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    width: auto;
    background: none;
    border-bottom: none;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   Hero — photo pleine largeur, overlay, parallaxe légère
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
  padding-block: 6rem 5rem;
  --parallax-offset: 0px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12% -5%;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(47, 82, 61, 0.75) 60%, rgba(47, 82, 61, 0.88) 100%),
    url("../assets/foret-lac.jpg");
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-offset));
  will-change: transform;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-logo {
  width: clamp(120px, 22vw, 160px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.hero-tagline {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-wordmark {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--color-cream);
  margin: 0;
}

.hero-subtitle {
  max-width: 32em;
  margin: 0.5rem 0 1rem;
  color: var(--color-gold);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero .btn-primary {
  background-color: var(--color-cream);
  color: var(--color-forest);
}

.hero .btn-primary:hover {
  background-color: #fff;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 7rem 6rem;
  }
}

/* ==========================================================================
   Qui sommes-nous / Secteur / Philosophie — image + texte
   ========================================================================== */

/* "Notre secteur de gestion" — photo panoramique en fond de section, fondue vers le crème */
#secteur {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 3.5rem;
}

.zones-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#secteur::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(
      180deg,
      var(--color-cream) 0%,
      rgba(236, 231, 208, 0) 22%,
      rgba(236, 231, 208, 0) 78%,
      var(--color-cream) 100%
    ),
    linear-gradient(rgba(47, 82, 61, 0.5), rgba(47, 82, 61, 0.5));
}

#secteur .zones-inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  #secteur {
    padding-block: 6rem;
  }
}

@media (min-width: 1024px) {
  #secteur {
    padding-block: 8rem;
  }
}

.zones-inner,
.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.zones-photo,
.philosophy-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.3);
  aspect-ratio: 4 / 3;
}

/* Carte interactive Leaflet — "Notre secteur de gestion" */
.zones-map {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.3);
  background-color: var(--color-sage);
}

@media (min-width: 768px) {
  .zones-map {
    height: 420px;
  }
}

.zone-marker-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--color-forest);
  border: 2px solid var(--color-cream);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 4px 10px rgba(10, 10, 10, 0.35);
  transform: rotate(-45deg);
}

.zone-marker-pin svg {
  transform: rotate(45deg);
}

.leaflet-div-icon.zone-marker {
  background: transparent;
  border: none;
}

.leaflet-popup-content-wrapper,
.leaflet-tooltip {
  background-color: var(--color-cream);
  color: var(--color-forest);
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.2);
}

.leaflet-popup-content {
  margin: 0.6rem 0.85rem;
  font-size: 0.95rem;
}

.leaflet-popup-tip {
  background-color: var(--color-cream);
}

.leaflet-tooltip {
  border: none;
  padding: 0.35rem 0.65rem;
}

.leaflet-tooltip-top::before {
  border-top-color: var(--color-cream);
}

.leaflet-control-zoom a {
  color: var(--color-forest) !important;
}

/* "Qui sommes-nous" — portrait modeste, centré, texte et photo équilibrés */
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.about-photo {
  width: 100%;
  height: auto;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-sage);
  box-shadow: 0 12px 24px -12px rgba(10, 10, 10, 0.25);
  margin-inline: auto;
  flex-shrink: 0;
}

.about-text {
  max-width: 34em;
}

.zones-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.zones-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 700;
  color: var(--color-forest);
}

.zones-detail-link {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  vertical-align: middle;
  color: var(--color-gold);
}

.zones-detail-link:hover {
  color: var(--color-forest);
}

.zones-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-forest);
}

@media (min-width: 768px) {
  .zones-inner,
  .philosophy-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .about-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 3rem;
    max-width: 720px;
    margin-inline: auto;
  }

  .about-photo {
    max-width: 280px;
    margin-inline: 0;
  }

  .about-text {
    flex: 1;
  }
}

/* ==========================================================================
   Process — Nos 4 points (1 colonne mobile obligatoire)
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.06);
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background-color: var(--color-forest);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-card p {
  margin: 0;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ==========================================================================
   Prestations — grille d'icônes (1 colonne mobile obligatoire)
   ========================================================================== */

.services-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 2rem;
}

.services-photo {
  width: 100%;
  height: clamp(200px, 52vw, 340px);
  border-radius: 16px;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.06);
}

.service-card .icon {
  width: 40px;
  height: 40px;
  color: var(--color-forest);
}

.service-card p {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
}

@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-body {
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
  }

  .services-photo {
    height: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Pourquoi nous choisir
   ========================================================================== */

.why {
  max-width: 46em;
  margin-inline: auto;
  text-align: center;
}

.why-signature {
  font-style: italic;
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.15rem;
  margin: 1.5rem 0 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--color-forest);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-sage);
  border-radius: 8px;
  background-color: #fff;
  color: var(--color-ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232F523D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  cursor: pointer;
}

.contact-form select:invalid {
  color: var(--color-sage);
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #B3261E;
}

.field-error {
  min-height: 1.2em;
  font-size: 0.85rem;
  font-weight: 400;
  color: #B3261E;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.form-message--success {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.form-message--error {
  background-color: #FBEAE9;
  color: #B3261E;
}

.social-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.social-list .icon {
  width: 32px;
  height: 32px;
  color: var(--color-forest);
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 2fr 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 2rem;
  text-align: center;
}

.footer-logo {
  width: 56px;
  height: auto;
}

.footer-phone,
.footer-email {
  font-weight: 700;
}

.footer-tagline {
  font-style: italic;
  margin: 0;
}

.footer-legal {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   Rythme de page — alternance fond crème / vert forêt
   (ciblage par id existants, aucune modification du HTML)
   ========================================================================== */

#process,
#contact {
  background-color: var(--color-forest);
}

#secteur h2,
#process h2,
#contact h2,
#contact h3 {
  color: var(--color-cream);
}

#secteur p,
#process p,
#contact p {
  color: rgba(236, 231, 208, 0.8);
}

#secteur .zones-list li {
  color: var(--color-cream);
}

#secteur .zones-list li::before {
  background-color: var(--color-cream);
}

#process .process-card {
  background-color: rgba(236, 231, 208, 0.08);
  border: 1px solid rgba(236, 231, 208, 0.18);
  box-shadow: none;
}

#process .process-card h3 {
  color: var(--color-cream);
}

#process .process-card p {
  color: rgba(236, 231, 208, 0.75);
}

#process .process-number {
  background-color: var(--color-cream);
  color: var(--color-forest);
}

#contact .contact-form label {
  color: var(--color-cream);
}

#contact .form-message--success {
  background-color: var(--color-cream);
  color: var(--color-forest);
}

#contact .social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-cream);
  border-radius: 50%;
}

#contact .social-list .icon {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Animations au scroll — fade-in / slide-up
   Classes ajoutées dynamiquement par js/main.js, aucune modification du HTML
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero::before {
    transform: none !important;
  }
}

/* ==========================================================================
   Mentions légales
   ========================================================================== */

.legal-content {
  max-width: 760px;
  padding-block: 3rem 5rem;
  margin-inline: auto;
}

.legal-back {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  margin-top: 2.25rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1em;
}

.legal-content li {
  color: var(--color-sage);
  margin-bottom: 0.4rem;
}

.legal-content li strong {
  color: var(--color-forest);
}

/* ==========================================================================
   Nos formules — page comparative
   ========================================================================== */

.btn-ghost {
  background-color: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(236, 231, 208, 0.6);
}

.btn-ghost:hover {
  border-color: var(--color-cream);
}

.plans-intro,
.plans-section {
  background-color: var(--color-forest);
}

.plans-intro h2,
.plans-section h3 {
  color: var(--color-cream);
}

.plans-intro {
  padding-bottom: 0;
  text-align: center;
}

.plans-intro p {
  max-width: 42em;
  margin-inline: auto;
  color: rgba(236, 231, 208, 0.8);
}

.plans-note {
  text-align: center;
  color: rgba(236, 231, 208, 0.7);
  font-style: italic;
  margin-top: 2.5rem;
}

/* Badge "Formule recommandée" */
.plan-badge {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4em 1.1em;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(169, 130, 76, 0.45);
}

.plan-engagement {
  color: rgba(236, 231, 208, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ---- Tableau comparatif (tablette / desktop) ---- */

.plans-table-wrap {
  display: none;
  overflow-x: auto;
}

.plans-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.plans-table th,
.plans-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  vertical-align: middle;
  color: var(--color-cream);
  font-weight: 400;
  font-size: 0.95rem;
  background-color: rgba(117, 142, 118, 0.22);
  border-bottom: 1px solid rgba(236, 231, 208, 0.18);
}

.plans-table__corner {
  background: none;
  border: none;
}

.plans-table thead th {
  border-bottom: none;
  vertical-align: bottom;
  padding-top: 0;
}

.plans-table tbody th[scope="row"] {
  text-align: left;
  color: rgba(236, 231, 208, 0.9);
  background: none;
  border-bottom-color: rgba(236, 231, 208, 0.12);
}

.plans-table .plan-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.plans-table .icon {
  width: 22px;
  height: 22px;
}

.icon-yes {
  color: currentColor;
}

.icon-no {
  opacity: 0.35;
}

.cell-note {
  white-space: nowrap;
}

.cell-note .icon {
  vertical-align: -4px;
  margin-right: 0.25rem;
}

/* Colonne mise en avant (Host'Équilibre) */
.plans-table thead tr > :nth-child(2),
.plans-table tbody tr > :nth-child(2) {
  background-color: var(--color-cream);
  color: var(--color-forest);
  border-left: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
}

.plans-table thead tr > :nth-child(2) h3,
.plans-table thead tr > :nth-child(2) .plan-engagement {
  color: var(--color-forest);
}

.plans-table thead tr > :nth-child(2) {
  border-top: 2px solid var(--color-gold);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 32px rgba(169, 130, 76, 0.25);
  position: relative;
}

.plans-table tbody tr:last-child > :nth-child(2) {
  border-bottom: 2px solid var(--color-gold);
  border-radius: 0 0 16px 16px;
}

.plans-footnote {
  color: rgba(236, 231, 208, 0.6);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* ---- Cartes empilées (mobile) ---- */

.plans-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.plan-card {
  background-color: rgba(117, 142, 118, 0.22);
  border: 1px solid rgba(236, 231, 208, 0.18);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
}

.plan-card__header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.plan-card__header h3 {
  color: var(--color-cream);
  margin-bottom: 0.25rem;
}

.plan-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(236, 231, 208, 0.9);
  font-size: 0.95rem;
}

.plan-card__list li.is-no {
  color: rgba(236, 231, 208, 0.5);
}

.plan-card__list .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.plan-card__note {
  display: block;
  color: rgba(236, 231, 208, 0.65);
  font-size: 0.85rem;
}

.plan-card .btn {
  display: block;
  text-align: center;
}

.plan-card--featured {
  background-color: var(--color-cream);
  border: 2px solid var(--color-gold);
  box-shadow: 0 24px 48px -16px rgba(169, 130, 76, 0.5);
  margin-block: 0.5rem;
}

.plan-card--featured .plan-card__header h3,
.plan-card--featured .plan-engagement {
  color: var(--color-forest);
}

.plan-card--featured .plan-card__list li {
  color: var(--color-ink);
}

.plan-card--featured .plan-card__list li.is-no {
  color: rgba(10, 10, 10, 0.4);
}

.plan-card--featured .plan-card__note {
  color: var(--color-sage);
}

.plan-card--featured .icon-yes {
  color: var(--color-forest);
}

@media (min-width: 768px) {
  .plans-table-wrap {
    display: block;
  }

  .plans-cards {
    display: none;
  }
}

/* ==========================================================================
   Pages secteurs — blocs génériques réutilisés sur les 8 pages secteurs
   et la page récapitulative /nos-secteurs
   ========================================================================== */

.sector-intro {
  text-align: center;
  padding-bottom: 2rem;
}

.sector-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
}

.sector-intro h1 {
  max-width: 22em;
  margin-inline: auto;
}

.sector-lead {
  max-width: 42em;
  margin-inline: auto;
  font-size: 1.25rem;
}

.sector-zone {
  background-color: var(--color-forest);
  text-align: center;
}

.sector-zone h2 {
  color: var(--color-cream);
}

.sector-zone .zones-list {
  max-width: 28em;
  margin: 1.5rem auto 0;
  text-align: left;
}

.sector-zone .zones-list li {
  color: var(--color-cream);
}

.sector-zone .zones-list li::before {
  background-color: var(--color-cream);
}

.sector-content {
  max-width: 42em;
  margin-inline: auto;
  text-align: center;
}

.sector-pricing {
  font-size: 1rem;
}

.link-arrow {
  display: inline-block;
  font-weight: 700;
  color: var(--color-forest);
}

.link-arrow:hover {
  color: var(--color-gold);
}

.sector-links {
  background-color: var(--color-forest);
  text-align: center;
}

.sector-links h2 {
  color: var(--color-cream);
}

.sector-links-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sector-links-grid a {
  display: inline-block;
  padding: 0.55em 1.25em;
  border-radius: 999px;
  border: 1.5px solid rgba(236, 231, 208, 0.4);
  color: var(--color-cream);
  font-weight: 700;
  font-size: 0.9rem;
}

.sector-links-grid a:hover {
  border-color: var(--color-cream);
  background-color: rgba(236, 231, 208, 0.08);
}

.link-arrow-cream {
  display: inline-block;
  font-weight: 700;
  color: var(--color-gold);
}

.link-arrow-cream:hover {
  color: var(--color-cream);
}

/* ---- Page récapitulative /nos-secteurs ---- */

.secteurs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .secteurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .secteurs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.secteur-card {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.06);
}

.secteur-card:hover {
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.12);
}

.secteur-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-forest);
  font-size: 1.15rem;
}

.secteur-card p {
  margin: 0;
  font-size: 1rem;
}

/* ---- Galerie photo (carousel) — page /nos-secteurs ---- */

.sector-gallery {
  text-align: center;
}

.sector-gallery .sector-eyebrow {
  text-align: center;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 62%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .gallery-slide {
    flex-basis: 34%;
  }
}

@media (min-width: 1024px) {
  .gallery-slide {
    flex-basis: 22%;
  }
}

.gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.3);
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-forest);
  background-color: transparent;
  color: var(--color-forest);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background-color: transparent;
  color: var(--color-forest);
}

/* ==========================================================================
   Avis Google — badge de note + cartes d'avis fixes
   ========================================================================== */

.avis-section {
  text-align: center;
}

.avis-badge-wrap {
  margin-bottom: 3rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #fff;
  border-radius: 999px;
  padding: 0.7em 1.5em;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.1);
}

.google-badge:hover {
  box-shadow: 0 6px 22px rgba(10, 10, 10, 0.16);
}

.google-badge .icon {
  width: 22px;
  height: 22px;
}

.google-badge__stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.google-badge__rating {
  color: var(--color-forest);
  font-weight: 700;
  font-size: 1.1rem;
}

.google-badge__count {
  color: var(--color-sage);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.06);
}

.review-card__text {
  color: var(--color-ink);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-card__author {
  color: var(--color-forest);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}
