/* Xyléa — feuille de style du site.
   Mêmes couleurs, polices et rayons que l'app (docs/design-system.md). */

/* ---------- Polices (embarquées, licence OFL) ---------- */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/YoungSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* ---------- Jetons ---------- */

:root {
  --creme: #f5f1e9;
  --creme-fonce: #ede6d9;
  --surface: #ffffff;
  --brume: #e4eceb;
  --ligne: #ddd6c9;
  --ink: #1b2f35;
  --ink-muted: #56676b;
  --petrole: #1f4a55;
  --petrole-press: #163843;
  --sauge: #a9bc8e;
  --sauge-soft: #e7eedd;
  --sauge-fonce: #4f6b3a;
  --terre-cuite: #b5603f;
  --terre-cuite-texte: #9c4c2e;
  --terre-cuite-soft: #f4e2d8;

  --titre: "Young Serif", Georgia, "Times New Roman", serif;
  --texte: "Nunito", "Segoe UI", system-ui, sans-serif;

  --rayon-s: 8px;
  --rayon-m: 14px;
  --rayon-l: 20px;
  --rayon-xl: 32px;

  --ombre-carte: 0 1px 2px rgba(27, 47, 53, 0.06), 0 4px 14px rgba(27, 47, 53, 0.06);
  --ombre-telephone: 0 40px 70px -30px rgba(27, 47, 53, 0.45), 0 12px 24px -12px rgba(27, 47, 53, 0.25);

  --gouttiere: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--petrole);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--petrole);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--petrole);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--rayon-m);
}
.evitement:focus {
  top: 16px;
}

.cadre {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.icone {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Le petit en-tête au-dessus des titres : « COMMENT ÇA MARCHE ». */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.surtitre::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terre-cuite);
}

.titre-section {
  font-size: clamp(32px, 4.2vw, 50px);
  margin-top: 14px;
}

.chapeau {
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-muted);
  max-width: 38em;
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--rayon-m);
  background: var(--petrole);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.bouton:hover {
  background: var(--petrole-press);
}
.bouton--petit {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
}
.lien-fleche .icone {
  transition: transform 0.2s ease;
}
.lien-fleche:hover .icone {
  transform: translateX(3px);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 18px;
  border-radius: var(--rayon-m);
  background: var(--petrole);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
}
.store:hover {
  background: var(--petrole-press);
}
.store .icone {
  width: 24px;
  height: 24px;
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.store--bientot {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--ligne);
}
.stores--clair .store--bientot {
  color: var(--creme);
  border-color: rgba(245, 241, 233, 0.35);
}

.garanties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.garanties li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.garanties .icone {
  color: var(--sauge-fonce);
}

/* ---------- En-tête et pied de page ---------- */

.entete {
  border-bottom: 1px solid var(--ligne);
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--petrole);
  text-decoration: none;
  font-family: var(--titre);
  font-size: 27px;
  line-height: 1;
}
.marque span {
  transform: translateY(-2px);
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
}
.navigation a:not(.bouton) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.navigation a:not(.bouton):hover {
  color: var(--petrole);
  text-decoration: underline;
}

.pied {
  margin-top: var(--section);
  border-top: 1px solid var(--ligne);
  padding-top: 56px;
  font-size: 15px;
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}
.pied__marque p {
  margin-top: 14px;
  color: var(--ink-muted);
  max-width: 24em;
}
.pied__liens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pied__liens h2 {
  font-family: var(--texte);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.pied__liens a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
}
.pied__liens a:hover {
  color: var(--petrole);
  text-decoration: underline;
}
.pied__bas {
  margin-top: 48px;
  padding-bottom: 40px;
  color: var(--ink-muted);
  font-size: 14px;
}
.pied__bas p {
  padding-top: 24px;
  border-top: 1px solid var(--ligne);
}

/* ---------- Téléphones et captures ---------- */

.telephone {
  width: 100%;
  max-width: 280px;
  padding: 9px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: var(--ombre-telephone);
}
.telephone img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 33px;
}

/* ---------- Accueil : en-tête de page ---------- */

.hero {
  padding-block: clamp(48px, 7vw, 96px) var(--section);
}
.hero__grille {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.04;
}
.hero h1 em {
  white-space: nowrap;
  font-style: normal;
  color: var(--petrole);
}
.hero__chapeau {
  margin-top: 26px;
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--ink-muted);
  max-width: 30em;
}
.hero .stores {
  margin-top: 36px;
}

/* L'arche : la forme d'une serre ou d'une fenêtre de jardin d'hiver. */
.arche {
  position: relative;
  aspect-ratio: 0.86;
  max-width: 520px;
  justify-self: end;
  width: 100%;
  border-radius: 999px 999px var(--rayon-xl) var(--rayon-xl);
  background: var(--sauge-soft);
}
.arche::after {
  /* Le soleil, discret, en haut à droite. */
  content: "";
  position: absolute;
  top: 11%;
  left: 26%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--terre-cuite);
}
.arche .telephone {
  position: absolute;
  z-index: 1;
  width: 52%;
}
.arche .telephone--avant {
  left: 12%;
  bottom: -9%;
  z-index: 2;
}
.arche .telephone--arriere {
  right: 6%;
  bottom: 9%;
  width: 44%;
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}
.section--encadree {
  border-top: 1px solid var(--ligne);
}
.entete-section {
  max-width: 760px;
}
.entete-section--centre {
  margin-inline: auto;
  text-align: center;
}
.entete-section--centre .chapeau {
  margin-inline: auto;
}

/* Comment ça marche */
.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.etape__capture {
  height: 340px;
  overflow: hidden;
  border-radius: var(--rayon-l) var(--rayon-l) 0 0;
  background: var(--sauge-soft);
  padding: 32px 32px 0;
  display: flex;
  justify-content: center;
}
.etape__capture .telephone {
  max-width: 230px;
  padding-bottom: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 20px 40px -24px rgba(27, 47, 53, 0.45);
}
.etape__capture .telephone img {
  border-radius: 26px 26px 0 0;
}
.etape__texte {
  padding-top: 24px;
}
.etape__numero {
  font-family: var(--titre);
  font-size: 15px;
  color: var(--terre-cuite-texte);
}
.etape h3 {
  margin-top: 6px;
  font-size: 25px;
}
.etape p {
  margin-top: 10px;
  color: var(--ink-muted);
}

/* Les arguments */
.arguments {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.arguments__titre {
  position: sticky;
  top: 40px;
}
.arguments__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: argument;
}
.arguments__liste li {
  counter-increment: argument;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 16px;
  padding: 32px 0;
  border-top: 1px solid var(--ligne);
}
.arguments__liste li:last-child {
  border-bottom: 1px solid var(--ligne);
}
.arguments__liste li::before {
  content: counter(argument, decimal-leading-zero);
  font-family: var(--titre);
  font-size: 17px;
  color: var(--terre-cuite-texte);
  padding-top: 4px;
}
.arguments__liste h3 {
  font-size: 26px;
}
.arguments__liste p {
  grid-column: 2;
  color: var(--ink-muted);
}

/* Mode vacances */
.vacances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(32px, 6vw, 80px);
  border-radius: var(--rayon-xl);
  background: var(--brume);
}
.liste-coches {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.liste-coches li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.liste-coches .icone {
  margin-top: 3px;
  color: var(--sauge-fonce);
}

/* La page du gardien, recomposée en HTML pour l'illustration. */
.gardien {
  background: var(--surface);
  border-radius: var(--rayon-l);
  box-shadow: var(--ombre-telephone);
  padding: 28px;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.gardien__qui {
  font-family: var(--titre);
  font-size: 22px;
}
.gardien__quand {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.gardien__piece {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gardien__tache {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ligne);
}
.gardien__tache:last-child {
  border-bottom: 0;
}
.gardien__case {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  border: 2px solid var(--ink-muted);
  display: grid;
  place-items: center;
  color: #fff;
}
.gardien__case .icone {
  width: 15px;
  height: 15px;
}
.gardien__tache--faite .gardien__case {
  background: var(--petrole);
  border-color: var(--petrole);
}
.gardien__tache--faite .gardien__nom {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--ligne);
}
.gardien__nom {
  font-weight: 700;
}
.gardien__consigne {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Frise et défis */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.duo__carte {
  display: flex;
  flex-direction: column;
  border-radius: var(--rayon-xl);
  background: var(--surface);
  overflow: hidden;
}
.duo__texte {
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0;
}
.duo__texte h3 {
  margin-top: 12px;
  font-size: clamp(26px, 2.6vw, 34px);
}
.duo__texte p {
  margin-top: 12px;
  color: var(--ink-muted);
}
.duo__capture {
  margin-top: auto;
  padding: 40px 40px 0;
  height: 380px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.duo__capture .telephone {
  max-width: 260px;
  border-radius: 38px 38px 0 0;
  padding-bottom: 0;
}
.duo__capture .telephone img {
  border-radius: 30px 30px 0 0;
}
.duo__carte--sauge .duo__capture {
  background: var(--sauge-soft);
}
.duo__carte--terre .duo__capture {
  background: var(--terre-cuite-soft);
}

/* Fiches d'espèces */
.entete-fiches {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.grille-especes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.carte-espece {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border-radius: var(--rayon-l);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carte-espece:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-carte);
}
.carte-espece__motif {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sauge-soft);
  color: var(--sauge-fonce);
}
.carte-espece__nom {
  margin-top: 22px;
  font-size: 23px;
}
.carte-espece__latin {
  margin-top: 4px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-muted);
}
.carte-espece__infos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}
.carte-espece__infos span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.carte-espece__infos .icone {
  width: 15px;
  height: 15px;
}

/* Tarifs */
.offres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}
.offre {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--rayon-l);
  background: var(--surface);
  border: 1px solid var(--ligne);
  text-align: center;
}
.offre--principale {
  border: 2px solid var(--petrole);
}
.offre__ruban {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sauge-soft);
  color: var(--sauge-fonce);
  font-size: 13px;
  font-weight: 800;
}
.offre__nom {
  font-family: var(--texte);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.offre__prix {
  margin-top: 14px;
  font-family: var(--titre);
  font-size: 54px;
  line-height: 1;
}
.offre__detail {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-muted);
}
.inclus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.inclus li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inclus .icone {
  color: var(--sauge-fonce);
}
.note-centree {
  margin-top: 20px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
}

/* Questions fréquentes */
.questions {
  max-width: 820px;
  margin: 48px auto 0;
}
.question {
  border-top: 1px solid var(--ligne);
}
.question:last-child {
  border-bottom: 1px solid var(--ligne);
}
.question summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--titre);
  font-size: 21px;
}
.question summary::-webkit-details-marker {
  display: none;
}
.question summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--petrole), var(--petrole)) center / 14px 2px no-repeat,
    linear-gradient(var(--petrole), var(--petrole)) center / 2px 14px no-repeat;
  transition: transform 0.25s ease;
}
.question[open] summary::after {
  transform: rotate(45deg);
}
.question p {
  padding-bottom: 24px;
  color: var(--ink-muted);
  max-width: 44em;
}

/* Appel final */
.appel {
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
  border-radius: var(--rayon-xl);
  background: var(--petrole);
  color: var(--creme);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}
.appel h2 {
  font-size: clamp(32px, 4vw, 50px);
}
.appel p {
  margin-top: 16px;
  color: rgba(245, 241, 233, 0.82);
  max-width: 30em;
}
.appel .stores {
  justify-content: flex-end;
}
.appel .store:not(.store--bientot) {
  background: var(--creme);
  color: var(--petrole);
}

/* ---------- Fiches d'espèces ---------- */

.fil {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.fil li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ligne);
}
.fil a {
  color: var(--ink-muted);
}

.fiche {
  padding-top: 40px;
}
.fiche__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 28px;
}
.fiche h1 {
  font-size: clamp(36px, 4.6vw, 58px);
}
.fiche__sous-titre {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-muted);
}
.fiche__sous-titre i {
  font-family: var(--titre);
  font-style: normal;
  color: var(--ink);
}
.reperes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.repere {
  padding: 18px;
  border-radius: var(--rayon-l);
  background: var(--surface);
}
.repere .icone {
  width: 22px;
  height: 22px;
  color: var(--petrole);
}
.repere--alerte .icone {
  color: var(--terre-cuite-texte);
}
.repere__libelle {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.repere__valeur {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  line-height: 1.35;
}
.fiche__texte h2 {
  margin-top: 52px;
  font-size: clamp(25px, 2.4vw, 31px);
}
.fiche__texte p {
  margin-top: 14px;
  max-width: 40em;
}
.encart {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--rayon-m);
  background: var(--sauge-soft);
  max-width: 40em;
}
.encart strong {
  color: var(--sauge-fonce);
}
.encart--alerte {
  background: var(--terre-cuite-soft);
}
.encart--alerte strong {
  color: var(--terre-cuite-texte);
}
.problemes {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.probleme {
  padding: 20px 22px;
  border-radius: var(--rayon-l);
  background: var(--surface);
}
.probleme h3 {
  font-size: 20px;
}
.probleme p {
  margin-top: 8px;
  color: var(--ink-muted);
}
.probleme strong {
  color: var(--ink);
}
.avertissement {
  margin-top: 48px;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 40em;
}

.fiche__aside {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 20px;
}
.portrait {
  position: relative;
  aspect-ratio: 0.9;
  border-radius: 999px 999px var(--rayon-xl) var(--rayon-xl);
  background: var(--sauge-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait .icone {
  width: 38%;
  height: 38%;
  color: var(--sauge);
  stroke-width: 1;
}
.portrait__latin {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--titre);
  font-size: 17px;
  color: var(--sauge-fonce);
}
.rappel {
  padding: 28px;
  border-radius: var(--rayon-l);
  background: var(--surface);
  border: 2px solid var(--petrole);
}
.rappel h2 {
  font-size: 25px;
}
.rappel p {
  margin-top: 10px;
  color: var(--ink-muted);
}
.rappel .stores {
  margin-top: 20px;
}
.rappel .note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-muted);
}
.proches h2 {
  font-family: var(--texte);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.proches ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.proches a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ligne);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.proches a:hover {
  color: var(--petrole);
}
.proches small {
  display: block;
  font-weight: 600;
  font-style: italic;
  color: var(--ink-muted);
}
.proches .carte-espece__motif {
  width: 40px;
  height: 40px;
  flex: none;
}

/* ---------- Liste des fiches ---------- */

.recherche {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.recherche__champ {
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
}
.recherche__champ .icone {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
}
.recherche input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px 0 50px;
  border: 1px solid var(--ink-muted);
  border-radius: var(--rayon-m);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filtre {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ligne);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.filtre[aria-pressed="true"] {
  background: var(--petrole);
  border-color: var(--petrole);
  color: #fff;
}
.compte {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.vide {
  margin-top: 32px;
}

/* ---------- Pages de texte (légal) ---------- */

.page-texte {
  max-width: 800px;
  padding-top: 56px;
}
.page-texte h1 {
  font-size: clamp(36px, 4.4vw, 54px);
}
.page-texte .maj {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.page-texte h2 {
  margin-top: 48px;
  font-size: 26px;
}
.page-texte h3 {
  margin-top: 28px;
  font-size: 20px;
}
.page-texte p,
.page-texte ul,
.page-texte ol {
  margin-top: 14px;
}
.page-texte li + li {
  margin-top: 6px;
}
.page-texte .resume {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--rayon-l);
  background: var(--sauge-soft);
}
.page-texte .resume p:first-child,
.page-texte .resume ul:first-child {
  margin-top: 0;
}
.page-texte table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 15px;
}
.page-texte th,
.page-texte td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--ligne);
}
.page-texte th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.etapes-texte {
  counter-reset: etape;
  list-style: none;
  padding: 0;
}
.etapes-texte li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 40px 1fr;
}
.etapes-texte li::before {
  content: counter(etape);
  font-family: var(--titre);
  color: var(--terre-cuite-texte);
}

mark.a-completer {
  background: var(--terre-cuite-soft);
  color: var(--terre-cuite-texte);
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.page-404 {
  padding-top: 96px;
  text-align: center;
}
.page-404 p {
  margin: 18px auto 32px;
  color: var(--ink-muted);
  max-width: 30em;
}

/* ---------- Petits écrans ---------- */

@media (max-width: 960px) {
  .hero__grille,
  .arguments,
  .vacances,
  .appel,
  .fiche__grille {
    grid-template-columns: 1fr;
  }
  .arche {
    justify-self: center;
    margin-bottom: 9%;
  }
  .arguments__titre,
  .fiche__aside {
    position: static;
  }
  .etapes,
  .duo {
    grid-template-columns: 1fr;
  }
  .reperes {
    grid-template-columns: repeat(2, 1fr);
  }
  .appel .stores {
    justify-content: flex-start;
  }
  .pied__grille {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navigation a:not(.bouton) {
    display: none;
  }
  .offres {
    grid-template-columns: 1fr;
  }
  .pied__liens {
    grid-template-columns: 1fr 1fr;
  }
  .arguments__liste li {
    grid-template-columns: 1fr;
  }
  .arguments__liste p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Les cinq fiches de l'accueil tiennent sur une ligne. */
@media (min-width: 1100px) {
  .grille-especes--cinq {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==========================================================
   Animations
   Des mouvements courts et doux, jamais plus de 0,8 s.
   Tout est coupé si le système demande moins d'animations.
   ========================================================== */

:root {
  --doux: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- En-tête qui reste visible ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--creme);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.entete--detachee {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 var(--ligne), 0 10px 30px -18px rgba(27, 47, 53, 0.35);
}
.marque img {
  transition: transform 0.6s var(--doux);
}
.marque:hover img {
  transform: rotate(-10deg) scale(1.06);
}

/* Liens : un soulignement qui se dessine de gauche à droite. */
.navigation a:not(.bouton),
.pied__liens a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.35s var(--doux), color 0.2s ease;
}
.navigation a:not(.bouton):hover,
.pied__liens a:hover {
  text-decoration: none;
  background-size: 100% 1px;
}
.pied__liens a {
  display: inline-block;
}
.pied__liens > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------- Boutons ---------- */

.bouton,
.store {
  transition: background 0.2s ease, transform 0.25s var(--doux), box-shadow 0.25s var(--doux);
}
.bouton:hover,
.store:not(.store--bientot):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -14px rgba(31, 74, 85, 0.6);
}
.bouton:active,
.store:not(.store--bientot):active {
  transform: translateY(0);
  box-shadow: none;
}
.store .icone {
  transition: transform 0.3s var(--doux);
}
.store:hover .icone {
  transform: scale(1.12);
}
/* « Bientôt sur » : pas encore un lien. Au survol, seul le contour se
   renforce et le bouton se soulève, la couleur du texte ne change pas. */
.store--bientot {
  transition: border-color 0.25s ease, transform 0.25s var(--doux);
}
.store--bientot:hover {
  border-color: currentColor;
  transform: translateY(-2px);
}

/* ---------- Cartes ---------- */

.carte-espece {
  transition: transform 0.35s var(--doux), box-shadow 0.35s var(--doux);
}
.carte-espece:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(27, 47, 53, 0.04), 0 18px 36px -18px rgba(27, 47, 53, 0.3);
}
.carte-espece__motif {
  transition: transform 0.5s var(--doux), background 0.3s ease, color 0.3s ease;
}
.carte-espece:hover .carte-espece__motif {
  transform: rotate(-14deg) scale(1.08);
  background: var(--sauge);
  color: var(--ink);
}
.carte-espece__nom {
  transition: color 0.2s ease;
}
.carte-espece:hover .carte-espece__nom {
  color: var(--petrole);
}

/* Les captures de l'app montent un peu au survol de leur carte. */
.etape__capture .telephone,
.duo__capture .telephone {
  transition: transform 0.6s var(--doux);
}
.etape:hover .etape__capture .telephone,
.duo__carte:hover .duo__capture .telephone {
  transform: translateY(-12px);
}

.offre,
.probleme,
.repere {
  transition: transform 0.35s var(--doux), box-shadow 0.35s var(--doux);
}
.offre:hover,
.probleme:hover,
.repere:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -20px rgba(27, 47, 53, 0.35);
}
.repere .icone {
  transition: transform 0.4s var(--doux);
}
.repere:hover .icone {
  transform: scale(1.15) rotate(-6deg);
}

.arguments__liste h3 {
  transition: color 0.25s ease, transform 0.35s var(--doux);
}
.arguments__liste li:hover h3 {
  color: var(--petrole);
  transform: translateX(4px);
}

.question summary {
  transition: color 0.2s ease;
}
.question summary:hover {
  color: var(--petrole);
}

.proches a .carte-espece__motif {
  transition: transform 0.4s var(--doux);
}
.proches a:hover .carte-espece__motif {
  transform: rotate(-14deg);
}

.gardien__tache {
  transition: background 0.2s ease;
}

.filtre {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--doux);
}
.filtre:hover {
  border-color: var(--petrole);
}
.filtre:active {
  transform: scale(0.96);
}

/* ---------- Entrée en scène de l'accueil ---------- */

@keyframes monter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eclore {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes telephone-entre {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes flotter {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes soleil {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

.hero .surtitre,
.hero h1,
.hero__chapeau,
.hero .stores,
.hero .garanties {
  animation: monter 0.8s var(--doux) both;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero__chapeau {
  animation-delay: 0.2s;
}
.hero .stores {
  animation-delay: 0.3s;
}
.hero .garanties {
  animation-delay: 0.38s;
}
.hero .arche {
  animation: eclore 1s var(--doux) 0.1s both;
}
.hero .arche::after {
  animation: soleil 5s ease-in-out 1.5s infinite;
}
/* Le téléphone de devant entre, puis flotte doucement ; celui de derrière le suit. */
.hero .telephone--avant {
  animation:
    telephone-entre 1s var(--doux) 0.35s both,
    flotter 7s ease-in-out 1.6s infinite;
}
.hero .telephone--arriere {
  animation:
    telephone-entre 1s var(--doux) 0.5s both,
    flotter 8s ease-in-out 2.4s infinite;
}

/* ---------- Apparition au défilement (voir animations.js) ---------- */

.a-reveler {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--doux),
    transform 0.7s var(--doux);
  transition-delay: calc(var(--rang, 0) * 90ms);
}
.a-reveler.revele {
  opacity: 1;
  transform: none;
}
/* Une fois apparus, les éléments retrouvent leurs propres transitions de survol. */
.carte-espece.a-reveler.revele,
.offre.a-reveler.revele,
.probleme.a-reveler.revele,
.repere.a-reveler.revele {
  transition:
    opacity 0.7s var(--doux),
    transform 0.35s var(--doux),
    box-shadow 0.35s var(--doux);
}

/* La carte du gardien se coche toute seule quand elle apparaît. */
.vacances .gardien .gardien__tache:nth-of-type(2) .gardien__case {
  transition: background 0.3s ease 0.9s, border-color 0.3s ease 0.9s;
}
.vacances .gardien.revele .gardien__tache:nth-of-type(2) .gardien__case {
  background: var(--petrole);
  border-color: var(--petrole);
}
.vacances .gardien .gardien__tache:nth-of-type(2) .gardien__nom {
  transition: color 0.3s ease 0.9s;
}
.vacances .gardien.revele .gardien__tache:nth-of-type(2) .gardien__nom {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--ligne);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Les téléphones des cartes gardent toute leur hauteur (le cadre suit l'écran),
   la carte se charge de les couper : au survol, ils montent sans perdre leur contour. */
.etape__capture,
.duo__capture {
  align-items: flex-start;
}

/* ---------- Photos des plantes ---------- */

.carte-espece__photo {
  display: block;
  margin: -22px -22px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--rayon-l) var(--rayon-l) 0 0;
  background: var(--sauge-soft);
}
.carte-espece__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--doux);
}
.carte-espece:hover .carte-espece__photo img {
  transform: scale(1.06);
}
.carte-espece {
  overflow: hidden;
}

.portrait--photo {
  display: block;
  aspect-ratio: auto;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: none;
}
.portrait--photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.9;
  object-fit: cover;
  border-radius: 999px 999px var(--rayon-xl) var(--rayon-xl);
  background: var(--sauge-soft);
}
.portrait--photo figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.portrait--photo figcaption a {
  color: var(--ink-muted);
}

.proches__photo {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--doux);
}
.proches a:hover .proches__photo {
  transform: scale(1.08);
}

/* ---------- Calculateur d'arrosage ---------- */

.calculateur {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.calculateur__choix {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--rayon-xl);
  background: var(--surface);
}
.calculateur__champ {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.calculateur__etiquette {
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.calculateur select {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--ink-muted);
  border-radius: var(--rayon-m);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231f4a55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.options-lumiere {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.options-saison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.option {
  position: relative;
  cursor: pointer;
}
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option__carte {
  display: grid;
  align-content: start;
  gap: 4px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--doux);
}
.option__carte .icone {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  color: var(--petrole);
}
.option__titre {
  font-weight: 800;
}
.option__aide {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}
.option:hover .option__carte {
  border-color: var(--ink-muted);
  transform: translateY(-2px);
}
.option input:checked + .option__carte {
  border: 2px solid var(--petrole);
  padding: 15px;
  background: var(--brume);
}
.option input:focus-visible + .option__carte {
  outline: 2px solid var(--petrole);
  outline-offset: 3px;
}

.calculateur__resultat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 999px 999px var(--rayon-xl) var(--rayon-xl);
  background: var(--sauge-soft);
  text-align: center;
}
.calculateur__resultat .calculateur__etiquette {
  color: var(--sauge-fonce);
}
.calculateur__jours {
  margin-top: 14px;
  font-family: var(--titre);
  font-size: clamp(64px, 8vw, 104px);
  line-height: 1;
  color: var(--ink);
}
.calculateur__jours [data-unite] {
  font-size: 0.34em;
}
.calculateur__jours .change {
  display: inline-block;
  animation: eclore 0.45s var(--doux);
}
.calculateur__entre {
  margin-top: 8px;
  font-weight: 700;
  color: var(--ink-muted);
}
.calculateur__explication {
  margin-top: 24px;
  font-size: 15px;
}
.calculateur__autre {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sauge-fonce);
}
.calculateur__fiche {
  margin-top: 22px;
}
.calculateur__suite {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 64px;
}
.integration {
  margin-top: 64px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--rayon-xl);
  background: var(--brume);
}
.integration h2 {
  font-size: 26px;
}
.integration p {
  margin-top: 10px;
  color: var(--ink-muted);
}
.integration__code {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
}
.integration textarea {
  flex: 1 1 420px;
  padding: 14px 16px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  background: var(--surface);
  font: 13px/1.5 ui-monospace, Consolas, monospace;
  color: var(--ink);
  resize: none;
}

/* La version intégrée sur un autre site : rien que le calculateur. */
body.integre {
  padding: 4px;
  background: transparent;
}
body.integre .calculateur {
  margin-top: 0;
}
.integre__signature {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Plantes non toxiques ---------- */

.bouton--discret {
  background: transparent;
  color: var(--petrole);
  border: 1px solid var(--petrole);
}
.bouton--discret:hover {
  background: var(--petrole);
  color: #fff;
}
.liste-colonnes {
  columns: 3 180px;
  column-gap: 24px;
  padding: 0;
  list-style: none;
}
.liste-colonnes li {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px solid var(--ligne);
}
.page-texte .liste-colonnes li + li {
  margin-top: 0;
}
.liste-colonnes a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.liste-colonnes a:hover {
  color: var(--petrole);
  text-decoration: underline;
}
.impression {
  display: none;
}

@media (max-width: 960px) {
  .calculateur,
  .calculateur__suite {
    grid-template-columns: 1fr;
  }
  .calculateur__resultat {
    border-radius: var(--rayon-xl);
  }
}
@media (max-width: 640px) {
  .options-lumiere {
    grid-template-columns: 1fr;
  }
}

/* ---------- Impression ---------- */

@media print {
  .entete,
  .pied,
  .sans-impression,
  .encart,
  .evitement {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .fiche {
    padding-top: 0;
  }
  .entete-section {
    margin-top: 0 !important;
  }
  .titre-section {
    font-size: 22pt;
  }
  .chapeau {
    font-size: 11pt;
  }
  .a-reveler {
    opacity: 1 !important;
    transform: none !important;
  }
  .impression {
    display: block;
    margin-top: 16pt;
  }
  .impression__liste {
    columns: 3;
    column-gap: 18pt;
    padding: 0;
    list-style: none;
  }
  .impression__liste li {
    break-inside: avoid;
    padding: 3pt 0;
    border-bottom: 0.5pt solid #ccc;
  }
  .impression__liste em {
    display: block;
    font-size: 9pt;
    color: #555;
  }
  .impression__source {
    margin-top: 14pt;
    font-size: 9pt;
    color: #555;
  }
}

/* Un élément masqué par un filtre (attribut hidden) reste masqué, même si
   son style lui donne un autre affichage (les cartes sont en flex). */
[hidden] {
  display: none !important;
}

/* ---------- Mode vacances : la coche de la case ---------- */

.gardien__case .icone {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.35s var(--doux);
}
.gardien__tache--faite .gardien__case .icone {
  opacity: 1;
  transform: none;
}
.vacances .gardien .gardien__tache:nth-of-type(2) .gardien__case .icone {
  transition-delay: 0.9s;
}
.vacances .gardien.revele .gardien__tache:nth-of-type(2) .gardien__case .icone {
  opacity: 1;
  transform: none;
}

/* ---------- Accueil : les outils gratuits ---------- */

.outils {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.outil {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--rayon-xl);
  background: var(--brume);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--doux), box-shadow 0.35s var(--doux);
}
.outil--sauge {
  background: var(--sauge-soft);
}
.outil:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px rgba(27, 47, 53, 0.35);
}
.outil__icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--petrole);
  transition: transform 0.5s var(--doux);
}
.outil:hover .outil__icone {
  transform: rotate(-12deg) scale(1.08);
}
.outil__icone .icone {
  width: 24px;
  height: 24px;
}
.outil h3 {
  margin-top: 8px;
  font-size: clamp(24px, 2.4vw, 30px);
}
.outil p {
  color: var(--ink-muted);
  max-width: 30em;
}
.outil .lien-fleche {
  margin-top: auto;
  padding-top: 8px;
  color: var(--petrole);
}
.outil:hover .lien-fleche .icone {
  transform: translateX(3px);
}
@media (max-width: 760px) {
  .outils {
    grid-template-columns: 1fr;
  }
}

.outil.a-reveler.revele {
  transition:
    opacity 0.7s var(--doux),
    transform 0.35s var(--doux),
    box-shadow 0.35s var(--doux);
}

/* ---------- Quiz « Quelle plante pour ma pièce ? » ---------- */

.quiz {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--rayon-xl);
  background: var(--surface);
}
.quiz__etape {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.quiz__etape + .quiz__etape {
  margin-top: 40px;
}
.quiz--pas-a-pas .quiz__etape + .quiz__etape {
  margin-top: 0;
}
.quiz__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  font-family: var(--titre);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}
.quiz__question:focus {
  outline: none;
}
.quiz__numero {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sauge-soft);
  font-family: var(--texte);
  font-size: 16px;
  font-weight: 800;
  color: var(--sauge-fonce);
}
.quiz--pas-a-pas .quiz__numero {
  display: none;
}
.quiz__reponses {
  display: grid;
  grid-template-columns: repeat(var(--colonnes, 3), minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.quiz__reponses--4 {
  --colonnes: 4;
}
.quiz .option__carte {
  padding: 20px;
}
.quiz .option input:checked + .option__carte {
  padding: 19px;
}
.quiz .option__carte .icone {
  width: 26px;
  height: 26px;
  transition: transform 0.4s var(--doux);
}
.quiz .option:hover .option__carte .icone,
.quiz .option input:checked + .option__carte .icone {
  transform: rotate(-10deg) scale(1.12);
}
.quiz .option__titre {
  font-size: 17px;
}

.quiz__progression {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.quiz__barre {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--creme-fonce);
}
.quiz__barre span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--sauge-fonce);
  transition: width 0.5s var(--doux);
}

.quiz__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.quiz__actions [data-retour] {
  margin-right: auto;
}
.quiz__actions .bouton[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.quiz--envoi {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.quiz__etape--avance {
  animation: quiz-avance 0.5s var(--doux);
}
.quiz__etape--recule {
  animation: quiz-recule 0.5s var(--doux);
}
@keyframes quiz-avance {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes quiz-recule {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: none; }
}

/* Le résultat */
.quiz-recap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.quiz-recap li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}
.quiz-recap li:last-child {
  padding: 8px 4px;
  background: none;
}
.quiz-recap .icone {
  width: 16px;
  height: 16px;
  color: var(--petrole);
}
.quiz-resultats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}
.carte-espece__raisons {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ligne);
  font-size: 14px;
  font-weight: 600;
}
.carte-espece__raisons span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.carte-espece__raisons .icone {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--sauge-fonce);
}
/* Le premier conseil : la plante la plus adaptée. */
.quiz-resultats .carte-espece:first-child {
  box-shadow: inset 0 0 0 2px var(--sauge);
}
.quiz-resultats .carte-espece:first-child::after {
  content: "Le meilleur choix";
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  color: var(--sauge-fonce);
}

@media (max-width: 960px) {
  .quiz-resultats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .quiz-resultats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .quiz__reponses,
  .quiz__reponses--4 {
    --colonnes: 2;
  }
}
@media (max-width: 480px) {
  .quiz__reponses,
  .quiz__reponses--4 {
    --colonnes: 1;
  }
  .quiz .option__carte {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
  }
  .quiz .option__carte .icone {
    grid-row: span 2;
    margin: 2px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz__etape--avance,
  .quiz__etape--recule {
    animation: none;
  }
}

/* ---------- Guides de saison ---------- */

.guide h1 {
  margin-top: 12px;
}
.guide__chapeau {
  margin-top: 18px;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-muted);
}
.guide__maj {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.guide ul,
.guide ol,
.guide table {
  margin-top: 14px;
  max-width: 40em;
}
.guide ul {
  padding-left: 1.2em;
}
.guide li + li {
  margin-top: 8px;
}
.guide .resume {
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: var(--rayon-l);
  background: var(--sauge-soft);
  max-width: 40em;
}
.guide .resume p {
  margin-top: 0;
  color: var(--sauge-fonce);
}
.guide .resume ul {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.guide .resume li {
  position: relative;
  padding-left: 26px;
}
.guide .resume li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sauge);
}
.guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.guide th,
.guide td {
  text-align: left;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--ligne);
}
.guide th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.guide .etapes-texte {
  padding: 0;
}
.guide .etapes-texte li + li {
  margin-top: 12px;
}

/* La liste des guides */
.guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.guide-carte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rayon-xl);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--doux), box-shadow 0.35s var(--doux);
}
.guide-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px rgba(27, 47, 53, 0.35);
}
.guide-carte--moment {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  background: var(--sauge-soft);
}
.guide-carte__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sauge-soft);
}
.guide-carte__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--doux);
}
.guide-carte:hover .guide-carte__photo img {
  transform: scale(1.06);
}
.guide-carte--moment .guide-carte__photo {
  aspect-ratio: auto;
  min-height: 300px;
}
.guide-carte__texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(24px, 3vw, 40px);
}
.guide-carte__saison {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sauge-fonce);
}
.guide-carte h2 {
  font-size: clamp(23px, 2.2vw, 30px);
}
.guide-carte--moment h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}
.guide-carte__chapeau {
  color: var(--ink-muted);
}
.guide-carte .lien-fleche {
  margin-top: auto;
  padding-top: 8px;
  color: var(--petrole);
}
.guide-carte:hover .lien-fleche .icone {
  transform: translateX(3px);
}
.guide-carte.a-reveler.revele {
  transition:
    opacity 0.7s var(--doux),
    transform 0.35s var(--doux),
    box-shadow 0.35s var(--doux);
}
@media (max-width: 960px) {
  .guides {
    grid-template-columns: 1fr;
  }
  .guide-carte--moment {
    display: flex;
  }
  .guide-carte__photo,
  .guide-carte--moment .guide-carte__photo {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* ---------- Page du gardien (/g/<jeton>) ---------- */

.garde__page {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 8px;
}
.garde__marque {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.garde__titre {
  margin-top: 18px;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.1;
}
.garde__sous-titre {
  margin-top: 10px;
  font-size: 17px;
  color: var(--ink-muted);
}
.garde__note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--rayon-m);
  background: var(--surface);
  font-weight: 600;
}
.garde__piece {
  margin-top: 32px;
  font-family: var(--texte);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.garde__liste {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  border-radius: var(--rayon-l);
  background: var(--surface);
}
.garde__tache {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.garde__tache + .garde__tache {
  border-top: 1px solid var(--ligne);
}
.garde__case {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.garde__case svg {
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 2px solid var(--ink-muted);
  border-radius: var(--rayon-s);
  fill: none;
  stroke: transparent;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--doux);
}
.garde__case:active svg {
  transform: scale(0.9);
}
.garde__case[aria-checked="true"] svg {
  border-color: var(--sauge-fonce);
  background: var(--sauge-fonce);
  stroke: #fff;
}
.garde__case:disabled {
  cursor: progress;
}
.garde__photo img,
.garde__sans-photo {
  display: block;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--rayon-m);
  object-fit: cover;
  background: var(--sauge-soft);
}
.garde__texte {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.garde__nom {
  font-weight: 800;
  font-size: 16px;
}
.garde__detail {
  font-size: 14px;
  color: var(--ink-muted);
}
.garde__consigne {
  font-size: 14px;
  font-weight: 600;
  color: var(--petrole);
}
.garde__tache--faite .garde__nom {
  color: var(--sauge-fonce);
  text-decoration: line-through;
}
.garde__repos {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--rayon-l);
  background: var(--sauge-soft);
  font-weight: 700;
  color: var(--sauge-fonce);
}
.garde__suite {
  margin-top: 28px;
}
.garde__suite summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.garde__suite ul {
  margin-top: 12px;
  padding-left: 1.1em;
  font-size: 15px;
}
.garde__suite li + li {
  margin-top: 8px;
}
.garde__installer {
  width: calc(100% - 40px);
  max-width: 520px;
  margin-top: 24px;
  margin-bottom: 40px;
  padding: 22px 24px;
  border: 2px solid var(--petrole);
  border-radius: var(--rayon-l);
  background: var(--surface);
}
.garde__installer h2 {
  font-size: 21px;
}
.garde__installer p {
  margin-top: 6px;
  color: var(--ink-muted);
}
.garde__installer .lien-fleche {
  display: inline-flex;
  margin-top: 10px;
}
:lang(en) .quiz-resultats .carte-espece:first-child::after {
  content: "Best match";
}

/* ---------- Liste d'attente (avant la sortie de l'app) ---------- */

.attente {
  display: grid;
  gap: 10px;
  max-width: 34em;
  margin-bottom: 14px;
}
.attente__titre {
  font-weight: 800;
}
.attente__offre {
  font-size: 15px;
  color: var(--ink-muted);
}
.attente__offre strong {
  color: var(--terre-cuite-texte);
}
.attente__ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.attente__ligne input {
  flex: 1 1 14em;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ink-muted);
  border-radius: var(--rayon-m);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
.attente__ligne input:focus-visible {
  outline: 2px solid var(--petrole);
  outline-offset: 2px;
}
.attente__ligne .bouton {
  flex: 0 0 auto;
}
.attente__accord {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}
.attente__accord input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--petrole);
}
.attente__piege {
  position: absolute;
  left: -9999px;
}
.attente + .stores .store--bientot {
  transform: scale(0.85);
  transform-origin: left center;
}
/* Sur fond sombre (dernier appel de l'accueil). */
.attente--clair .attente__titre,
.attente--clair .attente__offre,
.attente--clair .attente__accord,
.attente--clair .attente__accord a {
  color: #fff;
}
.attente--clair .attente__offre strong {
  color: var(--sauge);
}
.attente--clair .bouton {
  background: #fff;
  color: var(--petrole);
}
.hero .attente {
  margin-top: 28px;
}
