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

/* === DESIGN TOKENS === */
:root {
  --navy:       #0f1c3f;
  --navy-mid:   #1a3c6e;
  --navy-light: #1e4d99;
  --navy-dark:  #1a2744;
  --navy-deep:  #0a1225;
  --gold:       #f59e0b;
  --gold-hover: #d97706;
  --orange:     #f97316;
  --green-wa:   #25d366;
  --blue-ph:    #2563eb;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --bg-light:   #f8fafc;
  --bg-border:  #e2e8f0;
  --white:      #ffffff;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

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

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


/* === SECTION LABEL (shared with flow page) === */
.section-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  color: var(--gold);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 1px;
}

a.site-logo {
  text-decoration: none;
}

a.site-logo:hover {
  opacity: 0.9;
}

.header-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--gold-hover);
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-deep);
  padding: 32px 24px;
  text-align: center;
}

.footer-logo {
  color: var(--gold);
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 16px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 16px;
}

.footer-company {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.footer-company strong {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav a:hover {
  color: var(--gold);
}

/* === LEGAL / SUBPAGE === */
.subpage-main {
  padding: 32px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page {
  background: var(--white);
}

.legal-page h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.legal-page h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.legal-page ul {
  margin: 0.5rem 0 0 1.25rem;
}

.legal-page .legal-note {
  margin-top: 2rem;
  padding: 14px;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  font-size: 13px;
  color: var(--text-muted);
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.legal-back:hover {
  color: var(--gold-hover);
}

/* === COOKIE CONSENT === */
.cookie-consent {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 0 16px 16px;
  pointer-events: none;
}

.cookie-consent--visible {
  display: block;
  pointer-events: auto;
}

.cookie-consent__inner {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-consent__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cookie-consent__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.cookie-consent__text a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent__btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.cookie-consent__btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.cookie-consent__btn--primary:hover {
  background: var(--gold-hover);
}

.cookie-consent__btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* === RESPONSIVE — tablet (640px+) — core === */
@media (min-width: 640px) {
  .site-header {
    padding: 12px 40px;
  }

  .site-logo {
    font-size: 18px;
  }
}

/* === RESPONSIVE — desktop (1024px+) — core === */
@media (min-width: 1024px) {
  .site-footer {
    padding-left: 80px;
    padding-right: 80px;
  }

  .subpage-main {
    padding: 72px 80px 96px;
  }
}
