/* Dougie · profdougie.com */
:root {
  --cream: #FAF8F2;
  --surface: #E7EDDF;
  --ink: #30452F;
  --ink-soft: #4A5D48;
  --sage: #9DAE87;
  --sage-deep: #6E8259;
  --ochre: #C68D3F;
  --ochre-text: #8A5A1C; /* ocre assombri pour le texte (contraste AA) */
  --card: #FFFFFF;
  --line: #DDE3D3;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(48, 69, 47, .06), 0 8px 28px rgba(48, 69, 47, .07);
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::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(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  letter-spacing: -.01em;
  max-width: 22ch;
}
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 10px; z-index: 10;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ochre-text);
  margin-bottom: 12px;
}

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(250, 248, 242, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(48, 69, 47, .07);
}
.top__in { 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; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; }
.brand img { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); }
.nav { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav li:not(:last-child) { display: none; }
@media (min-width: 720px) { .nav li:not(:last-child) { display: block; } }
.nav .nav__cta { background: var(--ink); color: var(--cream); padding: 9px 16px; }
.nav .nav__cta:hover { background: #24361f; }

/* Hero */
.hero { padding: 32px 0 56px; position: relative; }
.hero__in { display: grid; gap: 24px; align-items: center; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 11vw, 5rem);
  letter-spacing: -.02em;
  line-height: 1.02;
}
.lead { margin-top: 18px; font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; }
.hero__art { position: relative; order: -1; max-width: 270px; margin: 0 auto; }
.hero__art::before {
  content: ""; position: absolute; inset: 6% 2% 0;
  background: var(--surface); border-radius: 50%; z-index: -1;
}
.bubble {
  position: absolute; top: 4%; left: -2%;
  background: var(--card); color: var(--ink);
  font-weight: 700; font-size: .9rem;
  padding: 8px 14px; border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
@media (min-width: 880px) {
  .hero { padding: 56px 0 88px; }
  .hero__in { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero__art { order: 0; max-width: 460px; }
  .lead { font-size: 1.25rem; }
}

/* Badges des stores */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 168px; height: 54px; padding: 0 18px 0 14px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; border: 1px solid #000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.store:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.store__logo { width: 26px; height: 26px; flex: none; }
.store__txt { display: flex; flex-direction: column; font-size: 1.2rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.store__txt small { font-size: .66rem; font-weight: 500; letter-spacing: .01em; }
.soon { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); flex: none; }

/* Sections */
.section { padding: 64px 0; }
.section--tint { background: var(--surface); }
@media (min-width: 880px) { .section { padding: 96px 0; } }

/* Cartes bénéfices */
.cards {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 16px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface);
}
.card__icon svg {
  width: 26px; height: 26px; fill: none;
  stroke: var(--sage-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Comment ça marche */
.how { display: grid; gap: 32px; align-items: center; }
.how__art { max-width: 220px; margin: 0 auto; }
@media (min-width: 880px) {
  .how { grid-template-columns: 1.3fr .7fr; gap: 64px; }
  .how__art { max-width: 400px; }
}
.steps { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li {
  counter-increment: step;
  position: relative; padding-left: 64px; min-height: 44px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem;
}
.steps h3 { margin-bottom: 4px; padding-top: 8px; }
.steps p { color: var(--ink-soft); }

/* Parents / enfants */
.duo { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; position: relative; overflow: hidden;
}
.panel img { width: 120px; height: 120px; margin: -8px 0 4px -8px; }
.panel h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%236E8259' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* FAQ */
.faq { display: grid; gap: 28px; }
.faq__head img { width: 140px; margin-top: 20px; }
@media (min-width: 880px) {
  .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq__head img { width: 220px; }
}
.faq__list { display: grid; gap: 12px; }
details {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
}
summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 20px; position: relative;
  font-weight: 800;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--sage-deep); border-bottom: 2.5px solid var(--sage-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 20px 20px; color: var(--ink-soft); }

/* Appel final */
.cta { text-align: center; }
.cta__in { display: grid; justify-items: center; gap: 14px; }
.cta h2 { max-width: none; }
.cta p { color: var(--ink-soft); }
.btn {
  display: inline-block; margin-top: 8px;
  background: var(--ink); color: var(--cream);
  font-weight: 800; text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
}
.btn:hover { background: #24361f; }

/* Mentions légales */
.legal { padding: 0 0 40px; }
.legal h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.legal p { font-size: .92rem; color: var(--ink-soft); max-width: 70ch; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); font-size: .92rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
