/* ===== Variables ===== */
:root {
  --navy: #0f172a;
  --cyan: #00adef;
  --cyan-dark: #0099d6;
  --orange: #f58220;
  --violet: #6d28d9;
  --violet-light: #8b5cf6;
  --gray: #f8fafc;
  --gray-border: #e2e8f0;
  --slate-600: #475569;
  --slate-500: #64748b;
  --white: #ffffff;
  --container: 80rem;
  --radius: 1rem;
  --shadow: 0 10px 40px rgb(0 173 239 / 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgb(0 173 239 / 0.2);
  color: var(--navy);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ===== Typography ===== */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--cyan);
  color: var(--white);
  box-shadow: 0 10px 25px rgb(0 173 239 / 0.25);
}

.btn-primary:hover {
  background: var(--cyan-dark);
  box-shadow: 0 12px 30px rgb(0 173 239 / 0.3);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-border);
}

.btn-outline:hover {
  border-color: rgb(0 173 239 / 0.3);
  background: var(--gray);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .nav { height: 5rem; }
}

.logo img { height: 1.75rem; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
  position: relative;
}

.nav-links a.nav-link:hover {
  color: var(--cyan);
}

.nav-links a.nav-link.active {
  color: var(--cyan);
  font-weight: 600;
}

.nav-links a.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  border-radius: 1px;
}

.mobile-menu a.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s;
}

.mobile-menu a.nav-link.active {
  color: var(--cyan);
  font-weight: 600;
}

.nav-links a:not(.nav-link) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}

.nav-links a:not(.nav-link):hover { color: var(--cyan); }

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
}

.mobile-menu.open { display: block; }

.mobile-menu .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
}

.mobile-menu a:not(.nav-link) {
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
}

.mobile-menu .btn { width: 100%; }

/* ===== Particules pleine page ===== */
.page-particles {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.page-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
}

main {
  position: relative;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: visible;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
}

@media (min-width: 1024px) {
  .hero { padding: 9rem 0 6rem; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(15 23 42 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 23 42 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgb(0 173 239 / 0.05);
  filter: blur(80px);
}

/* Globe libre */
.hero-globe {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: min(62vw, 640px);
  height: min(62vw, 640px);
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
}

.hero-globe canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite;
}

.hero-orb-cyan {
  width: 55%;
  height: 55%;
  top: 5%;
  right: 0;
  background: rgb(0 173 239 / 0.22);
}

.hero-orb-orange {
  width: 45%;
  height: 45%;
  bottom: 0;
  left: 5%;
  background: rgb(245 130 32 / 0.16);
  animation-delay: -5s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(14px, -20px) scale(1.06); }
  66% { transform: translate(-12px, 16px) scale(0.94); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 36rem;
  position: relative;
}

@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
    overflow: hidden;
  }

  .hero-globe {
    top: 3.5rem;
    right: -18%;
    bottom: auto;
    transform: none;
    width: min(75vw, 340px);
    height: min(75vw, 340px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
  }
}

@media (min-width: 1400px) {
  .hero-globe {
    right: -2%;
    width: min(55vw, 700px);
    height: min(55vw, 700px);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.badge-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.4;
}

.badge-dot::after {
  content: "";
  position: relative;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  margin-top: 1.5rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.hero p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--slate-600);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }

@media (min-width: 1024px) {
  .section { padding: 7rem 0; }
}

.section-gray { background: var(--gray); }

.section-bordered {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  padding: 4rem 0;
}

/* Cards grid */
.cards-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-border);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgb(109 40 217 / 0.2);
  box-shadow: 0 20px 40px rgb(109 40 217 / 0.05);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgb(109 40 217 / 0.1);
  color: var(--violet);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s;
}

.card:hover .card-icon {
  background: var(--violet);
  color: var(--white);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Why us */
.reasons-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}

.reason {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.reason:hover {
  border-color: var(--gray-border);
  background: rgb(248 250 252 / 0.5);
}

.reason-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--white);
}

.reason h3 { font-size: 1.125rem; font-weight: 600; }

.reason p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-value {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--violet);
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.stat { text-align: center; }

/* Process */
.process-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(5, 1fr); }
}

.process-step { text-align: center; }

@media (min-width: 1024px) {
  .process-step { text-align: left; }
}

.process-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
  color: var(--violet);
}

@media (min-width: 1024px) {
  .process-icon { margin-left: 0; }
}

.process-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.process-step h3 {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.process-step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ===== Contact ===== */
.contact-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 4rem; }
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--navy);
  color: var(--white);
}

@media (min-width: 1024px) {
  .contact-panel { position: sticky; top: 7rem; }
}

.contact-panel-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgb(109 40 217 / 0.3), transparent);
}

.contact-panel-inner { position: relative; }

.contact-panel .logo img { height: 1.75rem; margin-bottom: 2rem; }

.contact-panel h3 { font-size: 1.125rem; font-weight: 600; }

.contact-panel > .contact-panel-inner > div > p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.contact-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-list a,
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  transition: color 0.2s;
}

.contact-list a:hover { color: var(--white); }

.contact-list svg { flex-shrink: 0; margin-top: 0.125rem; color: var(--violet-light); }

.contact-note {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Form */
.form-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group label .req { color: var(--violet); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-border);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgb(109 40 217 / 0.4);
  box-shadow: 0 0 0 3px rgb(109 40 217 / 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #f87171;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.form-consent a { color: var(--violet); font-weight: 500; }
.form-consent a:hover { text-decoration: underline; }

.form-alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.form-alert.error { background: #fef2f2; color: #dc2626; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1rem;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
}

.form-success.visible { display: flex; }

.form-success svg { color: #059669; }

.form-success h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-success p {
  margin-top: 0.5rem;
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.form-success button {
  margin-top: 1.5rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--violet);
  cursor: pointer;
}

.form-success button:hover { text-decoration: underline; }

.form-card.hidden { display: none; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--gray-border);
  background: var(--gray);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--violet); }

.footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul { margin-top: 1rem; }

.footer li { margin-bottom: 0.75rem; }

.footer li a {
  font-size: 0.875rem;
  color: var(--slate-600);
  transition: color 0.2s;
}

.footer li a:hover { color: var(--violet); }

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--slate-600);
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: rgb(109 40 217 / 0.3);
  color: var(--violet);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover { color: var(--violet); }

/* ===== Legal pages ===== */
.legal-header {
  border-bottom: 1px solid var(--gray-border);
  background: rgb(248 250 252 / 0.5);
}

.legal-header .nav { height: 4rem; }

.legal-header .nav a.back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.legal-header .nav a.back:hover { color: var(--violet); }

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h1 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
}

.legal-content .updated {
  margin-top: 1rem;
  color: var(--slate-600);
}

.legal-content section {
  margin-top: 2.5rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.legal-content p,
.legal-content ul {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-content a { color: var(--violet); }
.legal-content a:hover { text-decoration: underline; }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.icon { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ===== Bandeau cookies ===== */
body.cookie-banner-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgb(15 23 42 / 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner__panel {
  width: 100%;
  max-width: 52rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.18);
  padding: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .cookie-banner__panel {
    padding: 1.5rem 1.75rem;
  }
}

.cookie-banner__main.hidden {
  display: none;
}

.cookie-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--cyan);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--cyan-dark);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.cookie-banner__actions .btn {
  flex: 1 1 auto;
  min-width: fit-content;
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

@media (min-width: 640px) {
  .cookie-banner__main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .cookie-banner__content {
    flex: 1;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
    margin-top: 0;
    flex-wrap: nowrap;
  }

  .cookie-banner__actions .btn {
    flex: 0 0 auto;
  }
}

.cookie-banner__prefs {
  display: none;
}

.cookie-banner__prefs.open {
  display: block;
}

.cookie-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--gray-border);
}

.cookie-pref:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.cookie-pref__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.cookie-pref__info strong {
  color: var(--navy);
  font-weight: 600;
}

.cookie-pref__badge {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  background: var(--gray);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.cookie-pref__toggle {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-pref__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-pref__switch {
  display: block;
  width: 2.75rem;
  height: 1.5rem;
  background: var(--gray-border);
  border-radius: 999px;
  transition: background 0.2s;
}

.cookie-pref__switch::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.15);
  transition: transform 0.2s;
}

.cookie-pref__toggle input:checked + .cookie-pref__switch {
  background: var(--cyan);
}

.cookie-pref__toggle input:checked + .cookie-pref__switch::after {
  transform: translateX(1.25rem);
}

.cookie-pref__toggle input:focus-visible + .cookie-pref__switch {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.cookie-banner__actions--prefs {
  justify-content: flex-end;
}

.cookie-banner__actions--prefs .btn {
  flex: 0 0 auto;
}

