/* ===== TOKENS ===== */
:root {
  --navy:   #2A5980;
  --sage:   #7A9060;
  --orange: #D05C28;
  --cream:  #F9F5EF;
  --dark:   #1E2A35;
  --mid:    #4A5E6A;
  --light:  #EFF4F0;
  --white:  #FFFFFF;
  --shadow: 0 6px 32px rgba(42,89,128,.13);
  --rad:    14px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(249,245,239,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(122,144,96,.18);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  color: var(--mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: #fff;
  padding: 9px 22px; border-radius: 40px;
  font-weight: 800; font-size: .88rem;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(208,92,40,.35); }
@media(max-width:700px){
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(122,144,96,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(42,89,128,.09) 0%, transparent 60%),
    var(--cream);
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 360px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(122,144,96,.15);
  border: 1px solid rgba(122,144,96,.3);
  color: var(--sage); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 40px;
  margin-bottom: 20px;
}
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); display: inline-block; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--dark);
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p {
  font-size: 1.1rem; line-height: 1.75;
  color: var(--mid); max-width: 500px;
  margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--navy); color: #fff;
  padding: 14px 30px; border-radius: 40px;
  font-weight: 800; font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 14px 30px; border-radius: 40px;
  border: 2px solid var(--navy);
  font-weight: 800; font-size: .95rem;
  transition: background .15s, color .15s;
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

.hero-visual { flex: 1 1 320px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; }
.hero-img-card {
  border-radius: var(--rad); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.hero-img-card:hover { transform: scale(1.03); }
.hero-img-card img { width: 100%; height: 200px; object-fit: cover; }
.hero-img-card.tall { grid-row: span 2; }
.hero-img-card.tall img { height: 100%; min-height: 414px; }

/* ===== NÚMEROS / STATS ===== */
.stats {
  background: var(--navy);
  padding: 48px 5%;
  display: flex; gap: 0; flex-wrap: wrap;
  justify-content: center;
}
.stat-item {
  flex: 1 1 180px; text-align: center;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--orange);
}
.stat-label { color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 600; margin-top: 4px; }

/* ===== SECTION GENERIC ===== */
section { padding: 80px 5%; }
.section-tag {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.18;
  color: var(--dark); margin-bottom: 14px;
}
.section-title em { font-style: normal; color: var(--orange); }
.section-sub {
  color: var(--mid); font-size: 1.05rem; line-height: 1.7;
  max-width: 560px; margin-bottom: 48px;
}

/* ===== CATEGORIAS ===== */
#categorias { background: var(--light); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid rgba(42,89,128,.1);
  border-radius: var(--rad);
  padding: 24px 20px 22px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--rad) var(--rad) 0 0;
}
.cat-card.orange::before { background: var(--orange); }
.cat-card.sage::before   { background: var(--sage);   }
.cat-card.navy::before   { background: var(--navy);   }

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cat-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.cat-card.orange .cat-icon-wrap { background: #FBF0EA; color: var(--orange); }
.cat-card.sage   .cat-icon-wrap { background: #EDF1E8; color: var(--sage);   }
.cat-card.navy   .cat-icon-wrap { background: #E6EFF7; color: var(--navy);   }

.cat-name {
  font-weight: 800; font-size: .97rem;
  color: var(--dark); margin-bottom: 8px;
}
.cat-desc {
  font-size: .82rem; color: var(--mid); line-height: 1.58;
}

/* ===== GALERIA ===== */
#galeria { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--rad); overflow: hidden;
  box-shadow: 0 2px 14px rgba(42,89,128,.09);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(30,42,53,.85));
  color: #fff; padding: 40px 16px 14px;
  font-weight: 700; font-size: .88rem;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* ===== QUEM SOMOS ===== */
#sobre {
  background: var(--navy);
  display: flex; gap: 60px; flex-wrap: wrap; align-items: center;
}
#sobre .sobre-text { flex: 1 1 340px; }
#sobre .section-tag { color: rgba(255,255,255,.55); }
#sobre .section-title { color: #fff; }
#sobre .section-sub { color: rgba(255,255,255,.72); margin-bottom: 28px; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.values-list li {
  display: flex; align-items: flex-start; gap: 14px;
  color: rgba(255,255,255,.85); font-size: .97rem; line-height: 1.55;
}
.val-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.sobre-qr { flex: 0 0 auto; text-align: center; }
.sobre-qr img {
  width: 180px; border-radius: var(--rad);
  background: #fff; padding: 10px;
}
.sobre-qr p {
  color: rgba(255,255,255,.6); font-size: .82rem;
  margin-top: 10px; font-weight: 600;
}

/* ===== PROCESSO ===== */
#processo { background: var(--light); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px; position: relative;
}
.step-card {
  background: #fff; border-radius: var(--rad);
  padding: 30px 24px;
  box-shadow: 0 2px 14px rgba(42,89,128,.08);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(122,144,96,.2);
  line-height: 1;
  margin-bottom: 14px;
}
.step-title { font-weight: 800; font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.step-desc { color: var(--mid); font-size: .9rem; line-height: 1.6; }

/* ===== CTA FINAL ===== */
#contato {
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(208,92,40,.15) 0%, transparent 70%),
    var(--cream);
  text-align: center;
  padding: 100px 5%;
}
#contato .section-title { margin: 0 auto 14px; }
#contato .section-sub { margin: 0 auto 40px; text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp {
  background: #25D366; color: #fff;
  padding: 16px 34px; border-radius: 40px;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.35); }
.btn-instagram {
  background: transparent; color: var(--navy);
  padding: 16px 34px; border-radius: 40px;
  border: 2px solid var(--navy);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; gap: 10px;
  transition: background .15s, color .15s;
}
.btn-instagram:hover { background: var(--navy); color: #fff; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: rgba(255,255,255,.55);
  text-align: center; padding: 32px 5%;
  font-size: .85rem; line-height: 1.9;
}
footer strong { color: rgba(255,255,255,.85); }

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  background: #25D366; color: #fff;
  padding: 14px 22px; border-radius: 50px;
  font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 30px rgba(37,211,102,.45);
  transition: transform .18s, box-shadow .18s;
  animation: float-pulse 3s ease-in-out infinite;
}
.float-wa:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 40px rgba(37,211,102,.55);
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,.7); }
}
.float-wa svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ===== MOBILE ===== */
@media(max-width: 640px) {
  .hero { padding-top: 88px; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-img-card.tall img { min-height: 220px; }
  .stats { gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .float-wa span { display: none; }
  .float-wa { padding: 15px; border-radius: 50%; }
}
