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

:root {
  color-scheme: light;
  --ground: #F3F5F0;
  --surface: #FDFDFB;
  --line: #DDE3D8;
  --ink: #17251E;
  --ink2: #3E4A44;
  --muted: #5B6660;
  --balise: #F2C230;
  --balise-soft: #FCF0C8;
  --map: #E8EDE3;
  --gourmand: #C2366B;
  --nature: #2F7D4F;
  --vue: #2C6BB0;
  --patrimoine: #9A5F0E;
  --display: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  --body: "Figtree", -apple-system, system-ui, sans-serif;
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--nature); }
:focus-visible { outline: 3px solid var(--vue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 84px); letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; color: var(--ink2); max-width: 34ch; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 640px) { .nav a.opt { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 19px; text-decoration: none; border: 0; cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--surface); box-shadow: 0 8px 20px rgba(23,37,30,0.25); }
.btn-ink:hover { color: var(--balise); }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-soft:hover { color: var(--ink); background: var(--balise-soft); }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: var(--surface); text-decoration: none; }
.store-badge svg { width: 26px; height: 26px; fill: currentColor; }
.store-badge small { display: block; font-size: 12px; opacity: 0.8; line-height: 1.1; }
.store-badge strong { display: block; font-family: var(--display); font-size: 20px; line-height: 1.1; }
.store-badge:hover { color: var(--balise); }

/* Héros */
.hero { background: var(--balise); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero .contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lead { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; font-weight: 600; color: var(--ink2); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-loop { position: absolute; inset: -6% -10%; width: 120%; height: 112%; z-index: 0; }
.phone { position: relative; z-index: 1; width: min(250px, 62vw); border-radius: 46px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px rgba(23,37,30,0.30); }
.phone img { border-radius: 37px; }
.loop-path { stroke-dasharray: 2 11; }
.reveal { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.6s 0.3s cubic-bezier(.65,0,.35,1) forwards; }
.pop { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .45s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; stroke-dashoffset: 0; } .pop { animation: none; transform: none; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { order: 2; }
}

/* Sections */
section { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 680px; }
.section-head p { color: var(--ink2); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--ink2); }
.num { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.theme { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.theme .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.theme .ico svg { width: 24px; height: 24px; }
.theme strong { font-size: 17px; }
.theme span { font-size: 15px; color: var(--ink2); }
@media (max-width: 860px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 auto; width: min(240px, 62vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.gallery .phone { width: 100%; border-radius: 36px; padding: 8px; box-shadow: 0 16px 36px rgba(23,37,30,0.18); }
.gallery .phone img { border-radius: 29px; }
.gallery figcaption { font-weight: 700; font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.split .shot { border-radius: 36px; padding: 10px; background: var(--ink); box-shadow: 0 24px 50px rgba(23,37,30,0.22); }
.split .shot img { border-radius: 28px; }
.bullets { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); }
.bullets li::before { content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 6px; border-radius: 4px; background: var(--balise); box-shadow: inset 0 0 0 2.5px var(--ink); transform: rotate(45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.plan.best { background: var(--balise-soft); box-shadow: 0 0 0 2px var(--ink); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; }
.plan .pill { align-self: flex-start; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--balise); }
.plan p { color: var(--ink2); font-size: 15px; }
.free { margin-top: 14px; padding: 18px 22px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink2); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

.promise { background: var(--ink); color: var(--surface); }
.promise h2 { color: var(--surface); }
.promise p { color: color-mix(in srgb, var(--surface) 82%, transparent); }
.promise .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.promise strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 6px; color: var(--balise); }
.promise a { color: var(--balise); }
@media (max-width: 860px) { .promise .grid { grid-template-columns: 1fr; } }

/* Pages de texte */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); margin: 8px 0 12px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.contact-card { margin: 28px 0; padding: 24px; border-radius: var(--radius); background: var(--balise); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact-card strong { font-family: var(--display); font-size: 24px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 4px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details p { padding-bottom: 16px; }

/* Pied */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { font-weight: 600; font-size: 15px; text-decoration: none; }
footer small { color: var(--muted); font-size: 14px; }

/* Sélecteur de langue */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--surface); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; min-width: 190px; max-height: min(70vh, 480px); overflow-y: auto; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(23, 37, 30, 0.16); }
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.lang li a[aria-current] { background: var(--surface); font-weight: 700; }
@media (max-width: 640px) { .lang summary span { display: none; } }
