/* Site vitrine Cadencia365 : https://cadencia365.digiforce-solutions.fr */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0a1a2f;
  --navy-2: #0f2c55;
  --blue: #1565c0;
  --cyan: #19b5d8;
  --gold: #f5b72e;
  --gold-2: #e39b12;
  --ink: #0f172a;
  --muted: #55657c;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e2e8f0;
  --ok: #18a058;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(10, 26, 47, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-account { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(10, 26, 47, .25); white-space: nowrap; }
.btn-account svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-account:hover { background: var(--blue); }
.btn-gold { background: linear-gradient(180deg, #ffd166, var(--gold) 55%, var(--gold-2)); color: #2b1700; box-shadow: 0 8px 20px rgba(227, 155, 18, .35); }
.btn-ghost { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(10, 26, 47, .06); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* Accroche */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(25, 181, 216, .35), transparent 70%),
              radial-gradient(ellipse 50% 60% at 10% 90%, rgba(21, 101, 192, .55), transparent 70%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #11407c 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 84px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; }
.hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #7fe3ff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .85); max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.stores img { height: 54px; width: auto; }
.stores.center { justify-content: center; }
.hero-note { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero-note a { color: #7fe3ff; }
.hero-note strong { color: var(--gold); }
.hero-visual { position: relative; height: 600px; }

/* Téléphones */
.phone { width: 250px; border-radius: 40px; padding: 9px; background: #0b0f19; box-shadow: 0 0 0 2px #2a3142, var(--shadow), 0 30px 60px rgba(0, 0, 0, .35); }
.phone img { border-radius: 30px; width: 100%; height: auto; }
.hero-visual .phone { position: absolute; }
.phone-back { left: 4%; top: 40px; transform: rotate(-7deg); opacity: .92; }
.phone-front { right: 6%; top: 0; transform: rotate(4deg); }

/* Atouts */
.perks { background: #fff; border-bottom: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.perk { display: flex; gap: 12px; align-items: center; }
.perk .ico { font-size: 28px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #eef4ff; flex: none; }
.perk strong { display: block; font-size: 15px; }
.perk small { color: var(--muted); font-size: 13.5px; }

/* Sections */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }
.section-head h2, .pc h2, .cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.8px; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 34px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature.reverse .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(25, 181, 216, .28), rgba(21, 101, 192, .08) 60%, transparent 72%); }
.feature-media .phone { position: relative; width: 240px; }
.feature-text h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 12px; }
.feature-text > p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .5px; background: linear-gradient(180deg, #ffe08a, var(--gold)); color: #4a2a00; }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.light li { color: rgba(255, 255, 255, .9); }

/* Version PC */
.pc { color: #fff; background: radial-gradient(ellipse 50% 70% at 85% 50%, rgba(25, 181, 216, .3), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.pc-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.pc .kicker { color: var(--gold); }
.pc-text > p { color: rgba(255, 255, 255, .82); font-size: 17px; margin-bottom: 20px; }
.pc-text .checks { margin-bottom: 28px; }
.pc .small { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.pc-visual { position: relative; padding-bottom: 40px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #e9edf3; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; padding: 4px 14px; border-radius: 8px; background: #fff; color: #55657c; font-size: 13px; flex: 1; max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-mini { position: absolute; width: 138px; right: -18px; bottom: 0; border-radius: 26px; padding: 6px; }
.phone-mini img { border-radius: 20px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; box-shadow: 0 8px 24px rgba(10, 26, 47, .05); }
.plan h3 { font-size: 20px; }
.price { margin: 14px 0 4px; color: var(--muted); font-weight: 600; }
.price span { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -1.5px; margin-right: 4px; }
.plan-sub { color: var(--muted); font-size: 14.5px; min-height: 2.6em; margin-bottom: 18px; }
.plan .checks { margin-bottom: 28px; flex: 1; }
.plan .btn { justify-content: center; }
.plan.featured { border: 2px solid var(--gold); box-shadow: 0 24px 50px rgba(227, 155, 18, .22); transform: translateY(-10px); background: linear-gradient(180deg, #fffaf0, #fff 35%); }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 5px 16px; border-radius: 999px; background: linear-gradient(180deg, #ffd166, var(--gold-2)); color: #3a1d00; font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 14px rgba(227, 155, 18, .35); }
.fineprint { text-align: center; color: var(--muted); font-size: 13.5px; margin: 34px auto 0; max-width: 720px; }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Appel final */
.cta { padding: 90px 0; text-align: center; color: #fff; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(25, 181, 216, .35), transparent 70%), linear-gradient(180deg, var(--navy-2), var(--navy)); }
.cta p { color: rgba(255, 255, 255, .8); font-size: 17px; margin-bottom: 26px; }
.link-pc { display: inline-block; margin-top: 22px; color: #7fe3ff; font-weight: 700; text-decoration: none; }
.link-pc:hover { text-decoration: underline; }

/* Pied de page */
.footer { background: #071222; color: rgba(255, 255, 255, .7); padding: 34px 0; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 9px; }
.footer-brand strong { display: block; color: #fff; }
.footer-brand small, .footer a { color: rgba(255, 255, 255, .7); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 16px; }

/* Tablettes */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .hero-in, .pc-in { grid-template-columns: 1fr; }
  .hero-in { padding: 48px 0 40px; text-align: center; }
  .hero-text .stores { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-visual { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { width: 220px; }
  .perks-in { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-media { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { transform: none; order: -1; }
  .pc-visual { max-width: 640px; }
}

/* Téléphones */
@media (max-width: 560px) {
  .brand span { display: none; }
  .btn-account { padding: 10px 16px; font-size: 14px; }
  .section { padding: 64px 0; }
  .hero-visual { height: 440px; }
  .hero-visual .phone { width: 180px; border-radius: 30px; padding: 7px; }
  .hero-visual .phone img { border-radius: 23px; }
  .stores img { height: 46px; }
  .perks-in { grid-template-columns: 1fr; }
  .feature-media .phone { width: 220px; }
  .phone-mini { width: 110px; right: -6px; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
