/* Styles propres a chaque section */

main { padding-top: var(--header-h-mobile); }

@media (min-width: 769px) {
  main { padding-top: var(--header-h); }
}

section {
  padding: 56px 0;
  position: relative;
}

@media (min-width: 768px) {
  section { padding: 88px 0; }
}

/* HERO-SPLIT (imposed) */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 60px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) 24px;
  align-items: center;
}

.hero-split__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--text);
  margin: 0;
}

.hero-split__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hero-split__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--text-2);
  margin: 20px 0 28px;
  max-width: 46ch;
  line-height: 1.6;
}

.hero-split__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-split__cta .btn { width: 100%; }

@media (min-width: 480px) {
  .hero-split__cta { flex-direction: row; flex-wrap: wrap; }
  .hero-split__cta .btn { width: auto; flex: 0 1 auto; }
}

.hero-split__media {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--surface);
}

.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.94);
  color: var(--accent-dark);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: var(--r-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 40px;
  }
  .hero-split__media { aspect-ratio: 16/11; order: -1; }
}

/* Stats strip */
.stats-strip {
  background: var(--accent-dark);
  color: #fff;
  padding: 36px 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.16);
  padding: 4px 8px;
}

.stat-item:last-child { border-right: 0; }

.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

@media (min-width: 640px) {
  .stats-strip { padding: 48px 0; }
  .stat-label { font-size: 0.78rem; }
}

/* Section header (titre + intro) */
.sec-head { max-width: 720px; margin: 0 0 36px; }

.sec-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0 0 14px;
}

.sec-head p {
  color: var(--text-2);
  font-size: 1.02rem;
  margin: 0;
}

/* Services (LAY-5 services = grid-3) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Section a propos */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); }
}

.about-text p { color: var(--text-2); font-size: 1.02rem; }

.about-text p strong { color: var(--text); font-weight: 600; }

.about-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
}

.about-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 1px;
}

.about-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Galerie (LAY-5 gallery = masonry) */
.gal-masonry {
  column-count: 3;
  column-gap: 14px;
}

.gal-masonry .gal-item {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
  display: block;
  position: relative;
}

.gal-masonry .gal-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur) var(--ease);
}

.gal-masonry .gal-item:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .gal-masonry .gal-item img { transition: none; }
  .gal-masonry .gal-item:hover img { transform: none; }
}

@media (max-width: 900px) {
  .gal-masonry { column-count: 2; }
}

@media (max-width: 560px) {
  .gal-masonry { column-count: 1; }
}

/* Avis cards (LAY-5 avis = cards) */
.avis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .avis-cards { grid-template-columns: 1fr; } }

.avis-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 24px;
}

.avis-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}

.avis-stars svg { width: 18px; height: 18px; }

.avis-card blockquote {
  margin: 0 0 20px;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
  flex-grow: 1;
}

.avis-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.avis-author {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.avis-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.avis-date {
  font-size: 0.78rem;
  color: var(--text-mute);
  font-family: var(--ff-ui);
}

.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 91, 78, 0.10);
  color: var(--accent);
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-google svg { width: 12px; height: 12px; }

.avis-google-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
}

.faq-item dt { margin: 0; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}

.faq-trigger:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
  color: var(--accent);
}

.faq-chevron::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Zone d'intervention */
.zone-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .zone-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}

.zone-info h3 { font-size: 1.1rem; margin: 0 0 14px; color: var(--text); }

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.zone-list li {
  padding: 7px 13px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hours-table th, .hours-table td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.hours-table th { font-weight: 500; text-transform: capitalize; }

.hours-table td { text-align: right; color: var(--text-2); font-family: var(--ff-ui); }

.hours-table tr.is-today th, .hours-table tr.is-today td {
  color: var(--accent);
  font-weight: 700;
}

.hours-table tr.is-closed td { color: var(--text-mute); font-style: italic; }

.map-wrapper {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  aspect-ratio: 4/3;
  min-height: 280px;
}

.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.contact-info p { color: var(--text-2); margin: 0 0 18px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text);
  min-width: 0;
  margin-bottom: 0;
}

.contact-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-list a { color: var(--text); text-decoration: none; word-break: break-word; min-width: 0; }
.contact-list a:hover { color: var(--accent); }

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-ctas .btn { width: 100%; }

@media (min-width: 480px) {
  .contact-ctas { flex-direction: row; flex-wrap: wrap; }
  .contact-ctas .btn { width: auto; flex: 1 1 auto; min-width: 0; }
}

/* Section "Comment ca se passe" (process) */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

@media (min-width: 700px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.process-step .step-num {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

/* Section alt (fond legere variation) */
.sec-alt { background: var(--bg-alt); }

.sec-dark { background: var(--accent-dark); color: #fff; }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4,
.sec-dark .eyebrow, .sec-dark .section-label { color: #fff; }
.sec-dark .eyebrow::before, .sec-dark .section-label::before { background: rgba(255,255,255,0.7); }
.sec-dark p, .sec-dark li, .sec-dark span { color: rgba(255,255,255,0.86); }
.sec-dark .contact-list li,
.sec-dark .contact-list a,
.sec-dark .contact-list span { color: #fff; }
.sec-dark .contact-list svg { color: var(--bg); }
.sec-dark .contact-list a:hover { color: var(--bg); }
.sec-dark .field label { color: rgba(255,255,255,0.78); }
.sec-dark .form-status { color: rgba(255,255,255,0.9); }
.sec-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.6); }
.sec-dark .btn-secondary:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }
