/* Stelo : styles du site (mobile d'abord) */
:root {
  --night: #0f1e2e;
  --cream: #f4efe6;
  --gold: #c9a24b;
  --ink: #16263a;
  --grey: #5e6b78;
  --soft: #9fb0c2;
  --line: rgba(201, 162, 75, 0.45);
  --radius: 6px;
  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); }
h2 { font-size: clamp(2rem, 7vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 500; }
[id] { scroll-margin-top: 90px; }
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3 { hyphens: auto; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .plan-pro :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 30;
  background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: 72px 0; }
.dark { background: var(--night); color: var(--cream); }
.dark .muted { color: var(--soft); }
.muted { color: var(--grey); }
.lead { font-size: 1.2rem; }
.center { text-align: center; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey);
}
.eyebrow .star { width: 12px; height: 12px; flex: none; color: var(--gold); }
.dark .eyebrow { color: var(--gold); }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 18px; }

/* Icônes */
.icon { width: 52px; height: 52px; color: var(--ink); }
.dark .icon { color: var(--cream); }
.icon * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon .g { fill: var(--gold); stroke: none; }
.star { fill: currentColor; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  font: 500 1rem/1.25 var(--sans); text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.dark .btn-line, .plan-pro .btn-line { color: var(--cream); }
.dark .btn-line:hover, .plan-pro .btn-line:hover { background: var(--cream); border-color: var(--cream); color: var(--night); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.center .btn-row { align-items: stretch; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--night); color: var(--cream); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: block; flex: none; margin-right: auto; color: var(--cream); text-decoration: none; }
.logo { width: 84px; height: auto; color: inherit; overflow: visible; }
.logo .word { font-family: var(--serif); font-size: 34px; fill: currentColor; }
.logo .sub { font-family: var(--sans); font-weight: 500; font-size: 8px; fill: var(--gold); }
.logo .tip { fill: var(--gold); }

.langs { display: flex; gap: 2px; }
.langs button {
  min-width: 36px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--soft); font: 500 0.85rem var(--sans); letter-spacing: 0.06em; cursor: pointer;
}
.langs button:hover { color: var(--cream); }
.langs button[aria-pressed="true"] { color: var(--gold); border-bottom-color: var(--gold); }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0 11px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--cream); cursor: pointer;
}
.js .menu-toggle { display: block; }
.menu-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav { flex-basis: 100%; order: 5; padding-bottom: 14px; }
.header-in { flex-wrap: wrap; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav a { display: block; padding: 11px 0; color: var(--cream); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover { color: var(--gold); }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero .lead { margin: 22px 0 0; color: var(--soft); max-width: 36em; }

.tent {
  position: relative; width: min(100%, 320px); margin: 0 auto; padding: 28px 24px 22px;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--gold); border-radius: var(--radius); text-align: center;
  transform: rotate(-1.5deg);
}
.tent::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -12px; height: 12px;
  border: 1px solid var(--gold); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
}
.tent-name { margin: 0; font: 400 1.5rem/1.2 var(--serif); }
.tent-thanks { margin: 2px 0 12px; font-size: 0.95rem; color: var(--grey); }
.tent-stars { display: flex; justify-content: center; gap: 5px; margin-bottom: 14px; color: var(--gold); }
.tent-stars svg { width: 18px; height: 18px; }
.qr { width: 136px; height: 136px; margin: 0 auto 14px; color: var(--night); }
.tent-cta { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.tent-note { margin: 28px 0 0; text-align: center; font-size: 0.85rem; color: var(--soft); }

/* Le problème */
.split { display: grid; gap: 40px; align-items: center; }
.searchbar {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  border: 1px solid var(--gold); border-radius: var(--radius); font: 400 1.5rem/1.2 var(--serif);
}
.searchbar svg { flex: none; width: 24px; height: 24px; }
.searchbar svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Étapes et cartes */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step, .card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s ease, border-color 0.25s ease; }
.step:hover, .card:hover { transform: translateY(-3px); border-color: var(--gold); }
.step { position: relative; counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: 18px; right: 24px; font: 400 2.6rem/1 var(--serif); color: var(--gold); }
.step .icon, .card .icon { margin-bottom: 18px; }
.step h3, .card h3 { margin-bottom: 10px; }
.grid { display: grid; gap: 20px; }

/* Calcul */
.calc { display: grid; gap: 40px; align-items: center; }
.calc-visual { display: flex; flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
.calc-box { padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.calc-tables { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; font: 400 1.5rem var(--serif); color: var(--gold); }
.calc-tables .icon { width: 56px; height: 56px; }
.calc-value { display: block; font: 400 1.9rem/1.2 var(--serif); }
.calc-label { display: block; color: var(--soft); font-size: 0.95rem; }
.calc-sign { font: 400 1.8rem/1 var(--serif); color: var(--gold); }
.calc h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.fine { font-size: 0.9rem; line-height: 1.5; }

/* Appel à l'action final */
.final h2 { max-width: 18em; margin: 0 auto; }
.final .btn-row { max-width: 420px; margin-left: auto; margin-right: auto; }

/* En-tête de page */
.page-head { padding: 56px 0; }
.page-head h1 { font-size: clamp(2.4rem, 9vw, 3.8rem); }
.page-head .lead { margin: 18px 0 0; color: var(--soft); max-width: 38em; }

/* Services */
.service { display: grid; gap: 24px; padding: 44px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service:last-child { padding-bottom: 0; }
.service-art { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 50%; }
.service h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); margin-bottom: 12px; }
.pill { display: inline-block; margin: 14px 0 0; padding: 3px 12px; border: 1px solid var(--gold); border-radius: 99px; font-size: 0.85rem; font-weight: 500; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 52px; padding: 18px 0;
  font: 400 1.3rem/1.3 var(--serif); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--soft); }

/* Tarifs */
.plans { display: grid; gap: 28px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.plan-pro { position: relative; order: -1; background: var(--night); color: var(--cream); border-color: var(--gold); }
.badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 14px; background: var(--gold); color: var(--night); border-radius: 99px;
  font-size: 0.85rem; font-weight: 500;
}
.plan h2 { font-size: 1.9rem; }
.price { margin: 16px 0 2px; font: 400 3rem/1.1 var(--serif); }
.price .per { font: 400 1rem var(--sans); color: var(--grey); white-space: nowrap; }
.plan-pro .price .per, .plan-pro .sub { color: var(--soft); }
.sub { min-height: 1.6em; margin: 0 0 20px; font-size: 0.95rem; color: var(--grey); }
.checks { flex: 1; margin-bottom: 28px; }
.checks li { position: relative; padding: 8px 0 8px 26px; line-height: 1.45; }
.checks .star { position: absolute; left: 0; top: 14px; width: 13px; height: 13px; color: var(--gold); }
.plan .btn { width: 100%; }
[data-billing="monthly"] .is-annual, [data-billing="annual"] .is-monthly { display: none; }

.billing { margin: 36px auto 0; text-align: center; }
.billing fieldset { display: inline-flex; margin: 0; padding: 4px; border: 1px solid var(--gold); border-radius: var(--radius); }
.billing legend, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.billing label { position: relative; display: block; cursor: pointer; }
.billing input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.billing label span { display: flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 4px; }
.billing input:checked + span { background: var(--night); color: var(--cream); }
.billing input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.billing-note { margin: 14px 0 0; }

.extras { display: grid; gap: 20px; margin-top: 44px; }
.extra { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.extra h2 { font-size: 1.6rem; margin-bottom: 10px; }
.old-price { color: var(--grey); text-decoration: line-through; font-size: 1.3rem; font-family: var(--serif); }
.new-price { font: 400 2.4rem/1.2 var(--serif); margin-left: 8px; }
.terms { margin-top: 36px; font-size: 0.9rem; color: var(--grey); }

/* À propos */
.prose h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding: 3px 0 3px 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.8em; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.prose a { text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 500; }
.optional { font-weight: 400; color: var(--grey); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--grey); border-radius: var(--radius); font: 400 1.05rem/1.4 var(--sans);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--night); }
.bot-field { position: absolute; left: -9999px; }
.form-note { margin-top: 16px; font-size: 0.9rem; color: var(--grey); }
form .btn { width: 100%; }
.contact-side { padding: 28px 24px; border-radius: var(--radius); }
.contact-side h2 { font-size: 1.8rem; margin-bottom: 18px; }
.contact-side .btn-row { margin-top: 0; }
.contact-side .btn { width: 100%; }
.contact-side h3 { margin: 28px 0 8px; font-size: 1.25rem; color: var(--gold); }
.email-link { word-break: break-word; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--cream); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; gap: 36px; }
.site-footer .logo { width: 96px; margin-bottom: 16px; }
.site-footer p { color: var(--soft); }
.foot-title { margin: 0 0 8px; font-weight: 500; color: var(--gold); }
.foot-links a { display: inline-block; padding: 7px 0; color: var(--cream); text-decoration: none; }
.foot-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Page merci */
.thanks { min-height: 55vh; display: flex; align-items: center; }
.thanks .star { width: 40px; height: 40px; margin: 0 auto 24px; color: var(--gold); }

/* Tablette et plus */
@media (min-width: 600px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .center .btn-row { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .calc-visual { flex-direction: row; align-items: center; }
  .calc-visual .calc-box { flex: 1; }
  .service { grid-template-columns: 112px 1fr; gap: 36px; }
}

/* Ordinateur */
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .section { padding: 104px 0; }
  .logo { width: 92px; }
  .js .menu-toggle { display: none; }
  .header-in { flex-wrap: nowrap; gap: 28px; }
  .brand { margin-right: 0; }
  .js .nav, .nav { display: flex; flex: 1; flex-basis: auto; order: 0; justify-content: flex-end; gap: 28px; padding: 0; }
  .nav a { padding: 8px 0; }
  .hero { padding: 96px 0 112px; }
  .hero-grid, .split { grid-template-columns: 1.3fr 1fr; gap: 72px; }
  .split { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr 1.2fr; gap: 72px; }
  .page-head { padding: 84px 0; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .plan-pro { order: 0; padding-top: 52px; padding-bottom: 52px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .step:hover, .card:hover { transform: none; }
}
