/* GS Capital — estilos compartilhados */
:root {
  --color-primary: #0d2144;
  --color-secondary: #c89b3c;
  --color-accent: #1e4d8c;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fa;
  --color-text: #1a1a2e;
  --color-text-muted: #4a5568;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-nav: 0 2px 20px rgba(13, 33, 68, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-nav);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-link {
  color: inherit;
  text-decoration: none;
}

.logo-link:hover {
  color: inherit;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.nav-link-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--color-secondary);
  color: #1a1408;
}

.btn-cta:hover {
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.35);
  color: #1a1408;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(13, 33, 68, 0.25);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-desktop {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  body.nav-open .nav-desktop {
    max-height: 400px;
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
  }

  .header-inner .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ——— Main offset ——— */
main {
  padding-top: 88px;
}

@media (max-width: 900px) {
  main {
    padding-top: 76px;
  }
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 0.65rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

/* ——— Hero ——— */
.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem 4rem;
  background: linear-gradient(165deg, #ffffff 0%, #eef3fb 52%, #e4edf8 100%);
}

.hero-bg-shape {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(45vw, 520px);
  height: min(55vw, 620px);
  background: radial-gradient(
    ellipse at 30% 40%,
    rgba(200, 155, 60, 0.22) 0%,
    rgba(200, 155, 60, 0.06) 45%,
    transparent 70%
  );
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual svg {
  width: 100%;
  max-height: 340px;
  opacity: 0.95;
}

/* ——— Diferenciais bar ——— */
.bar-diferenciais {
  background: var(--color-primary);
  color: #fff;
  padding: 2.75rem 1.25rem;
}

.bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.bar-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0.65rem 0 0.4rem;
  color: #fff;
}

.bar-card p {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.bar-icon {
  font-size: 1.75rem;
  line-height: 1;
}

/* ——— Services grid ——— */
.section-services {
  background: var(--color-bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(13, 33, 68, 0.06);
  border: 1px solid rgba(13, 33, 68, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 33, 68, 0.1);
}

.service-card svg {
  color: var(--color-secondary);
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ——— Why us ——— */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.why-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-secondary);
  margin-top: 0.15rem;
}

.why-visual svg {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* ——— About ——— */
.section-about .about-copy {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.section-about .about-copy p {
  margin: 0 0 1rem;
}

.section-about .cnpj-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ——— Contact ——— */
.section-contact .contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .section-contact .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info p {
  margin: 0 0 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(26, 26, 46, 0.15);
  border-radius: 10px;
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  justify-self: start;
}

.mt-2 {
  margin-top: 2rem !important;
}

/* ——— Legal pages ——— */
.legal-main {
  padding-bottom: 4rem;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-inner > .section-title {
  text-align: left;
  margin-bottom: 0.35rem;
}

.legal-inner h2 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.legal-inner h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-inner p,
.legal-inner li {
  color: var(--color-text);
}

.legal-inner ul {
  padding-left: 1.25rem;
}

.legal-updated {
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer .logo-text {
  color: #fff;
}

.site-footer .logo-tagline {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .tagline-strong {
  font-size: 0.9375rem;
  opacity: 0.9;
  margin: 0.5rem 0 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--color-secondary);
}

.site-footer .footer-current {
  color: var(--color-secondary);
  font-weight: 700;
}

.site-footer .footer-current:hover {
  color: var(--color-secondary);
}

.footer-address {
  font-style: normal;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.82;
}

/* ——— FAB WhatsApp ——— */
.float-wa {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 1001;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.float-wa:hover {
  transform: scale(1.06);
  color: #fff;
}

.float-wa .fa-brands {
  font-size: 1.85rem;
  line-height: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
