/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF6A00;
  --orange-dark: #DB5A00;
  --orange-tint: rgba(255,106,0,0.12);
  --orange-border: rgba(255,106,0,0.35);

  --bg: #0D0D0D;
  --bg-alt: #131313;
  --card: #1A1A1A;
  --card-2: #202020;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --white: #FFFFFF;
  --text: rgba(255,255,255,0.92);
  --text-dim: rgba(255,255,255,0.72);
  --text-mute: rgba(255,255,255,0.5);
  --text-faint: rgba(255,255,255,0.32);

  --green: #22C55E;
  --green-bg: rgba(34,197,94,0.1);
  --green-border: rgba(34,197,94,0.3);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Visible dev placeholder — remove ao substituir por conteúdo/material real */
.dev-note {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-faint);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,106,0,0.35); }
.btn--primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-strong);
}
.btn--secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn--nav {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
}
.btn--nav:hover { background: var(--orange-dark); }

.btn--full { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 17px; }

/* =============================================
   SECTION HELPERS
   ============================================= */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

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

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
}

.section-header p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.75;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-hybrid { color: var(--white); }
.logo-center { color: var(--orange); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.nav__phone svg { width: 16px; height: 16px; color: var(--orange); }

@media (min-width: 640px) {
  .nav__phone { display: flex; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255,106,0,0.14), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero__kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.highlight svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 1px;
}

.highlight span.muted {
  display: block;
  font-weight: 400;
  color: var(--text-mute);
  font-size: 13.5px;
  margin-top: 2px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero visual — gráfico técnico de células (sem fotografia real ainda) */
.hero__visual {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.cellgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.cellgrid__cell {
  aspect-ratio: 1 / 1.4;
  border-radius: 4px;
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.cellgrid__cell::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--orange);
  opacity: 0.55;
}

.cellgrid__cell:nth-child(1)::after { height: 88%; }
.cellgrid__cell:nth-child(2)::after { height: 91%; }
.cellgrid__cell:nth-child(3)::after { height: 84%; }
.cellgrid__cell:nth-child(4)::after { height: 60%; background: var(--white); opacity: 0.85; }
.cellgrid__cell:nth-child(5)::after { height: 90%; }
.cellgrid__cell:nth-child(6)::after { height: 87%; }
.cellgrid__cell:nth-child(7)::after { height: 93%; }
.cellgrid__cell:nth-child(8)::after { height: 89%; }
.cellgrid__cell:nth-child(9)::after { height: 65%; background: var(--white); opacity: 0.85; }
.cellgrid__cell:nth-child(10)::after { height: 90%; }
.cellgrid__cell:nth-child(11)::after { height: 86%; }
.cellgrid__cell:nth-child(12)::after { height: 92%; }
.cellgrid__cell:nth-child(4), .cellgrid__cell:nth-child(9) { border-color: rgba(255,255,255,0.4); }

.hero__visual-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.hero__visual-readout strong {
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero__visual-readout span {
  font-size: 13px;
  color: var(--text-mute);
  text-align: right;
  max-width: 200px;
}

.hero__visual-caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}

/* =============================================
   RISK ANCHOR
   ============================================= */
.risk__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.risk h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}
.risk p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}
.risk p:last-of-type strong { color: var(--orange); font-weight: 700; }

/* =============================================
   THREE BLOCKS (SoH problem)
   ============================================= */
.blocks__intro {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
}

.blocks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.block-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.block-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.block-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.block-card p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.75;
}

.blocks__close {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

/* =============================================
   DETECTION LIST
   ============================================= */
.detect__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.detect-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.detect-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 1px;
}

.detect-item p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.detect-item--full { grid-column: 1 / -1; }

.safety-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-mute);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  justify-content: center;
  line-height: 1.6;
}

/* =============================================
   STEPS
   ============================================= */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card { position: relative; padding-top: 8px; }

.step-card__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.7;
}

/* =============================================
   REPORT SECTION (key)
   ============================================= */
.report {
  background: var(--card);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.report__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.report h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}

.report__body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 20px;
}

.report__close {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.7;
}

.report__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.report__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}

/* =============================================
   TRUST
   ============================================= */
.trust__body { max-width: 640px; }

.trust__body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* =============================================
   PRICING
   ============================================= */
.pricing__card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing__price {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pricing__price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0;
}

.pricing__vat {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 32px;
}

.pricing__list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

.pricing__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}

.pricing__support {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-mute);
}
.pricing__support a { color: var(--orange); font-weight: 600; }

/* =============================================
   FAQ
   ============================================= */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item[open] { border-color: var(--orange); }

.faq__item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.faq__item[open] summary::after { content: '\2212'; }

.faq__item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.75;
}

/* =============================================
   BOOKING FORM
   ============================================= */
.booking {
  background: var(--bg-alt);
}

.booking__inner { max-width: 720px; margin: 0 auto; }

.booking__location {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 24px;
}
.booking__location svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--orange); }
.booking__location strong { color: var(--white); }

.booking__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row--single { grid-template-columns: 1fr; }
.form-row--three { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

.radio-group { display: flex; gap: 12px; }
.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.radio-option input { accent-color: var(--orange); }
.radio-option:has(input:checked) { border-color: var(--orange); color: var(--white); background: var(--orange-tint); }

.form-note {
  font-size: 13.5px;
  color: var(--text-mute);
  margin-top: -6px;
}
.form-note[hidden] { display: none; }
.form-note a { color: var(--orange); font-weight: 600; }

.form-note--warning {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  color: var(--orange);
}
.form-note--warning a { color: inherit; text-decoration: underline; }

.form-group select:disabled { opacity: 0.5; cursor: not-allowed; }

.form-consent { display: flex; align-items: flex-start; gap: 10px; }
.form-consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--orange); cursor: pointer; }
.form-consent label { font-size: 13.5px; color: var(--text-mute); line-height: 1.55; cursor: pointer; }
.form-consent a { color: var(--orange); text-decoration: underline; }

/* =============================================
   POPUP DE CONFIRMAÇÃO DA MARCAÇÃO
   ============================================= */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.booking-modal-overlay[hidden] { display: none; }

.booking-modal {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mute);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.booking-modal__close:hover { color: var(--white); }
.booking-modal__close svg { width: 20px; height: 20px; }

.booking-modal__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-modal__icon svg { width: 24px; height: 24px; }

.booking-modal--success .booking-modal__icon { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); }
.booking-modal--error .booking-modal__icon { background: var(--orange-tint); border: 1px solid var(--orange-border); color: var(--orange); }

.booking-modal__message {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg); padding-top: 64px; border-top: 1px solid var(--border); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--text-faint); line-height: 1.7; }
.footer__brand .footer__location { margin-top: 12px; color: var(--text-mute); font-weight: 500; }

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.footer__links a { font-size: 14px; color: var(--text-mute); transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }

.footer__bottom { padding: 20px 0; }
.footer__bottom p { font-size: 13px; color: var(--text-faint); text-align: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .report__grid { grid-template-columns: 1fr; gap: 32px; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .blocks__grid { grid-template-columns: 1fr; }
  .detect__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .steps__grid { grid-template-columns: 1fr; }
  .form-row, .form-row--three { grid-template-columns: 1fr; }
  .booking__form { padding: 28px 20px; }
  .report { padding: 28px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; }
  .btn--lg { width: 100%; }
  .cellgrid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================
   COOKIES
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--card);
  border-top: 1px solid var(--border-strong);
  padding: 20px 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 260px; }
.cookie-banner__text p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.btn--cookie-settings {
  background: transparent;
  color: var(--text-mute);
  border: 1px solid var(--border-strong);
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn--cookie-settings:hover { color: var(--white); border-color: var(--text-mute); }

.btn--cookie-reject {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn--cookie-reject:hover { color: var(--white); border-color: var(--white); }

.btn--cookie-accept {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.btn--cookie-accept:hover { background: var(--orange-dark); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal-overlay[hidden] { display: none; }

.cookie-modal {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal__header h2 { font-size: 18px; font-weight: 700; color: var(--white); }

.cookie-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mute);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.cookie-modal__close:hover { color: var(--white); }
.cookie-modal__close svg { width: 20px; height: 20px; }

.cookie-modal__body { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.cookie-modal__body > p { font-size: 14px; color: var(--text-mute); line-height: 1.7; }

.cookie-category { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.cookie-category__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-category__header strong { display: block; font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.cookie-category__header p { font-size: 13px; color: var(--text-mute); line-height: 1.5; }

.cookie-toggle { flex-shrink: 0; cursor: pointer; position: relative; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider {
  display: block;
  width: 44px; height: 24px;
  background: var(--border-strong);
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
}
.cookie-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--orange); }
.cookie-toggle input:checked + .cookie-toggle__slider::after { transform: translateX(20px); }

.cookie-toggle--disabled {
  cursor: default;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.cookie-modal__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner__actions { width: 100%; }
  .btn--cookie-settings, .btn--cookie-reject, .btn--cookie-accept { flex: 1; text-align: center; }
  .cookie-modal__footer { flex-direction: column; }
  .cookie-modal__footer .btn--cookie-reject, .cookie-modal__footer .btn--cookie-accept { width: 100%; text-align: center; }
}
