/* ─── Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a { color: #2563EB; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}
.nav-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-weight: 700;
  font-size: 17px;
  color: #111827;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-brand span { color: #2563EB; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: #2563EB; text-decoration: none; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(140deg, #1E3A8A 0%, #2563EB 55%, #0EA5E9 100%);
  padding: 72px 24px 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 9vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -1px;
  position: relative;
}
.hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  opacity: 0.88;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.1px;
}
.store-badge { display: inline-flex; border-radius: 9px; line-height: 0; transition: transform 0.2s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.store-badge img { display: block; width: 150px; height: 44px; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-white {
  background: white;
  color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}
.btn-white:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.22); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-blue {
  background: #2563EB;
  color: white;
  box-shadow: 0 2px 8px rgba(37,99,235,0.28);
}
.btn-blue:hover { background: #1D4ED8; box-shadow: 0 4px 14px rgba(37,99,235,0.38); }
.btn-neutral {
  background: white;
  color: #374151;
  border: 1px solid rgba(17,24,39,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.btn-neutral:hover { border-color: rgba(17,24,39,0.24); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* ─── Main content wrapper ─── */
.content {
  padding: 52px 0 88px;
}
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Page header (support / confidentialite) ─── */
.page-hero {
  background: linear-gradient(140deg, #1E3A8A 0%, #2563EB 55%, #0EA5E9 100%);
  padding: 44px 24px 52px;
  color: white;
}
.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero h1 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.page-hero .lead {
  font-size: 15px;
  opacity: 0.88;
  max-width: 540px;
  line-height: 1.65;
}

/* ─── Section cards ─── */
.section-card {
  background: #F8FAFF;
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
}
.section-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-card h2 .icon {
  width: 32px; height: 32px;
  background: #EFF6FF;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.section-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.72;
  margin-bottom: 10px;
}
.section-card p:last-child { margin-bottom: 0; }
.section-card ul, .section-card ol {
  padding-left: 22px;
  margin: 8px 0 10px;
}
.section-card li {
  font-size: 15px;
  color: #374151;
  line-height: 1.72;
  margin-bottom: 5px;
}
.section-card li:last-child { margin-bottom: 0; }

/* ─── Support sections ─── */
.support-section {
  margin-bottom: 28px;
}
.support-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #EFF6FF;
  letter-spacing: -0.2px;
}
.support-section p {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 10px;
}
.support-section p:last-child { margin-bottom: 0; }
.support-section ul {
  padding-left: 22px;
  margin: 8px 0 12px;
}
.support-section li {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 5px;
}
.support-section .steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.support-section .steps li {
  counter-increment: step;
  padding-left: 36px;
  position: relative;
  margin-bottom: 8px;
}
.support-section .steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px; height: 24px;
  background: #2563EB;
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Policy sections ─── */
.policy-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(17,24,39,0.07);
}
.policy-section:last-child { border-bottom: none; margin-bottom: 0; }
.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.policy-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1D4ED8;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.policy-section p {
  font-size: 15px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 12px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul {
  padding-left: 22px;
  margin: 8px 0 14px;
}
.policy-section li {
  font-size: 15px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 6px;
}
.policy-section strong { color: #111827; font-weight: 600; }

/* ─── Badges ─── */
.date-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-ok {
  display: inline-block;
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 4px 0;
}
.badge-info {
  display: inline-block;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 4px 0;
}

/* ─── Notice ─── */
.notice {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #92400E;
  line-height: 1.6;
  margin: 14px 0;
}
.notice strong { color: #7C2D12; }

/* ─── Contact card ─── */
.contact-card {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  margin-top: 36px;
}
.contact-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1D4ED8;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact-card .email-btn {
  display: inline-block;
  background: #2563EB;
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.contact-card .email-btn:hover { background: #1D4ED8; transform: translateY(-1px); text-decoration: none; }
.contact-card .privacy-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #6B7280;
}
.contact-card .privacy-link a { color: #2563EB; }

/* ─── TOC ─── */
.toc {
  background: #F4F7FF;
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 44px;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.toc ol {
  padding-left: 20px;
  columns: 2;
  column-gap: 24px;
}
.toc li {
  font-size: 13px;
  margin-bottom: 6px;
  break-inside: avoid;
}
.toc a { color: #2563EB; }
.toc a:hover { text-decoration: underline; }

/* ─── iPhone Mockup Section ─── */
.mockup-section {
  padding: 60px 24px 72px;
  display: flex;
  justify-content: center;
  background: #ffffff;
}
.iphone-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.3));
}
@keyframes float-iphone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.iphone-wrap--float { animation: float-iphone 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .iphone-wrap--float { animation: none; } }

.iphone {
  width: 256px;
  height: 524px;
  background: #1A1A1A;
  border-radius: 44px;
  position: relative;
  box-shadow:
    0 0 0 1.5px #0A0A0A,
    0 0 0 3px #2A2A2A,
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.45),
    0 8px 24px rgba(0,0,0,0.2);
  overflow: hidden;
  flex-shrink: 0;
}
.iphone-island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0A0A0A;
  border-radius: 20px;
  z-index: 20;
}
.iphone-screen {
  position: absolute;
  inset: 3px;
  border-radius: 41px;
  overflow: hidden;
  background: #1A1A1A;
}
.iphone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

/* ─── Homepage features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.feature-card {
  background: #F8FAFF;
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 16px;
  padding: 24px 22px;
}
.feature-card .f-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* ─── Footer ─── */
.footer {
  background: #F9FAFB;
  border-top: 1px solid rgba(17,24,39,0.08);
  padding: 32px 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #2563EB; }
.footer p {
  font-size: 13px;
  color: #9CA3AF;
}

/* ─── Divider ─── */
.divider { height: 1px; background: rgba(17,24,39,0.07); margin: 32px 0; }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .section-card { padding: 22px 20px; }
  .contact-card { padding: 28px 20px; }
  .policy-section { margin-bottom: 32px; padding-bottom: 32px; }
  .toc { padding: 20px; }
  .toc ol { columns: 1; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px 64px; }
  .page-hero { padding: 36px 24px 44px; }
  .content { padding: 40px 0 64px; }
  .mockup-section { padding: 44px 24px 56px; }
  .iphone { width: 220px; height: 450px; border-radius: 38px; }
  .iphone-screen { border-radius: 35px; }
  .iphone-island { width: 82px; height: 22px; }
}

@media (max-width: 400px) {
  .iphone { width: 200px; height: 410px; border-radius: 34px; }
  .iphone-screen { border-radius: 31px; }
}
