/* Landing Planudo */
section { padding-block: 96px; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: 48px; }
.section-head h2, .api h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.section-head p { color: var(--muted); max-width: 560px; line-height: 1.55; }

/* Accroche */
.hero { padding-block: clamp(48px, 9vw, 120px) clamp(72px, 10vw, 140px); }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
.hero h1 { margin: 28px 0 26px; font-size: clamp(46px, 7.2vw, 86px); line-height: .98; font-weight: 500; letter-spacing: -.05em; }
.hero .lead { max-width: 470px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.meta { margin-top: 22px; color: var(--faint); font-size: 13px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }

.visual { position: relative; display: flex; justify-content: center; padding-block: 36px; }
.visual .glow { position: absolute; inset: 50% auto auto 50%; width: 440px; height: 440px; max-width: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 61, .3), transparent 65%); filter: blur(24px); }
.queue {
  position: relative; width: 340px; max-width: 100%; padding: 18px; border-radius: 30px;
  background: linear-gradient(180deg, #171211, #0E0B0A); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7); transform: rotate(-3deg);
}
.queue-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 14px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.queue-head b { background: var(--accent); color: var(--ink); border-radius: 999px; padding: 2px 9px; letter-spacing: 0; }
.qitem { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.qitem + .qitem { margin-top: 10px; }
.thumb { position: relative; flex: none; width: 46px; height: 56px; }
.thumb i { position: absolute; inset: 0; border-radius: 10px; }
.thumb i:nth-child(1) { transform: translate(6px, -3px) rotate(6deg); opacity: .35; }
.thumb i:nth-child(2) { transform: translate(3px, -1px) rotate(3deg); opacity: .6; }
.thumb-a i { background: linear-gradient(160deg, #FF9A6B, #FF5A2A); }
.thumb-b i { background: linear-gradient(160deg, #A7F3D0, #10B981); }
.thumb-c i { background: linear-gradient(160deg, #C4B5FD, #7C3AED); }
.thumb-video i:nth-child(1), .thumb-video i:nth-child(2) { display: none; }
.thumb b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.thumb b svg { width: 18px; height: 18px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.qtext { min-width: 0; flex: 1; }
.qtext strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qtext small { color: var(--muted); font-size: 12px; }
.qnets { display: flex; gap: 4px; }
.net { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-strong); }
.net svg { width: 14px; height: 14px; }
.glass-card {
  position: absolute; border-radius: 22px; padding: 14px 18px;
  background: rgba(24, 20, 18, .62); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.glass-card small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.glass-card strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.glass-card strong span { color: var(--accent); }
.glass-card strong.sm { font-size: 16px; margin-top: 2px; letter-spacing: 0; }
.card-a { right: calc(50% - 250px); top: 0; }
.card-b { left: calc(50% - 250px); bottom: 4px; display: flex; align-items: center; gap: 12px; }
.ok-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.dots { display: flex; gap: 4px; margin-top: 10px; }
.dots b { width: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.dots b.on { background: var(--accent); }
@media (max-width: 560px) { .card-a { right: 0; top: -6px; } .card-b { left: 0; bottom: 0; } .glass-card strong { font-size: 24px; } }

/* Panneau des fonctionnalités */
.sheet { position: relative; margin: 0 clamp(8px, 1.4vw, 20px); border-radius: 40px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, #110E0D 0%, #0B0909 100%); }
.sheet::before { content: ""; position: absolute; inset: 0 0 auto; height: 280px; border-radius: inherit; background: radial-gradient(60% 100% at 50% 0%, rgba(255, 106, 61, .09), transparent 70%); pointer-events: none; }
.sheet > * { position: relative; }
.bento { display: grid; gap: 14px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-big { grid-column: span 2; } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); } .tile-big { grid-row: span 3; grid-column: span 1; } }
.tile { position: relative; overflow: hidden; min-width: 0; border-radius: 28px; border: 1px solid var(--line); padding: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.tile .badge { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.tile .badge svg { width: 20px; height: 20px; }
.tile h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tile-big { display: grid; gap: 28px; align-content: space-between; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 106, 61, .2), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.tile-big .week { align-self: end; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week .day { min-height: 160px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.week .day small { color: var(--faint); font-size: 11px; font-weight: 700; text-align: center; }
.slot { height: 26px; border-radius: 7px; }
.slot-0 { background: linear-gradient(160deg, #FF9A6B, #FF5A2A); }
.slot-1 { background: linear-gradient(160deg, #A7F3D0, #10B981); }
.slot-2 { background: linear-gradient(160deg, #C4B5FD, #7C3AED); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.steps .n { font: 600 14px/1 var(--mono); color: var(--accent); }
.steps h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* API */
.api-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .api-grid { grid-template-columns: .9fr 1.1fr; } }
.api h2 { margin: 18px 0 16px; }
.api .lead { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 480px; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checks svg, .plan li svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.terminal { margin: 0; min-width: 0; overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #0E0B0A; padding: 0 22px 22px; font-size: 13px; line-height: 1.7; color: #E9E4E0; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.terminal .bar { display: flex; gap: 6px; padding: 16px 0; position: sticky; left: 0; }
.terminal .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.terminal .c { color: var(--accent); font-weight: 700; }
.terminal .s { color: #FFD3C2; }
.terminal .k { color: var(--muted); }

/* Tarifs */
.pricing { position: relative; }
.pricing::before { content: ""; position: absolute; inset: 160px 0 auto; height: 520px; background: radial-gradient(closest-side, rgba(255, 106, 61, .1), transparent); pointer-events: none; }
.plans { position: relative; display: grid; gap: 14px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.plan-hot { border-color: rgba(255, 106, 61, .45); background: radial-gradient(120% 70% at 50% 0%, rgba(255, 106, 61, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 18px; font-weight: 600; }
.ribbon { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.amount { font-size: 44px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.amount small { font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 12px; font-size: 14.5px; color: #DAD5D1; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan .pill { justify-content: space-between; }
.price-note { margin-top: 18px; text-align: center; color: var(--faint); font-size: 12.5px; }

/* FAQ */
.qa { display: grid; gap: 10px; }
.qa details { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 0 22px; transition: background .3s ease, border-color .3s ease; }
.qa details:hover { background: var(--surface-strong); }
.qa details.is-open { border-color: rgba(255, 106, 61, .35); background: linear-gradient(180deg, rgba(255, 106, 61, .07), rgba(255, 255, 255, .02)); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 400; line-height: 1; transition: transform .38s cubic-bezier(.22, .8, .24, 1), background .3s ease, color .3s ease; }
.qa details.is-open summary::after { transform: rotate(135deg); background: var(--accent); color: var(--ink); }
.ans { overflow: hidden; }
.qa p { color: var(--muted); line-height: 1.6; padding-bottom: 20px; font-size: 15px; max-width: 900px; }
@media (prefers-reduced-motion: reduce) { .qa details[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--ink); } }

.final { padding-top: 40px; }
.final-card { text-align: center; display: grid; justify-items: center; gap: 16px; padding: clamp(40px, 7vw, 72px) 24px; border-radius: 40px; border: 1px solid rgba(255, 106, 61, .3); background: radial-gradient(80% 120% at 50% 0%, rgba(255, 106, 61, .22), transparent 65%), #0E0B0A; }
.final-card h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 700px; }
.final-card p { color: var(--muted); margin-bottom: 10px; }
