@font-face {
  font-family: "Bricolage";
  src: url("fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --bg-soft: #FBF7F2;
  --surface: #FFFFFF;
  --ink: #1F2A2A;
  --muted: #5E6A6A;
  --line: #ECE6DE;
  --flame: #ED892A;
  --flame-soft: #FDEBD9;
  --sun: #EDC65A;
  --teal: #6ABCB5;
  --check: #5DB12F;
  --cream: #E9CEAF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 42, 42, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #172020;
    --bg-soft: #1D2828;
    --surface: #233030;
    --ink: #F3EFE9;
    --muted: #A9B4B2;
    --line: #2F3D3C;
    --flame-soft: #3A2A1C;
    --shadow: 0 10px 30px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--flame); }
h1, h2, h3, .logo { font-family: "Bricolage", -apple-system, sans-serif; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 21px; font-weight: 700; margin: 0 0 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 1px; font-size: 28px; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo svg { width: 9px; height: 12px; }
nav.links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
nav.links a { color: var(--ink); text-decoration: none; opacity: .8; }
nav.links a:hover { opacity: 1; color: var(--flame); }
@media (max-width: 640px) { nav.links .hide-sm { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 999px; }
.btn.orange { background: var(--flame); color: #fff; }
.btn.soft { background: var(--flame-soft); color: var(--flame); }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .75; line-height: 1; }
.btn .two { display: flex; flex-direction: column; line-height: 1.15; }

/* Accroche */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .eyebrow { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 14px; background: var(--flame-soft); color: var(--flame); font-weight: 700; font-size: 15px; line-height: 1.35; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.phones { position: relative; display: flex; justify-content: center; }
.phone { width: 260px; border-radius: 40px; padding: 9px; background: #10181A; box-shadow: 0 30px 60px rgba(31, 42, 42, .25); }
.phone img { border-radius: 32px; }
.phones .phone.back { position: absolute; transform: translate(42%, 6%) rotate(6deg) scale(.86); opacity: .95; z-index: 0; }
.phones .phone.front { position: relative; z-index: 1; transform: translateX(-18%) rotate(-3deg); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { margin-top: 10px; }
  .phone { width: 220px; }
}

/* Sections */
section.block { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.center { text-align: center; }
.intro { max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: 19px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; background: var(--flame-soft); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots .phone { width: 100%; border-radius: 32px; padding: 7px; }
.shots .phone img { border-radius: 26px; }
.shots figcaption { text-align: center; font-weight: 600; margin-top: 12px; font-size: 15px; }
@media (max-width: 820px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 18px; justify-content: center; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan.plus { border-color: var(--flame); }
.plan .price { font-family: "Bricolage", sans-serif; font-size: 40px; font-weight: 800; margin: 6px 0 2px; }
.plan .price span { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 7px 0 7px 30px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--check); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); }
.plan li::after { content: ""; position: absolute; left: 6px; top: 14px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tag { display: inline-block; background: var(--flame); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
details { background: var(--surface); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--flame); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }

/* Pages de texte */
.page { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page p, .page li { color: var(--ink); }
.page .updated { color: var(--muted); font-size: 15px; }
.page .box { background: var(--bg-soft); border-radius: 18px; padding: 18px 22px; margin: 22px 0; }
.page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.page th, .page td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.todo-fill { background: #FFF3C4; color: #6B4E00; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--flame); }
footer .copy { margin-left: auto; color: var(--muted); }
