/* rhythm-sky — Split-Screen Modern archetype — Thème : Écologie */

:root {
  --vert-profond: #16321f;
  --vert-foret: #2f6b43;
  --vert-feuille: #5a9367;
  --vert-clair: #86c06c;
  --sable: #f6f4ee;
  --sable-fonce: #e9e4d6;
  --encre: #1a1f1c;
  --gris: #5c655e;
  --blanc: #ffffff;
  --or: #b8894a;
  --ombre: 0 18px 50px rgba(22, 50, 31, 0.12);
  --rayon: 16px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--encre);
  background-color: var(--sable);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--vert-profond);
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1rem; }

a { color: var(--vert-foret); text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Barre d'annonce publicitaire ---------- */
.ad-bar {
  background: var(--vert-profond);
  color: #e7efe4;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 16px;
  text-transform: uppercase;
}

/* ---------- Navigation (haut, style split) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sable-fonce);
  padding: 14px 28px;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vert-profond);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--encre);
  font-size: 0.97rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vert-foret);
  border-bottom-color: var(--vert-clair);
}

.nav-cta {
  background: var(--vert-foret);
  color: var(--blanc) !important;
  padding: 10px 20px !important;
  border-radius: 40px;
  border-bottom: none !important;
  transition: var(--transition);
}

.nav-cta:hover { background: var(--vert-profond); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--vert-profond);
  display: block;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--vert-foret);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--vert-profond); transform: translateY(-2px); box-shadow: var(--ombre); }

.btn-ghost {
  background: transparent;
  color: var(--vert-profond);
  border-color: var(--vert-feuille);
}
.btn-ghost:hover { background: var(--vert-profond); color: var(--blanc); border-color: var(--vert-profond); }

.btn-light {
  background: var(--sable);
  color: var(--vert-profond);
}
.btn-light:hover { background: var(--blanc); transform: translateY(-2px); }

.inline-link {
  color: var(--vert-foret);
  font-weight: 600;
  border-bottom: 1px solid var(--vert-clair);
  transition: var(--transition);
}
.inline-link:hover { color: var(--vert-profond); }

/* ---------- Split-screen : hero ---------- */
.split-hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 82vh;
  align-items: stretch;
}

.split-hero__text {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(28px, 6vw, 90px);
  background: var(--sable);
}

.split-hero__text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--vert-feuille);
  font-weight: 700;
  margin-bottom: 18px;
}

.split-hero__text p.lead {
  font-size: 1.15rem;
  color: var(--gris);
  max-width: 52ch;
  margin: 20px 0 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.split-hero__media {
  flex: 1 1 420px;
  background-color: var(--vert-foret);
  position: relative;
  min-height: 360px;
}

.split-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

/* ---------- Sections split alternées ---------- */
.split-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.split-row > div { flex: 1 1 420px; }

.split-row .media {
  background-color: var(--vert-feuille);
  min-height: 420px;
  align-self: stretch;
}

.split-row .media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.split-row .copy {
  padding: clamp(40px, 6vw, 86px);
}

.split-row.reverse { flex-direction: row-reverse; }

.split-row .copy .tag {
  display: inline-block;
  background: var(--sable-fonce);
  color: var(--vert-profond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.band-dark { background: var(--vert-profond); color: #e8efe5; }
.band-dark h2, .band-dark h3 { color: var(--blanc); }
.band-dark .tag { background: rgba(255,255,255,0.1); color: var(--vert-clair); }
.band-dark p { color: #cdd8cb; }

.band-cream { background: var(--sable-fonce); }

/* ---------- Bloc CTA plein écran ---------- */
.cta-band {
  position: relative;
  background-color: var(--vert-profond);
  padding: 90px 24px;
  text-align: center;
  color: var(--blanc);
  overflow: hidden;
}

.cta-band .bg-cover {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.cta-band .bg-cover img { width: 100%; height: 100%; }

.cta-band .inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: var(--blanc); margin-bottom: 14px; }
.cta-band p { color: #d7e2d3; margin-bottom: 28px; }

/* ---------- Statistiques (flex) ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.stat {
  flex: 1 1 180px;
  text-align: center;
  padding: 26px 18px;
}
.stat .num {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  color: var(--vert-foret);
  font-weight: 700;
}
.band-dark .stat .num { color: var(--vert-clair); }
.stat .lbl { font-size: 0.95rem; color: var(--gris); }
.band-dark .stat .lbl { color: #bfccbd; }

/* ---------- Services en rangées split ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  margin-bottom: 40px;
}
.service-row:nth-child(even) { flex-direction: row-reverse; }

.service-row .pic {
  flex: 1 1 320px;
  background-color: var(--vert-feuille);
  min-height: 280px;
}
.service-row .pic img { width: 100%; height: 100%; min-height: 280px; }

.service-row .info {
  flex: 1 1 360px;
  padding: 38px clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-row .info h3 { margin-bottom: 10px; }
.service-row .info ul { list-style: none; margin: 14px 0 20px; }
.service-row .info ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  color: var(--gris);
}
.service-row .info ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vert-clair);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.price-tag .amount {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--vert-profond);
  font-weight: 700;
}
.price-tag .per { color: var(--gris); font-size: 0.9rem; }

/* ---------- Cartes témoignages (flex) ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 26px; }
.quote {
  flex: 1 1 280px;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre);
  border-top: 4px solid var(--vert-clair);
}
.quote p { font-style: italic; color: var(--encre); }
.quote .who { font-weight: 700; color: var(--vert-profond); font-style: normal; margin-top: 12px; }
.quote .role { font-size: 0.85rem; color: var(--gris); }

/* ---------- Liste de valeurs / étapes ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 24px; }
.step {
  flex: 1 1 240px;
  padding: 28px;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}
.step .n {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--vert-foret);
  color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Formulaire ---------- */
.form-wrap {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--ombre);
  max-width: 640px;
}
.form-wrap.full { max-width: none; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--vert-profond);
  font-size: 0.95rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--sable-fonce);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--sable);
  transition: var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--vert-feuille);
  background: var(--blanc);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--gris); margin-top: 8px; }
.form-error {
  color: #a33;
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}
.form-error.show { display: block; }

/* ---------- Deux colonnes contact ---------- */
.two-col { display: flex; flex-wrap: wrap; gap: 40px; }
.two-col > div { flex: 1 1 320px; }

.info-card {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre);
  margin-bottom: 20px;
}
.info-card h3 { margin-bottom: 8px; }
.info-card .meta { color: var(--gris); }

/* ---------- Contenu légal ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 24px;
}
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--gris); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--encre); }
.legal ul { margin: 0 0 16px 22px; }
.legal a { font-weight: 600; }

/* ---------- Avertissement / disclaimer ---------- */
.disclaimer {
  background: var(--sable-fonce);
  border-left: 4px solid var(--vert-feuille);
  padding: 22px 26px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--gris);
  margin: 10px 0;
}

/* ---------- Page merci ---------- */
.thanks {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks .check {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--vert-clair);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.thanks p { max-width: 540px; color: var(--gris); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--vert-profond);
  color: #cdd8cb;
  padding: 60px 0 26px;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 200px; }
.footer-col h4 { color: var(--blanc); margin-bottom: 14px; font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: #cdd8cb; transition: var(--transition); }
.footer-col a:hover { color: var(--vert-clair); }
.footer-col .email-flat { color: #cdd8cb; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- CTA flottant / sticky ---------- */
.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  box-shadow: var(--ombre);
}

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 22px 26px;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: 0.9rem; color: var(--gris); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Images décoratives de section ---------- */
.band-bg {
  position: relative;
  overflow: hidden;
}

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 20px; }
.center-row { text-align: center; margin-top: 10px; }
.full-btn { width: 100%; }
.steps-vertical { flex-direction: column; }
.steps-vertical .step { flex: 1 1 100%; background: rgba(255,255,255,0.06); }
.steps-vertical .step p { color: #cdd8cb; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--sable);
    border-bottom: 1px solid var(--sable-fonce);
    padding: 12px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--sable-fonce); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: none; }
  .nav-cta { display: inline-block; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .split-hero { min-height: auto; }
  .split-row .media, .split-row .media img { min-height: 300px; }
}
