/* Site vitrine Maison Mouvement — mêmes couleurs et polices que l'application (src/index.css). Lisible par un senior :
   texte ≥ 18 px, contrastes ≥ 4,5, zones tactiles ≥ 48 px. Aucune ressource externe. */
@font-face { font-family: Outfit; font-weight: 500; font-display: swap; src: url(fonts/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Atkinson; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Atkinson; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #16324f;
  --muted: #4f6479;
  --accent: #2c6e91;
  --accent-dark: #245a77;
  --bg: #f6f9fc;
  --card: #ffffff;
  --soft: #eaf0f6;
  --line: #d5dee8;
  --peach: #fde7d1;
  --sun: #f29a3e;
  --sun-dark: #e0862a;
  --on-sun: #16324f;
  --shadow: 0 10px 30px rgba(22, 50, 79, 0.08);
  --radius: 20px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Atkinson, 'Segoe UI', Arial, sans-serif;
  font-size: 1.15rem; /* ≈ 18,4 px */
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: Outfit, 'Segoe UI', Arial, sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; }

/* ----- en-tête ----- */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.3rem; white-space: nowrap; }
@media (max-width: 360px) { .brand { font-size: 1.1rem; } }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover, .nav a[aria-current='page'] { background: var(--soft); }
.nav a.client { border: 2px solid var(--accent); color: var(--accent); margin-left: 6px; }
.menu { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; right: 0; top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); min-width: 240px; }
  .menu[open] .nav a { font-size: 1.1rem; }
  .menu[open] .nav a.client { margin: 6px 0 0; justify-content: center; }
}

/* ----- boutons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; text-decoration: none; border: 2px solid transparent; text-align: center; line-height: 1.25; padding-block: 10px; }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-sun:hover { background: var(--sun-dark); color: var(--on-sun); }
.btn-line { border-color: currentColor; color: var(--accent); background: transparent; }
.btn-line:hover { background: var(--soft); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ----- haut de page ----- */
.hero { background: radial-gradient(120% 140% at 85% 20%, #3a83a8 0%, #2c6e91 35%, #16324f 100%); color: #f6f9fc; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.3rem; color: #f6f9fc; max-width: 34em; }
.hero .kicker { font-family: Outfit, sans-serif; font-weight: 500; color: var(--peach); font-size: 1.15rem; margin-bottom: 10px; }
.hero .btn-line { color: #fff; }
.hero .btn-line:hover { background: rgba(255, 255, 255, 0.12); }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.hero .facts li { border: 2px solid rgba(253, 231, 209, 0.55); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 1rem; margin: 0; }
.phone { justify-self: center; width: min(100%, 290px); border-radius: 42px; background: #0d1f31; padding: 10px; box-shadow: 0 30px 60px rgba(6, 18, 30, 0.45), 0 0 0 2px rgba(246, 249, 252, 0.15); }
.phone img { border-radius: 33px; width: 100%; }
.hero-page .wrap { grid-template-columns: 1fr; padding: 48px 0 56px; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 32px; }
  .hero .phone { width: min(80%, 260px); }
}

/* ----- sections ----- */
section { padding: 64px 0; scroll-margin-top: 72px; }
section.alt { background: var(--card); border-block: 1px solid var(--line); }
.intro { max-width: 46em; color: var(--muted); font-size: 1.2rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; display: inline-flex; min-height: 48px; align-items: center; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--peach); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.3rem; margin-bottom: 12px; }
.steps strong { display: block; font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.25rem; margin-bottom: 6px; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.photo { aspect-ratio: 4 / 5; border-radius: 28px; background: linear-gradient(160deg, #2c6e91, #16324f); display: grid; place-items: center; text-align: center; color: var(--peach); padding: 24px; }
.photo img { width: 46%; border-radius: 24%; opacity: 0.95; }
.photo span { display: block; margin-top: 16px; font-size: 1rem; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316324f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.shots figure { margin: 0; text-align: center; }
.shots .phone { width: 100%; max-width: 250px; margin: 0 auto 14px; }
.shots figcaption { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } .shots .phone { max-width: 230px; } }

/* ----- tarifs ----- */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.price.featured { border: 3px solid var(--sun); }
.price h3 { margin-bottom: 4px; }
.price .amount { font-family: Outfit, sans-serif; font-weight: 600; font-size: 2.2rem; color: var(--accent-dark); margin: 6px 0; }
.price .amount small { font-size: 1rem; color: var(--muted); font-family: Atkinson, sans-serif; font-weight: 400; }
.price p { color: var(--muted); margin: 0; }
.tax { margin-top: 24px; background: var(--peach); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 20px; align-items: center; }
.tax h3 { margin-top: 0; }
/* Logo officiel « Services à la personne » : jamais déformé, au moins 60 px, sur fond blanc quand le fond est foncé (charte DGE) */
.sap-logo { flex-shrink: 0; display: inline-block; background: #fff; border-radius: 12px; padding: 8px; line-height: 0; }
.sap-logo img { width: 110px; height: auto; }
.sap-logo-foot { margin-top: 12px; }
.sap-logo-foot img { width: 96px; }
@media (max-width: 560px) { .tax { flex-direction: column; align-items: flex-start; } }
.fine { color: var(--muted); font-size: 1rem; margin-top: 18px; }
.fine li { margin-bottom: 4px; }

/* ----- zone, questions, contact ----- */
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 20px; }
.towns li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; font-size: 1.05rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; min-height: 56px; padding: 14px 52px 14px 20px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 18px; }
.contact { background: radial-gradient(120% 140% at 85% 20%, #3a83a8 0%, #2c6e91 35%, #16324f 100%); color: #f6f9fc; border-radius: 28px; padding: 40px; }
.contact h2 { color: #fff; }
.contact p { color: #f6f9fc; }
.contact a:not(.btn) { color: var(--peach); }
.contact .btn-line { color: #fff; }
.contact .btn-line:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 600px) { .contact { padding: 28px 20px; border-radius: 22px; } section { padding: 48px 0; } }
.note-sante { font-size: 1rem; opacity: 0.9; }

/* ----- pages de texte (mentions, confidentialité) ----- */
.text { max-width: 46em; }
.text h2 { font-size: 1.5rem; margin-top: 1.6em; }
.text dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.text dt { font-weight: 700; }
.text dd { margin: 0; }
@media (max-width: 600px) { .text dl { grid-template-columns: 1fr; } .text dd { margin-bottom: 8px; } }

/* ----- pied de page ----- */
.foot { background: var(--ink); color: #dbe6f0; padding: 40px 0; font-size: 1rem; }
.foot a { color: #fff; }
.foot .wrap { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 4px; }
.foot li a { display: inline-flex; min-height: 44px; align-items: center; }
.foot strong { color: #fff; font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 800px) { .foot .wrap { grid-template-columns: 1fr; } }
.photo-real { width: 100%; max-width: 420px; margin-inline: auto; display: block; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
