/* =========================
   VARIÁVEIS DE CORES (LOGO)
========================= */
:root {
  --color-primary: #C89B3C;   /* dourado da logo */
  --color-secondary: #5FA89C; /* verde da logo */
  --color-bg: #F7F1E8;
  --color-section: #EFE4CE;
  --color-text: #4B3F2F;
  --color-muted: #8A7A66;
  --white: #ffffff;
}

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

/* =========================
   BASE
========================= */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: var(--color-primary);
}

h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* =========================
   HEADER
========================= */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0; /* barra fina */
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

/* NAV */
.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

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

/* =========================
   HERO
========================= */
.hero {
  padding: 130px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--color-muted);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-image img {
  width: 100%;
  border-radius: 18px;
}

/* BOTÃO */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

/* ===== CARROSSEL INFINITO ===== */

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: carousel-scroll 19s linear infinite;
}

.carousel-track img {
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 24px;
  flex-shrink: 0; /* MUITO IMPORTANTE */
}

/* anima exatamente metade do conteúdo */
@keyframes carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .carousel-track img {
    width: 260px;
    height: 180px;
  }
}

/* ===== O QUE SOMOS ===== */

.section-soft {
  background: #f7efe5;
}

.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text);
  line-height: 1.6;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
}

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

.about-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--primary);
}


/* =========================
   PARA QUEM É
========================= */
.for-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.for-who-item {
  background: var(--white);
  padding: 28px;
  border-radius: 18px;
  text-align: center;
}

.for-who-item h3 {
  margin-bottom: 12px;
}

.for-who-item p {
  color: var(--color-muted);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--color-section);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .for-who-grid {
    grid-template-columns: 1fr;
  }

  .nav a {
    margin-left: 16px;
  }
}
/* =========================
   CONTATO
========================= */
.contact {
  background: var(--color-section);
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Ícones */
.contact-icons {
  display: flex;
  gap: 40px;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.contact-icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.contact-icon:hover {
  transform: scale(1.05);
  color: var(--color-primary);
}

/* Info texto */
.contact-info {
  text-align: center;
  color: var(--color-muted);
  font-size: 15px;
}

.contact-info p {
  margin-bottom: 6px;
}
/* =========================
   HEADER / NAVBAR
========================= */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px; /* AUMENTA A BARRA */
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-text);
}

.logo img {
  width: 72px; /* TAMANHO DA LOGO */
  height: auto;
  display: block;
}

.logo strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}

/* NAV */
.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}
section + section {
  margin-top: 40px;
}
/* =========================
   AJUSTES RESPONSIVOS
   (NÃO afeta desktop)
========================= */

/* TABLET E CELULAR */
@media (max-width: 768px) {

  /* HEADER */
  .header-inner {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 16px 0;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* HERO */
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    text-align: center;
  }

  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }

  /* SEÇÕES */
  section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* FOOTER / CONTATO */
  .contact-content,
  .contact-icons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* CELULAR PEQUENO */
@media (max-width: 480px) {

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .carousel-track img {
    width: 260px;
    height: 180px;
  }
}
 
@media (max-width: 768px) {
  section + section {
    margin-top: 0;
  }
}
