/* Annalo Kids — site vitrine (annalo.fr) */

:root {
  --ink: #233127;
  --ink-soft: #4b5b50;
  --paper: #fffdf6;
  --card: #ffffff;
  --line: #e6e2d3;
  --green: #4cae3c;
  --green-dark: #2f7d24;
  --sun: #ffd95a;
  --sky: #dff1fb;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(35, 49, 39, 0.08);
  --max: 1080px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a { color: var(--green-dark); }

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

/* En-tête */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.top nav a.cta-small { color: #fff; }

.btn, .cta-small {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn { padding: 14px 28px; font-size: 1.05rem; }
.cta-small { padding: 8px 18px; }
.btn:hover, .cta-small:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn:focus-visible, .cta-small:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn[aria-disabled="true"] { background: #9aa59c; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn.ghost:hover { background: #eef8eb; }

/* Accueil */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%);
  padding: 56px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #fff4c7;
  color: #7a5b00;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
}
h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.15;
  margin: 14px 0 16px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.reassure li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.tablet {
  background: #1f2421;
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(35, 49, 39, 0.25);
  transform: rotate(-2deg);
}
.tablet img { border-radius: 14px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #f6f3e6; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 12px; }
.section-lead { color: var(--ink-soft); max-width: 640px; margin: 0 0 32px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card .icon { width: 56px; height: 56px; }

.subjects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.subject {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  font-weight: 700;
}
.subject img { width: 64px; height: 64px; margin: 0 auto 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Offre */
.offer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}
.price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 8px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.price-card .btn { width: 100%; text-align: center; margin: 18px 0 10px; }
.fine { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.specs { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--ink-soft); font-weight: 700; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Pied de page */
footer {
  background: var(--ink);
  color: #dfe7e0;
  padding: 40px 0;
  font-size: 0.9rem;
}
footer a { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .credits { margin-top: 24px; color: #a9b6ab; font-size: 0.8rem; }

/* Pages de texte (mentions, CGV…) */
.doc { max-width: 760px; padding: 48px 16px 64px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 32px; }
.doc .todo { background: #fff4c7; padding: 0 4px; border-radius: 4px; }
.notice {
  background: #fff4c7;
  border-left: 4px solid #e2b100;
  padding: 12px 16px;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .hero .wrap, .split, .offer { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: repeat(3, 1fr); }
  .top nav a:not(.cta-small) { display: none; }
  .price-card { position: static; }
  .tablet { transform: none; }
  section { padding: 48px 0; }
}

.section-icon { width: 56px; height: 56px; margin-bottom: 8px; }
