/* ============================================================
   Les Ateliers de Laeti — Feuille de style
   Charte : corail, vert canard, vert sauge, beige lin, anthracite
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Caveat:wght@700&family=Patrick+Hand&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --corail: #F56452;
  --corail-fonce: #e04b3a;
  --vert-canard: #2E7D78;
  --vert-sauge: #8C9A63;
  --beige-lin: #F7F3EC;
  --anthracite: #333333;
  --blanc-casse: #FCFCFA;

  --titre: 'Patrick Hand', 'Amatic SC', cursive;
  --texte: 'Poppins', 'Nunito', sans-serif;

  --radius: 20px;
  --radius-lg: 24px;
  --ombre: 0 8px 24px rgba(51, 51, 51, 0.08);
  --ombre-forte: 0 14px 34px rgba(51, 51, 51, 0.14);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--texte);
  color: var(--anthracite);
  background-color: var(--beige-lin);
  line-height: 1.7;
  font-weight: 400;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(140,154,99,0.05) 0, transparent 40%),
    radial-gradient(circle at 85% 8%, rgba(46,125,120,0.05) 0, transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(245,100,82,0.05) 0, transparent 40%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.1;
  color: var(--vert-canard);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h3 { font-size: 1.7rem; }

section { padding: 72px 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.centre { text-align: center; }
.mb-petit { margin-bottom: 12px; }
.sous-titre {
  color: var(--corail);
  font-family: var(--titre);
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 6px;
}
.section-intro {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
  color: #5a5a5a;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--texte);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-corail {
  background-color: var(--corail);
  color: #fff;
  box-shadow: 0 6px 16px rgba(245,100,82,0.35);
}
.btn-corail:hover { background-color: var(--corail-fonce); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(245,100,82,0.42); }
.btn-blanc {
  background-color: #fff;
  color: var(--corail);
}
.btn-blanc:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.btn-ligne {
  background: transparent;
  color: var(--vert-canard);
  border-color: var(--vert-canard);
}
.btn-ligne:hover { background: var(--vert-canard); color:#fff; transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51,51,51,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img, .logo .logo-img { height: 58px; width: auto; }

/* Logo SVG inline : polices de la page */
.logo-img { display: block; overflow: visible; }
.t-haut, .t-de { font-family: var(--titre); fill: #333; }
.t-laeti { font-family: 'Caveat', var(--titre); fill: var(--corail); }
.t-bas { font-family: var(--texte); font-weight: 600; fill: #333; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--anthracite);
  transition: color .15s, background-color .15s;
}
.nav a:hover, .nav a.actif { color: var(--corail); background: rgba(245,100,82,0.08); }

/* Menu déroulant */
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: .8em; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--blanc-casse);
  border-radius: 14px;
  box-shadow: var(--ombre-forte);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown-menu a { display: block; }

.nav .btn { margin-left: 8px; padding: 9px 22px; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  color: var(--vert-canard);
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-logo img, .hero-logo .logo-img { max-width: 440px; width: 100%; height: auto; margin: 0 auto; filter: drop-shadow(0 12px 26px rgba(51,51,51,0.12)); }
.hero h1 { color: var(--vert-canard); margin-bottom: 8px; }
.hero .accent { color: var(--corail); }
.hero p.lead { font-size: 1.2rem; margin: 14px 0 26px; max-width: 460px; color:#4f4f4f; }

/* éclaboussures décoratives */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}
.blob-1 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(46,125,120,.55), transparent 70%); top: -40px; right: -30px; }
.blob-2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(245,100,82,.4), transparent 70%); bottom: -80px; left: -60px; }
.blob-3 { width: 160px; height: 160px; background: radial-gradient(circle, rgba(140,154,99,.5), transparent 70%); top: 40%; right: 8%; }
.hero-grid { position: relative; z-index: 1; }

/* ---------- Cartes disciplines ---------- */
.cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.carte {
  background: var(--blanc-casse);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--ombre);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(51,51,51,0.04);
}
.carte:hover { transform: translateY(-8px); box-shadow: var(--ombre-forte); }
.carte .emoji { font-size: 2.8rem; display: block; margin-bottom: 10px; }
.carte h3 { color: var(--corail); margin-bottom: 12px; }
.carte ul { list-style: none; color: #555; }
.carte ul li { padding: 3px 0; }

/* ---------- Bienvenue (2 colonnes) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.inverse .split-img { order: -1; }
.split-img img,
.ph-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--ombre);
  width: 100%;
}
.split h2 { margin-bottom: 14px; }
.split p { margin-bottom: 14px; color:#4f4f4f; }

/* Placeholder image */
.ph-img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--vert-canard);
  font-family: var(--titre);
  font-size: 1.5rem;
  padding: 20px;
  background:
    repeating-linear-gradient(45deg, rgba(140,154,99,0.10) 0 12px, rgba(140,154,99,0.04) 12px 24px),
    var(--blanc-casse);
  border: 2px dashed rgba(46,125,120,0.35);
}

/* Photos réelles dans les cadres */
.photo-split {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--ombre);
  display: block;
}
.photo-split.portrait { aspect-ratio: 3 / 4; }

/* ---------- Galerie mosaïque (masonry par colonnes) ---------- */
.section-sauge { background: rgba(140,154,99,0.14); }
.galerie {
  column-count: 3;
  column-gap: 16px;
}
.galerie img.photo-galerie,
.galerie .ph-img {
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* ---------- Pourquoi nous choisir ---------- */
.atouts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.atout { text-align: center; }
.atout .rond {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: var(--blanc-casse);
  box-shadow: var(--ombre);
  border: 2px solid rgba(46,125,120,0.15);
  transition: transform .2s ease;
}
.atout:hover .rond { transform: translateY(-6px) rotate(-4deg); }
.atout p { font-weight: 500; color: var(--vert-canard); }

/* ---------- Avis parents ---------- */
.avis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avis .carte { text-align: left; }
.etoiles { color: #f5b942; font-size: 1.15rem; margin-bottom: 10px; letter-spacing: 2px; }
.avis blockquote { font-style: italic; color: #4f4f4f; margin-bottom: 14px; }
.avis .auteur { font-weight: 600; color: var(--corail); }

/* ---------- CTA corail ---------- */
.cta {
  background: var(--corail);
  color: #fff;
  text-align: center;
  border-radius: 0;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin-bottom: 26px; font-size: 1.15rem; opacity: .95; }

/* ---------- Page : bandeau titre ---------- */
.page-hero {
  text-align: center;
  padding: 66px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--vert-canard); }
.page-hero p { color: var(--corail); font-family: var(--titre); font-size: 1.5rem; }

/* ---------- Objectifs / listes à puces stylées ---------- */
.liste-check { list-style: none; margin: 8px 0; }
.liste-check li {
  position: relative;
  padding: 6px 0 6px 34px;
  color: #4f4f4f;
}
.liste-check li::before {
  content: "✔";
  position: absolute; left: 0; top: 6px;
  color: var(--corail);
  font-weight: 700;
}

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: etape; }
.etape { background: var(--blanc-casse); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--ombre); }
.etape .num {
  counter-increment: etape;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--corail); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--titre); font-size: 1.4rem; margin-bottom: 12px;
}
.etape .num::before { content: counter(etape); }
.etape h3 { font-size: 1.3rem; color: var(--vert-canard); margin-bottom: 6px; }
.etape p { color:#555; font-size: .95rem; }

/* ---------- Tableau tarifs ---------- */
.table-wrap { overflow-x: auto; }
.tarifs {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--blanc-casse);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.tarifs th, .tarifs td { padding: 16px 20px; text-align: left; }
.tarifs thead th { background: var(--vert-canard); color:#fff; font-weight:600; font-family: var(--texte); }
.tarifs tbody tr:nth-child(even) { background: rgba(140,154,99,0.08); }
.tarifs tbody td:first-child { font-weight: 600; color: var(--vert-canard); }
.tarifs .prix { color: var(--corail); font-weight: 700; }

/* ---------- Formulaires ---------- */
.form-card {
  background: var(--blanc-casse);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--ombre);
  max-width: 640px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
input, textarea, select {
  font-family: var(--texte);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(46,125,120,0.25);
  border-radius: 12px;
  background: #fff;
  color: var(--anthracite);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--corail);
  box-shadow: 0 0 0 3px rgba(245,100,82,0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ---------- Contact infos ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-item .ico { font-size: 1.5rem; }
.info-item strong { color: var(--vert-canard); display: block; }
.map-ph { aspect-ratio: 16/10; border-radius: var(--radius); }
.reseaux a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vert-canard); color:#fff; margin-right: 10px;
  transition: transform .18s, background-color .18s;
  font-weight: 600;
}
.reseaux a:hover { background: var(--corail); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--vert-canard);
  color: #eef3f2;
  padding: 56px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.site-footer .logo img, .site-footer .logo .logo-img { height: 76px; width: auto; background: var(--beige-lin); padding: 8px; border-radius: 14px; }
.site-footer .citation { font-family: var(--titre); font-size: 1.35rem; margin-top: 16px; color:#fff; line-height:1.3; max-width: 340px; }
.site-footer h4 { font-family: var(--texte); font-weight: 600; margin-bottom: 14px; color:#fff; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a:hover { color: #ffd9d2; }
.footer-bas {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  opacity: .85;
}

/* ---------- Animations d'apparition ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.inverse .split-img { order: 0; }
  .hero-logo { order: -1; }
  .cartes, .avis { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .galerie { column-count: 2; }
  .form-grid { grid-template-columns: 1fr; }

  .burger { display: block; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--beige-lin);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 24px 24px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.12);
    transition: right .28s ease;
    overflow-y: auto;
  }
  .nav.ouvert { right: 0; }
  .nav a { width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 0 14px; min-width: 0;
    display: none;
  }
  .dropdown.ouvert .dropdown-menu { display: block; }
  .nav .btn { width: 100%; text-align: center; margin: 10px 0 0; }
}

@media (max-width: 520px) {
  .atouts, .etapes { grid-template-columns: 1fr; }
  .galerie { column-count: 1; }
  section { padding: 52px 0; }
  .form-card { padding: 22px; }
}
