:root {
  --color-gold: #2563eb;
  --color-gold-light: #60a5fa;
  --color-gold-dark: #1d4ed8;
  --color-burgundy: #0ea5e9;
  --color-burgundy-light: #22c1f1;
  --color-burgundy-dark: #0284c7;
  --color-navy: #0f172a;
  --color-navy-light: #e5f0ff;
  --color-navy-dark: #020617;
  --color-navy-darker: #f3f4f6;
  --color-navy-darkest: #ffffff;
  --color-teal: #10b981;
  --color-teal-light: #6ee7b7;
  --color-teal-dark: #059669;
  --color-white: #ffffff;
  --color-off-white: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2933;
  --color-gray-900: #111827;
  --color-black: #020617;

  --color-gold-10: rgba(37, 99, 235, 0.08);
  --color-gold-20: rgba(37, 99, 235, 0.16);
  --color-gold-50: rgba(37, 99, 235, 0.5);
  --color-burgundy-10: rgba(14, 165, 233, 0.08);
  --color-burgundy-20: rgba(14, 165, 233, 0.18);
  --color-navy-10: rgba(15, 23, 42, 0.06);
  --color-navy-20: rgba(15, 23, 42, 0.12);
  --color-navy-80: rgba(15, 23, 42, 0.8);
  --color-navy-90: rgba(15, 23, 42, 0.9);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-80: rgba(255, 255, 255, 0.8);

  --font-primary: "Playfair Display", Georgia, serif;
  --font-secondary: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.5rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.2rem;
  --radius-2xl: 1.8rem;
  --radius-3xl: 2.4rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-2xl: 0 40px 120px rgba(15, 23, 42, 0.18);
  --shadow-inner: inset 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 0 30px rgba(37, 99, 235, 0.25);
  --shadow-burgundy: 0 0 30px rgba(14, 165, 233, 0.28);

  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-auto: auto;

  --transition-fast: 150ms ease-out;
  --transition-normal: 260ms ease-out;
  --transition-slow: 450ms ease-out;

  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-800);
  background:
    radial-gradient(circle at 0% 0%, #e0f2fe 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #fef9c3 0, transparent 55%),
    linear-gradient(to bottom, var(--color-off-white), #e5e7eb);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-gold-dark);
}

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: var(--color-gray-900);
}

h1 {
  font-size: clamp(2.3rem, 4vw, var(--text-5xl));
  margin-bottom: var(--space-5);
}

h2 {
  font-size: clamp(1.9rem, 3.1vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--text-2xl);
  color: var(--color-gray-900);
}

h4 {
  font-size: var(--text-xl);
  color: var(--color-gray-900);
}

p {
  margin-bottom: var(--space-3);
}

strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

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

section {
  padding: var(--space-16) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-10);
}

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-10);
}

.section-subtitle,
.subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  margin-top: var(--space-2);
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-gold);
}

.text-secondary {
  color: var(--color-burgundy);
}

/* HEADER NOVO */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-50);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--color-gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-gray-900);
}

.brand-link span {
  color: var(--color-gold-dark);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  border: 1px solid transparent;
  color: var(--color-gray-700);
}

.menu-toggle:active {
  border-color: var(--color-gray-300);
}

#menu-toggle {
  display: none;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-4);
  align-items: center;
}

.nav-list a {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  color: var(--color-gray-700);
  background: transparent;
  border: 1px solid transparent;
  transition:
    background var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    transform var(--transition-fast);
}

.nav-list a:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
  transform: translateY(-1px);
}

.nav-list a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* HERO NOVO */

.hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: var(--radius-3xl);
  background: radial-gradient(circle at 10% 0, rgba(37, 99, 235, 0.16), transparent 55%);
  z-index: -1;
}

.hero-media img {
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-200);
}

.hero-content {
  max-width: 520px;
  margin-left: auto;
}

.hero-content h1 {
  letter-spacing: -0.02em;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-gold-dark);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.hero-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--color-gold), var(--color-teal));
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    opacity var(--transition-fast);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  opacity: 0.96;
}

/* SOBRE / ABOUT */

.about-section {
  background: radial-gradient(circle at 0 20%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(circle at 100% 120%, rgba(16, 185, 129, 0.08), transparent 55%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-10);
}

.about-grid--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-text p {
  color: var(--color-gray-600);
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.18));
  filter: blur(16px);
  z-index: -1;
}

.about-image img {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-xl);
}

/* FEATURES / COMO AVALIAMOS */

.features-section {
  background: #f9fafb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.feature-item {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: #ffffff;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item h3,
.feature-item h4 {
  position: relative;
  margin-bottom: var(--space-2);
}

.feature-item p {
  position: relative;
  color: var(--color-gray-600);
}

/* WHY / POR QUÊ */

.why-section {
  background: #ffffff;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-10);
  align-items: center;
}

.why-text p {
  color: var(--color-gray-600);
}

.why-image {
  position: relative;
}

.why-image::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: var(--radius-3xl);
  background: conic-gradient(
    from 180deg,
    rgba(37, 99, 235, 0.18),
    rgba(14, 165, 233, 0.12),
    transparent 40%,
    transparent 100%
  );
  z-index: -1;
}

.why-image img {
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-xl);
}

/* BOOKMAKERS */

.bookmakers-section {
  background: #f9fafb;
}

.bookmakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.bookmaker-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-2xl);
  background: #ffffff;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.bookmaker-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.bookmaker-body {
  padding: var(--space-5) var(--space-5) var(--space-4);
}

.bookmaker-body p {
  color: var(--color-gray-600);
}

.bookmaker-body h3,
.bookmaker-card h4 {
  margin-bottom: var(--space-2);
}

.bookmaker-footer {
  padding: 0 var(--space-5) var(--space-5);
}

.bookmaker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-gold), var(--color-teal));
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    opacity var(--transition-fast);
}

.bookmaker-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  opacity: 0.95;
}

/* TESTEMUNHOS */

.testimonials-section {
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: #f9fafb;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.6rem;
  left: 0.9rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(37, 99, 235, 0.15);
}

.testimonial-text {
  margin-top: var(--space-4);
  color: var(--color-gray-700);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--color-gray-500);
}

/* AVISO IMPORTANTE */

.important-message {
  background: #f9fafb;
}

.message-box {
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  background: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.18);
  box-shadow: var(--shadow-md);
}

.message-box h2,
.message-box h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  color: #b91c1c;
  margin-bottom: var(--space-3);
}

.message-box h2::before,
.message-box h3::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: var(--text-sm);
}

.message-box p {
  color: var(--color-gray-600);
}

.message-final,
.message-box .last-line {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed rgba(248, 113, 113, 0.5);
  font-weight: 600;
  color: #b91c1c;
}

/* FOOTER */

.footer-section {
  background: #0b1220;
  color: #e5e7eb;
  padding: var(--space-8) 0;
  margin-top: var(--space-4);
}

.footer-links {
  text-align: center;
  font-size: var(--text-sm);
}

.footer-links a {
  color: #9ca3af;
  margin: 0 var(--space-2);
  position: relative;
  padding-bottom: 0.1rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
  transition: width var(--transition-normal), left var(--transition-normal);
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-links a:hover::after {
  width: 100%;
  left: 0;
}

.sitename {
  color: var(--color-gold-light);
  font-weight: 700;
}

/* UTILIDADES */

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

/* RESPONSIVO */

@media (max-width: 1024px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero-layout,
  .about-grid,
  .about-grid--reverse,
  .why-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    order: 2;
  }

  .hero-media {
    order: 1;
  }

  section {
    padding: var(--space-12) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .header-inner {
    height: 3.8rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 3.8rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--container-padding);
    gap: var(--space-2);
  }

  .nav-list a {
    justify-content: flex-start;
    border-radius: var(--radius-md);
    padding: 0.65rem 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #menu-toggle:checked ~ .menu-toggle {
    border-color: var(--color-gray-300);
  }

  #menu-toggle:checked ~ .main-nav {
    max-height: 260px;
  }

  .hero {
    padding-top: var(--space-12);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 0.85rem;
  }

  section {
    padding: var(--space-10) 0;
  }

  .section-header--center {
    margin-bottom: var(--space-8);
  }

  .hero-layout {
    gap: var(--space-6);
  }

  .bookmakers-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta {
    width: 100%;
  }

  .footer-links a {
    display: inline-block;
    margin-bottom: var(--space-1);
  }
}
