/* sections.css — styles des sections de la page */

/* ===== HERO EDITORIAL CENTRE (HERO-EDITORIAL-CENTRE) ===== */
.hero-centre {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(28px, 4vw, 48px);
  text-align: center;
}
.hero-centre .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-centre__eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-centre__eyebrow::before,
.hero-centre__eyebrow::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.hero-centre__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  line-height: 1.02;
  color: var(--text);
  max-width: 16ch;
}
.hero-centre__title em {
  font-style: italic;
  color: var(--accent);
}
.hero-centre__rating {
  display: flex;
  justify-content: center;
  margin: 20px 0 4px;
}
.hero-centre__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-2);
  margin: 20px auto 28px;
  max-width: 54ch;
  line-height: 1.65;
}
.hero-centre__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-centre__band {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: clamp(28px, 5vw, 56px);
  box-shadow: 0 8px 40px color-mix(in srgb, var(--text) 14%, transparent);
}
.hero-centre__band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SERVICES GRID-3 (LAY-3) ===== */
.services-section .container > h2 { text-align: center; margin-bottom: 8px; }
.services-section .container > .section-eyebrow { justify-content: center; }
.services-section .container > p { text-align: center; max-width: 56ch; margin: 0 auto 40px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.svc-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}
.svc-card__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ===== A PROPOS ===== */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--accent);
  border: 1.5px solid var(--text);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-content .section-eyebrow { margin-bottom: 10px; }
.about-content h2 { margin-bottom: 8px; }
.about-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 20px;
}
.about-content p { font-size: 0.97rem; line-height: 1.7; }
.about-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.about-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.about-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9l3 3 7-7' stroke='%234A8B7F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
}

/* ===== GALERIE GRID (LAY-3) ===== */
.gallery-section .container > h2 { margin-bottom: 6px; }
.gallery-section .container > p { color: var(--text-2); margin-bottom: 32px; max-width: 54ch; }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: pointer;
  border: 1px solid var(--border);
}
.gal-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: 0;
  transition: opacity .3s;
}
.gal-item:hover::after { opacity: 1; }

.gallery-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--text);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--accent-2);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  display: block;
}
.stat-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 3px;
}

/* ===== AVIS CARDS (LAY-3) ===== */
.avis-section .container > h2 { text-align: center; margin-bottom: 8px; }
.avis-section .container > .section-eyebrow { justify-content: center; }
.avis-section .container > p { text-align: center; margin-bottom: 40px; color: var(--text-2); }
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.avis-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.avis-card .stars { margin-bottom: 2px; }
.avis-card blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
  quotes: "\201C" "\201D";
}
.avis-card blockquote::before { content: open-quote; }
.avis-card blockquote::after { content: close-quote; }
.avis-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.avis-author {
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.avis-date {
  font-size: 0.78rem;
  color: var(--text-mute);
}
.avis-link-wrap {
  text-align: center;
  margin-top: 32px;
}
.avis-lien-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color .2s;
}
.avis-lien-google:hover { color: oklch(48% 0.079 172); }
.avis-lien-google svg { width: 16px; height: 16px; }

/* ===== FAQ ACCORDION ===== */
.faq-section .container > h2 { text-align: center; margin-bottom: 8px; }
.faq-section .container > .section-eyebrow { justify-content: center; }
.faq-section .container > p { text-align: center; margin-bottom: 40px; color: var(--text-2); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--accent); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .3s;
  background: none;
  display: grid;
  place-items: center;
}
.faq-chevron svg {
  width: 20px;
  height: 20px;
  transition: transform .3s;
}
.faq-trigger[aria-expanded="true"] .faq-chevron svg {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 0 20px;
  overflow: hidden;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

/* ===== ZONE D'INTERVENTION ===== */
.zone-section .container > h2 { margin-bottom: 6px; }
.zone-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: 32px;
}
.zone-info h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text);
}
.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.horaires-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.horaires-table tr {
  border-bottom: 1px solid var(--border);
}
.horaires-table tr:last-child { border-bottom: none; }
.horaires-table td {
  padding: 8px 4px;
  color: var(--text-2);
}
.horaires-table td:first-child {
  font-weight: 500;
  color: var(--text);
  text-transform: capitalize;
  width: 45%;
}
.horaires-table td.closed { color: var(--text-mute); }
.horaires-table tr.is-today td {
  color: var(--accent);
  font-weight: 600;
}
.horaires-table tr.is-closed td { color: var(--text-mute); opacity: 0.6; }
.dispo-badge {
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.map-wrapper {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--text) 10%, transparent);
}
.map-wrapper iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}

/* ===== CONTACT ===== */
.contact-section .container > h2 { margin-bottom: 8px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 36px;
}
.contact-info h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-2);
}
.contact-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-list li a { color: var(--text); font-weight: 500; }
.contact-list li a:hover { color: var(--accent); }
.contact-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form .btn { align-self: flex-start; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== BANDEAU TEASER REALISATIONS (index) ===== */
.teaser-realisations {
  background: var(--text);
  padding: 40px 0;
}
.teaser-realisations .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.teaser-realisations h3 {
  color: #fff;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}
.teaser-realisations p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== PAGE REALISATIONS ===== */
.real-header-band {
  padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
}
.real-header-band .section-eyebrow { justify-content: center; }
.real-header-band h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 12px;
}
.real-header-band p { color: var(--text-2); max-width: 52ch; margin: 0 auto; }

.gal-masonry {
  column-count: 3;
  column-gap: 14px;
}
.gal-masonry .gal-item {
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: var(--r-lg);
  aspect-ratio: auto;
}
.gal-masonry .gal-item img {
  width: 100%;
  aspect-ratio: auto;
  height: auto;
}

/* Retour index lien */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-mute);
  text-decoration: none;
  transition: color .2s;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 16px; height: 16px; }
