/* GLOBALS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
    color: #1d3557;
}

section {
  scroll-margin-top: 80px; /* altura do seu header */
}

/* HEADER */

.header {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #174a73;
    padding: 8px;
}

.header .logo {
    max-width: 128px;
}

.header nav ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    list-style-type: none;
    margin-right: 22px;
}

nav a {
  position: relative;
  color: white;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #f58220;
  transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: #f58220;
}

/* HERO */
.hero {
    background:  
        linear-gradient(rgba(29, 91, 143, 0.95), rgba(29, 91, 143, 0.95)),
        url("/assets/images/hero.png") no-repeat center;
    background-size: cover;
    color: white;
    padding: 160px 20px 120px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero span {
    color: #f58220;
}

.hero p {
    margin-top: 20px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    margin-top: 30px;
    background: #f58220;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #e06f10;
}

/* FEATURES */

.features {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.feature-card {
    border: 2px solid #f58220;
    border-radius: 15px;
    padding: 20px;
}

.feature-card h3 {
    margin-top: 10px;
    font-size: 1.1rem;
}

/* ABOUT */

.about {
  background: #f58220;
  padding: 80px 20px;
}

.about .container {
  max-width: 1000px;
  margin: auto;
}

.about h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.about-item {
  background-color: #174a73;
  text-align: center;
  padding: 32px 24px 64px 24px;
  border-radius: 8px;
}

.about-item img {
  width: 50px;
  margin-bottom: 15px;
}

.about-item p {
  font-size: 1rem;
  color: white;
}

.about-highlight {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-highlight span {
  background: white;
  color: #174a73;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
}

/* CONTACT AND LOCATION */

.contact-location {
  background: #ffffff;
  padding: 80px 20px;
}

.contact-location .container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.contact-location h2 {
  font-size: 2.5rem;
  color: #1d5b8f;
}

.subtitle {
  margin: 15px 0 40px;
  color: #555;
}

.cl-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  text-align: left;
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: flex-end;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-item i {
  font-size: 28px;
}

.contact-item h3 {
  margin: 0;
  color: #1d5b8f;
}

.contact-item p {
  margin: 0;
  color: #555;
}

.btn {
  display: inline-block;
  background: #f58220;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #e06f10;
}

.btn-outline {
  display: inline-block;
  margin: 15px 0;
  border: 2px solid #1d5b8f;
  color: #1d5b8f;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover {
  background: #1d5b8f;
  color: white;
}

.social-links {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}

.social-links a {
  text-decoration: none;
  color: #1d5b8f;
  font-weight: 500;
}

.social-links a:hover {
  color: #f58220;
}

.map iframe {
  border-radius: 10px;
}

.location-box p {
    margin-bottom: 12px;
}

/* FOOTER */

.footer {
    background: #174a73;
    text-align: center;
    padding: 15px;
    color: white;
    font-weight: 500;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .cl-grid {
    grid-template-columns: 1fr;
  }

  .contact-location {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .contact-box {
    align-items: center;
  }
}

/* BOTÃO HAMBURGUER */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-right: 22px;
}

/* MOBILE */
@media (max-width: 768px) {
  
  .menu-toggle {
    display: block;
  }

  .header nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #174a73;
    display: none;
    flex-direction: column;
  }

  .header nav ul {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .header nav.active {
    display: flex;
  }
}