/* Mouvement Visible — feuille de style
   Palette : crème, vert très foncé, vert profond. Titres Fraunces, texte Manrope. */

:root {
  --cream: #F6F3EC;
  --cream-dark: #EDE8DD;
  --ink: #17231F;
  --ink-soft: #22302B;
  --accent: #0F5C52;
  --accent-soft: #E3ECE7;
  --muted: #4B5A55;
  --muted-on-dark: #B7C6C0;
  --text-on-dark: #D5DED9;
  --line: #DCD6C9;
  --line-dark: #6F807A;
  --white: #FFFFFF;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(64px, 9vw, 104px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
p { margin: 0; }

.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent);
}
.on-dark .eyebrow { color: var(--muted-on-dark); }

.section { padding-block: var(--section); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: 48px; }
.section-head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.section-head--split p { max-width: 420px; color: var(--muted); font-size: 18px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--body); font-size: 17px; font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: #0b4a42; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.link-underline { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); padding-block: 4px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 12px; width: 48px; height: 48px; cursor: pointer; place-items: center; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 104px); }
.hero .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 8px 14px; border-radius: 999px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }

.hero-visual { position: relative; padding-bottom: 72px; }
.browser { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px rgba(23, 35, 31, 0.08); }
.browser-bar { height: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 18px; }
.browser-bar span.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser-bar .url { margin-left: 12px; font-size: 13px; color: var(--muted); }
.browser-body { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.browser-body .label { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.browser-body .title { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chips span { font-size: 14px; font-weight: 600; padding: 12px; background: var(--cream); border-radius: 12px; }
.browser-body p { font-size: 16px; color: var(--muted); }
.fake-btn { align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--white); background: var(--accent); padding: 12px 20px; border-radius: 999px; }
.prescriber-card {
  position: absolute; right: 0; bottom: 0; width: min(300px, 80%);
  background: var(--ink); color: var(--cream); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 32px rgba(23, 35, 31, 0.18);
}
.prescriber-card .k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-on-dark); }
.prescriber-card strong { font-size: 17px; line-height: 1.35; }
.prescriber-card p { font-size: 14px; color: var(--muted-on-dark); line-height: 1.5; }

/* Le projet */
.projet { background: var(--ink); color: var(--cream); }
.projet .container { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.projet-photo { width: 100%; height: clamp(420px, 52vw, 680px); object-fit: cover; object-position: 50% 30%; border-radius: 24px; }
.projet-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.projet-text > p { font-size: 19px; line-height: 1.65; color: var(--text-on-dark); }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.skill-card { background: var(--ink-soft); border-radius: 18px; padding: 24px; }
.skill-card h3 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 12px; }
.skill-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { border-top: 2px solid var(--line-dark); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pillar strong { font-size: 18px; }
.pillar span { font-size: 16px; color: var(--muted-on-dark); line-height: 1.55; }
.signature { font-weight: 700; }

/* Constat */
.story { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 40px); align-items: center; margin-bottom: 24px; }
.story-intro { display: flex; flex-direction: column; gap: 10px; }
.story-intro h3 { font-size: clamp(30px, 3vw, 40px); }
.story-intro span { color: var(--muted); font-size: 16px; }
.story p { font-size: 19px; line-height: 1.7; color: #34433E; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.quote h3 { font-size: 24px; line-height: 1.25; }
.quote p { color: var(--muted); }

/* Ce qu'on construit */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { background: var(--accent-soft); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 28px; }
.feature p { color: #34433E; }

/* Étapes */
.total-time { background: var(--ink); color: var(--cream); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; }
.total-time span { font-size: 14px; font-weight: 600; color: var(--muted-on-dark); }
.total-time strong { font-family: var(--display); font-size: 34px; line-height: 1.1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-family: var(--body); font-size: 19px; font-weight: 700; line-height: 1.3; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.step .time { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 10px; background: var(--accent-soft); border-radius: 999px; }

/* Formules */
.formules { background: var(--cream-dark); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.plan--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 30px; }
.plan .tag { font-size: 13px; font-weight: 700; padding: 6px 12px; background: var(--accent); color: var(--white); border-radius: 999px; }
.plan .price { display: flex; flex-direction: column; gap: 4px; }
.plan .price strong { font-family: var(--display); font-size: 34px; line-height: 1.1; }
.plan .price span { font-size: 15px; color: var(--muted); }
.plan--featured .price span { color: var(--muted-on-dark); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex-shrink: 0; margin-top: 1px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--featured .btn--outline { border-color: var(--cream); color: var(--cream); }

/* Engagements */
.commitments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.commitment { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.commitment h3 { font-family: var(--body); font-size: 20px; font-weight: 700; }
.commitment p { font-size: 16px; color: var(--muted); }

/* Contact */
.contact { background: var(--accent); color: var(--white); }
.contact .container { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact .eyebrow { color: #CFE3DB; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro > p { font-size: 19px; color: #E4EFEA; }
.contact-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; }
.contact-steps .n { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.contact-steps li span:last-child { padding-top: 5px; }
.coords { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.35); font-size: 17px; font-weight: 600; }
.coords a { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.coords a:hover { text-decoration: underline; }
.coords small { font-size: 15px; font-weight: 500; color: #CFE3DB; }

.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.form-card h3 { font-size: 28px; }
.divider { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 13px 16px; border: 1px solid #C9C2B3; border-radius: 12px; background: var(--white); width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 360px; line-height: 1.5; }
.hidden-field { position: absolute; left: -9999px; }
.form-success { background: var(--accent-soft); border-radius: 16px; padding: 24px; font-weight: 600; }

/* Pied de page */
.site-footer { background: var(--accent); color: var(--white); padding-bottom: 40px; }
.site-footer .container { border-top: 1px solid rgba(255,255,255,0.45); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Pages légales */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal .container { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 14px; }
.legal p, .legal li { color: #34433E; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--accent-soft); }
.table-wrap { overflow-x: auto; }
.back-link { display: inline-block; margin-bottom: 32px; font-weight: 700; text-decoration: none; color: var(--accent); }
.legal-footer { background: var(--ink); color: var(--cream); padding-block: 28px; }
.legal-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.legal-footer a { text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero .container, .projet .container, .contact .container { grid-template-columns: minmax(0, 1fr); }
  .cards-3, .quotes, .plans { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projet-photo { height: clamp(380px, 90vw, 560px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .skills, .pillars, .commitments, .steps, .form-row { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding-bottom: 0; display: flex; flex-direction: column; gap: 16px; }
  .prescriber-card { position: static; width: 100%; }
  .hero-lead, .projet-text > p, .story p, .contact-intro > p { font-size: 17px; }
  .browser-body { padding: 24px; }
  .section-head { margin-bottom: 32px; }
}

/* En-tête des pages légales sur mobile */
.site-header .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .legal-page .site-header .btn { padding: 10px 16px; font-size: 14px; }
}
