:root {
  --navy: #102a43;
  --navy-dark: #081c2d;
  --gold: #c99a45;
  --gold-light: #f3e6ca;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text: #243b53;
  --muted: #627d98;
  --border: #d9e2ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: bold;
  letter-spacing: 1px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
}

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

.hero {
  background:
    linear-gradient(115deg, rgba(8, 28, 45, 0.98), rgba(16, 42, 67, 0.92)),
    var(--navy);
  color: var(--white);
  padding: 100px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0 0 15px;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.08;
  margin: 0 0 25px;
}

.hero-subtitle {
  max-width: 600px;
  color: #d9e2ec;
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  border-radius: 5px;
  padding: 13px 21px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.button-primary:hover {
  background: #e0b566;
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: 10px;
  padding: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 0;
}

.hero-card h2 {
  color: var(--navy);
  line-height: 1.2;
  margin: 10px 0 20px;
}

.hero-card ul {
  padding-left: 20px;
}

.hero-card li {
  margin-bottom: 8px;
}

.card-note {
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-bottom: 0;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--cream);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.contact-section h2,
.notice-box h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 20px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.feature-number {
  color: var(--gold);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 16px;
}

.feature-card h3,
.service-card h3,
.step h3 {
  color: var(--navy);
  margin-top: 0;
}

.feature-card p,
.service-card p,
.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.featured-service {
  background: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.08);
}

.service-tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin-top: 0;
  margin-bottom: 14px;
}

.service-card a {
  display: inline-block;
  color: var(--navy);
  font-weight: bold;
  margin-top: 18px;
  text-decoration: none;
}

.service-card a:hover {
  color: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding-top: 58px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--navy);
  font-weight: bold;
}

.notice-section {
  background: var(--gold-light);
  padding: 55px 0;
}

.notice-box {
  max-width: 900px;
}

.notice-box h2 {
  font-size: 30px;
}

.notice-box p {
  color: var(--text);
}

.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
}

.contact-section h2 {
  margin-bottom: 20px;
}

.contact-section p {
  color: var(--muted);
}

.contact-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
}

.contact-details h3 {
  color: var(--navy);
  margin-top: 0;
}

.contact-details p {
  margin: 20px 0;
}

.contact-details a,
.small-text a {
  color: var(--navy);
  font-weight: bold;
}

.small-text {
  font-size: 13px;
  margin-top: 20px;
}

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 45px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-content p {
  color: #bcccdc;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.footer-links a {
  color: #d9e2ec;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 35px;
  padding-top: 18px;
}

.footer-bottom p {
  color: #9fb3c8;
  font-size: 12px;
  margin: 0;
}

.legal-page {
  padding: 70px 0;
}

.legal-page article {
  max-width: 850px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--navy);
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-page h2 {
  color: var(--navy);
  margin-top: 35px;
}

.legal-page p,
.legal-page li {
  color: var(--text);
}

.legal-page li {
  margin-bottom: 8px;
}

@media (max-width: 850px) {
  .nav-container {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 70px 0;
  }

  .section {
    padding: 65px 0;
  }

  .feature-grid,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    text-align: center;
  }
}
/* Galeria de fotos */
.media-galeria {
  padding: 72px 20px;
  background: #f6f7f9;
}

.media-galeria__container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.media-galeria__etiqueta {
  margin: 0 0 10px;
  color: #b58b45;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.media-galeria__titulo {
  margin: 0 0 14px;
  color: #18202b;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  text-align: center;
}

.media-galeria__introducao {
  max-width: 680px;
  margin: 0 auto 36px;
  color: #5c6570;
  line-height: 1.7;
  text-align: center;
}

.media-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.media-galeria__item {
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 30, 40, 0.10);
}

.media-galeria__item img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.media-galeria__item figcaption {
  padding: 18px 20px;
  color: #18202b;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 800px) {
  .media-galeria__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .media-galeria {
    padding: 52px 16px;
  }

  .media-galeria__grid {
    grid-template-columns: 1fr;
  }

  .media-galeria__item img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: #eeeeee;
  }
}
/* Ajuste apenas da 1ª e 2ª foto da galeria */
.media-galeria__grid .media-galeria__item:nth-child(1) img,
.media-galeria__grid .media-galeria__item:nth-child(2) img {
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  background: #eeeeee;
}