/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  --green:        #02935C;
  --green-dark:   #027349;
  --green-light:  #5cb85c;
  --green-mid:    #3a8a3a;
  --green-deep:   #2d6e2d;
  --yellow:       #c9a227;
  --white:        #ffffff;
  --gray-bg:      #f4f4f4;
  --gray-light:   #f2f2f2;
  --text:         #1e1e1e;
  --text-muted:   #444444;
  --text-light:   rgba(255,255,255,0.75);

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;

  --shadow-card:  0 6px 28px rgba(0,0,0,0.12);
  --shadow-form:  0 10px 40px rgba(0,0,0,0.16);

  --transition:   0.22s ease;

  --section-pad:  80px 0;
  --section-pad-lg: 120px 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 999px !important; }


/* ═══════════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════════ */
.topbar {
  position: relative;
  padding: 6px 0;
  font-size: 0.80rem;
  color: #fff;
  z-index: 999;
}

.topbar .addr {
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar .addr i { color: var(--green); }

.topbar .lang {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.topbar .lang img {
  width: 18px;
  border-radius: 2px;
}

.topbar .whats-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.topbar .whats-block a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.78rem;
}
.topbar .whats-block span {
  color: #fff;
  font-size: 0.80rem;
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar-main {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 1000;
  overflow: visible;
}

.navbar-row {
  display: flex;
  align-items: center;
  min-height: 58px;
  position: relative;
}

.navbar-main .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff !important;
  padding: 18px 20px !important;
  transition: background var(--transition);
}
.navbar-main .nav-link:hover {
  background: rgba(255,255,255,0.12);
}

.btn-orcamento {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px !important;
  border: 2px solid rgba(255,255,255,0.3);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-orcamento:hover { background: var(--green-dark) !important; }

.navbar-toggler-custom {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  z-index: 1001;
  flex-shrink: 0;
}

/* ── Logo desktop: absoluta ao centro ── */
.navbar-logo-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -100px;
  z-index: 999;
  pointer-events: auto;
}

.logo-diamond {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.navbar-logo-img {
  height: 170px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Menu mobile dropdown ── */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.mobile-nav.open {
  display: block;
}
.mobile-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #000000 !important;
  padding: 12px 4px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: padding var(--transition), background var(--transition);
}
.mobile-nav .nav-link:hover {
  background: rgba(0,0,0,0.05);
  padding-left: 10px !important;
}


/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: url('home_topo.jpg') center 60% / cover no-repeat;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: 52px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 0 100%);
  margin-bottom: -123px;
  margin-top: -180px;
  z-index: 1;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.hero h1 strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4.2rem;
  display: block;
  line-height: 1.0;
  letter-spacing: 1px;
}

.btn-frota {
  display: inline-block;
  position: relative;
  z-index: 3;
  margin-top: 28px;
  background: #fff;
  color: var(--green);
  border: 2px solid #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-frota:hover {
  background: transparent;
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   SOBRE NÓS
═══════════════════════════════════════════════════════════════ */
.sobre-section {
  padding: var(--section-pad);
  background: #fff;
}

.sobre-section .img-sobre { width: 100%; }

.sobre-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.sobre-section p {
  font-size: 0.93rem;
  line-height: 1.70;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sobre-section strong { color: var(--text); }


/* ═══════════════════════════════════════════════════════════════
   CARDS VERDES
═══════════════════════════════════════════════════════════════ */
.cards-section {
  background: var(--gray-light);
  padding: 64px 0;
}

.card-green {
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-green:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.card-green-1 { background: var(--green-light); }
.card-green-2 { background: var(--green-mid); }
.card-green-3 { background: var(--green-deep); }

.card-green .icon-wrap {
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  width: 98px;
  height: 98px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
}

.card-green h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.card-green p {
  font-size: 0.92rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.65;
}

.plane-round { width: 100%; }


/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats-section {
  background: #fff;
  padding: 64px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.stat-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--green);
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  color: var(--text);
  line-height: 1;
}

.stat-unit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.90rem;
  color: #111;
  margin-top: 4px;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════
   CONTATO
═══════════════════════════════════════════════════════════════ */
.contato-section {
  background: var(--green-dark);
  padding: 172px 0;
  clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
}

.contato-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.73rem;
  color: rgba(255,255,255,0.90);
  line-height: 1.40;
}
.contato-title strong {
  font-weight: 800;
  color: #fff;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-form);
}

.form-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 24px;
}

.form-card .form-control {
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  padding: 10px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-card .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(2,147,92,0.14);
  outline: none;
}

.btn-send {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px;
  transition: background var(--transition);
  cursor: pointer;
}
.btn-send:hover { background: var(--green-dark); }


/* ═══════════════════════════════════════════════════════════════
   PULVERIZAÇÃO TOTAL
═══════════════════════════════════════════════════════════════ */
.pulv-section {
  background: url('background_rodape.jpg') center / cover no-repeat;
  padding-top: 233px;
  padding-bottom: 133px;
  clip-path: polygon(0 120px, 100% 0, 100% 100%, 0 100%);
  margin-top: -123px;
}

.pulv-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  color: #fff;
  line-height: 1.05;
  margin-top: 8px;
}

.pulv-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  max-width: 440px;
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER — CENTRALIZADO EM TODOS OS BREAKPOINTS
═══════════════════════════════════════════════════════════════ */
footer {
  background: linear-gradient(135deg, #04572D 0%, #02935C 100%);
  padding: 92px 0 68px;
  color: var(--text-light);
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  text-align: center;
}

/* Todas as colunas do footer centralizadas */
footer [class*="col-"] {
  text-align: center !important;
}

.footer-logo-box {
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: inline-block;
  margin: 0 auto 18px;
}

.footer-logo .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.3rem;
  color: #fff;
  letter-spacing: 2px;
}

.footer-logo .tagline-f {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

/* Imagem da logo no footer: centralizada */
footer img {
  margin: 0 auto;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
  text-decoration: none;
}
.social-row a:hover { background: rgba(255,255,255,0.25); }

footer h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

footer a.flink {
  display: block;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 1.00rem;
  margin-bottom: 8px;
  transition: color var(--transition);
  text-align: center;
}
footer a.flink:hover { color: #fff; }

footer nav.d-flex {
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column;
}

.footer-hr {
  border-color: rgba(255,255,255,0.12);
  margin: 28px 0 16px;
}

.footer-copy {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.40);
  text-align: center;
}

/* "desenvolvido por" + stagee: centralizados */
footer .stagee-wrap,
footer [class*="stagee"] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal-section,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-duration: 0.75s;
  will-change: opacity, transform;
}

.reveal-up      { transform: translateY(48px); }
.reveal-left    { transform: translateX(-56px); }
.reveal-right   { transform: translateX(56px); }
.reveal-section { transform: translateY(32px); }

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.40s; }

.reveal-section.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 991px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

  /* ── NAVBAR: fundo BRANCO no tablet ── */
  .navbar-main {
    background: #ffffff !important;
    position: relative;
    z-index: 1000;
  }

  /* Ícone hamburguer fica escuro sobre fundo branco */
  .navbar-toggler-custom {
    color: var(--green) !important;
  }

  .navbar-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    min-height: auto;
    position: static;
  }

  /* Logo entra no fluxo normal */
  .navbar-logo-wrap {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 4px 0;
  }
  .navbar-logo-img {
    height: 68px !important;
    content: url('logo_mobile.png');
  }
  .logo-diamond    {
    padding: 5px 10px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .navbar-toggler-custom {
    position: static !important;
    transform: none !important;
    order: 3;
    font-size: 1.5rem;
    padding: 4px 10px;
  }

  /* Hero */
  .hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 440px;
    padding-top: 60px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
  }
  .hero h1 strong { font-size: 2.6rem; }

  /* Sections */
  .contato-section {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    padding: 100px 0 80px;
  }
  .pulv-section {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    padding-top: 120px;
    padding-bottom: 80px;
    margin-top: 0;
  }
  footer {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    margin-top: 0;
    padding-top: 60px;
    text-align: center;
  }

  .sobre-section h2 { font-size: 2.2rem; }
  .pulv-section h2  { font-size: 3rem; }
  .plane-round      { max-width: 380px; margin: 20px auto 0; }
  .stat-item        { margin-bottom: 32px; }
  .form-card        { padding: 40px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 767px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── NAVBAR: fundo BRANCO no mobile ── */
  .navbar-main {
    background: #ffffff !important;
  }

  /* Hamburguer escuro */
  .navbar-toggler-custom {
    color: var(--green) !important;
  }

  .navbar-row { padding: 6px 0; }
  .navbar-logo-img {
    height: 56px !important;
    content: url('logo_mobile.png');
  }
  .logo-diamond {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Topbar some */
  .topbar { display: none !important; }

  /* Hero flat no mobile */
  .hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clip-path: none !important;
    min-height: 320px;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .hero h1        { font-size: 1.1rem; }
  .hero h1 strong { font-size: 2rem; }

  .sobre-section   { padding: 48px 0; }
  .sobre-section h2 { font-size: 1.8rem; }
  .sobre-section .img-sobre { height: 240px; object-fit: cover; }

  .cards-section   { padding: 48px 0; }
  .card-green {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stats-section   { padding: 48px 0; }
  .stat-item       { margin-bottom: 24px; }
  .stat-num        { font-size: 2.4rem; }

  .contato-section {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    padding: 70px 0 60px;
  }
  .contato-title  { font-size: 1.3rem; margin-bottom: 28px; }
  .form-card      { padding: 28px 16px; }
  .form-card h5   { font-size: 1.4rem; }

  .pulv-section {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    padding-top: 80px;
    padding-bottom: 60px;
    margin-top: 0 !important;
  }
  .pulv-section h2 { font-size: 2.2rem; }
  .pulv-section p  { max-width: 100%; }

  /* Footer mobile: tudo centralizado */
  footer {
    clip-path: polygon(0 15px, 100% 0, 100% 100%, 0 100%);
    margin-top: 0 !important;
    padding: 55px 0 40px;
    text-align: center !important;
  }
  footer [class*="col-"]  { text-align: center !important; }
  footer nav.d-flex       { justify-content: center !important; align-items: center !important; flex-direction: column; }
  .footer-copy            { text-align: center !important; }
  .social-row             { justify-content: center !important; }
  footer img              { margin: 0 auto !important; }

  .plane-round { max-width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════
   SMALL MOBILE  (≤ 575px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 575px) {

  .navbar-logo-img { height: 48px !important; }
  .logo-diamond    { padding: 4px 8px !important; }

  .hero h1 strong  { font-size: 1.75rem; }
  .hero            { min-height: 260px; padding-top: 30px; }

  .sobre-section h2 { font-size: 1.6rem; }

  .pulv-section h2 { font-size: 1.8rem; }

  .stat-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 8px;
  }

  .form-card { padding: 22px 12px; }
}