/* sections.css — Styles spécifiques à chaque section */

/* ===== HERO IMMERSIF ===== */
.hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Voile multi-couches vert bouteille */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(26,51,41,0.92) 0%, rgba(26,51,41,0.55) 40%, rgba(26,51,41,0.2) 75%, transparent 100%),
    linear-gradient(to bottom, rgba(26,51,41,0.4) 0%, transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h-mobile) + 24px) clamp(20px, 4vw, 48px) clamp(48px, 8vw, 88px);
  max-width: var(--container);
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(242,239,230,0.8);
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent-2);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 600;
  color: #F2EFE6;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
  /* Masque de révélation (MOT-3) */
  overflow: hidden;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-2);
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: rgba(242,239,230,0.82);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.hero-ctas .btn { width: 100%; }

.hero-meta {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(242,239,230,0.65);
  font-weight: 600;
}
.hero-meta-item svg { width: 14px; height: 14px; opacity: 0.7; }

/* ===== AVIS (row-sep, COMP-2) ===== */
.s-avis {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.avis-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.avis-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--border);
}
.avis-card:last-child { border-bottom: none; }

.avis-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.avis-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.avis-name {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.avis-date {
  font-size: 0.75rem;
  color: var(--text-mute);
}

.avis-quote {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.65;
  font-style: italic;
  border-left: 3px solid var(--accent-2);
  padding-left: 14px;
}

.avis-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
  margin-top: 8px;
}
.avis-link:hover { text-decoration-color: var(--accent); }
.avis-link svg { width: 14px; height: 14px; }

/* ===== À PROPOS ===== */
.s-about {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-img {
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s var(--ease-out);
}
.about-img:hover img { transform: scale(1.03); }

.about-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-lead::first-letter {
  float: left;
  font-size: 3.2em;
  font-weight: 600;
  color: var(--accent);
  line-height: 0.82;
  margin-right: 6px;
  margin-top: 4px;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.about-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23244A3A'%3E%3Cpath d='M13.354 4.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L6 11.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ===== SERVICES (grid-asym, LAY-6) ===== */
.s-services {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

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

.svc-card {
  background: var(--surface);
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36,74,58,0.10);
}

.svc-card--feat {
  background: var(--accent);
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
}
.svc-card--feat,
.svc-card--feat :where(h3,p,li,span,strong) { color: #F2EFE6; }
.svc-card--feat p { color: rgba(242,239,230,0.78); }

.svc-num {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.svc-card--feat .svc-num { color: rgba(242,239,230,0.55); }

.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.svc-card--feat .svc-icon { background: rgba(255,255,255,0.15); }
.svc-icon svg { width: 22px; height: 22px; }

.svc-card h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.svc-card--feat h3 { color: #F2EFE6; }

.svc-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

.svc-devis {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(16px, 3vw, 24px);
  background: var(--accent-soft);
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.svc-devis p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* ===== GALERIE TEASER (grid-feat, LAY-6) ===== */
.s-galerie {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.gal-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-sm);
  margin-bottom: clamp(24px, 4vw, 36px);
}

.gal-item {
  overflow: hidden;
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  cursor: pointer;
  position: relative;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s var(--ease-out);
  filter: saturate(1.05);
}
.gal-item:hover img { transform: scale(1.05); }

.gal-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,51,41,0);
  transition: background var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-item:hover .gal-item-overlay { background: rgba(26,51,41,0.25); }
.gal-item-overlay svg { opacity: 0; transform: scale(0.7); transition: opacity 0.2s, transform 0.2s; color: #fff; width: 32px; height: 32px; }
.gal-item:hover .gal-item-overlay svg { opacity: 1; transform: scale(1); }

.gal-more {
  display: flex;
  justify-content: center;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  background: rgba(10,20,15,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 90dvh;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.lb-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(242,239,230,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast);
}
.lb-close:hover { background: rgba(242,239,230,0.3); }
.lb-close svg { width: 20px; height: 20px; }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(242,239,230,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast);
}
.lb-prev:hover, .lb-next:hover { background: rgba(242,239,230,0.3); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev svg, .lb-next svg { width: 20px; height: 20px; }

/* ===== STATS STRIP ===== */
.s-stats {
  padding: clamp(36px, 6vw, 64px) 0;
  background: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #F2EFE6;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(242,239,230,0.65);
}

/* ===== FAQ ACCORDION ===== */
.s-faq {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2.5vw, 22px) 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--ff-body);
}

.faq-question {
  font-family: var(--ff-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
}

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base) var(--ease-out), background var(--t-fast);
}
.faq-chevron svg { width: 12px; height: 12px; color: var(--accent); }
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent);
}
.faq-item.is-open .faq-chevron svg { color: #F2EFE6; }

.faq-body {
  display: none;
  padding-bottom: clamp(16px, 2.5vw, 20px);
}
.faq-body p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.is-open .faq-body { display: block; }

/* ===== ZONE + CARTE ===== */
.s-zone {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.zone-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.map-wrapper {
  position: relative;
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  overflow: hidden;
  padding-top: 56.25%;
  background: var(--bg);
}
.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.zone-chip {
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(36,74,58,0.15);
}

/* Horaires table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.88rem;
}
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
  width: 110px;
}
.hours-table td:last-child {
  text-align: right;
}
.hours-table tr.is-today td {
  color: var(--accent);
  font-weight: 700;
}
.hours-table tr.is-today td:first-child::after {
  content: ' ·';
  color: var(--accent-2);
}
.hours-table tr.is-closed td { color: var(--text-mute); }

/* ===== CONTACT ===== */
.s-contact {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

.contact-card {
  background: var(--surface);
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}
.contact-card:hover { box-shadow: 0 8px 24px rgba(36,74,58,0.08); }

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 22px; height: 22px; color: var(--accent); }

.contact-card-icon--wa {
  background: rgba(37,211,102,0.12);
}
.contact-card-icon--wa svg { color: var(--wa-green); }

.contact-card h4 {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-card .contact-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card .contact-sub {
  font-size: 0.8rem;
  color: var(--text-mute);
}

/* ===== MODAL MENTIONS LÉGALES ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,51,41,0.7);
  z-index: var(--z-modal);
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(24px, 4vw, 40px);
  width: 100%;
  max-width: 640px;
  max-height: 80dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}
.modal-close svg { width: 16px; height: 16px; }

.modal-body { font-size: 0.85rem; color: var(--text-2); line-height: 1.75; }
.modal-body p { margin-bottom: 12px; }
.modal-body strong { color: var(--text); }
