/* ===== Variáveis e base ===== */
:root {
  --base: #03193E;
  --base-light: #0a2a5c;
  --accent: #c9a227;
  --accent-light: #e0b83d;
  --accent-dark: #a6851f;
  --text: #f5f5f5;
  --text-muted: #b8c4d4;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--base);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-light);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 25, 62, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--base) 0%, var(--base-light) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 18ch;
  color: var(--white);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--base);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--base);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ===== Seções genéricas ===== */
.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Serviços ===== */
.services {
  background: var(--base-light);
}

.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: rgba(3, 25, 62, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Sobre ===== */
.about {
  background: var(--base);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-card {
  background: var(--base-light);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.about-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--base-light) 0%, var(--base) 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.cta-title {
  margin-bottom: 0.75rem;
}

.cta-text {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.cta .btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* ===== Contato ===== */
.contact {
  background: var(--base-light);
}

.contact-whatsapp {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff !important;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: background var(--transition), transform 0.15s ease, box-shadow var(--transition);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.btn-whatsapp-icon {
  font-size: 1.4rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  background: var(--base);
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  text-align: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(3, 25, 62, 0.98);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a {
    display: block;
    padding: 1rem 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-content .section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
