/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:Inter,Segoe UI, system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial;line-height:1.5;color:#102a12;background:#fff;display:flex;flex-direction:column;min-height:100vh}

/* Cores */
:root{
  --green-700:#0a7d3d;
  --green-500:#19a34a;
  --orange-600:#ff7f11;
  --orange-500:#ff944d;
  --muted:#f4f6f5;
  --card-shadow: 0 8px 20px rgba(6,24,18,0.08);
}

/* NAVBAR */
.header{
  background:linear-gradient(90deg,var(--green-700),var(--green-500));
  color:#fff;position:sticky;top:0;z-index:999;box-shadow:0 6px 18px rgba(6,24,18,0.12)
}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px}
.brand .logo{width:42px;height:42px;border-radius:8px;background:linear-gradient(135deg,#27b86a,#0a7d3d);display:grid;place-items:center;color:#fff;font-weight:800}
.nav{display:flex;gap:20px;align-items:center}
.nav a{color:rgba(255,255,255,0.95);text-decoration:none;font-weight:600}
.cta{background:var(--orange-600);color:#fff;padding:10px 16px;border-radius:14px;text-decoration:none;font-weight:700;box-shadow:0 6px 16px rgba(255,127,17,0.15)}
.menu-toggle{display:none;color:#fff;font-size:24px;cursor:pointer}

/* HERO */
.hero{min-height:78vh;background-image:url('hero.jpg');background-size:cover;background-position:center;position:relative;display:flex;align-items:center}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,125,61,0.78) 0%, rgba(10,125,61,0.55) 40%, rgba(255,255,255,0) 100%)}
.hero-inner{position:relative;z-index:2;display:flex;gap:40px;align-items:center;justify-content:space-between;width:100%;padding:60px 20px}
.hero-text{max-width:640px;color:#fff}
.hero h1{font-size:44px;line-height:1.02;margin-bottom:18px;font-weight:800;letter-spacing:-0.02em}
.hero p{color:rgba(255,255,255,0.92);margin-bottom:18px}
.hero .btn{background:var(--orange-600);padding:14px 20px;border-radius:12px;color:#fff;display:inline-block;font-weight:700;box-shadow:0 8px 20px rgba(10,125,61,0.12)}

/* features bar */
.features{background:#fff;padding:18px 0;margin-top:-32px;box-shadow:0 10px 30px rgba(11,30,18,0.05);border-radius:12px;max-width:1100px;margin-left:auto;margin-right:auto;position:relative;z-index:3}
.features-grid{display:flex;gap:24px;justify-content:space-between;padding:12px 24px}
.feature{display:flex;gap:12px;align-items:center}
.feature .ico{width:44px;height:44px;border-radius:10px;background:linear-gradient(180deg,#eaf9ee, #f1fff5);display:grid;place-items:center;color:var(--green-700);font-weight:700}

/* sections */
.section{padding:70px 20px}
.section h2{font-size:30px;color:var(--green-700);margin-bottom:18px}

/* Quem somos */
.about{display:grid;grid-template-columns:1fr 420px;gap:32px;align-items:center;max-width:1100px;margin:0 auto}
.about .card{background:#fff;padding:22px;border-radius:14px;box-shadow:var(--card-shadow)}
.about img{width:100%;border-radius:12px}

/* Services grid */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1100px;margin:0 auto}
.service{background:#fff;border-radius:14px;padding:20px;box-shadow:var(--card-shadow);text-align:center}
.service .ico{width:60px;height:60px;border-radius:10px;margin:0 auto 12px;background:linear-gradient(180deg,#eaf9ee,#f1fff5);display:grid;place-items:center;font-size:28px}
.service h3{color:var(--green-700);margin-bottom:8px}
.service p{color:#5b6a63;margin-bottom:12px}
.service a{display:inline-block;padding:8px 12px;background:var(--orange-500);color:#fff;border-radius:10px;text-decoration:none;font-weight:700}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:1100px;margin:0 auto}
.gallery-grid img{width:100%;height:170px;object-fit:cover;border-radius:10px;transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;box-shadow:0 8px 18px rgba(8,20,14,0.06)}
.gallery-grid img:hover{transform:scale(1.05); box-shadow:0 12px 24px rgba(8,20,14,0.15); filter: brightness(1.1)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;max-width:1100px;margin:0 auto}
.form input,.form textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #dfe8e3;margin-bottom:12px}
.form button{background:var(--orange-600);color:#fff;padding:12px 18px;border-radius:10px;border:none;font-weight:700}

/* Footer */
.footer{background:linear-gradient(90deg,var(--green-700),var(--green-500));color:#fff;padding:36px 20px;margin-top:auto;text-align:center}

/* Responsive */
@media(max-width:1000px){.services-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr}}
@media(max-width:700px){
  .nav{display:none}
  .menu-toggle{display:block}
  .hero{min-height:60vh;padding-bottom:40px}
  .hero h1{font-size:30px}
  .features-grid{flex-direction:column;gap:12px;align-items:stretch}
  .services-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero-inner{flex-direction:column;align-items:flex-start}
}

/* Generic card helpers */
.card{background:#fff;border-radius:14px;box-shadow:var(--card-shadow);padding:20px}
.center{text-align:center}

/* Partners slider */
.partners-slider{position:relative;overflow:hidden;padding:10px 0}
.partners-track{display:flex;gap:16px;transition:transform .5s ease;will-change:transform}
.partner-card{flex:0 0 auto;width:260px}
.partner-logo{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#eaf9ee,#dff7e8);display:grid;place-items:center;font-size:28px;margin:0 auto 10px;color:var(--green-700);font-weight:800}
.partner-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.partner-name{font-weight:800;color:var(--green-700)}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background:#fff;box-shadow:var(--card-shadow);cursor:pointer;color:#1b3e27;font-size:20px;display:grid;place-items:center}
.slider-btn.prev{left:-4px}
.slider-btn.next{right:-4px}
.slider-dots{display:flex;justify-content:center;gap:8px;margin-top:12px}
.slider-dots .dot{width:8px;height:8px;border-radius:999px;background:#cfe3d8;transition:width .2s ease}
.slider-dots .dot.active{background:var(--green-700);width:18px}

/* Partner image box */
.partner-thumb{width:140px;height:84px;border-radius:12px;border:2px dashed #cfe3d8;background:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;overflow:hidden}
.partner-thumb img{max-width:100%;max-height:100%;object-fit:contain}

/* Reveal animation (right -> left) */
.reveal{opacity:0;transform:translateX(40px);transition:opacity .6s ease, transform .6s ease;will-change:opacity,transform}
.reveal.in-view{opacity:1;transform:translateX(0)}

/* Generic cards grid (3 cols) */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1100px;margin:0 auto}
@media(max-width:1000px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.cards-grid{grid-template-columns:1fr}}

/* Partners grid (format style like screenshot) */
.partners-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.partner-tile{background:#fff;border:1px solid #e2ebe6;border-radius:20px;border-top-left-radius:46px;height:140px;display:flex;align-items:center;justify-content:center;box-shadow:var(--card-shadow);padding:18px;overflow:hidden}
.partner-tile img{max-width:80%;max-height:80%;object-fit:contain}
@media(max-width:1000px){.partners-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.partners-grid{grid-template-columns:repeat(2,1fr)}}

/* Highlight pill for heading */
.highlight-pill{position:relative;display:inline-block;padding:0 8px}
.highlight-pill::after{content:'';position:absolute;inset:-6px -10px;border:3px solid var(--green-500);border-radius:999px;pointer-events:none}

/* Sticky header enhancement */
.header.sticky {
  background: rgba(10, 125, 61, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(6,24,18,0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.close {
  position: absolute;
  top: -10px;
  right: -10px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive lightbox */
@media(max-width:700px) {
  .close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
/* ===== HEADER / MENU AJUSTADO ===== */
.header {
  background: linear-gradient(90deg, #0a7d3d, #19a34a);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(6,24,18,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav .menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav .menu li a:hover {
  color: #ff944d;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .cta {
  background: #ff7f11;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header .cta:hover {
  background: #ff944d;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 900px) {
  .nav .menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
/* ===== HEADER / MENU CORRIGIDO ===== */
.header {
  background: linear-gradient(90deg, #0a7d3d, #19a34a);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(6, 24, 18, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav {
  flex-grow: 1;
  display: flex;
  justify-content: center; /* centraliza o menu */
}

.nav ul,
.nav .menu,
.nav .menu-menu-principal-container ul {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  display: inline-block;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ff944d;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .cta {
  background: #ff7f11;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header .cta:hover {
  background: #ff944d;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 900px) {
  .nav ul {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
/* ===== SLIDER HOME ===== */
.home-slider {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}
.rev_slider_wrapper, .rev_slider {
  width: 100% !important;
  max-width: 100% !important;
}
/* ===== MENU ALONSUS — Corrigir texto e espaçamento ===== */
.main-navigation ul {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 25px !important;
}

.main-navigation li {
  white-space: nowrap !important; /* força linha única */
}

.main-navigation a {
  display: inline-block !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 10px 15px !important;
  transition: all 0.3s ease !important;
  line-height: 1.4 !important;
}

/* Hover */
.main-navigation a:hover {
  color: #ffb800 !important;
}

/* Botão “Solicitar Serviço” */
.main-navigation .menu-item:last-child a {
  background-color: #ff7b00 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.main-navigation .menu-item:last-child a:hover {
  background-color: #ff8f1a !important;
}
/* ===== ALONSUS FULL WIDTH ===== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.site-main, .page-content, .elementor-section, .elementor-container, .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.elementor-section {
  --content-width: 100%;
}
/
/* ===== FUNDO GRADIENTE ALONSUS (VERTICAL) ===== */
body {
  background: linear-gradient(180deg, #008037 0%, #bde2c0 60%, #ffffff 100%) !important;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


/* ===== MENU PRINCIPAL - SUBMENU ===== */
.main-nav ul.sub-menu {
  background-color: #007b3a; /* fundo verde escuro */
  border-radius: 8px;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 9999;
}

.main-nav li:hover > ul.sub-menu {
  display: block;
}

.main-nav ul.sub-menu li a {
  display: block;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.main-nav ul.sub-menu li a:hover {
  background-color: #00b050; /* verde mais claro ao passar o rato */
}
