@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: hsl(150, 10%, 96%);
  --fg: hsl(220, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(166, 45%, 40%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary-bg: hsla(150, 10%, 93%, 0.5);
  --muted: hsl(220, 8%, 50%);
  --border: hsl(150, 8%, 88%);
  --accent: hsl(24, 80%, 55%);
  --sidebar-bg: hsl(220, 20%, 18%);
  --sidebar-fg: hsl(150, 8%, 90%);
  --sidebar-border: hsl(220, 14%, 25%);
  --radius: 0.75rem;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: hsla(166, 45%, 40%, 0.1);
  color: var(--primary);
  border: 1px solid hsla(166, 45%, 40%, 0.2);
}

/* Disclaimer bar */
.disclaimer-bar {
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  background: hsla(24, 80%, 55%, 0.05);
  padding: 0.75rem 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: hsla(166, 45%, 40%, 0.05); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.75rem; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.navbar-brand { display: flex; align-items: center; gap: 0.375rem; }
.navbar-brand span:first-child { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; }
.navbar-brand .brand-accent { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; color: var(--primary); font-weight: 700; }
.navbar-brand .brand-sub { color: var(--muted); font-size: 0.875rem; margin-left: 0.25rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--fg); }
.nav-mobile { display: none; padding-bottom: 1rem; }
.nav-mobile a { display: block; padding: 0.5rem 0; font-size: 0.875rem; color: var(--muted); }
.nav-mobile a:hover { color: var(--fg); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile.open { display: block; }
}

/* ====== SECTIONS ====== */
.section-light { background: var(--bg); }
.section-muted { background: var(--secondary-bg); }

section { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Hero */
.hero { padding-top: 6rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin: 1rem 0 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero p.lead { font-size: 1.125rem; color: var(--muted); max-width: 32rem; margin-bottom: 2rem; }
.hero .btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 60px -15px rgba(0,0,0,0.15); }

/* Cards */
.card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.875rem; color: var(--muted); }

/* Accordion / FAQ */
.faq-card { background: var(--card); border-radius: 1rem; padding: 2rem 2.5rem; border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; background: none; border: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; color: var(--fg); text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 0.875rem; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 1rem; }

/* Contact card */
.contact-card { background: var(--card); border-radius: 1rem; padding: 2rem 2.5rem; border: 1px solid var(--border); }
.contact-item { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.contact-icon { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }

/* Footer */
footer { background: var(--sidebar-bg); color: var(--sidebar-fg); padding: 4rem 0 1.5rem; }
footer .grid-4 { gap: 2.5rem; }
footer h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
footer h4 .bar { width: 2px; height: 1rem; background: var(--primary); border-radius: 9999px; }
footer a { font-size: 0.875rem; color: hsla(150, 8%, 90%, 0.7); transition: color 0.2s; }
footer a:hover { color: var(--primary); }
footer li { margin-bottom: 0.5rem; }
footer .footer-bottom { border-top: 1px solid var(--sidebar-border); margin-top: 3rem; padding-top: 1.5rem; }
footer .footer-bottom p { font-size: 0.75rem; color: hsla(150, 8%, 90%, 0.5); text-align: center; }
footer .addr { font-size: 0.875rem; color: hsla(150, 8%, 90%, 0.7); }

/* Legal pages */
.legal-content h2 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { color: var(--muted); margin-bottom: 1rem; }

/* Info grid cards (Registro) */
.info-card { padding: 1.5rem; border-radius: 1rem; background: var(--card); border: 1px solid var(--border); }
.info-card .icon { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--primary); }
.info-card .label { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.25rem; }
.info-card .value { font-weight: 600; font-family: 'Space Grotesk', sans-serif; }

/* Contact page form */
input, textarea {
  width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; background: var(--card); color: var(--fg);
  outline: none; transition: border-color 0.2s;
}
input:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Info items on contact page */
.info-item {
  display: flex; gap: 1rem; padding: 1rem; border-radius: 0.75rem;
  background: var(--card); border: 1px solid var(--border);
}
.info-item .icon-box {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: hsla(166, 45%, 40%, 0.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary); font-size: 1.125rem;
}

/* Rounded img */
.rounded-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }
