@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #172033;
  --gold: #C28A2C;
  --text: #1F2937;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 64px;
  font-family: Inter, sans-serif;
  background: #f5f7fa;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  top: 90px;
  left: 0;
  width: min(55vw, 680px);
  height: calc(100vh - 90px);
  background: url("family-background.png") left center / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  background-position: center bottom;
}

body::after {
  content: "";
  position: fixed;
  top: 120px;
  right: 0;
  width: min(55vw, 680px);
  height: calc(100vh - 120px);
  background: url("Eagle.png") right center / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  background-position: center top;
}

.content_area {
  width: min(90%, 900px);
  margin: 0 auto;
  padding: clamp(20px, 5vw, 60px);
  text-align: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: min(700px, 90vw);
  height: auto;
  max-height: 28svh;
  object-fit: contain;
}

.site-header,
.top-nav,
main {
  position: relative;
  z-index: 1;
}

.contatos-title {
  color: var(--gold);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  min-height: 64px;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.top-nav nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-nav a {
  text-decoration: none;
  padding: 8px 14px;
  color: var(--white);
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 500;
}

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

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

.content_area {
  width: min(90%, 900px);
  margin: 0 auto;
  padding: clamp(20px, 5vw, 60px);
}

.content_area p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: clamp(12px, 2vw, 24px);
}


.hero-carousel {
  position: relative;
  min-height: 420px;
  height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  z-index: 1;
  top: 0;
}

.hero-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(90vw, 720px);
  min-height: 100px;
  opacity: 0;
  animation: fadeCarousel 49s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }
.hero-slide:nth-child(7) { animation-delay: 36s; }

.hero-slide h1 {
  font-size: clamp(1.8rem, 6vw, 4rem);
  margin-bottom: 12px;
  color: var(--gold);
}

.hero-slide p {
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  line-height: 1.45;
}

@keyframes fadeCarousel {
  0% { opacity: 0; transform: translate(-50%, -50%) translateX(80px); }
  3% { opacity: 1; transform: translate(-50%, -50%) translateX(0); }
  11% { opacity: 1; transform: translate(-50%, -50%) translateX(0); }
  14% { opacity: 0; transform: translate(-50%, -50%) translateX(-60px); }
  100% { opacity: 0; transform: translate(-50%, -50%) translateX(-60px); }
}


@media (max-width: 768px) {
  .top-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    min-height: auto;
    flex-wrap: wrap;
  }

  .top-nav a {
    font-size: 16px;
    padding: 6px 10px;
  }

  .logo {
    display: flex;
    justify-content: center;
    padding: 20px 12px;
  }

  .logo img {
    width: 80vw !important;
    max-width: 360px !important;
    height: auto !important;
  }

  .hero-carousel {
    position: relative;
    min-height: 420px;
    height: auto;
    display: grid;
    place-items: center;
  }

  .hero-slide {
    position: absolute;
    width: min(78vw);
    text-align: center;
  }

  .hero-slide h1 {
    font-size: 2rem;
  }

  .hero-slide p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  body {
    padding-top: 64px;
  }

  body::before {
    left: -40px;
    width: 100vw;
    height: calc(100svh - 110px);
    background-position: center bottom;
  }
}