/* =========================
   BASE – tout est repensé
========================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root{
  --deep-terra: #7B3F2B;      /* terre cuite profonde */
  --sand: #E5C7A2;            /* sable chaud */
  --forest: #2F4F3A;          /* vert forêt */
  --paper-light: #FDF7F0;     /* fond très clair avec chaleur */
  --ink: #2A2827;
  --muted: #5F5B57;
  --line: rgba(43, 40, 38, 0.15);

  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
  --shadow-sm: 0 10px 20px -8px rgba(0,0,0,0.15);

  --wrap: 1280px;
}

body{
  font-family: 'Bitter', serif;
  color: var(--ink);
  background: var(--paper-light);
  line-height: 1.5;
  position: relative;
  background-image: 
    radial-gradient(circle at 30% 10%, rgba(123, 63, 43, 0.02) 0%, transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(47, 79, 58, 0.02) 0%, transparent 40%);
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, .kicker, .btn, .tag, .menu a, .stat strong, .quick__item strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.0; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.muted { color: var(--muted); }
.kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--deep-terra);
  border-left: 4px solid var(--deep-terra);
  padding-left: 0.8rem;
  margin-bottom: 0.5rem;
}

/* =========================
   LAYOUT COMMUN
========================= */
.wrap {
  width: min(92%, var(--wrap));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

/* =========================
   TOPBAR – plus massive, avec texture
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 247, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--deep-terra);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.logo__mark {
  width: 48px;
  height: 48px;
  background: var(--deep-terra);
  border-radius: 50% 50% 0 50%;
  transform: rotate(15deg);
  transition: transform 0.2s;
}
.logo:hover .logo__mark {
  transform: rotate(0deg) scale(1.05);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo__text strong {
  font-size: 1.6rem;
  color: var(--deep-terra);
}
.logo__text em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Bitter', serif;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.menu a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.menu a:hover {
  border-bottom-color: var(--deep-terra);
  color: var(--deep-terra);
}
.menu .cta {
  background: var(--deep-terra);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  border: none;
}
.menu .cta:hover {
  background: var(--forest);
  border-bottom: none;
}

.menuBtn {
  display: none;
  width: 50px;
  height: 50px;
  border: 2px solid var(--deep-terra);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  padding: 12px;
}
.menuBtn span {
  display: block;
  height: 3px;
  background: var(--deep-terra);
  border-radius: 3px;
  transition: 0.2s;
}
.menuBtn span + span { margin-top: 7px; }
.menuBtn.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menuBtn.is-open span:nth-child(2) { opacity: 0; }
.menuBtn.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* =========================
   HERO – avec formes organiques
========================= */
.hero {
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229,199,162,0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.hero-blob {
  position: absolute;
  background: var(--sand);
  opacity: 0.2;
  filter: blur(50px);
  border-radius: 70% 30% 60% 40% / 50% 40% 60% 50%;
  z-index: 1;
}
.hero-blob--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: var(--forest);
}
.hero-blob--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  background: var(--deep-terra);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(123, 63, 43, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 1px dashed var(--deep-terra);
  font-size: 0.9rem;
}
.tag__dot {
  width: 14px;
  height: 14px;
  background: var(--deep-terra);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(123,63,43,0.2);
}

.hero h1 {
  margin: 1.5rem 0 1rem;
}
.sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 45ch;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 60px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.2s;
  cursor: pointer;
  font-size: 1rem;
}
.btn--primary {
  background: var(--deep-terra);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--forest);
  transform: scale(1.02);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--deep-terra);
  color: var(--deep-terra);
}
.btn--outline:hover {
  background: rgba(123,63,43,0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--deep-terra);
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__visual {
  display: grid;
  gap: 1.5rem;
}
.photoFrame {
  position: relative;
  border-radius: 60px 60px 60px 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  border: 4px solid white;
}
.photoFrame__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.4s;
}
.photoFrame:hover .photoFrame__img {
  transform: scale(1.02);
}
.photoFrame__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 40px;
  padding: 1rem;
  border: 1px solid white;
}
.photoFrame__badge strong {
  display: block;
  color: var(--deep-terra);
}
.photoFrame__badge span {
  font-size: 0.9rem;
}

.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quick__item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.2rem 0.8rem;
  text-align: center;
  border: 2px dotted var(--sand);
}
.quick__item strong {
  display: block;
  color: var(--forest);
}

/* =========================
   STRIP
========================= */
.strip {
  padding: 2rem 0;
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stripCard {
  background: var(--sand);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 10px;
  padding: 1.8rem 1.5rem;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow-sm);
  transform: rotate(0.5deg);
}
.stripCard h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--deep-terra);
}
.stripCard p {
  opacity: 0.9;
}

/* =========================
   BLOCKS
========================= */
.block {
  padding: 5rem 0;
}
.block--alt {
  background: rgba(229, 199, 162, 0.2);
  border-top: 2px dashed var(--sand);
  border-bottom: 2px dashed var(--sand);
}
.block__head {
  max-width: 700px;
  margin-bottom: 3rem;
}

/* =========================
   CARTES PROGRAMMES (asymétriques)
========================= */
.gridCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cardProg {
  background: white;
  border-radius: 60px 60px 30px 30px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  transform: rotate(0deg);
}
.cardProg:nth-child(even) {
  transform: translateY(20px) rotate(1deg);
}
.cardProg:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 30px 40px -20px rgba(0,0,0,0.3);
}
.cardProg__top h3 {
  color: var(--forest);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.cardProg__top p {
  color: var(--muted);
  font-size: 0.95rem;
}
.bullets {
  list-style: none;
  margin: 1.5rem 0;
}
.bullets li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.bullets li::before {
  content: '🐾';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1rem;
  opacity: 0.7;
}
.cardLink {
  display: inline-block;
  font-weight: 800;
  color: var(--deep-terra);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.cardLink:hover {
  border-bottom-color: var(--deep-terra);
}
.cardProg--wide {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, white, #faf4ec);
  border-left: 10px solid var(--deep-terra);
  transform: rotate(-0.5deg);
}
.wideRow {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 1rem 0;
}
.wideNote {
  background: var(--sand);
  border-radius: 40px;
  padding: 1.5rem;
  flex: 1;
}
.wideNote strong {
  color: var(--deep-terra);
}
.wideNote span {
  color: var(--ink);
}

/* =========================
   STEPS
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.step {
  display: flex;
  gap: 1.2rem;
  background: white;
  border-radius: 50px 20px 50px 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: 0.2s;
}
.step:hover {
  background: var(--sand);
}
.step__num {
  width: 50px;
  height: 50px;
  background: var(--forest);
  color: white;
  border-radius: 30px 10px 30px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
}
.step__body h3 {
  color: var(--forest);
}
.step__body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  margin-top: 3rem;
  background: var(--forest);
  color: white;
  border-radius: 80px 20px 80px 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.callout__text h3 {
  color: var(--sand);
  font-size: 1.8rem;
}
.callout .btn--primary {
  background: white;
  color: var(--forest);
  border: none;
}
.callout .btn--primary:hover {
  background: var(--sand);
  color: var(--deep-terra);
}

/* =========================
   SPLIT (terrain)
========================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.features {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.feature {
  background: white;
  border-radius: 30px;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 8px solid var(--deep-terra);
}
.feature strong {
  display: block;
  color: var(--forest);
}
.feature span {
  color: var(--muted);
  font-size: 0.9rem;
}
.board {
  position: relative;
  border-radius: 120px 20px 120px 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.board__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.board__stamp {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.85);
  padding: 1rem 1.8rem;
  border-radius: 60px;
  border: 2px dashed var(--deep-terra);
  font-weight: 800;
  color: var(--deep-terra);
}
.board__stamp span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

/* =========================
   FAQ – épuré mais stylisé
========================= */
.faq {
  background: white;
  border-radius: 60px;
  padding: 1rem;
  border: 2px solid var(--sand);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--forest);
}
.faq__q:last-of-type {
  border-bottom: none;
}
.faq__icon {
  width: 30px;
  height: 30px;
  background: var(--sand);
  border-radius: 50%;
  position: relative;
  transition: 0.2s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--deep-terra);
  top: 50%;
  left: 25%;
  width: 50%;
  height: 2px;
  transform: translateY(-50%);
}
.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s;
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}
.faq__a {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}
.faq__q[aria-expanded="true"] + .faq__a {
  display: block;
}

/* =========================
   CONTACT
========================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.infoList {
  display: grid;
  gap: 1rem;
}
.infoItem {
  background: white;
  border-radius: 40px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.infoItem strong {
  display: block;
  color: var(--deep-terra);
}
.infoItem span {
  color: var(--muted);
}
.contact__form {
  background: white;
  border-radius: 60px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--sand);
}
.contact__form label {
  display: block;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--forest);
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: var(--paper-light);
  font-family: inherit;
  margin-top: 0.3rem;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--deep-terra);
}
.fine {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  border-top: 2px dashed var(--sand);
  padding: 2rem 0;
  margin-top: 4rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--deep-terra);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
  .gridCards {
    grid-template-columns: 1fr 1fr;
  }
  .strip__grid {
    grid-template-columns: 1fr;
  }
  .hero-blob {
    display: none;
  }
}
@media (max-width: 760px) {
  .menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 5%;
    right: 5%;
    background: white;
    border-radius: 40px;
    padding: 2rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1.5rem;
    border: 2px solid var(--sand);
    z-index: 1000;
  }
  .menu.is-open {
    display: flex;
  }
  .menuBtn {
    display: block;
  }
  .gridCards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .stats, .quick {
    grid-template-columns: 1fr;
  }
  .wideRow {
    flex-direction: column;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}