:root {
  --blue: #1F4E8C;
  --blue-dark: #163A63;
  --gold: #D9B44A;
  --text: #2B2B2B;
  --bg-soft: #F7F9FC;
  --white: #FFFFFF;
  --border: #E4EAF2;
  --shadow: 0 10px 30px rgba(18, 39, 69, 0.08);
  --radius: 18px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--bg-soft);
}

/* Cabeçalho */

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(22,58,99,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.inner-header {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 92px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  color: var(--blue-dark);
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active-link::after {
  width: 100%;
}

.main-nav a.active-link {
  color: var(--blue);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-image-link {
  width: 34px;
  height: 34px;
}

.social-image-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s ease;
  border: 0;
  cursor: pointer;
}

.btn-primary,
.btn-nav {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover,
.btn-nav:hover {
  background: var(--blue-dark);
}

.btn-light {
  background: var(--white);
  color: var(--blue-dark);
}

/* Banner */

.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

.slide.active .slide-bg {
  animation: heroZoom 6s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 130px;
  padding-bottom: 120px;
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag {
  color: var(--gold);
}

.section-tag.light {
  color: #fff1bf;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 16px;
  max-width: 700px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
}

.hero-content p {
  max-width: 680px;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.dot.active {
  background: var(--white);
}

/* Seções */

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-card h2,
.section-head h2,
.contact-layout h1 {
  color: var(--blue-dark);
  margin-top: 0;
  line-height: 1.15;
}

.cta-box h2 {
  color: var(--white);
  margin-top: 0;
  line-height: 1.15;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  overflow: hidden;
}

.info-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.info-card h3 {
  color: var(--blue-dark);
  margin: 18px 20px 8px;
}

.info-card p {
  margin: 0 20px 22px;
}

/* Galeria */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 32, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 999;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 2rem;
}

.lightbox-nav.prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* CTA */

.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-box {
  padding: 42px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Rodapé */

.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.9);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 24px;
}

.footer-logo {
  margin-bottom: 18px;
}

.site-footer h3 {
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li,
.site-footer p {
  margin-bottom: 10px;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-instagram-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* Contato */

.inner-page {
  padding-top: 30px;
}

.contact-layout {
  align-items: flex-start;
}

.contact-list p {
  margin: 0 0 12px;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--blue-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 18px;
  border: 1px solid #D7E0EC;
  border-radius: 12px;
  font: inherit;
  display: block;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 18px;
  font-weight: 600 !important;
}

.consent input {
  width: 18px;
  min-width: 18px;
  margin: 4px 0 0;
}

/* Responsivo */

@media (max-width: 1024px) {
  .brand-title {
    font-size: 1.1rem;
  }

  .main-nav {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .two-col,
  .card-grid.three,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 100px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .logo {
    height: 76px;
  }

  .brand-title {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .media-card img {
    min-height: 280px;
  }

  .gallery-grid img {
    height: 220px;
  }

  .cta-box,
  .contact-form {
    padding: 24px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
}