@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }

/* Concept : site sobre en plusieurs pages, sections en pleine largeur aux fonds alternés (crème, beige clair, marine), carré prune en signature, aucune animation. */
:root {
  --navy: #141538; --plum: #5B2C4A; --cream: #F1EFEA; --beige: #BB9E81;
  --bg: #F1EFEA; --tint: #E8E1D5; --fg: #141538; --muted: #4a4a66; --accent: #5B2C4A;
  --rule: rgba(20, 21, 56, 0.22);
  --btn-bg: #5B2C4A; --btn-fg: #F1EFEA;
  --band-bg: #141538; --band-fg: #F1EFEA; --band-accent: #BB9E81;
  --field-bg: #fbfaf7; --box-line: rgba(187, 158, 129, 0.8);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --script: "New Icon Script", "Pinyon Script", "Snell Roundhand", cursive;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101130; --tint: #181a44; --fg: #F1EFEA; --muted: #c9c6c0; --accent: #BB9E81;
    --rule: rgba(241, 239, 234, 0.25); --btn-bg: #BB9E81; --btn-fg: #141538;
    --band-bg: #5B2C4A; --band-fg: #F1EFEA; --band-accent: #E2CDB5;
    --field-bg: #1f2050; --box-line: rgba(187, 158, 129, 0.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101130; --tint: #181a44; --fg: #F1EFEA; --muted: #c9c6c0; --accent: #BB9E81;
  --rule: rgba(241, 239, 234, 0.25); --btn-bg: #BB9E81; --btn-fg: #141538;
  --band-bg: #5B2C4A; --band-fg: #F1EFEA; --band-accent: #E2CDB5;
  --field-bg: #1f2050; --box-line: rgba(187, 158, 129, 0.6); color-scheme: dark;
}
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
.script { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); font-size: 1.4rem; line-height: 1.35; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 4rem; }
.b-tint { background: var(--tint); }
.b-navy { background: var(--band-bg); color: var(--band-fg); }
.sec { display: flex; flex-direction: column; gap: 2rem; }
.sec > * { min-width: 0; }
.lead-in { max-width: none; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.g3 > *, .g2 > * { min-width: 0; }
.g2 > p { text-wrap: balance; }
@media (max-width: 820px) { .g3, .g2 { grid-template-columns: 1fr; gap: 1.5rem; } }
.item { border-top: 1px solid var(--rule); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.item b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; }
.btn { display: inline-block; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; text-decoration: none; padding: 0.9rem 1.8rem; border-radius: 6px; border: 0; font-family: inherit; font-size: inherit; cursor: pointer; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.actions { display: flex; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; }
.reassure { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; max-width: 40rem; }
.actions small { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* En-tête */
.site-head { background: var(--navy); color: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; flex-wrap: wrap; padding-block: 0.9rem; }
.brand { font-family: var(--script); font-size: 1.9rem; line-height: 1.1; text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.brand i { display: inline-block; width: 0.55rem; height: 0.55rem; background: var(--beige); }
.site-head nav { display: flex; align-items: center; gap: 0.4rem 1.4rem; flex-wrap: wrap; }
.site-head nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; }
.site-head nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--beige); }
.site-head .btn { background: var(--beige); color: var(--navy); }

/* Haut de page */
.hero { padding-block: 4rem 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.hero-text .lead { max-width: 34rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.2rem; } }
figure { margin: 0; }
.portrait { border: 1px solid var(--beige); border-radius: 4px; padding: 12px; max-width: 100%; }
.portrait .ph { aspect-ratio: 4 / 5; border-radius: 2px; background: rgba(187, 158, 129, 0.18); overflow: hidden; }
.portrait .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
@media (max-width: 820px) { .portrait { max-width: 400px; width: 100%; margin-inline: auto; } }
.closing { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; max-width: 38rem; }
.page-head { padding-block: 3.5rem 3rem; }
.page-head .sec { gap: 1.2rem; }

/* Offres */
.offer-sum { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.offer-sum .num, .offer-id .num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--accent); }
.tag { color: var(--muted); font-style: italic; }
.from { font-family: var(--serif); font-size: 1.15rem; margin-top: 0.4rem; }
.more { margin-top: 0.3rem; }
.tva { color: var(--muted); font-size: 0.92rem; }
.offer-id { display: flex; flex-direction: column; gap: 0.4rem; }
.offer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.offer-grid > * { min-width: 0; }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.offer-main { display: flex; flex-direction: column; gap: 1.2rem; }
.offer-main h4 { font-size: 1.1rem; margin-top: 0.3rem; }
ul.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
ul.dots li { padding-left: 1.4rem; position: relative; }
ul.dots li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.4rem; height: 0.4rem; background: var(--accent); }
.price-box { border: 1px solid var(--box-line); border-radius: 4px; background: var(--field-bg); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.price-box strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }
.steps li { border-top: 1px solid var(--rule); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2rem; color: var(--accent); line-height: 1; }
.steps b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }

/* Gains */
.gains-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 2.5rem; align-items: stretch; }
.gains-grid > * { min-width: 0; }
@media (max-width: 900px) { .gains-grid { grid-template-columns: 1fr; gap: 2rem; } }
.gain-list { display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.gain-panel { border: 1px solid var(--box-line); border-radius: 4px; background: var(--field-bg); padding: 1.3rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.gain-panel h3 { font-size: 1.25rem; }
.ctrl { display: flex; flex-direction: column; gap: 0.5rem; }
.ctrl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ctrl-top label { font-weight: 400; font-size: 1rem; }
.ctrl-top output { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--plum); }
:root[data-theme="dark"] input[type="range"] { accent-color: var(--beige); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) input[type="range"] { accent-color: var(--beige); } }
.gain-result { border-top: 1px solid var(--rule); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.gain-big { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1.2; }
.gain-note { color: var(--muted); font-size: 0.9rem; }

/* Témoignage */
.quote blockquote { margin: 0; max-width: 44rem; display: flex; flex-direction: column; gap: 1.5rem; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; }
.quote cite { font-style: normal; }
.quote cite span { color: var(--band-accent); }
.quote a { text-decoration-color: var(--band-accent); }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1.7fr; gap: 3rem; align-items: center; }
.about > * { min-width: 0; }
.about.rev { grid-template-columns: 1.7fr 1fr; }
@media (max-width: 820px) { .about, .about.rev { grid-template-columns: 1fr; gap: 1.8rem; } }
.about-text { display: flex; flex-direction: column; gap: 1.1rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.4rem 1.1rem 0; font-family: var(--serif); font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 1rem; font-family: var(--sans); font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2.4rem 1.3rem 0; max-width: 46rem; }

/* Formulaire */
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; max-width: 46rem; }
form .field:nth-of-type(n+3), form .consent, form .btn, #form-status { grid-column: 1 / -1; }
@media (max-width: 720px) { form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
label { font-weight: 700; font-size: 0.97rem; }
input[type="text"], input[type="email"], textarea { font: inherit; color: var(--fg); background: var(--field-bg); border: 1px solid var(--rule); border-radius: 4px; padding: 0.75rem 0.85rem; width: 100%; }
textarea { min-height: 7.5rem; resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); font-weight: 400; }
.consent input { margin-top: 0.3rem; accent-color: var(--plum); }
form .btn { justify-self: start; }
#form-status { font-size: 0.95rem; color: var(--accent); min-height: 1.4em; }
.copy-mail { display: inline-flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.copy-mail button { font: inherit; font-size: 0.85rem; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 6px; padding: 0.15rem 0.8rem; cursor: pointer; }

/* Pied de page */
.site-foot { background: var(--navy); color: var(--cream); padding-block: 2.5rem; font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-direction: column; gap: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.foot-legal { color: #c9c6c0; max-width: 42rem; }

/* Pages légales */
.legal { max-width: 46rem; display: flex; flex-direction: column; gap: 2.2rem; }
.legal section { display: flex; flex-direction: column; gap: 0.8rem; }
.legal h2 { font-size: 1.4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 0.4rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal a { text-underline-offset: 3px; }
.todo { background: rgba(187, 158, 129, 0.35); padding: 0 0.25em; border-radius: 3px; }
.tbl-wrap { overflow-x: auto; }
.tbl-wrap table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.95rem; line-height: 1.5; }
.tbl-wrap th, .tbl-wrap td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--rule); }
.tbl-wrap th { font-family: var(--serif); font-weight: 500; }
.maj { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 680px) {
  .tbl-wrap table { min-width: 0; }
  .tbl-wrap thead { position: absolute; left: -9999px; }
  .tbl-wrap tr { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .tbl-wrap td { display: block; padding: 0.15rem 0; border: 0; }
  .tbl-wrap td::before { content: attr(data-label); display: block; font-size: 0.8rem; color: var(--accent); }
  .tbl-wrap td:first-child { font-family: var(--serif); font-size: 1.02rem; padding-bottom: 0.35rem; }
  .tbl-wrap td:first-child::before { display: none; }
}

.quote .g2 blockquote p { font-size: 1.12rem; }
.quote .g2 { align-items: start; }

/* Chiffre et verbe sur la même ligne */
.offer-sum, .offer-id { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.5rem; align-items: baseline; }
.offer-sum > *:not(.num):not(.script), .offer-id > *:not(.num):not(.script) { grid-column: 1 / -1; }

/* Sous-titres manuscrits plus lisibles en mode sombre */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .script { color: #EBDCC8; }
}
:root[data-theme="dark"] .script { color: #EBDCC8; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
