/* ==========================================================================
   Kartoo — Refonte 2026
   Direction : studio éditorial, papier kraft, encre et jaune signalétique.
   Ce fichier surcharge le socle historique sans altérer le contenu des pages.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --color-primary: #f3c84b;
  --color-primary-hover: #ffdc70;
  --color-secondary: #2f8174;
  --color-bg: #f4f0e8;
  --color-bg-card: #fffdf8;
  --color-bg-card-hover: #ffffff;
  --color-border: #d9d1c3;
  --color-border-subtle: rgba(12, 28, 49, 0.1);
  --color-text: #0c1c31;
  --color-text-secondary: #526070;
  --color-text-muted: #7d7a72;
  --color-error: #c54d44;
  --color-success: #287f6d;
  --ink: #0c1c31;
  --paper: #f4f0e8;
  --paper-light: #fffdf8;
  --kraft: #c7935e;
  --yellow: #f3c84b;
  --font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "DM Sans", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-sm: 0 8px 24px rgba(12, 28, 49, 0.08);
  --shadow-lg: 0 28px 70px rgba(12, 28, 49, 0.14);
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 90px;
}

body {
  background:
    linear-gradient(rgba(12, 28, 49, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 28, 49, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(47, 129, 116, 0.45);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  padding-inline: 32px;
}

.container-narrow {
  max-width: 900px;
}

/* Navigation */
.navbar {
  top: 14px;
  width: min(1160px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(12, 28, 49, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(12, 28, 49, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo-link {
  gap: 10px;
}

.logo-img {
  width: auto;
  height: 30px;
  max-width: 38px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(12, 28, 49, 0.14));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.8px;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  color: #536072;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(12, 28, 49, 0.055);
}

.nav-cta-btn {
  margin-left: 6px;
  padding: 10px 17px !important;
  border-radius: 11px;
  box-shadow: 0 5px 0 #c79b27;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #c79b27;
}

.mobile-toggle {
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: white;
}

/* Hero Container & Split 2-Column Grid */
.hero {
  min-height: calc(100vh - 20px);
  padding: 124px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 310px;
  height: 310px;
  top: 30px;
  left: -130px;
  border: 1px solid rgba(12, 28, 49, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(12, 28, 49, 0.025), 0 0 0 90px rgba(12, 28, 49, 0.02);
}

.hero::after {
  width: 180px;
  height: 180px;
  right: -55px;
  top: 250px;
  background: var(--yellow);
  border-radius: 34% 66% 58% 42%;
  opacity: 0.28;
  transform: rotate(18deg);
}

.hero-bg-glow {
  width: 900px;
  height: 600px;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(243, 200, 75, 0.25), transparent 68%);
  filter: blur(8px);
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  min-height: min(650px, calc(100vh - 280px));
}

/* Colonne Gauche */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 2;
}

.hero-pill {
  margin-bottom: 22px;
  padding: 8px 14px 8px 9px;
  background: var(--ink);
  border: 0;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(12, 28, 49, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.hero-pill-dot {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--yellow);
  box-shadow: none;
  position: relative;
}

.hero-pill-dot::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  background: var(--ink);
}

.hero-title {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  font-weight: 800;
}

.hero-title-dot {
  color: var(--yellow);
}

.hero-title-accent {
  position: relative;
  display: inline-block;
  color: var(--ink);
  z-index: 1;
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 2px;
  height: 26%;
  background: var(--yellow);
  border-radius: 4px;
  transform: rotate(-1deg);
  z-index: -1;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--color-text-secondary);
  font-size: 17.5px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.btn-store {
  min-width: 185px;
  padding: 13px 18px;
  background: var(--paper-light);
  border: 1px solid rgba(12, 28, 49, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-store:hover {
  background: white;
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(12, 28, 49, 0.14);
}

.btn-store-primary {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-store-primary:hover {
  background: #142a47;
  border-color: #142a47;
}

.btn-store-primary .btn-store-sub {
  color: #aeb9c7;
}

.btn-store-primary .btn-store-main {
  color: white;
}

.btn-store-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #757b83;
}

.btn-store-main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Micro-réassurance */
.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-check {
  color: var(--color-success, #287f6d);
  font-weight: 800;
  margin-right: 2px;
}

.hero-micro-sep {
  color: #cbd5e1;
  font-size: 11px;
}

/* Lien de scroll vers Comment ça marche */
.hero-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
}

.hero-scroll-link:hover {
  color: #142a47;
  border-bottom-color: var(--yellow);
  transform: translateY(2px);
}

.hero-scroll-link svg {
  transition: transform 0.25s ease;
}

.hero-scroll-link:hover svg {
  transform: translateY(4px);
}

/* Colonne Droite — Vitrine Smartphone */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone-container {
  position: relative;
  max-width: 330px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-glow {
  position: absolute;
  width: 440px;
  height: 580px;
  background: radial-gradient(circle, rgba(243, 200, 75, 0.35) 0%, rgba(243, 200, 75, 0.08) 45%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 335px;
  background: var(--ink);
  border-radius: 46px;
  padding: 11px;
  border: 2px solid rgba(12, 28, 49, 0.5);
  box-shadow:
    0 24px 60px rgba(12, 28, 49, 0.2),
    7px 7px 0 var(--yellow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 75px rgba(12, 28, 49, 0.24),
    9px 9px 0 var(--yellow);
}

.phone-island {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: var(--paper);
  display: block;
}

.phone-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

/* Badges Flottants Tactiles */
.hero-floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-light);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-floating-badge .badge-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-floating-badge strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.hero-floating-badge span {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.badge-left {
  top: 22%;
  left: -70px;
}

.badge-right {
  bottom: 20%;
  right: -80px;
  animation-delay: -2s;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Bandeau Trust horizontal en pleine largeur sous le hero */
.hero-trust {
  margin-top: 54px;
  padding: 18px 28px;
  background: var(--paper-light);
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(12, 28, 49, 0.05);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  box-shadow: 0 4px 12px rgba(12, 28, 49, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.trust-item:hover .trust-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 28, 49, 0.2);
}

.trust-icon-box svg,
.trust-item svg {
  color: var(--yellow) !important;
  stroke: var(--yellow) !important;
}

.trust-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trust-texts strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.trust-texts span {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(12, 28, 49, 0.14);
}

@media (max-width: 1120px) {
  .badge-left {
    left: -35px;
  }
  .badge-right {
    right: -35px;
  }
  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trust-sep {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    max-width: 100%;
  }
  .hero-subtitle {
    max-width: 600px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-microcopy {
    justify-content: center;
  }
  .badge-left {
    left: -20px;
  }
  .badge-right {
    right: -20px;
  }
}

@media (max-width: 820px) {
  .hero-floating-badge {
    position: static;
    margin: 10px auto;
    animation: none;
    max-width: 320px;
  }
  .hero-phone-container {
    flex-direction: column;
    max-width: 335px;
  }
  .badge-left, .badge-right {
    width: 100%;
    justify-content: flex-start;
    margin: 8px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 86px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(34px, 9vw, 44px);
    letter-spacing: -1.8px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .hero-microcopy {
    flex-direction: column;
    gap: 4px;
  }
  .hero-micro-sep {
    display: none;
  }
}

/* Sections */
.section {
  padding: 118px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 14px;
  background: var(--yellow);
  border: 1px solid rgba(12, 28, 49, 0.12);
  border-radius: 8px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 1px;
  box-shadow: 3px 3px 0 rgba(12, 28, 49, 0.14);
  transform: rotate(-1deg);
}

.section-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -2.2px;
}

.section-desc {
  max-width: 590px;
  margin-inline: auto;
  color: var(--color-text-secondary);
  font-size: 16px;
}

.steps-section {
  padding-top: 118px;
}

.steps-grid {
  gap: 22px;
}

.step-card,
.feature-card,
.comparison-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(12, 28, 49, 0.13);
  box-shadow: var(--shadow-sm);
}

.step-card {
  min-height: 248px;
  padding: 30px;
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:nth-child(2) {
  transform: translateY(22px);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(12, 28, 49, 0.13);
}

.step-card:nth-child(2):hover {
  transform: translateY(17px);
}

.step-number {
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  background: var(--ink);
  border: 0;
  border-radius: 12px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 18px;
  box-shadow: 4px 4px 0 var(--yellow);
}

.step-card h3,
.feature-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
}

.step-card p,
.feature-card p,
.comparison-list li {
  color: var(--color-text-secondary);
}

.comparison-section {
  position: relative;
  background: var(--ink);
  color: white;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding-block: 150px;
}

.comparison-section .section-tag {
  background: transparent;
  border-color: rgba(243, 200, 75, 0.45);
  color: var(--yellow);
  box-shadow: none;
}

.comparison-section .section-title {
  color: white;
}

.comparison-section .section-desc {
  color: #aeb9c7;
}

.comparison-card {
  padding: 34px;
  background: #142944;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.comparison-card.good {
  background: var(--paper-light);
  transform: translateY(-16px) rotate(0.6deg);
}

.comparison-card h3 {
  color: white;
  font-family: var(--font-display);
}

.comparison-card.good h3,
.comparison-card.good .comparison-list li {
  color: var(--ink);
}

.comparison-card.bad .comparison-list li {
  color: #bdc7d4;
}

.comparison-icon {
  border-radius: 11px;
}

.comparison-card.good .comparison-icon {
  background: var(--yellow);
  color: var(--ink);
}

.features-section {
  padding-top: 120px;
}

.features-grid {
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 28, 49, 0.12);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  background: var(--yellow);
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(12, 28, 49, 0.16);
}

.feature-card:nth-child(2n) .feature-icon-badge {
  background: var(--ink);
  color: var(--yellow);
}

/* Tarifs */
.pricing-section {
  padding-block: 120px;
  background: rgba(255, 253, 248, 0.52);
  border-block: 1px solid rgba(12, 28, 49, 0.08);
}

.comparison-table-card {
  max-width: 960px;
  background: var(--paper-light);
  border: 1px solid rgba(12, 28, 49, 0.15);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.comparison-table thead th {
  border-bottom-color: rgba(12, 28, 49, 0.14);
}

.comparison-table .th-feature,
.comparison-table .plan-header-desc,
.comparison-table .feature-desc,
.comparison-table .value-tag-free,
.pricing-note {
  color: var(--color-text-secondary);
}

.comparison-table .plan-header-title,
.comparison-table .plan-header-price,
.comparison-table .feature-title {
  color: var(--ink);
}

.comparison-table .th-premium,
.comparison-table .td-premium {
  background: rgba(243, 200, 75, 0.13);
  border-color: rgba(199, 155, 39, 0.25);
}

.comparison-table .th-premium .plan-header-title,
.comparison-table .value-tag-premium,
.comparison-table .value-badge-official,
.comparison-table .icon-check-premium {
  color: #8d6806;
}

.comparison-table .plan-header-badge,
.comparison-table .value-tag-premium,
.comparison-table .value-badge-official {
  background: var(--yellow);
  border-color: #d8aF32;
  color: var(--ink);
}

.comparison-table tbody tr {
  border-bottom-color: rgba(12, 28, 49, 0.11);
}

.comparison-table tbody tr:hover {
  background: rgba(12, 28, 49, 0.025);
}

.comparison-table .table-cta-free {
  background: white;
  border-color: rgba(12, 28, 49, 0.18);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.comparison-table .table-cta-free:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 28, 49, 0.15);
}

.comparison-table .table-cta-premium {
  background: var(--ink);
  color: white;
  box-shadow: 0 5px 0 var(--yellow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.comparison-table .table-cta-premium:hover {
  background: #17304f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 28, 49, 0.22);
}

/* FAQ */
.faq-section {
  padding-block: 120px;
}

.faq-list {
  max-width: 840px;
  gap: 10px;
}

.faq-item {
  background: var(--paper-light);
  border-color: rgba(12, 28, 49, 0.13);
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(12, 28, 49, 0.045);
}

.faq-item.active {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
}

.faq-question {
  padding: 22px 24px;
  color: var(--ink);
  font-family: var(--font-display);
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(12, 28, 49, 0.06);
  border-radius: 9px;
  color: var(--ink);
}

.faq-answer {
  padding-inline: 24px;
  color: var(--color-text-secondary);
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
}

/* CTA et footer */
.cta-banner {
  padding: 30px 0 110px;
}

.cta-banner-box {
  padding: 72px 38px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 30px;
  box-shadow: 12px 12px 0 var(--ink);
}

.cta-glow {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.5), transparent 70%);
}

.cta-mascot {
  width: 104px;
  height: 104px;
  border: 5px solid var(--paper-light);
  box-shadow: 0 10px 25px rgba(12, 28, 49, 0.16);
}

.cta-banner-box h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -2px;
}

.cta-banner-box p {
  color: #3e4854;
}

.cta-btn-primary,
.legal-return-btn {
  background: var(--ink);
  color: white;
  border-radius: 12px;
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.65);
}

.cta-btn-primary:hover,
.legal-return-btn:hover {
  background: #17304f;
  transform: translateY(-2px);
}

.cta-btn-outline {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(12, 28, 49, 0.25);
  color: var(--ink);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-btn-outline:hover {
  background: #ffffff;
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 28, 49, 0.12);
}

.footer {
  padding: 72px 0 28px;
  background: var(--ink);
  border-top: 0;
  color: white;
}

.footer-brand p {
  color: #aeb9c7;
}

.footer-col ul a,
.footer-bottom a {
  color: #aeb9c7;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col ul a:hover,
.footer-bottom a:hover {
  color: var(--yellow) !important;
}

.footer-col ul a:hover {
  display: inline-block;
  transform: translateX(3px);
}

.footer .logo-text {
  color: #ffffff;
}

.footer-col h4,
.footer .logo-text span {
  color: var(--yellow);
}

.footer-bottom {
  color: #8492a3;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Pages légales */
.legal-page {
  padding: 74px 0 100px;
}

.legal-back-nav {
  padding: 9px 14px;
  background: var(--paper-light);
  border-color: rgba(12, 28, 49, 0.14);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.legal-hero-card {
  padding: 52px 34px;
  background: var(--ink);
  border: 0;
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--yellow);
}

.legal-icon-badge {
  width: 62px;
  height: 62px;
  background: var(--yellow);
  border: 0;
  border-radius: 17px;
  color: var(--ink);
}

.legal-hero-card h1 {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -1.8px;
}

.legal-hero-card p {
  color: #b6c0cd;
}

.legal-pill {
  background: rgba(243, 200, 75, 0.12);
  border-color: rgba(243, 200, 75, 0.28);
  color: #f7d775;
}

.legal-article-card {
  padding: 30px;
  margin-bottom: 18px;
  background: var(--paper-light);
  border-color: rgba(12, 28, 49, 0.13);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(12, 28, 49, 0.055);
}

.legal-article-header {
  border-bottom-color: rgba(12, 28, 49, 0.1);
}

.legal-article-num,
.legal-sub-title,
.legal-callout-title,
.legal-basis-badge {
  color: #8d6806;
}

.legal-article-title,
.legal-paragraph strong,
.legal-bullet strong,
.legal-callout-text,
.legal-cnil-title {
  color: var(--ink);
}

.legal-paragraph,
.legal-bullet,
.legal-basis-desc,
.legal-cnil-text {
  color: var(--color-text-secondary);
}

.legal-callout,
.legal-highlight-card {
  background: rgba(243, 200, 75, 0.14);
  border-color: rgba(199, 155, 39, 0.3);
  color: var(--ink);
}

.legal-basis-row,
.legal-cnil-card {
  background: #f7f3eb;
  border-color: rgba(12, 28, 49, 0.12);
}

.legal-basis-row {
  border-left-color: var(--yellow);
}

.legal-contact-btn {
  background: var(--paper-light);
  border-color: rgba(12, 28, 49, 0.16);
  color: var(--ink);
}

.legal-contact-btn:hover {
  background: white;
  border-color: var(--ink);
}

/* Apparition progressive, seulement si JavaScript est actif */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 1px;
  }

  .nav-links a {
    padding-inline: 7px;
    font-size: 12.5px;
  }

  .mockup-card {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    padding-inline: 22px;
  }

  .navbar {
    top: 10px;
    margin-top: 10px;
  }

  .mobile-toggle {
    display: grid;
  }

  .nav-links {
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    padding: 14px;
    gap: 3px;
    align-items: stretch;
    background: var(--paper-light);
    border: 1px solid rgba(12, 28, 49, 0.14);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links a {
    display: block;
    padding: 11px 12px;
    font-size: 14px;
  }

  .nav-cta-btn {
    margin: 5px 0 0;
    text-align: center;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-title {
    font-size: clamp(34px, 7vw, 46px);
    letter-spacing: -2px;
  }

  .mockup-card {
    grid-template-columns: 155px 1fr;
    padding: 24px;
  }

  .mascot-avatar {
    width: 130px;
    height: 130px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:nth-child(2) {
    transform: none;
  }

  .step-card:nth-child(2):hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }

  .navbar {
    width: calc(100% - 20px);
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 40px);
    letter-spacing: -1.5px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-ctas {
    width: 100%;
  }

  .btn-store {
    max-width: none;
  }

  .hero-mockup::before {
    inset: 10px -8px -10px 8px;
  }

  .mockup-card {
    grid-template-columns: 1fr;
    padding: 18px;
    text-align: left;
  }

  .mockup-mascot-box {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    text-align: left;
  }

  .mascot-avatar {
    width: 88px;
    height: 88px;
  }

  .mascot-caption {
    margin: 0;
    text-align: left;
    font-size: 13px;
  }

  .mockup-header-box {
    justify-content: flex-start;
  }

  .mockup-item-row {
    align-items: flex-start;
    gap: 8px;
  }

  .mockup-item-badge {
    white-space: normal;
    text-align: right;
  }

  .hero-trust {
    margin-top: 48px;
    padding: 16px;
  }

  .trust-item {
    padding: 5px 2px;
  }

  .section,
  .steps-section,
  .features-section,
  .pricing-section,
  .faq-section {
    padding-block: 82px;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .section-title {
    font-size: 36px;
    letter-spacing: -1.7px;
  }

  .comparison-section {
    padding-block: 110px;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .comparison-card.good {
    transform: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .comparison-table-card {
    margin-inline: -4px;
    border-radius: 18px;
  }

  .cta-banner {
    padding-bottom: 90px;
  }

  .cta-banner-box {
    padding: 52px 20px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding-top: 56px;
  }

  .legal-hero-card {
    padding: 40px 20px;
    box-shadow: 6px 6px 0 var(--yellow);
  }

  .legal-article-card {
    padding: 23px 20px;
  }

  .legal-delete-btn {
    width: 100%;
  }
}
