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

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

:root {
  --green:      #00C65E;   /* verde Aegro vibrante (destaque/ação) */
  --green-dark: #00A24C;   /* verde escuro para hover            */
  --green-deep: #0B5B33;   /* verde profundo (títulos sobre claro)*/
  --bark:       #5A3A22;   /* marrom da árvore (acento sutil)     */
  --ink:        #14241B;   /* texto principal (quase preto verde) */
  --ink-soft:   #5B6B62;   /* texto secundário cinza-esverdeado   */
  --bg:         #FFFFFF;   /* fundo branco                        */
  --bg-soft:    #F4F7F4;   /* cinza-verde muito claro             */
  --bg-mint:    #E8F7EE;   /* verde menta clarinho (faixas)       */
  --line:       #E2E8E4;   /* linhas/divisores                    */
  --white:      #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --maxw: 1200px;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- HEADER ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,242,234,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand .name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--green-deep); letter-spacing: -0.01em; line-height: 1; }
.brand .sub { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-dark); }
.menu { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.menu a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 1rem; border-radius: 999px; transition: all 0.2s ease;
}
.menu a:hover { color: var(--green-deep); background: var(--bg-soft); }
.menu a.active { color: var(--white); background: var(--green); }
.menu .cta-link { color: var(--white); background: var(--green); }
.menu .cta-link:hover { background: var(--green); color: var(--white); }
.burger { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--green-deep); }

/* ---------- HERO SLIDESHOW ---------- */
.hero-slider {
  position: relative; overflow: hidden;
  min-height: 88vh; color: #fff;
}
.slides { position: relative; width: 100%; min-height: 88vh; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1rem 4.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease;
  background-image: linear-gradient(180deg, rgba(11,91,51,0.45), rgba(11,91,51,0.8)), var(--bg);
  background-size: cover; background-position: center;
  overflow-y: auto;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-inner {
  max-width: 880px; padding: 1rem 2rem; text-align: center;
}
.slide-inner h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3); margin-bottom: 1rem;
}
.slide-inner > p {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.92);
  max-width: 46ch; margin: 0 auto;
}

/* Slide da marca (primeiro) */
.brand-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: 168px; height: auto; object-fit: contain;
  background: rgba(255,255,255,0.95); border-radius: 22px;
  padding: 16px 20px; margin-bottom: 1.4rem;
  box-shadow: 0 16px 54px -14px rgba(0,0,0,0.5);
}
.brand-inner h1 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 1.1rem;
}
.brand-inner h1 em { font-style: italic; color: #8DF0B8; }
.brand-inner > p { font-size: 1.1rem; max-width: 52ch; color: rgba(255,255,255,0.92); margin: 0 auto 1.8rem; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bg); padding: 0.4rem 0.9rem; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Setas e indicadores */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background 0.2s ease; z-index: 3;
}
.slider-arrow:hover { background: rgba(255,255,255,0.32); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }
.slider-dots {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; z-index: 3;
  display: flex; gap: 0.55rem; justify-content: center;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.45); transition: all 0.2s ease; padding: 0;
}
.slider-dots button.is-active { background: #fff; width: 26px; border-radius: 999px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.8rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: all 0.2s ease;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--green-deep); color: var(--white); }
.btn-dark:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ---------- STATS STRIP ---------- */
.stats {
  background: var(--green-deep); color: var(--bg);
}
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.stat { text-align: center; padding: 0.5rem; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--green); line-height: 1; }
.stat .lab { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246,242,234,0.7); margin-top: 0.5rem; }

/* ---------- SECTIONS ---------- */
section.block { padding: 5.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-dark); font-weight: 600; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--green-deep); margin: 0.6rem 0 0.8rem;
}
.section-head p { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-text .lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.about-media {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/5;
  background: url('field.jpg') center/cover;
  border: 1px solid var(--line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- GALERIA TECNOLOGIA ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem;
}
.shot {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; background: url('field.jpg') center/cover; border: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(11,91,51,0) 0%, rgba(11,91,51,0.88) 100%);
  color: #fff; font-size: 0.92rem; font-weight: 500; padding: 1.6rem 1rem 0.9rem; line-height: 1.3;
}

/* ---------- FAIXA DE FOTO ---------- */
.photo-strip {
  position: relative; min-height: 340px; display: flex; align-items: center;
  background: url('field.jpg') center/cover; overflow: hidden;
}
.photo-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-strip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,91,51,0.85) 0%, rgba(11,91,51,0.45) 60%, rgba(11,91,51,0.25) 100%); }
.photo-strip-text { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 2rem; color: #fff; width: 100%; }
.photo-strip-text h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.photo-strip-text p { font-size: 1.1rem; color: rgba(255,255,255,0.92); max-width: 44ch; }

/* ---------- EQUIPE ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 1100px; margin: 0 auto; }
.member {
  display: flex; flex-direction: column; gap: 1.3rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.8rem; transition: all 0.25s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -22px rgba(0,162,76,0.25); border-color: var(--green); }
.member-photo {
  width: 130px; height: 130px; border-radius: 50%; overflow: hidden;
  background: url('field.jpg') center/cover; border: 3px solid var(--bg-mint);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-info h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--green-deep); margin-bottom: 0.2rem; }
.member-info .role { color: var(--green); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.9rem; line-height: 1.5; }
.member-info .role .reg { font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; opacity: 0.85; }
.member-bio { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.creds { list-style: none; }
.creds li { color: var(--ink-soft); font-size: 0.9rem; padding-left: 1.5rem; position: relative; margin-bottom: 0.45rem; }
.creds li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* ---------- SERVICE CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 2rem 1.8rem; transition: all 0.25s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(0,162,76,0.25); border-color: var(--green); }
.card:hover::before { transform: scaleY(1); }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; background: var(--bg-mint);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--green-deep); margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card ul { list-style: none; margin-top: 1rem; }
.card ul li { color: var(--ink-soft); font-size: 0.93rem; padding-left: 1.3rem; position: relative; margin-bottom: 0.5rem; }
.card ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.card .num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-size: 1.2rem; color: #B7E8C9; font-weight: 600; }

/* ---------- CARD COM FOTO DE FUNDO ---------- */
.card-photo {
  border: none;
  background-image:
    linear-gradient(180deg, rgba(20,36,27,0.55) 0%, rgba(20,36,27,0.86) 100%),
    var(--cardbg), url('field.jpg');
  background-size: cover; background-position: center;
  color: #fff; min-height: 280px;
}
.card-photo::before { background: #fff; }
.card-photo:hover { border: none; box-shadow: 0 22px 48px -20px rgba(0,0,0,0.55); }
.card-photo .ic { background: rgba(255,255,255,0.18); backdrop-filter: blur(3px); }
.card-photo h3 { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.card-photo p { color: rgba(255,255,255,0.9); }
.card-photo ul li { color: rgba(255,255,255,0.88); }
.card-photo ul li::before { background: var(--green); }
.card-photo .num { color: rgba(255,255,255,0.55); }
.card-photo strong { color: #fff; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--green); color: var(--white); border-radius: 22px;
  padding: 3.5rem; text-align: center; margin: 0 2rem;
}
.cta-banner h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-banner .btn-light { background: var(--white); color: var(--green); }
.cta-banner .btn-light:hover { background: var(--bg); transform: translateY(-2px); }

/* ---------- CONTACT ---------- */
.contact-info-wrap { max-width: 760px; margin: 0 auto; }
.contact-intro { text-align: center; margin-bottom: 2rem; }
.contact-intro p { max-width: 48ch; margin: 0 auto; }

/* Destaque WhatsApp */
.wa-hero {
  display: flex; align-items: center; gap: 1.2rem; text-decoration: none;
  background: linear-gradient(135deg, #25D366, #128C5E);
  border-radius: 18px; padding: 1.6rem 1.8rem; color: #fff;
  box-shadow: 0 16px 38px -18px rgba(18,140,94,0.7);
  transition: all 0.25s ease;
}
.wa-hero:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -18px rgba(18,140,94,0.8); }
.wa-hero-icon {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center;
}
.wa-hero-text { display: flex; flex-direction: column; flex: 1; }
.wa-hero-text strong { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.wa-hero-text span { font-size: 0.92rem; color: rgba(255,255,255,0.9); margin-top: 0.2rem; }
.wa-hero-arrow { font-size: 1.6rem; flex-shrink: 0; transition: transform 0.25s ease; }
.wa-hero:hover .wa-hero-arrow { transform: translateX(5px); }

.contact-subtitle {
  text-align: center; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 2.4rem 0 1.2rem; font-weight: 600;
}
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem 1.6rem; display: flex; gap: 1rem; align-items: center;
  text-decoration: none;
}
.info-card .ic { font-size: 1.5rem; flex-shrink: 0; display: flex; align-items: center; }
.info-card h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 0.3rem; }
.info-card p { color: var(--ink); font-weight: 500; }

/* ---------- SUCCESS MSG (mantido p/ compatibilidade) ---------- */
.success-msg { display: none; }

/* ---------- FOOTER ---------- */
footer { background: var(--green-deep); color: rgba(246,242,234,0.85); padding: 3.5rem 0 2rem; margin-top: 5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.foot-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.foot-brand img { height: 40px; background: var(--bg); border-radius: 8px; padding: 3px; }
.foot-brand .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
footer h5 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
footer a { color: rgba(246,242,234,0.8); text-decoration: none; display: block; margin-bottom: 0.5rem; transition: color 0.2s; }
footer a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(246,242,234,0.15); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: rgba(246,242,234,0.55); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/10; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap, .nav { padding-left: 1.3rem; padding-right: 1.3rem; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem; gap: 0.3rem; }
  .menu.open { display: flex; }
  .menu a { width: 100%; }
  .burger { display: block; }
  .brand .sub { display: none; }
  section.block { padding: 3.5rem 0; }
  .hero-logo { width: 150px; padding: 14px 16px; }
  .team { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.2rem 1.5rem; margin: 0 1.3rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .wa-hero { padding: 1.3rem 1.4rem; gap: 1rem; }
  .wa-hero-icon { width: 52px; height: 52px; }
  .wa-hero-text strong { font-size: 1.1rem; }
  .wa-hero-arrow { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- BOTÃO FLUTUANTE WHATSAPP ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  display: flex; align-items: center; gap: 0; overflow: hidden;
  height: 60px; width: 60px; padding: 0 15px;
  background: #25D366; border-radius: 999px;
  box-shadow: 0 8px 24px -6px rgba(18,140,94,0.6);
  text-decoration: none; color: #fff; font-weight: 600; font-size: 1rem;
  transition: width 0.3s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  animation: waPop 0.5s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 1s;
}
.wa-float svg { flex-shrink: 0; }
.wa-float-label { opacity: 0; transition: opacity 0.2s ease; margin-left: 0; }
.wa-float:hover {
  width: 200px; box-shadow: 0 10px 30px -6px rgba(18,140,94,0.75);
}
.wa-float:hover .wa-float-label { opacity: 1; margin-left: 10px; }
@keyframes waPop { from { opacity: 0; transform: scale(0.6) translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  .wa-float { bottom: 16px; right: 16px; height: 56px; width: 56px; padding: 0 13px; }
  /* No celular não expande (espaço menor) — fica só o ícone redondo */
  .wa-float:hover { width: 56px; }
  .wa-float:hover .wa-float-label { opacity: 0; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
