/* Capday — le site. L'univers « Nuit » de l'app : noir profond, une seule couleur, le jaune du présent. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff") format("woff");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("/assets/fonts/doto.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08080A;
  --panel: #111113;
  --card: #161618;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F3EE;
  --text-2: #A3A3A9;
  --text-3: #85858C;
  --accent: #FAD15A;
  --on-accent: #17140A;
  --max: 1240px;
  --display: "Outfit", -apple-system, system-ui, sans-serif;
  --text-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --dots: "Doto", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--text-font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.dot { color: var(--accent); }
.soft { color: var(--text-3); }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 12px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); line-height: 1.6; max-width: 36em; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
.text-link { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; color: var(--accent); transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* Pastille */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font: 500 14px var(--text-font); color: var(--text-2); margin: 0 0 24px; }
.tag svg { width: 16px; height: 16px; color: var(--accent); }

/* Boutons */
.cta { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 5px 5px 5px 24px; border-radius: 999px;
  font: 600 16px var(--text-font); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.cta .arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cta .arrow svg { width: 18px; height: 18px; }
.cta-primary { background: var(--accent); color: var(--on-accent); }
.cta-primary:hover { background: #FFDB70; }
.cta-primary .arrow { background: var(--on-accent); color: var(--accent); }
.cta-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.cta-ghost:hover { border-color: rgba(255,255,255,.3); }
.cta-ghost .arrow { background: rgba(255,255,255,.08); }
.cta-small { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 15px; gap: 10px; }
.cta-small .arrow { width: 36px; height: 36px; }
.cta-small .arrow svg { width: 15px; height: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }
.icon-disc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.icon-disc svg { width: 22px; height: 22px; }

/* En-tête */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: auto;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(20, 20, 22, .78); border: 1px solid var(--line);
  backdrop-filter: saturate(1.5) blur(20px); -webkit-backdrop-filter: saturate(1.5) blur(20px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 20px var(--display); letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--text); }
.header-end { display: flex; align-items: center; gap: 6px; }
.lang { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; }
.lang:hover { color: var(--text); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--on-accent); border-radius: 2px; position: relative; content: ""; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu-panel { position: fixed; left: 20px; right: 20px; top: 80px; padding: 10px; border-radius: 26px; background: #161618; border: 1px solid var(--line-2); display: grid; gap: 2px; box-shadow: 0 30px 80px -20px #000; }
.menu-panel a { color: var(--text); text-decoration: none; font: 500 20px var(--display); padding: 13px 16px; border-radius: 16px; }
.menu-panel a:hover { background: rgba(255,255,255,.05); }
.menu-panel .cta { margin-top: 8px; justify-content: space-between; font: 600 16px var(--text-font); }
@media (max-width: 920px) { .nav, .header-end .lang, .header-end .cta { display: none; } .menu { display: block; } }

/* Appareils : les maquettes sont des images (scripts/site_mockups.py), l'ombre vient d'ici */
.device { display: block; width: var(--w, 320px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.device img { width: 100%; height: auto; }

/* Cartes d'interface : des morceaux de l'app qui sortent de l'écran */
.ui { position: absolute; z-index: 2; border-radius: 22px; padding: 16px 18px; text-align: left; color: var(--text);
  background: rgba(30, 30, 33, .88); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85); }
.ui .k { font: 600 11px var(--text-font); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.ui .t { font: 600 18px/1.25 var(--display); letter-spacing: -.02em; margin: 0; }
.ui .s { font-size: 14px; color: var(--text-2); margin: 4px 0 0; }
.ui .row { display: flex; align-items: center; gap: 12px; }
.ui .icon-disc { width: 38px; height: 38px; }
.ui .icon-disc svg { width: 18px; height: 18px; }
.ui-yellow { background: var(--accent); border-color: rgba(255,255,255,.35); color: var(--on-accent); box-shadow: 0 30px 70px -20px rgba(250,209,90,.45); }
.ui-yellow .k, .ui-yellow .s { color: rgba(23,20,10,.7); }
.ui-yellow .icon-disc { background: var(--on-accent); color: var(--accent); }
.ui-now { width: 330px; display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 18px 20px; }
.ui-now .t { font-size: 21px; margin-top: 12px; }
.gauge { width: 118px; }
.gauge text { font-family: var(--dots); font-weight: 800; fill: var(--on-accent); }
.gauge .u { font: 600 11px var(--text-font); fill: rgba(23,20,10,.7); }
.ui-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border-radius: 999px; background: #F4F3EE; color: #141416; font: 600 16px var(--text-font); border: 0; }
.ui-pill .check { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--on-accent); }
.ui-pill .check svg { width: 15px; height: 15px; }
.ui-pill .flag { position: absolute; top: -14px; right: 18px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: 15px; }
.steps li .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(250,209,90,.16); color: var(--accent); font: 700 12px var(--text-font); flex: none; }
.steps li.on .n { background: var(--accent); color: var(--on-accent); }
.steps li span:last-child { margin-left: auto; color: var(--text-2); font-size: 13px; }

/* Sections */
section { position: relative; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.045em; margin-bottom: 20px; }

/* Héros */
/* Pleine largeur : les plis et la lueur s'effacent vers le bas, le téléphone se fond dans la section suivante. */
.hero-panel { position: relative; overflow: hidden; isolation: isolate; padding: 160px 20px 0; text-align: center;
  background: radial-gradient(45% 38% at 50% 80%, rgba(250, 209, 90, .24), transparent 70%), radial-gradient(60% 40% at 50% 0%, rgba(250, 209, 90, .06), transparent 70%); }
.hero-panel::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.03) 70px, rgba(255,255,255,0) 140px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent 92%); mask-image: linear-gradient(#000 40%, transparent 92%); }
.hero-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(8,8,10,0), var(--bg) 90%); }
.hero h1 { font-size: clamp(46px, 7vw, 96px); letter-spacing: -.05em; line-height: .98; max-width: 13ch; margin: 0 auto 24px; }
.hero .lead { margin: 0 auto 34px; }
.hero .actions { justify-content: center; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--text-3); }
.hero-visual { position: relative; max-width: 1100px; height: clamp(440px, 46vw, 560px); margin: 64px auto 0; }
.hero-visual .device { --w: clamp(270px, 27vw, 340px); position: absolute; left: 50%; top: 0; translate: -50% 0; }
.hero .ui-now { left: 2%; top: 30px; }
.hero .ui-carry { left: 8%; top: 270px; width: 280px; }
.hero .ui-next { right: 4%; top: 40px; width: 270px; }
.hero .ui-pill { position: absolute; right: 10%; top: 250px; z-index: 2; }
.hero .arrow-l, .hero .arrow-r { position: absolute; top: -26px; width: 70px; color: rgba(255,255,255,.55); z-index: 1; }
.hero .arrow-l { left: calc(50% - 250px); }
.hero .arrow-r { right: calc(50% - 250px); transform: scaleX(-1); }
.ui-carry .row { justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.ui-carry .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); flex: none; }
.ui-carry .go svg { width: 15px; height: 15px; }

/* Ce que Capday ne fera jamais */
.trust { padding: 32px 0 0; text-align: center; }
.trust p { color: var(--text-2); font-size: 15px; margin-bottom: 26px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.trust li { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font: 500 18px var(--display); letter-spacing: -.01em; }
.trust li svg { width: 22px; height: 22px; color: var(--text-3); }

/* Pourquoi + chiffres */
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: 64px; }
.why-head h2 { margin: 0; }
.why-head .copy p { color: var(--text-2); }
.why-head .copy strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stat { padding: 26px 26px 0; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; min-height: 230px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font: 500 17px var(--display); letter-spacing: -.01em; }
.stat span { color: var(--text-3); font-size: 14px; margin-top: 6px; line-height: 1.5; max-width: 22ch; }
.stat b { margin-top: auto; font: 300 clamp(56px, 6vw, 84px)/1 var(--display); letter-spacing: -.05em; color: var(--text); }
.stat b i { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .why-head { grid-template-columns: 1fr; align-items: start; } .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-2); margin-top: 26px; } }
@media (max-width: 420px) { .stat { padding: 20px 14px 0; min-height: 190px; } .stat:nth-child(odd) { padding-left: 0; } }

/* Fonction phare : panneau à gauche, cartes à droite */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(70% 55% at 50% 100%, rgba(250,209,90,.32), transparent 70%), linear-gradient(180deg, #19181a, #0e0e0f); }
.feature .panel { height: 700px; }
.feature .panel .device { --w: 320px; position: absolute; left: 50%; top: 120px; translate: -50% 0; }
.feature .ui-now { left: 50%; top: 250px; translate: -50% 0; rotate: -3deg; width: 360px; }
.feature .ui-next { left: 5%; top: 450px; rotate: 3deg; width: 240px; }
.feature .ui-habit { right: 5%; top: 560px; rotate: -4deg; width: 230px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.fcard { border-radius: 22px; padding: 26px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 230px; }
.fcard.is-lit { border-color: rgba(250,209,90,.55); background: linear-gradient(180deg, rgba(250,209,90,.07), var(--card) 60%); }
.fcard .icon-disc { margin-bottom: auto; }
.fcard h3 { font-size: 21px; letter-spacing: -.02em; margin: 40px 0 8px; }
.fcard p { color: var(--text-2); font-size: 15px; margin: 0; line-height: 1.5; }
@media (max-width: 1000px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .feature .panel { height: 560px; }
  .feature .panel .device { --w: 250px; top: 90px; }
  .feature .ui-now { width: 300px; top: 200px; }
  .feature .ui-next { left: 4%; top: 380px; width: 200px; }
  .feature .ui-habit { display: none; }
  .cards-2 { grid-template-columns: 1fr; }
  .fcard { min-height: 0; }
}

/* Trois écrans */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screen-card { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.screen-card .shot { position: relative; height: 400px; overflow: hidden; display: flex; justify-content: center; padding-top: 40px;
  background: radial-gradient(80% 70% at 50% 0%, rgba(250,209,90,.16), transparent 70%), #121214; border-bottom: 1px solid var(--line); }
.screen-card .shot .device { --w: 270px; filter: none; }
.screen-card .body { padding: 26px 28px 30px; }
.screen-card .num { font: 600 14px var(--text-font); color: var(--accent); margin-bottom: 10px; }
.screen-card h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 10px; }
.screen-card p { color: var(--text-2); font-size: 15px; margin: 0; line-height: 1.55; }
@media (max-width: 960px) { .screens { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Routines : grand panneau, téléphone au centre, cartes de chaque côté */
.routine-panel { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px) 0; text-align: center;
  background: radial-gradient(60% 40% at 50% 100%, rgba(250,209,90,.28), transparent 70%), linear-gradient(180deg, #121214, #0d0d0e); }
.routine-panel .section-head { margin-inline: auto; }
.trio { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left; }
.trio .side { display: grid; gap: 16px; }
.trio .fcard { min-height: 210px; }
.trio-stage { position: relative; height: 620px; width: 360px; }
.trio-stage .device { --w: 340px; margin: 0 auto; }
.trio-stage .ui { left: -40px; right: -40px; top: 250px; rotate: -4deg; }
@media (max-width: 1080px) { .trio { grid-template-columns: 1fr 1fr; } .trio-stage { grid-column: 1 / -1; order: 2; margin: 0 auto; } }
@media (max-width: 620px) { .trio { grid-template-columns: 1fr; } .trio-stage { width: 290px; height: 540px; } .trio-stage .device { --w: 290px; } .trio-stage .ui { left: -14px; right: -14px; top: 210px; } }

/* Apple Watch */
.watch-section { overflow: hidden; }
.watch-section::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; translate: -50% -50%; border-radius: 50%; background: rgba(250,209,90,.22); filter: blur(120px); z-index: -1; }
.bigwords { position: absolute; inset: 50% 0 auto; translate: 0 -50%; z-index: -1; pointer-events: none; user-select: none; text-align: center;
  font: 700 clamp(64px, 10vw, 150px)/.95 var(--display); letter-spacing: -.04em; text-transform: uppercase; color: rgba(255,255,255,.035); transform: skewX(-8deg); }
.bigwords span { display: block; }
.watch-grid { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.watch-grid .device { --w: 260px; }
.carousel { max-width: 360px; justify-self: end; }
.carousel .slide h3 { font-size: 22px; letter-spacing: -.02em; margin: 26px 0 8px; }
.carousel .slide p { color: var(--text-2); font-size: 16px; margin: 0; }
.carousel .slide + .slide { margin-top: 30px; }
.js .carousel .slide { display: none; margin-top: 0; }
.js .carousel .slide.is-active { display: block; }
.carousel-nav { display: none; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.js .carousel-nav { display: flex; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.carousel-nav button.next { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.carousel-nav button svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .watch-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .watch-grid .lead { margin-inline: auto; }
  .watch-grid .actions { justify-content: center; }
  .carousel { justify-self: center; }
  .carousel .icon-disc { margin: 0 auto; }
  .carousel-nav { justify-content: center; }
}

/* Partout : l'iPad au centre, les fonctions reliées de chaque côté */
.hub { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hub .col { display: grid; gap: 18px; }
.hub .node { position: relative; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.hub .node .icon-disc { margin: 0 auto 16px; width: 44px; height: 44px; }
.hub .node h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.hub .node p { color: var(--text-2); font-size: 14.5px; margin: 0; line-height: 1.5; }
.hub .col .node::after { content: ""; position: absolute; top: 50%; width: 48px; border-top: 1.5px dashed rgba(255,255,255,.22); }
.hub .col:first-child .node::after { left: 100%; }
.hub .col:last-child .node::after { right: 100%; }
.hub .device { --w: 440px; margin: 0 48px; }
@media (max-width: 1080px) { .hub { grid-template-columns: 1fr 1fr; gap: 18px; } .hub .device { grid-column: 1 / -1; order: -1; margin: 0 auto 30px; --w: min(440px, 90vw); } .hub .col .node::after { display: none; } }
@media (max-width: 600px) { .hub { grid-template-columns: 1fr; } }

/* Principes */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } .grid-4 .fcard { min-height: 0; } }

/* Confidentialité */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(60% 90% at 100% 100%, rgba(250,209,90,.16), transparent 65%), var(--panel); }
.privacy .icon-disc { width: 56px; height: 56px; margin-bottom: 28px; }
.privacy .icon-disc svg { width: 26px; height: 26px; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.checks li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font: 500 18px var(--display); letter-spacing: -.01em; }
.checks li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; } }

/* Tarifs */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin-inline: auto; }
.plan { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 3.4vw, 40px); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.plan.pro { border-color: rgba(250,209,90,.55); background: radial-gradient(80% 50% at 0% 0%, rgba(250,209,90,.12), transparent 70%), var(--card); }
.plan h3 { font-size: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.badge { font: 600 12px var(--text-font); background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: 999px; }
.price { font: 500 clamp(48px, 5vw, 64px)/1 var(--display); letter-spacing: -.05em; margin: 28px 0 4px; }
.price small { font: 500 16px var(--text-font); letter-spacing: 0; color: var(--text-2); margin-left: 4px; }
.plan .alt { font-size: 14px; color: var(--text-3); margin: 8px 0 0; }
.plan ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; border-top: 1px solid var(--line); padding: 24px 0 0; }
.plan li { padding-left: 32px; position: relative; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(250,209,90,.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23FAD15A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat; }
.plan .cta { justify-content: space-between; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-radius: 26px; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.guide-card:hover { border-color: rgba(250,209,90,.45); }
.guide-card .n { font: 600 14px var(--text-font); color: var(--accent); margin-bottom: auto; }
.guide-card h3 { font-size: 23px; letter-spacing: -.025em; margin: 36px 0 10px; }
.guide-card p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; line-height: 1.55; }
.guide-card .more { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.guide-card .more i { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; }
.guide-card .more i svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } .guide-card { min-height: 0; } }

/* FAQ */
.faq { max-width: 920px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font: 500 clamp(18px, 1.8vw, 22px)/1.35 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23FAD15A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/19px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details > div { padding: 0 68px 26px 0; color: var(--text-2); font-size: 17px; }
.faq details > div p { margin: 0; }
.faq-more { text-align: center; margin-top: 36px; color: var(--text-2); }
@media (max-width: 700px) { .faq details > div { padding-right: 0; } }

/* Appel final : le téléphone dépasse du bandeau */
.banner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 420px; margin-top: 90px; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(60% 100% at 85% 0%, rgba(250,209,90,.24), transparent 65%), linear-gradient(135deg, #171719, #0c0c0d); }
.banner .visual { position: relative; align-self: stretch; }
.banner .crop { position: absolute; left: 0; right: 0; bottom: 0; top: -110px; overflow: hidden; border-radius: 0 0 0 32px; }
.banner .device { --w: 280px; position: absolute; left: 50%; top: 0; margin-left: -140px; rotate: -8deg; }
.banner .copy { padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(36px, 5vw, 72px) 0; }
.banner .copy .h2 { font-size: clamp(36px, 4.2vw, 56px); }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; margin-top: 60px; } .banner .copy { padding: 36px 28px 40px; order: -1; } .banner .visual { height: 320px; } .banner .crop { top: 0; border-radius: 0 0 32px 32px; } .banner .device { --w: 220px; margin-left: -110px; top: 30px; } }

/* Pied de page */
.site-footer { padding: 72px 0 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; overflow: hidden; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; }
.site-footer .cols > div { padding: 0 32px; border-left: 1px solid var(--line-2); }
.site-footer .cols > div:first-child { padding-left: 0; border-left: 0; }
.site-footer h2 { font: 600 17px var(--display); color: var(--text); letter-spacing: -.01em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:not(.cta) { color: var(--text-2); text-decoration: none; }
.site-footer a:not(.cta):hover { color: var(--text); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .brand + p { margin-bottom: 22px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 28px 0; margin-top: 56px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.legal span { max-width: 62em; }
.wordmark { font: 700 clamp(96px, 23vw, 350px)/.8 var(--display); letter-spacing: -.065em; text-align: center; margin: 0 0 -.08em; color: #1B1B1E; user-select: none; white-space: nowrap; }
.wordmark span { color: rgba(250,209,90,.4); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 36px 0; } .site-footer .cols > div:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } .site-footer .cols > div { padding: 0; border-left: 0; } }

/* Cadran (404) */
.dial { width: 100%; }
.dial text { font-family: var(--dots); font-weight: 800; fill: var(--text); }
.dial .label { font-family: var(--text-font); font-weight: 600; letter-spacing: .14em; fill: var(--text-3); font-size: 9px; }
.dial .unit { font-family: var(--text-font); fill: var(--text-2); font-size: 11px; font-weight: 500; }
.dial .tick { stroke: rgba(255,255,255,.55); }
.dial .tick-minor { stroke: rgba(255,255,255,.2); }
.dial .track { stroke: rgba(255,255,255,.08); }
.dial .arc { stroke: var(--accent); }
.lost { text-align: center; max-width: 640px; margin-inline: auto; }
.lost .dial { max-width: 220px; margin: 0 auto 16px; }
.lost h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 16px; }

/* Guides (articles) et pages simples */
.page-top { position: relative; isolation: isolate; padding: 150px 0 110px; }
.page-top::before { content: ""; position: absolute; left: 50%; top: -160px; width: 700px; max-width: 100%; height: 380px; translate: -50% 0; border-radius: 50%; background: rgba(250,209,90,.14); filter: blur(110px); z-index: -1; }
.article .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 72px; align-items: start; }
.article .wrap > * { min-width: 0; }
.prose { max-width: 740px; min-width: 0; }
.prose h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.045em; line-height: 1.02; margin: 22px 0 22px; }
.prose h2 { font-size: clamp(27px, 3vw, 36px); letter-spacing: -.035em; margin: 64px 0 16px; scroll-margin-top: 110px; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--text-2); font-size: 18px; line-height: 1.75; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose sup a { text-decoration: none; font-weight: 700; font-size: .72em; padding: 0 1px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-3); font-size: 14px; margin-bottom: 34px; }
.answer { font-size: 19px !important; color: var(--text) !important; }
.definition { border-radius: 24px; padding: 26px 28px; margin: 8px 0 36px; border: 1px solid rgba(250,209,90,.4); background: linear-gradient(180deg, rgba(250,209,90,.08), rgba(250,209,90,.02)); }
.definition p { margin: 0; color: var(--text) !important; font-size: 19px !important; }
.definition .k { font: 600 12px var(--text-font) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 10px; }
.pull { margin: 48px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--accent); }
.pull p { font: 500 clamp(22px, 2.3vw, 27px)/1.4 var(--display) !important; color: var(--text) !important; letter-spacing: -.015em; }
.pull footer { color: var(--text-3); font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 32px 0; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
caption { text-align: left; padding: 18px 22px 8px; font-weight: 600; color: var(--text); }
th, td { text-align: left; padding: 14px 22px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
th { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.capday-box { margin: 64px 0; padding: clamp(26px, 4vw, 40px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 100% 100%, rgba(250,209,90,.18), transparent 65%), var(--panel); display: grid; grid-template-columns: 1fr 180px; gap: 32px; align-items: center; }
.capday-box h2 { margin-top: 0 !important; }
.capday-box .device { --w: 180px; }
@media (max-width: 640px) { .capday-box { grid-template-columns: 1fr; } .capday-box .device { margin-inline: auto; } }
.sources li { font-size: 15px !important; word-break: break-word; }
.toc { position: sticky; top: 110px; font-size: 15px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.toc p { font-weight: 600; color: var(--text-3); margin-bottom: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { color: var(--text-2); text-decoration: none; display: block; padding: 7px 10px; border-radius: 10px; line-height: 1.35; }
.toc a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.breadcrumb { font-size: 14px; color: var(--text-3); overflow-wrap: anywhere; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.note { font-size: 15px !important; padding: 16px 20px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); margin-top: 40px; }
.prose .faq summary { font-size: 19px; padding: 22px 0; }
.prose .faq summary::after { width: 38px; height: 38px; background-size: 16px; }
.prose .faq details > div { padding-right: 54px; }
@media (max-width: 1000px) { .article .wrap { grid-template-columns: 1fr; } .toc { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Mobile : héros */
@media (max-width: 760px) {
  .hero-panel { padding-top: 120px; }
  .hero-panel::after { height: 180px; }
  .hero-visual { height: 470px; margin-top: 48px; }
  .hero-visual .device { --w: 250px; }
  .hero .ui-now { left: 50%; translate: -50% 0; top: 300px; width: 300px; }
  .hero .ui-carry, .hero .ui-next, .hero .ui-pill, .hero .arrow-l, .hero .arrow-r { display: none; }
  .trust ul { gap: 14px 26px; }
  .trust li { font-size: 16px; }
}

/* Suggestion de langue (ajoutée par site.js) */
.lang-hint { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 60; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(28, 28, 31, .92); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px #000;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lang-hint p { margin: 0; font-size: 15px; color: var(--text); }
.lang-hint button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--text-2); cursor: pointer; display: grid; place-items: center; flex: none; }
.lang-hint button:hover { color: var(--text); }
.lang-hint button svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .lang-hint { left: 16px; right: 16px; translate: none; width: auto; flex-wrap: wrap; border-radius: 24px; padding: 14px 14px 14px 18px; }
  .lang-hint p { flex: 1 1 calc(100% - 56px); }
  .lang-hint button { order: 2; }
  .lang-hint .cta { order: 3; flex: 1; justify-content: space-between; }
}
