/* Sections — jardinier-proprete-du-jardin */

/* ─── HERO (HERO-GRILLE-7-5) ─── */
.hero-section {
  /* Pas de padding-top ici — le container interne gère l'offset header */
}

.hero-grid75 {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(32px, 5vw, 60px)) 24px clamp(60px, 8vw, 96px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero-grid75__eyebrow {
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-grid75__eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-grid75__title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.hero-grid75__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  margin: 20px 0 32px;
  max-width: 44ch;
  line-height: 1.7;
}

.hero-grid75__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-grid75__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-grid75__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px color-mix(in srgb, var(--text) 12%, transparent);
}

.hero-grid75__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.hero-grid75__media:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
  .hero-grid75 {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: calc(var(--header-h-mobile) + 22px) 20px 48px;
  }
  .hero-grid75__media {
    aspect-ratio: 16 / 10;
    order: -1;
  }
  /* CTA mobile : empilés pleine largeur (PIÈGE PROD #2) */
  .hero-grid75__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-grid75__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── PROCESS (remplace avis — 0 verbatims) ─── */
.process-section {
  background: var(--accent-soft);
  border-radius: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(32px, 5vw, 48px);
}

.process-step {
  padding: 28px 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  position: relative;
}

.process-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.process-step h3 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

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

/* ─── SERVICES (grid-3, card stripe) ─── */
.services-section { }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.svc-grid .c-stripe { height: 100%; }

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

/* ─── À PROPOS ─── */
.apropos-section {
  background: color-mix(in srgb, var(--bg-alt) 60%, var(--bg));
}

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.apropos-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 18px;
}

/* Lettrine subtile sur le premier paragraphe lead */
.apropos-lead::first-letter {
  font-size: 3.2em;
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--accent);
  float: left;
  line-height: 0.8;
  margin-right: 0.12em;
  margin-top: 0.08em;
}

.apropos-text p + p { margin-top: 16px; color: var(--text-2); font-size: 0.95rem; }

.apropos-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apropos-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.apropos-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.apropos-photo figure {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

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

.apropos-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 0.8rem;
  font-family: var(--ff-ui);
  font-weight: 500;
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-photo { order: -1; }
  .apropos-photo figure { aspect-ratio: 16 / 10; }
}

/* ─── RÉALISATIONS / GALERIE (gallery = masonry) ─── */
.realisations-section { }

.gal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 16px;
}

.gal-masonry {
  column-count: 3;
  column-gap: 12px;
}

.gal-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gal-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

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

.gal-item .gal-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(27, 42, 32, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

@media (max-width: 900px) { .gal-masonry { column-count: 2; } }
@media (max-width: 560px) { .gal-masonry { column-count: 1; } } /* PIÈGE PROD #7 */

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lb-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
}

.lb-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  border: 0;
  backdrop-filter: blur(4px);
  z-index: 1;
}

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  border: 0;
  backdrop-filter: blur(4px);
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--accent-deep);
  padding: clamp(36px, 5vw, 60px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  text-align: center;
}

.stat-item { }

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

.stat-label {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, #fff 60%, transparent);
  margin-top: 8px;
}

.stat-sep {
  display: none;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-item { border-right: 1px solid color-mix(in srgb, #fff 12%, transparent); }
  .stats-grid .stat-item:last-child { border-right: none; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── FAQ ─── */
.faq-section { }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.faq-list { }

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 0;
  transition: color 0.2s;
}
.faq-trigger:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-chevron::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s ease;
}

.faq-trigger[aria-expanded="true"] .faq-chevron::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 60ch;
}

/* ─── ZONE D'INTERVENTION ─── */
.zone-section { }

.zone-cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 48px);
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.zone-list li {
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 500;
  font-family: var(--ff-ui);
}

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

.hours-table tr td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.hours-table tr td:first-child {
  font-weight: 500;
  color: var(--text);
  width: 42%;
  text-transform: capitalize;
}

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

.hours-table tr.is-today td:first-child::after {
  content: " ·";
  color: var(--accent);
}

.map-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--text) 10%, transparent);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 768px) {
  .zone-cols { grid-template-columns: 1fr; }
  .map-wrapper { order: -1; }
  .map-wrapper iframe { height: 280px; }
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--accent-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-ctas .btn {
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.contact-info p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  min-width: 0; /* anti-scroll-X select (PIÈGE PROD #10) */
}

.contact-form label {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  min-height: 44px; /* cibles tactiles >= 44px */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  width: 100%;
  padding: 0.95rem;
  margin-top: 8px;
  font-size: 1rem;
}

.contact-note {
  font-size: 0.78rem;
  color: var(--text-mute);
  text-align: center;
  margin-top: 12px;
}

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