/* Site de présentation, guides et pages légales. Valeurs issues des design tokens.
   Style : chaleureux et familial (tons crème, sarcelle, pêche), cartes arrondies, ombres douces. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: var(--font-family-base); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--color-primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--space-3); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.8vw, 42px); text-align: center; margin-bottom: var(--space-6); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-3); }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--font-size-sm); }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--color-surface); padding: 8px 12px; border-radius: var(--radius-field); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

:root {
  --shadow-soft: 0 1px 2px rgb(30 36 38 / 5%), 0 8px 24px rgb(30 36 38 / 7%);
  --shadow-lift: 0 2px 4px rgb(30 36 38 / 6%), 0 18px 48px rgb(30 36 38 / 12%);
  --tint: #F3EEE6;
  --peach: #FCE8D5;
  --mint: #E1F0EB;
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--size-touch-target); padding: 10px 22px; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-primary-contrast); box-shadow: 0 6px 16px rgb(43 118 102 / 28%); }
.btn-primary:hover { box-shadow: 0 10px 22px rgb(43 118 102 / 34%); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost { color: var(--color-text); }
.btn-ghost:hover { color: var(--color-primary); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-light { background: #FFFFFF; color: #1F5A4E; }
.btn-outline-light { color: #FFFFFF; border-color: rgb(255 255 255 / 70%); }
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--space-5); padding: 12px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--color-background) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--color-text); text-decoration: none; }
.site-brand img { border-radius: 10px; }
.site-nav { display: none; gap: 6px; }
.site-nav a { color: var(--color-text-muted); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill); }
.site-nav a:hover { color: var(--color-text); background: var(--tint); }
.site-actions { margin-left: auto; display: flex; gap: var(--space-2); }
.site-actions .btn-primary { display: none; }
@media (min-width: 900px) { .site-nav { display: flex; } .site-actions .btn-primary { display: inline-flex; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) clamp(16px, 4vw, 48px); }
.section > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.section.tint { background: var(--tint); }
.section.alt { background: var(--color-surface); }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: #9A5B1E; margin-bottom: var(--space-2); }
.more { margin-top: var(--space-5); }
.more a { font-weight: 700; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* Accueil : bandeau d'ouverture */
.hero { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(56px, 8vw, 112px); max-width: 1280px; margin: 0 auto; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .7; }
.hero::before { width: 420px; height: 420px; background: var(--peach); top: -60px; right: 8%; }
.hero::after { width: 360px; height: 360px; background: var(--mint); bottom: 0; left: -80px; }
@media (min-width: 1000px) { .hero { grid-template-columns: 1fr 1.08fr; } }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: var(--space-4); }
.hero h1 span { display: block; color: var(--color-primary); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--color-text-muted); max-width: 34em; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--color-surface); color: var(--color-text); padding: 6px 14px 6px 10px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-soft); margin-bottom: var(--space-4); }
.badge .ico { color: #B86A1F; }
.cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 var(--space-4); }
.cta.center { justify-content: center; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--color-text-muted); font-size: 15px; font-weight: 600; }
.reassure .ico { color: var(--color-primary); }
.hero-shot { position: relative; margin: 0; }
.hero-shot img { display: block; border-radius: 20px; border: 6px solid var(--color-surface); box-shadow: var(--shadow-lift); background: var(--color-surface); transform: rotate(.6deg); }
.bubble { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--color-surface); padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: var(--shadow-lift); font-size: 14px; line-height: 1.3; }
.bubble small { display: block; color: var(--color-text-muted); font-size: 12.5px; }
.bubble-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; }
.bubble-1 { left: -18px; bottom: 18%; animation: float 6s ease-in-out infinite; }
.bubble-2 { right: -14px; top: 12%; animation: float 7s ease-in-out -2s infinite; }
.bubble-3 { right: 8%; bottom: -22px; animation: float 6.5s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 640px) { .bubble { display: none; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } .btn { transition: none; } html { scroll-behavior: auto; } }

/* Pastilles de module (fond doux, pictogramme contrasté) */
.tile, .b-tasks, .b-shopping, .b-calendar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
.bubble-ico { font-size: 18px; }
.t-meals { background: #FBE7D3; color: #8A4B12; }
.t-tasks, .b-tasks { background: #ECE5F7; color: #5B3F99; }
.t-calendar, .b-calendar { background: #DDEFF4; color: #1F6577; }
.t-budget { background: #E3E9FA; color: #334F9E; }
.t-shopping, .b-shopping { background: #DDF0E3; color: #22683A; }
.t-dashboard { background: var(--mint); color: #1F5A4E; }
.t-occasions { background: #FCE6D8; color: #9A4A1A; }
.t-home { background: #E9EDDF; color: #4A5A2E; }

/* Cartes */
.cards { display: grid; gap: var(--space-4); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-soft { background: var(--color-surface); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-soft); }
.card-soft .tile { margin-bottom: var(--space-4); }
.card-soft p { color: var(--color-text-muted); margin: 0; }

/* Étapes */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.steps li { position: relative; background: var(--color-surface); border-radius: var(--radius-card); padding: 32px 28px 28px; box-shadow: var(--shadow-soft); }
.steps p { color: var(--color-text-muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--color-primary); color: var(--color-primary-contrast); font-weight: 800; font-size: 19px; margin-bottom: var(--space-4); box-shadow: 0 6px 14px rgb(43 118 102 / 25%); }

/* Fonctionnalités */
.features { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); border-radius: var(--radius-card); padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.feature:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.feature .tile { margin-bottom: var(--space-4); }
.feature p { color: var(--color-text-muted); font-size: 16px; }
.feature a { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.feature a:hover { text-decoration: underline; }
.shots { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: var(--space-7); }
.shots figure { margin: 0; }
.shots img { border-radius: 16px; border: 5px solid var(--color-surface); box-shadow: var(--shadow-lift); }
.shots figcaption { text-align: center; color: var(--color-text-muted); font-size: 15px; margin-top: var(--space-3); font-weight: 600; }
.soon { text-align: center; margin-top: var(--space-6); color: var(--color-text-muted); background: var(--peach); padding: 16px 24px; border-radius: var(--radius-card); max-width: 900px; }

/* Confiance */
.trust { list-style: none; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.trust li { display: flex; gap: 16px; align-items: flex-start; background: var(--color-surface); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-soft); }
.trust .tile { flex: none; width: 44px; height: 44px; font-size: 20px; }
.trust p { margin: 4px 0 0; color: var(--color-text-muted); font-size: 16px; }

/* Tarifs */
.pricing { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; margin-top: var(--space-5); }
.plan { position: relative; background: var(--color-surface); border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow-soft); border: 2px solid transparent; }
.plan.featured { border-color: var(--color-primary); box-shadow: var(--shadow-lift); }
.plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: var(--color-primary-contrast); font-size: 13px; font-weight: 800; padding: 4px 14px; border-radius: var(--radius-pill); white-space: nowrap; margin: 0; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.1; }
.price span { font-size: 16px; font-weight: 600; color: var(--color-text-muted); letter-spacing: 0; }
.plan-for { color: var(--color-text-muted); font-size: 14px; margin: 4px 0 0; }
.plan ul { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5A4E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Questions fréquentes */
.faq { max-width: 820px; display: grid; gap: 12px; }
details { background: var(--color-surface); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-soft); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--color-primary); font-weight: 800; font-size: 20px; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--color-text-muted); }

/* Appel final */
.final { padding: 0 clamp(16px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.final-inner { max-width: 1140px; margin: 0 auto; text-align: center; color: #FFFFFF; border-radius: 28px; padding: clamp(40px, 6vw, 72px) 24px; background: radial-gradient(circle at 15% 20%, rgb(255 255 255 / 12%), transparent 40%), linear-gradient(135deg, #1F5A4E, #2B7666 55%, #327F6E); box-shadow: var(--shadow-lift); }
.final-inner h2 { color: #FFFFFF; margin-bottom: var(--space-3); }
.final-inner p { color: rgb(255 255 255 / 88%); font-size: 19px; }

/* Guides */
.guides { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.guides a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; padding: 18px 22px; border-radius: 16px; background: var(--color-surface); color: var(--color-text); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-soft); transition: box-shadow .2s ease, color .2s ease; }
.guides a::after { content: "→"; color: var(--color-primary); font-weight: 800; }
.guides a:hover, .guides a:focus-visible { color: var(--color-primary); box-shadow: var(--shadow-lift); }

/* Pages thématiques (guides) */
.topic { max-width: 760px; margin: 0 auto; }
.topic > * { max-width: none; }
.topic h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; margin: var(--space-3) 0 var(--space-4); }
.topic h2 { margin-top: var(--space-7); text-align: left; font-size: clamp(24px, 3vw, 30px); }
.topic p, .topic li { line-height: 1.75; }
.topic li { margin-bottom: 6px; }
.topic .lead { font-size: 20px; color: var(--color-text-muted); }
.topic a:not(.btn) { color: var(--color-primary); font-weight: 600; }
.topic details { margin-bottom: 12px; }
.breadcrumb { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.breadcrumb a { color: inherit; font-weight: 600; }
.topic-cta { margin: var(--space-7) 0; padding: 32px; border-radius: 22px; background: linear-gradient(135deg, var(--mint), var(--peach)); text-align: center; }
.topic-cta p { font-size: 18px; }

/* Pages légales */
.legal { display: grid; gap: var(--space-5); max-width: 1140px; margin: 0 auto; padding: var(--space-6) clamp(16px, 4vw, 48px) var(--space-7); }
@media (min-width: 900px) { .legal { grid-template-columns: 240px 1fr; } }
.legal-nav { display: flex; flex-direction: column; gap: var(--space-1); align-self: start; position: sticky; top: 90px; }
.legal-nav a { padding: 10px 14px; border-radius: var(--radius-field); color: var(--color-text); text-decoration: none; font-weight: 600; }
.legal-nav a:hover { background: var(--tint); }
.legal-nav a[aria-current] { background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow-soft); }
.legal-body { background: var(--color-surface); border-radius: var(--radius-card); padding: clamp(20px, 4vw, 44px); min-width: 0; box-shadow: var(--shadow-soft); }
.legal-body h1 { font-size: 32px; font-weight: 800; }
.legal-body h2 { text-align: left; font-size: 22px; margin: var(--space-6) 0 var(--space-3); }
.legal-body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-body th, .legal-body td { border: 1px solid var(--color-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--color-surface-muted); }
.table-wrap { overflow-x: auto; margin: var(--space-4) 0; }

/* Pied de page */
.site-footer { display: grid; gap: var(--space-5); padding: var(--space-7) clamp(16px, 4vw, 48px) var(--space-6); background: #1B2224; color: #D9DEDF; font-size: 15px; }
@media (min-width: 900px) { .site-footer { grid-template-columns: 1fr 2fr; } .footer-copy { grid-column: 1 / -1; } }
.footer-brand img { vertical-align: middle; border-radius: 8px; }
.footer-brand strong { color: #FFFFFF; font-size: 19px; margin-left: 6px; }
.footer-brand p { color: #AEB6B8; margin-top: var(--space-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-content: start; }
.footer-links a { color: #D9DEDF; text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-copy { color: #AEB6B8; margin: 0; padding-top: var(--space-4); border-top: 1px solid rgb(255 255 255 / 10%); }
.footer-copy a { color: #D9DEDF; }
.site-footer :focus-visible { outline-color: var(--color-accent); }

/* Petits écrans (refusion à 320 px, RGAA 10.11) */
.hero-text, .hero-shot { min-width: 0; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-lg { padding: 12px 20px; }
  .badge { font-size: 13px; }
  .hero h1 { overflow-wrap: anywhere; }
  .site-header { gap: var(--space-2); }
  .site-actions .btn { padding: 8px 12px; }
}
.hero { overflow-x: clip; }
@media (max-width: 480px) { .hero-shot img { transform: none; border-width: 4px; } }
.card-illu { padding: 14px 14px 26px; }
.card-illu h3, .card-illu p { padding: 0 14px; }
.illu { display: block; width: 100%; height: auto; border-radius: 16px; margin-bottom: var(--space-4); }

/* Témoignages */
.quotes { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; background: var(--color-surface); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 15px; }
.quote figcaption span { color: var(--color-text-muted); }
.stars { margin: 0; color: #B86A1F; letter-spacing: 2px; }
.stars span { color: var(--color-border); }
