/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-Light.ttf'); font-weight: 300; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-Regular.ttf'); font-weight: 400; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-Medium.ttf'); font-weight: 500; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-SemiBold.ttf'); font-weight: 600; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-Bold.ttf'); font-weight: 700; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-ExtraBold.ttf'); font-weight: 800; }
@font-face { font-family: 'LibreFranklin'; src: url('assets/fonts/LibreFranklin-Black.ttf'); font-weight: 900; }

:root {
  --terracota: #D84725;
  --amarelo: #F5C842;
  --marrom: #6D3A17;
  --bege: #F2EBD9;
  --bege-escuro: #E8DCC5;
  --branco: #FDFAF4;
  --texto: #2C1A0E;
  --texto-medio: #5C3D1E;

  --container: 1160px;
  --radius: 16px;
  --gap: 2rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'LibreFranklin', system-ui, sans-serif;
  font-weight: 400;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =====================
   TIPOGRAFIA
   ===================== */
h1, h2, h3 { font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracota);
  background: rgba(216, 71, 37, 0.1);
  padding: 0.3em 0.8em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.label-light {
  color: var(--amarelo);
  background: rgba(245, 200, 66, 0.15);
}

.secao-sub {
  font-size: 1.1rem;
  color: var(--texto-medio);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

/* =====================
   BOTÕES
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracota);
  color: #fff;
}
.btn-primary:hover { background: #c23d1f; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--marrom);
  padding: 0.85rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }

.btn-nav {
  background: var(--amarelo);
  color: var(--marrom) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  opacity: 1 !important;
}
.btn-nav:hover { background: #e8b830 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(109, 58, 23, 0.55) 0%,
    rgba(109, 58, 23, 0.75) 50%,
    rgba(109, 58, 23, 0.9) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  padding: 8rem 1.5rem 4rem;
}
.hero-logo {
  height: 72px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}
.hero-tagline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  z-index: 1;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   SOBRE
   ===================== */
.sobre {
  padding: 6rem 0;
  background: var(--branco);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sobre-texto h2 { margin-bottom: 1.25rem; }
.sobre-texto p {
  color: var(--texto-medio);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.sobre-pilares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.pilar {
  background: var(--bege);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.pilar-icone { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.pilar strong { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.pilar p { font-size: 0.88rem; color: var(--texto-medio); margin: 0; }

.sobre-imagens {
  position: relative;
  height: 480px;
}
.img-principal {
  width: 75%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  position: absolute;
  top: 0; right: 0;
}
.img-secundaria {
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  position: absolute;
  bottom: 0; left: 0;
  border: 5px solid var(--branco);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* =====================
   COMO FUNCIONA
   ===================== */
.como-funciona {
  padding: 6rem 0;
  background: var(--marrom);
  color: #fff;
  text-align: center;
}
.como-funciona h2 { color: var(--amarelo); margin-bottom: 0.5rem; }
.como-funciona .secao-sub { color: rgba(255,255,255,0.7); margin-bottom: 3.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: left;
  margin-top: 3rem;
}
.card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: background 0.2s, transform 0.2s;
}
.card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.card-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amarelo);
  opacity: 0.6;
  margin-bottom: 1rem;
}
.card-icone {
  width: 44px;
  height: 44px;
  color: var(--amarelo);
  margin-bottom: 1rem;
}
.card-icone svg { width: 44px; height: 44px; }
.card h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.1rem; }
.card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 1.25rem; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amarelo);
  background: rgba(245, 200, 66, 0.15);
  padding: 0.25em 0.75em;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.card-tag--breve {
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* =====================
   PARA QUEM
   ===================== */
.para-quem {
  padding: 6rem 0;
  background: var(--bege);
}
.para-quem h2 { margin-bottom: 3rem; }

.perfis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.perfil {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(109,58,23,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.perfil:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(109,58,23,0.14);
}
.perfil-foto {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.perfil-texto {
  padding: 1.5rem;
}
.perfil-texto h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.perfil-texto p { font-size: 0.9rem; color: var(--texto-medio); line-height: 1.65; }

/* =====================
   PARCEIROS
   ===================== */
.parceiros {
  padding: 6rem 0;
  background: var(--terracota);
  color: #fff;
}
.parceiros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.parceiros-texto h2 { color: #fff; margin-bottom: 1.25rem; }
.parceiros-texto p { opacity: 0.88; margin-bottom: 1.5rem; font-size: 1.05rem; }
.parceiros-lista {
  margin-bottom: 2rem;
}
.parceiros-lista li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
  font-size: 0.95rem;
}
.parceiros-lista li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amarelo);
  font-weight: 700;
}
.parceiros-foto img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.parceiros .btn-primary {
  background: var(--amarelo);
  color: var(--marrom);
}
.parceiros .btn-primary:hover { background: #e8b830; }

/* =====================
   LEADS
   ===================== */
.leads {
  padding: 6rem 0;
  background: var(--bege-escuro);
  text-align: center;
}
.leads h2 { margin-bottom: 0.75rem; }
.leads-sub {
  font-size: 1.05rem;
  color: var(--texto-medio);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.leads-form { max-width: 600px; margin: 0 auto; }
.leads-campos {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.leads-campos input {
  flex: 1;
  min-width: 180px;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--bege-escuro);
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--texto);
  outline: none;
  transition: border-color 0.15s;
}
.leads-campos input:focus { border-color: var(--terracota); }
.leads-campos input::placeholder { color: #999; }
.leads-aviso {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #999;
}

/* =====================
   CONTATO
   ===================== */
.contato {
  padding: 6rem 0;
  background: var(--marrom);
  color: #fff;
  text-align: center;
}
.contato h2 { color: var(--amarelo); margin-bottom: 0.5rem; }
.contato > .container > p {
  opacity: 0.75;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}
.contato-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.contato-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.contato-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  transform: translateY(-2px);
}
.contato-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #3A1E0A;
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 0;
  text-align: center;
}
.footer img { margin: 0 auto 1rem; opacity: 0.7; }
.footer p { font-size: 0.9rem; margin-bottom: 0.25rem; }
.footer-copy { font-size: 0.78rem; opacity: 0.5; margin-top: 1rem; }

/* =====================
   RESPONSIVO
   ===================== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-imagens { height: 320px; }
  .img-principal { height: 260px; }
  .img-secundaria { height: 160px; }
  .parceiros-inner { grid-template-columns: 1fr; gap: 3rem; }
  .parceiros-foto { display: none; }
  .perfis { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--marrom);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 100; }
  .cards { grid-template-columns: 1fr; }
  .hero-tagline { font-size: 1.75rem; }
  .hero-sub { font-size: 0.95rem; }
  .contato-links { flex-direction: column; align-items: center; }
  .contato-item { width: 100%; max-width: 320px; justify-content: center; }
  .sobre-pilares { grid-template-columns: 1fr; }
}
