/* Plantatio · vitrine (plantatio.app)
   Couleurs et typographie du design system Plantatio : olive #556B1F, terre #9A3B1F, latex #F7F3EA ; Sora et Inter.
   Polices servies par le site lui-même (aucun service extérieur). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-bold.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/sora-bold.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/sora-extrabold.woff2") format("woff2"); }

:root {
  --surface: #F7F3EA;
  --raised: #FFFFFF;
  --sunken: #EFE8DA;
  --line: #DDD5C4;
  --line-soft: #EFE8DA;
  --ink: #1F2416;
  --muted: #4E5442;
  --olive: #556B1F;
  --olive-deep: #33401A;
  --olive-text: #4A5D1A;
  --olive-soft: #E8ECD6;
  --terre: #9A3B1F;
  --terre-text: #8A341B;
  --terre-soft: #F3DDD2;
  --attention: #7A4A00;
  --attention-soft: #FFF1D6;
  --danger: #A3261B;
  --palmier: #2F6B4F;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--olive-text); }
a:hover { color: var(--olive-deep); }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.saut { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.saut:focus { left: 8px; }

/* ---------------------------------------------------------------- en-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.entete .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; padding: 8px 0; }
.marque svg { width: 34px; height: 34px; }
.marque span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--olive-text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.entete .actions { display: flex; gap: 8px; align-items: center; }
.lien-discret { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 12px 8px; }
.menu-bouton { display: none; }
.nav .seulement-mobile { display: none; }
@media (max-width: 860px) {
  .menu-bouton {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--raised); color: var(--ink); cursor: pointer;
  }
  .nav, .entete .actions .lien-discret { display: none; }
  .entete.ouvert .nav { display: flex; flex-direction: column; width: 100%; order: 5; padding-bottom: 12px; }
  .entete.ouvert .nav a { padding: 14px 0; border-top: 1px solid var(--line-soft); }
  .entete.ouvert .nav .seulement-mobile { display: block; }
}

/* ---------------------------------------------------------------- boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 14px;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .12s ease;
}
.bouton:active { transform: translateY(1px); }
.bouton.terre { background: var(--terre); color: #fff; }
.bouton.terre:hover { background: #84321A; color: #fff; }
.bouton.contour { background: var(--raised); color: var(--olive-text); border-color: var(--olive); }
.bouton.contour:hover { background: var(--olive-soft); color: var(--olive-deep); }
.bouton.latex { background: var(--surface); color: var(--olive-deep); }
.bouton.latex:hover { background: #fff; color: var(--olive-deep); }
.bouton.petit { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.bouton svg { width: 20px; height: 20px; flex: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- textes communs */
.surtitre {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--terre-text); background: var(--terre-soft); padding: 6px 12px; border-radius: 999px;
}
.surtitre.nu { background: none; padding: 0; }
.titre-1 { font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.03em; }
.titre-2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.45rem); line-height: 1.12; }
.titre-3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
.chapeau { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 560px; }
.discret { color: var(--muted); }
.petit-texte { font-size: 13px; line-height: 1.45; color: var(--muted); }
.coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.coches li { display: flex; gap: 10px; align-items: flex-start; }
.coches li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px;
  background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' stroke='%23556B1F' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section.blanche { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .tete { max-width: 720px; display: grid; gap: 10px; margin-bottom: 36px; }

/* héros */
.heros { padding: 52px 0 72px; }
.heros .wrap { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.heros .texte { flex: 999 1 440px; min-width: 0; padding-top: 10px; display: grid; gap: 20px; justify-items: start; }
.heros .cote { flex: 1 1 360px; min-width: 0; }

/* cultures */
.cultures { display: flex; flex-wrap: wrap; gap: 8px; }
.culture { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.culture i { width: 10px; height: 10px; border-radius: 99px; display: block; }

/* simulateur */
.simu { background: var(--raised); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 1px 0 rgba(31, 36, 22, .04), 0 18px 40px -28px rgba(51, 64, 26, .45); }
.simu h2 { font-weight: 800; font-size: 20px; }
.simu .lib { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.choix { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.choix button {
  min-height: 46px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 600 15px var(--body); cursor: pointer;
}
.choix button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 700; }
.compteur { margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.compteur button {
  width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  font: 700 26px var(--body); color: var(--ink); cursor: pointer;
}
.compteur output { flex: 1; text-align: center; font: 800 34px/40px var(--display); }
.ecran { margin-top: 16px; background: var(--olive); color: #fff; border-radius: 20px; padding: 16px; }
.ecran .haut { font-size: 12px; color: var(--olive-soft); }
.ecran .gros { margin-top: 4px; font: 800 22px/28px var(--display); }
.ecran .sous { font-size: 13px; color: var(--olive-soft); }
.ecran ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.ecran li { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.ecran li b { font-weight: 700; }
.ecran li span { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* journée */
.journee { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.journee li { display: flex; gap: 18px; padding-bottom: 26px; }
.journee li:last-child { padding-bottom: 0; }
.journee .heure { flex: none; width: 108px; text-align: right; }
.journee .heure b { display: block; font: 800 22px var(--display); white-space: nowrap; }
.journee .heure span { font-size: 12px; color: var(--muted); }
.journee .fil { flex: none; width: 14px; display: flex; flex-direction: column; align-items: center; }
.journee .fil::before { content: ""; width: 14px; height: 14px; border-radius: 99px; background: var(--olive); margin-top: 6px; }
.journee .fil::after { content: ""; flex: 1; width: 2px; background: var(--line); }
.journee li:last-child .fil::after { display: none; }
.journee .bulle { flex: 1; min-width: 0; background: var(--surface); border-radius: 18px; padding: 16px; }
.journee .bulle b { display: block; font-size: 17px; }
.journee .bulle p { margin-top: 4px; color: var(--muted); }
.journee li.terre .fil::before { background: var(--terre); }
.journee li.terre .carte { background: var(--terre-soft); }
.journee li.attention .fil::before { background: var(--attention); }
.journee li.attention .carte { background: var(--attention-soft); }
.journee li.olive .carte { background: var(--olive); color: #fff; }
.journee li.olive .carte p { color: var(--olive-soft); }
@media (max-width: 520px) { .journee li { gap: 12px; } .journee .heure { width: 74px; } .journee .heure b { font-size: 17px; } }

/* comparaison */
.tableau { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.tableau table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { padding: 14px 16px; text-align: left; vertical-align: top; }
.tableau thead th { font-weight: 700; color: var(--muted); }
.tableau thead th.nous { color: #fff; background: var(--olive); font-weight: 800; }
.tableau tbody tr { border-top: 1px solid var(--line-soft); }
.tableau tbody th { font-weight: 600; }
.tableau .non { color: var(--danger); }
.tableau .moyen { color: var(--attention); }
.tableau .oui { color: var(--olive-text); }
.tableau td.nous { font-weight: 700; color: var(--olive-text); background: var(--olive-soft); }

/* grilles de cartes */
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.carte { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.carte .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--olive-soft); color: var(--olive-text); display: grid; place-items: center; }
.carte .icone svg { width: 24px; height: 24px; }
.carte p { color: var(--muted); }
a.carte { text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
a.carte:hover { border-color: var(--olive); transform: translateY(-2px); color: var(--ink); }
a.carte .suite { margin-top: 6px; font-weight: 700; color: var(--olive-text); }

/* chiffres */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.chiffres .carte b { font: 800 44px/1 var(--display); color: var(--olive-text); }

/* citations / objections */
.objections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.objections .carte q { font: 700 1.15rem/1.35 var(--display); quotes: "« " " »"; }

/* aperçu téléphone */
.telephone {
  width: min(100%, 330px); margin: 0 auto; background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -34px rgba(31, 36, 22, .6);
}
.telephone .dedans { background: var(--surface); border-radius: 30px; overflow: hidden; }
.telephone .barre-olive { background: var(--olive); color: #fff; padding: 22px 18px 18px; }
.telephone .barre-olive small { color: var(--olive-soft); font-size: 12px; display: block; }
.telephone .barre-olive b { font: 800 22px var(--display); }
.telephone .corps { padding: 14px; display: grid; gap: 10px; }
.mini { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.mini small { display: block; color: var(--muted); font-size: 12px; }
.mini b { font-size: 15px; }
.mini.terre { background: var(--terre-soft); border-color: #EBC9B8; }
.mini.olive { background: var(--olive-soft); border-color: #D3DBB4; }
.mini .ligne { display: flex; justify-content: space-between; gap: 8px; align-items: center; }

/* bandeau d'appel */
.appel { background: var(--olive-deep); color: #fff; border-radius: 28px; padding: 44px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.appel h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; }
.appel p { margin-top: 8px; color: var(--olive-soft); }
.appel > div { flex: 1 1 380px; }

/* deux colonnes */
.duo { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.duo > * { flex: 1 1 380px; min-width: 0; }

/* questions */
.questions { display: grid; gap: 10px; max-width: 820px; }
.questions details { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.questions summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 28px 18px 0; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 700 24px var(--body); color: var(--olive-text); }
.questions details[open] summary::after { content: "−"; }
.questions details p { padding: 0 0 18px; color: var(--muted); }

/* pied de page */
.pied { border-top: 1px solid var(--line); margin-top: 24px; }
.pied .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.pied nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.pied a { padding: 10px 0; display: inline-block; }

/* pages légales */
.legal { padding: 40px 0 64px; }
.legal .wrap { max-width: 820px; }
.legal .fil-ariane { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.legal h1 { font-weight: 800; font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.1; }
.legal .maj { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: #2F3524; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal .sommaire { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-top: 24px; }
.legal .sommaire ol { margin: 8px 0 0; }
.legal .encadre { background: var(--olive-soft); border-radius: 16px; padding: 16px 20px; margin-top: 16px; }

/* 404 */
.erreur { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.erreur .grand { font: 800 88px/1 var(--display); color: var(--olive-text); }

/* petits téléphones : logo et bouton de démo sur une seule ligne */
@media (max-width: 420px) {
  .entete .wrap { flex-wrap: nowrap; gap: 8px; }
  .entete.ouvert .wrap { flex-wrap: wrap; }
  .marque span { font-size: 20px; }
  .marque svg { width: 30px; height: 30px; }
  .entete .actions .bouton { padding: 0 12px; font-size: 14px; }
}
.grille.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grille.deux { grid-template-columns: 1fr; } }
