/* =============================================
   SOPHIE — Entretien de Sépultures en Argonne
   Feuille de style principale — v2
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette "Jardin de paix" — sobre mais vivante */
  --cream:        #F4F1EB;
  --cream-dark:   #E8E1D4;
  --stone:        #C4B89E;
  --stone-dark:   #A0907A;
  --sage:         #5E9E6A;
  --sage-dark:    #3D7848;
  --sage-light:   #A8D0AA;
  --moss:         #7AB87A;
  --dark:         #1C3322;
  --dark-mid:     #284A30;
  --dark-light:   #3A6040;
  --text:         #36322E;
  --text-light:   #6A6460;
  --white:        #FFFFFF;
  --gold:         #C49840;
  --gold-light:   #E8C870;
  --blush:        #D4C4B0;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 4px 24px rgba(28,51,34,0.10);
  --shadow-lg:  0 8px 40px rgba(28,51,34,0.16);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.75;
}

img { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.section        { padding: 90px 0; }
.section--alt   { background-color: var(--cream-dark); }
.section--dark  {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
}

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

.section--dark .section__label { color: var(--sage-light); }

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.section--dark .section__title { color: var(--cream); }

.section__intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
}

.section--dark .section__intro { color: rgba(244,241,235,0.7); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}

.text-center { text-align: center; }
.text-center .divider       { margin-left: auto; margin-right: auto; }
.text-center .section__intro{ margin-left: auto; margin-right: auto; }


/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.btn--primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn--primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244,241,235,0.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
  padding: 0.65rem 1.3rem;
  font-size: 0.82rem;
}
.btn--ghost:hover {
  background: var(--sage);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #A87E30;
  border-color: #A87E30;
  color: var(--white);
}


/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(244, 241, 235, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.nav__logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

.nav__links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-mid);
  position: relative;
  padding-bottom: 3px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sage);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--dark);
}

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 0.30rem 1.1rem;
  border-radius: var(--radius);
  
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--sage-dark) !important; }
.nav__cta::after { display: none !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #162A1C 0%, #1C3322 40%, #284A30 65%, #366040 100%);
  padding-top: 68px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 65%, rgba(94,158,106,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(196,152,64,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(122,184,122,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero__ornament {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(180deg, rgba(94,158,106,0.08) 0%, rgba(168,208,170,0.10) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__leaves {
  position: absolute;
  right: 5%; top: 15%;
  width: 300px; height: 300px;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 30% 40%, var(--sage-light) 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, var(--sage-light) 3px, transparent 3px),
    radial-gradient(circle at 50% 80%, var(--sage-light) 1.5px, transparent 1.5px),
    radial-gradient(circle at 20% 70%, var(--sage-light) 2.5px, transparent 2.5px),
    radial-gradient(circle at 80% 20%, var(--sage-light) 2px, transparent 2px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold-light);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(244,241,235,0.72);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(244,241,235,0.35);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}

.hero__scroll svg {
  width: 20px; height: 20px;
  stroke: rgba(244,241,235,0.35);
}

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


/* =============================================
   SECTION CONFIANCE
   ============================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--sage);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.trust-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.trust-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--white);
  fill: none;
}

.trust-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.trust-card p  { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }


/* =============================================
   BANNIÈRE PROMESSE
   ============================================= */
.promise-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 60px 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.promise-item__number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.promise-item__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.55);
}


/* =============================================
   SERVICES (APERÇU)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border: 2px solid var(--sage);
  position: relative;
}

.service-card__badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 6px 6px;
}

.service-card__header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 2rem;
}

.service-card--featured .service-card__header {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
}

.service-card__header h3   { font-size: 1.4rem; color: var(--cream); margin-bottom: 0.25rem; }
.service-card__header p    { font-size: 0.85rem; color: rgba(244,241,235,0.65); font-style: italic; margin: 0; }

.service-card__body { padding: 2rem; flex: 1; }

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E9E6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

.service-card__footer {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.5rem;
  margin-top: auto;
}

.service-card__note {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}


/* =============================================
   ABONNEMENTS
   ============================================= */
.abonnement-section { margin-top: 5rem; }

.abonnement-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.abonnement-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

.abonnement-table thead th {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 1.1rem 1.5rem;
  text-align: left;
}

.abonnement-table thead th:first-child  { border-radius: var(--radius-lg) 0 0 0; }
.abonnement-table thead th:last-child   { border-radius: 0 var(--radius-lg) 0 0; }

.abonnement-table tbody tr {
  border-bottom: 1px solid var(--cream-dark);
  transition: background var(--transition);
}

.abonnement-table tbody tr:last-child { border-bottom: none; }
.abonnement-table tbody tr:hover      { background: var(--cream); }

.abonnement-table td { padding: 1.1rem 1.5rem; color: var(--text); }
.abonnement-table td:first-child { font-family: var(--font-serif); font-size: 1.05rem; color: var(--dark); }

.badge-passages {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}


/* =============================================
   ZONES
   ============================================= */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.zone-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--stone);
}

.zone-card--primary { border-left-color: var(--sage); }

.zone-card__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.zone-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.zone-card p  { font-size: 0.9rem; color: var(--text-light); }


/* =============================================
   ACCORDÉON ABONNEMENTS
   ============================================= */
.abonnement-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.acc-item {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}

.acc-item:last-child { border-bottom: none; }

.acc-item--featured .acc-header {
  background: linear-gradient(to right, #f0f8f0, var(--white));
}

.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  flex-wrap: wrap;
}

.acc-header:hover { background: var(--cream); }

.acc-item.open .acc-header { background: var(--cream); }

.acc-header__main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  flex-wrap: wrap;
}

.acc-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
}

.acc-badge-best {
  background: var(--sage);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.acc-header__meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.acc-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.acc-meta-item svg {
  width: 14px; height: 14px;
  stroke: var(--stone-dark);
  flex-shrink: 0;
}

.acc-arrow {
  width: 20px; height: 20px;
  stroke: var(--stone-dark);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.acc-item.open .acc-arrow { transform: rotate(180deg); }

/* Corps accordéon */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.acc-item.open .acc-body { max-height: 600px; }

.acc-body__inner {
  padding: 0 1.75rem 1.75rem;
  border-top: 1px solid var(--cream-dark);
}

.acc-body__inner > p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 1.25rem 0 1rem;
}

.acc-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.acc-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

.acc-details-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E9E6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}


/* =============================================
   GALERIE AVANT / APRÈS
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Comparison slider */
.comparison {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}

.comparison__after,
.comparison__before {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* simulated "après" images */
.comparison__img {
  width: 100%; height: 100%;
  background-size: cover;
}

.comparison__img--after-1 {
  background: linear-gradient(145deg, #C8C0B0 0%, #D8CFC0 30%, #C0B8A8 60%, #D0C8B8 100%);
}
.comparison__img--before-1 {
  background: linear-gradient(145deg, #5A5650 0%, #4A4840 30%, #6A6460 60%, #504E48 100%);
}

.comparison__img--after-2 {
  background:
    linear-gradient(145deg, #B8D0A8 0%, #C8D8B8 40%, #A8C498 60%, #C0D4B0 100%);
}
.comparison__img--before-2 {
  background: linear-gradient(145deg, #706860 0%, #605850 30%, #786E66 60%, #685E58 100%);
}

.comparison__img--after-3 {
  background: linear-gradient(145deg, #D0C8B8 0%, #E0D4C0 40%, #C8BCA8 70%, #D8CDB8 100%);
}
.comparison__img--before-3 {
  background: linear-gradient(145deg, #484440 0%, #585450 30%, #404038 60%, #504C48 100%);
}

.comparison__img--after-4 {
  background:
    linear-gradient(145deg, #A8C8A0 0%, #B8D4A8 30%, #98C090 60%, #B0CC9E 100%);
}
.comparison__img--before-4 {
  background: linear-gradient(145deg, #686460 0%, #787470 30%, #5C5A58 60%, #706C68 100%);
}

/* texte simulé sur les images */
.comparison__img::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.comparison__before {
  clip-path: inset(0 50% 0 0);
}

/* Overlay labels */
.comparison__label {
  position: absolute;
  top: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
}

.comparison__label--before {
  left: 1rem;
  background: rgba(40,40,36,0.75);
  color: rgba(244,241,235,0.85);
}

.comparison__label--after {
  right: 1rem;
  background: rgba(61,120,72,0.85);
  color: var(--white);
}

/* Handle */
.comparison__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.comparison__knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.comparison__knob svg {
  width: 20px; height: 20px;
  stroke: var(--dark);
  fill: none;
}

.gallery-item__info { text-align: center; }

.gallery-item__info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.gallery-item__info p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.gallery-hint {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gallery-hint svg {
  width: 18px; height: 18px;
  stroke: var(--stone-dark);
  fill: none;
  flex-shrink: 0;
}


/* =============================================
   FORFAITS DÉTAILLÉS
   ============================================= */
.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 1rem 2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -2px;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--dark); }

.tab-btn.active {
  color: var(--sage-dark);
  border-bottom-color: var(--sage);
}

.tab-panel {
  display: none;
  padding: 3rem 0 0;
  animation: fadeIn 0.35s ease;
}

.tab-panel.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.forfait-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.forfait-detail__left h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.forfait-detail__left .forfait-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Étapes du processus */
.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.75rem;
}

.process-step:last-child { padding-bottom: 0; }

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--cream-dark);
}

.process-step__num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.process-step__text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.process-step__text span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Carte droite */
.forfait-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.forfait-sidebar__header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 1.75rem 2rem;
}

.forfait-sidebar__header h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
}

.forfait-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.forfait-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(244,241,235,0.85);
  font-size: 0.9rem;
}

.forfait-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8D0AA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

.forfait-sidebar__body { padding: 1.75rem 2rem; }

.forfait-ideal {
  margin-bottom: 1.5rem;
}

.forfait-ideal__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-dark);
  display: block;
  margin-bottom: 0.6rem;
}

.forfait-ideal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--cream-dark);
  color: var(--dark-mid);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.forfait-duration {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.forfait-duration svg {
  width: 16px; height: 16px;
  stroke: var(--sage);
  fill: none;
  flex-shrink: 0;
}


/* =============================================
   À PROPOS
   ============================================= */
.apropos-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.apropos-visual { position: relative; }

.apropos-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--stone) 0%, var(--stone-dark) 50%, var(--dark-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.apropos-portrait__placeholder {
  text-align: center;
  color: rgba(244,241,235,0.5);
}

.apropos-portrait__placeholder svg {
  width: 80px; height: 80px;
  stroke: rgba(244,241,235,0.4);
  margin: 0 auto 1rem;
}

.apropos-portrait__placeholder p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apropos-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: var(--radius-lg);
  background: var(--sage);
  z-index: -1;
}

.valeurs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.valeur-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.valeur-item__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sage-light) 0%, rgba(168,208,170,0.5) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valeur-item__icon svg {
  width: 20px; height: 20px;
  stroke: var(--sage-dark);
  fill: none;
}

.valeur-item__text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.valeur-item__text span { font-size: 0.9rem; color: var(--text-light); }

.apropos-quote {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.apropos-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.35;
}

.apropos-quote p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.7;
  padding-left: 1rem;
}

.apropos-quote cite {
  display: block;
  margin-top: 1rem;
  padding-left: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

/* ===== TÉMOIGNAGES ===== */
.temoignages {
  padding: 80px 24px;
  
}
.temoignages-carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}
.carousel-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.temoignage-card {
  min-width: 100%;
  box-sizing: border-box;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--ombre);
  position: relative;
}
.temoignage-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--stone-dark);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
}
.temoignage-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-align: right;
}
.temoignage-stars.stars-1::before { content: '★☆☆☆☆'; }
.temoignage-stars.stars-2::before { content: '★★☆☆☆'; }
.temoignage-stars.stars-3::before { content: '★★★☆☆'; }
.temoignage-stars.stars-4::before { content: '★★★★☆'; }
.temoignage-stars.stars-5::before { content: '★★★★★'; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: var(--principal);
  color: var(--blanc);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: var(--principal-fonce, #5a3e2b); }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--stone-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.35;
  transition: opacity 0.3s, background 0.3s;
}
.carousel-dot.active {
  opacity: 1;
  background: var(--principal);
}
.temoignage-text {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  padding-top: 12px;
}
.temoignage-auteur {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.temoignage-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--principal);
  color: var(--blanc);
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.temoignage-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.temoignage-info small { color: var(--text-light); font-size: 0.82rem; }

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }

.contact-infos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item__icon svg {
  width: 20px; height: 20px;
  stroke: var(--white);
  fill: none;
}

.contact-info-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dark);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-info-item__value { font-size: 0.95rem; color: var(--dark); }
.contact-info-item__value a { color: var(--dark); font-weight: 600; }
.contact-info-item__value a:hover { color: var(--sage-dark); }

.contact-zones {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}

.contact-zones p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.contact-zones strong { display: block; font-family: var(--font-serif); color: var(--dark); margin-bottom: 0.4rem; font-size: 18px;}

/* Formulaire */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-form > p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 2rem; }

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  background: var(--white);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A6460' 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 0.8rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-gdpr { font-size: 0.76rem; color: var(--text-light); max-width: 380px; }

.form-success {
  display: none;
  background: #EEF7EE;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--sage-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.form-success.visible { display: block; }

.form-error-msg {
  font-size: 0.78rem;
  color: #C0392B;
  margin-top: 0.25rem;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: linear-gradient(160deg, var(--dark) 0%, #162A1C 100%);
  color: rgba(244,241,235,0.65);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer__brand-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer__brand-text { font-size: 0.88rem; line-height: 1.75; max-width: 320px; }

.footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 1.25rem;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer__links a {
  font-size: 0.9rem;
  color: rgba(244,241,235,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold-light); }

.footer__contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  color: rgba(244,241,235,0.6);
}

.footer__contact-item svg {
  width: 15px; height: 15px;
  stroke: var(--stone-dark);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(244,241,235,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom p { font-size: 0.78rem; color: rgba(244,241,235,0.3); margin: 0; }
.footer__keywords { font-size: 0.68rem; color: rgba(244,241,235,0.15); margin-top: 0.5rem; }


/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .apropos-layout    { grid-template-columns: 1fr; gap: 3rem; }
  .apropos-visual    { max-width: 380px; margin: 0 auto; }
  .contact-layout    { grid-template-columns: 1fr; gap: 2.5rem; }
  .forfait-detail    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .gallery-grid      { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
  }

  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1rem; }
  .nav__toggle { display: flex; }

  .section { padding: 60px 0; }
  .hero__content { padding: 3rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .tabs__nav { gap: 0; }
  .tab-btn { padding: 0.85rem 1.2rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .trust-grid, .services-grid, .zones-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .abonnement-table th, .abonnement-table td { padding: 0.85rem 1rem; }
}


/* =============================================
   SECTEUR — Cartes des zones d'intervention
   ============================================= */
.secteur-search {
  max-width: 640px;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
}
.secteur-search > label {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}
.secteur-search__row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
.secteur-search__row input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.secteur-search__row input:focus {
  outline: none;
  border-color: var(--sage);
}
.secteur-search__row .btn { white-space: nowrap; }

.secteur-search__result {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 1.2em;
  padding: 0 0.5rem;
}
.secteur-search__result.is-loading { color: var(--text-light); font-style: italic; }
.secteur-search__result.is-z1  { color: var(--sage-dark); }
.secteur-search__result.is-z2  { color: var(--gold); }
.secteur-search__result.is-out { color: var(--stone-dark); }

/* Légende */
.secteur-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin: 0 auto 1.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
}
.secteur-legend__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.secteur-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.secteur-dot--z1  { background: rgba(61,120,72,0.18);  border: 2px solid var(--sage-dark); }
.secteur-dot--z2  { background: rgba(196,152,64,0.14); border: 2px solid var(--gold); }
.secteur-dot--cim { background: var(--dark-mid); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--dark-mid); }

/* Grille des cartes */
.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.map-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-block__head {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--cream-dark);
}
.map-block__head h3 {
  font-size: 1.15rem;
  margin-top: 0.15rem;
}
.map-block__head h3 span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-light);
}
.map-canvas {
  position: relative;   /* isole le stacking-context de Leaflet sous la nav */
  z-index: 1;
  height: 380px;
  width: 100%;
  background: var(--cream-dark);
}
.leaflet-container { font-family: var(--font-sans); }

.secteur-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

@media (max-width: 600px) {
  .secteur-search__row { flex-direction: column; }
  .map-canvas { height: 320px; }
}
