/* Design tokens + @font-face : voir colors_and_type.css (chargé avant ce fichier). */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  overflow-wrap: normal;
  hyphens: auto;
}

h3 {
  overflow-wrap: normal;
  hyphens: manual;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: 4.75rem;
  color: var(--white);
  text-wrap: balance;
}

h2 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: 3.25rem;
  color: var(--navy);
  text-wrap: balance;
}

h3 {
  font-size: 1.32rem;
  font-weight: 900;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 32px;
  color: var(--white);
  background: rgba(13, 21, 56, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 21, 56, 0.96);
  box-shadow: 0 10px 30px rgba(13, 21, 56, 0.24);
}

.brand,
.brand__logo {
  display: block;
}

.brand__logo {
  width: 150px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 900;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav__cta {
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("../images/ape/hero-worker.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(13, 21, 56, 0.94) 0%, rgba(13, 21, 56, 0.78) 36%, rgba(13, 21, 56, 0.24) 70%),
    linear-gradient(180deg, rgba(13, 21, 56, 0.18) 0%, rgba(13, 21, 56, 0.84) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--purple);
}

.hero__lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.24rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange);
  color: var(--navy);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__panel span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  text-align: center;
  border-right: 1px solid rgba(20, 29, 79, 0.22);
}

section {
  scroll-margin-top: 92px;
}

.band {
  background: var(--white);
}

.brand-strip {
  padding: 34px 0;
  background: var(--sky);
}

.brand-strip__inner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.brand-strip img {
  width: 84px;
  height: auto;
}

.brand-strip p {
  max-width: 850px;
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 900;
}

.problem,
.expertise,
.impact,
.work,
.process,
.quote {
  padding: 96px 0;
}

.split,
.impact__grid,
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.impact__copy p,
.quote__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-head--wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 44px;
  align-items: end;
}

.section-head--wide p:last-child {
  margin: 0;
  color: var(--muted);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-card,
.work-card,
.steps li,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(13, 21, 56, 0.06);
}

.offer-card:nth-child(2) {
  background: var(--sky);
}

.offer-card:nth-child(3) {
  background: var(--yellow);
}

.offer-card:nth-child(4) {
  background: var(--navy);
  color: var(--white);
}

.offer-card__num {
  margin-bottom: auto;
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.offer-card:nth-child(2) .offer-card__num,
.offer-card:nth-child(3) .offer-card__num {
  color: var(--navy);
}

.offer-card:nth-child(4) .offer-card__num {
  color: var(--yellow);
}

.offer-card p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.offer-card:nth-child(2) p,
.offer-card:nth-child(3) p {
  color: rgba(20, 29, 79, 0.78);
}

.offer-card:nth-child(4) p {
  color: rgba(255, 255, 255, 0.74);
}

.impact {
  background: var(--navy);
  color: var(--white);
}

.impact h2,
.impact .section-kicker {
  color: var(--white);
}

.impact .section-kicker {
  color: var(--yellow);
}

.impact__visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.impact__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 39, 0.16);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  margin: 0;
  background: var(--navy);
  color: var(--white);
}

.work-card--large {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  opacity: 0.9;
}

.work-card figcaption {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(13, 21, 56, 0.84);
  backdrop-filter: blur(10px);
}

.work-card strong {
  font-size: 1.04rem;
}

.work-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.steps li {
  min-height: 235px;
  padding: 24px;
  background: var(--paper);
}

.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
}

.quote {
  background:
    linear-gradient(90deg, rgba(194, 232, 228, 0.76), rgba(255, 249, 237, 0.82)),
    var(--paper);
}

.preview-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy) !important;
  font-size: 0.96rem !important;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.lead-form label small {
  display: inline;
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 400;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(255, 107, 39, 0.26);
  border-color: var(--orange);
}

.lead-form .field-tel .iti {
  width: 100%;
  display: block;
}

.lead-form .field-tel .iti > input[type="tel"] {
  width: 100%;
}

.lead-form .field-tel .iti__flag-container {
  padding: 0;
}

.lead-form .field-tel .iti__selected-flag {
  background: transparent;
  border-radius: var(--radius) 0 0 var(--radius);
}

.lead-form .field-tel .iti__selected-flag:hover,
.lead-form .field-tel .iti__selected-flag:focus {
  background: rgba(20, 29, 79, 0.06);
}

.lead-form .field-tel .iti__selected-flag:focus,
.lead-form .field-tel .iti__selected-flag:focus-visible {
  outline: none;
  box-shadow: none;
}

.lead-form .field-tel .iti--separate-dial-code .iti__selected-dial-code {
  color: var(--navy);
  font-weight: 900;
}

.lead-form .field-tel .iti__arrow {
  border-top-color: rgba(20, 29, 79, 0.55);
}

.lead-form .field-tel .iti__arrow--up {
  border-bottom-color: rgba(20, 29, 79, 0.55);
}

.iti__country-list {
  max-height: 260px;
  overflow-y: auto;
  width: auto !important;
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(20, 29, 79, 0.18);
  padding: 6px;
  margin-top: 6px;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #d6d0c4 transparent;
}

.iti__country-list::-webkit-scrollbar {
  width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}

.iti__country-list::-webkit-scrollbar-thumb {
  background: #d6d0c4;
  border: 2px solid #fff;
  border-radius: 8px;
}

.iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.iti__country .iti__dial-code {
  margin-left: auto;
  padding-left: 14px;
  color: var(--muted);
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: var(--paper);
}

.iti__divider {
  border-bottom: 1px solid var(--line);
  margin: 6px 4px;
  padding: 0;
}

.lead-form button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #2f7a53;
  font-weight: 900;
}

.site-footer {
  padding: 32px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  display: grid;
  gap: 10px;
  max-width: 340px;
  font-size: 0.92rem;
}

.site-footer__brand img {
  width: 140px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--white);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.simple-page__content {
  width: min(720px, calc(100% - 40px));
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.simple-page__content h1 {
  max-width: none;
  margin: 18px 0 14px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2.6rem;
}

.text-link {
  color: var(--purple);
  font-weight: 900;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .offer-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .impact__grid,
  .quote__grid,
  .section-head--wide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding: 13px 18px;
  }

  .brand__logo {
    width: 124px;
    height: 52px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(13, 21, 56, 0.98);
    color: var(--white);
    transform: translateY(calc(-100% - 90px));
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease;
    box-shadow: 0 16px 32px rgba(13, 21, 56, 0.22);
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .wrap,
  .hero__content {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 78vh;
  }

  .hero__media {
    background-position: 58% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(13, 21, 56, 0.94) 0%, rgba(13, 21, 56, 0.84) 57%, rgba(13, 21, 56, 0.38) 100%),
      linear-gradient(180deg, rgba(13, 21, 56, 0.18) 0%, rgba(13, 21, 56, 0.84) 100%);
  }

  .hero__content {
    padding: 98px 0 42px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.85rem;
  }

  h2 {
    max-width: 14ch;
    font-size: 2.25rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero__panel {
    display: flex;
    overflow-x: auto;
  }

  .hero__panel span {
    min-width: 170px;
  }

  .brand-strip__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand-strip p {
    font-size: 1.08rem;
  }

  .problem,
  .expertise,
  .impact,
  .work,
  .process,
  .quote {
    padding: 72px 0;
  }

  .offer-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .steps li {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 24px;
  }

  .work-card,
  .work-card img {
    min-height: 330px;
  }

  .lead-form,
  .simple-page__content {
    padding: 22px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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

/* ─────────────────────────────────────────────────────────
   Formulaire — mention de consentement + widget Turnstile
   ───────────────────────────────────────────────────────── */
.form-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
}

.form-consent a {
  color: var(--purple);
  text-decoration: underline;
}

.lead-form .cf-turnstile {
  min-height: 65px;
}

/* ─────────────────────────────────────────────────────────
   Bannière de consentement cookies (injectée par analytics.js)
   Titres en Neu Prompter (texte accentué — pas de Daily Peace).
   ───────────────────────────────────────────────────────── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13, 21, 56, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  overflow: auto;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.cookie-modal.cb-show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-card {
  position: relative;
  width: min(520px, 100%);
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px -20px rgba(13, 21, 56, 0.7);
  transform: translateY(14px) scale(0.98);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.cb-show .cookie-card {
  transform: translateY(0) scale(1);
}

.cb-panel {
  position: relative;
  padding: 48px 30px 28px;
}

.cb-kicker {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cb-title {
  margin: 0 0 12px;
  max-width: 420px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
}

.cb-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cb-legal {
  margin: 10px 0 0;
  font-size: 0.78rem;
}

.cb-legal a {
  color: var(--sky);
  text-decoration: underline;
}

.cb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cb-btn {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.cb-btn:hover {
  transform: translateY(-1px);
}

.cb-accept,
.cb-save {
  background: var(--orange);
  color: var(--navy);
}

.cb-settings,
.cb-back {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.cb-settings:hover,
.cb-back:hover {
  background: rgba(255, 255, 255, 0.16);
}

.cb-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
}

.cb-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.cb-skip-top {
  position: absolute;
  top: 16px;
  right: 24px;
  margin-top: 0;
}

.cb-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--navy-deep);
}

.cb-choice strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.35;
}

.cb-choice span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cb-switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
}

.cb-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cb-switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: background 180ms ease;
}

.cb-switch span::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease;
}

.cb-switch input:checked + span {
  background: var(--orange);
}

.cb-switch input:checked + span::after {
  transform: translateX(20px);
}

@media (max-width: 560px) {
  .cookie-modal {
    padding: 16px;
  }

  .cookie-card {
    width: calc(100vw - 32px);
    max-height: calc(100svh - 32px);
    overflow: auto;
  }

  .cb-panel {
    padding: 44px 20px 20px;
  }

  .cb-actions {
    flex-direction: column;
  }

  .cb-btn {
    width: 100%;
  }

  .cb-choice {
    flex-direction: column;
    align-items: flex-start;
  }
}
