*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --accent: #d97706;
  --accent-light: #fffbeb;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
}

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;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 1.75rem 0;
  text-align: center;
  border-bottom: 4px solid var(--accent);
}

.legal-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.legal-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fcd34d;
}

.legal-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 3.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 900px;
}

.legal-meta {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}

.legal-meta strong { color: #fff; font-weight: 700; }

.status-active {
  display: inline-block;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8125rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.logo-icon { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; background: #25d366; color: #fff; }
.btn-sm:hover { background: #1da851; }

.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(160deg, #f1f5f9 0%, var(--accent-light) 100%);
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid #fde68a;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.highlight { color: var(--accent); }

.hero-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.company-highlight { padding: 4rem 0 5rem; background: var(--bg); }

.company-highlight-header { text-align: center; margin-bottom: 2.5rem; }
.company-highlight-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.company-highlight-header p { color: var(--text-light); }

.razao-social-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.razao-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fcd34d;
  margin-bottom: 0.75rem;
}

.razao-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.razao-fantasia {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.razao-fantasia strong { color: #fff; }

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.company-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.company-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.company-card dl { display: flex; flex-direction: column; gap: 1.125rem; }

.company-field dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.company-field dd { font-size: 0.9375rem; font-weight: 500; line-height: 1.6; }
.company-field dd a { color: var(--accent); text-decoration: none; }
.company-field dd a:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-light);
  margin-left: 0.25rem;
}

.cnae-code {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: #fffbeb;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.375rem;
}

.cnae-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.cnae-list li { line-height: 1.6; }

.company-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); font-size: 1.0625rem; }

.services { padding: 5rem 0; background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.25rem; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; }

.contact { padding: 5rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

a.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-whatsapp:hover { border-color: #25d366; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card strong { display: block; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }
.contact-address { cursor: default; }

.footer {
  padding: 2.5rem 0;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.footer-razao {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-legal { font-size: 0.8125rem; line-height: 1.7; opacity: 0.85; }
.footer-content p:last-child { margin-top: 1rem; font-size: 0.875rem; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.881 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/28px no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }

@media (max-width: 900px) {
  .company-grid, .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.875rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; margin-top: 0.5rem; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .razao-social-box { padding: 1.5rem; }
}
