
/* ============================================
   WEB ECONÓMICA DOS HERMANAS — Styles
   Primary: #1B6B3A (forest green)
   Accent:  #E8500A (burnt orange)
============================================ */

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

:root {
  --primary: #1B6B3A;
  --primary-dark: #145230;
  --accent: #E8500A;
  --accent-dark: #C04007;
  --text: #1E2A1E;
  --text-light: #4A5568;
  --bg: #FFFFFF;
  --bg-alt: #F4F7F4;
  --bg-alt2: #FFF8F5;
  --border: #D8E8D8;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(27,107,58,0.10);
  --shadow-hover: 0 8px 32px rgba(27,107,58,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Segoe UI', Arial, sans-serif;
  --font-size-base: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; color: inherit; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1.2rem; color: var(--primary-dark); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; margin-bottom: 0.8rem; color: var(--primary); }
p  { margin-bottom: 1.2rem; font-size: 1.05rem; }
a  { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
strong { color: var(--primary-dark); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: .5rem; }

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-alt2 { background: var(--bg-alt2); }
.text-center { text-align: center; }
.section-label { display: inline-block; background: var(--accent); color: #fff; padding: .25rem .9rem; border-radius: 20px; font-size: .85rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; text-transform: uppercase; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  padding: 0 1.5rem;
}
.navbar-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none;
}
.logo-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: .35rem .7rem;
  border-radius: 8px;
  letter-spacing: .02em;
}
.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  white-space: nowrap;
}
.logo-text span { color: var(--accent); }

nav.main-nav { display: flex; align-items: center; gap: .2rem; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: .65rem 1rem;
  color: var(--text); font-weight: 600; font-size: .97rem;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  white-space: nowrap; cursor: pointer;
  background: none; border: none; font-family: var(--font);
}
.nav-link:hover, .nav-link:focus { background: var(--bg-alt); color: var(--primary); }
.nav-link.btn-nav {
  background: var(--accent); color: #fff;
  padding: .55rem 1.2rem; border-radius: 24px; margin-left: .5rem;
}
.nav-link.btn-nav:hover { background: var(--accent-dark); color: #fff; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: .5rem 0;
  z-index: 999;
  border: 1px solid var(--border);
}
.dropdown-menu.wide { min-width: 300px; columns: 2; column-gap: 0; }
.dropdown-menu a {
  display: block; padding: .55rem 1.2rem;
  color: var(--text); font-size: .95rem; font-weight: 500;
  transition: background .15s, color .15s;
  break-inside: avoid;
}
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .4rem; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all .3s; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav.main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1rem 1.5rem; box-shadow: var(--shadow);
    gap: 0; border-top: 1px solid var(--border);
  }
  nav.main-nav.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; columns: 1; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-link.btn-nav { margin: .5rem 0 0; text-align: center; }
}

/* ---- HERO ---- */
.hero {
  position: relative; overflow: hidden;
  min-height: 540px; display: flex; align-items: center;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(21,80,45,0.88) 0%, rgba(30,42,30,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: .7rem; }
.hero-subtitle { font-size: 1.25rem; opacity: .93; margin-bottom: 2rem; font-weight: 400; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.8rem; border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .2s; border: 2px solid transparent; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }
.btn-green { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-green:hover { background: var(--primary-dark); color: #fff; }

/* Hero variants (for inner pages) */
.hero-inner {
  min-height: 340px; padding: 70px 0 50px;
  position: relative;
}

/* ---- PRICING CARDS ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; transition: all .25s;
  position: relative; display: flex; flex-direction: column;
}
.price-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--accent); background: #FFF8F5;
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.badge-rec {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: .25rem .9rem; border-radius: 20px; font-size: .82rem; font-weight: 700;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--accent); margin: .8rem 0; }
.price-amount small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.price-consult { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin: .8rem 0; }
.price-features { list-style: none; padding: 0; text-align: left; margin: 1rem 0 1.5rem; flex: 1; }
.price-features li { padding: .4rem 0; border-bottom: 1px solid var(--border); font-size: .97rem; }
.price-features li::before { content: '✓ '; color: var(--primary); font-weight: 700; }

/* ---- STATS / CIFRAS ---- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.stat-number { font-size: clamp(2.5rem, 6vw, 3.8rem); font-weight: 900; color: var(--accent); line-height: 1; }
.stat-label { font-size: 1rem; color: var(--text-light); margin-top: .5rem; font-weight: 500; }

/* ---- CARDS GRID ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  transition: all .25s; border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-light); flex: 1; }
.card a.card-link { color: var(--accent); font-weight: 700; margin-top: .8rem; }

/* Sector cards */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.sector-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.2rem 1rem;
  text-align: center; transition: all .2s;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.sector-card:hover { border-color: var(--accent); background: var(--bg-alt2); color: var(--primary); box-shadow: var(--shadow); }
.sector-card .sc-icon { font-size: 2rem; }
.sector-card .sc-name { font-weight: 600; font-size: .97rem; }

/* Zone cards */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.zone-card {
  background: linear-gradient(135deg, var(--primary) 0%, #27AE60 100%);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; text-decoration: none;
  color: #fff; transition: all .25s;
}
.zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: #fff; }
.zone-card h3 { color: #fff; font-size: 1.15rem; }
.zone-card p { font-size: .92rem; opacity: .9; margin-bottom: 0; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.testimonial-name { font-weight: 700; color: var(--primary-dark); }
.testimonial-role { font-size: .88rem; color: var(--text-light); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: .6rem; }
.testimonial-text { font-style: italic; color: var(--text-light); font-size: .97rem; }

/* ---- PROCESS ---- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.process-step { text-align: center; }
.process-num { width: 60px; height: 60px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; margin: 0 auto 1rem; }
.process-step h3 { margin-bottom: .5rem; font-size: 1rem; }
.process-step p { font-size: .93rem; color: var(--text-light); }

/* ---- FAQ ---- */
.faq-list { margin-top: 1.5rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 1rem; overflow: hidden; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.4rem; cursor: pointer;
  background: var(--white); font-weight: 600; font-size: 1rem;
  transition: background .15s;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question .faq-icon { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 1.1rem 1.4rem; background: var(--bg-alt); font-size: .97rem; line-height: 1.7; color: var(--text-light); border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }

/* ---- CTA SECTION ---- */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #27AE60 100%); color: #fff; text-align: center; padding: 70px 0; }
.cta-section h2 { color: #fff; }
.cta-section p { opacity: .92; max-width: 600px; margin: 0 auto 2rem; }

/* ---- DIFFERENTIALS ---- */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.diff-item { display: flex; gap: 1rem; align-items: flex-start; }
.diff-icon { font-size: 2rem; flex-shrink: 0; margin-top: .2rem; }
.diff-text h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.diff-text p { font-size: .93rem; color: var(--text-light); margin: 0; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; border: 1px solid var(--border); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-img { height: 200px; background: linear-gradient(135deg, var(--primary) 0%, #27AE60 100%); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { font-size: .85rem; color: var(--text-light); margin-bottom: .6rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .7rem; }
.blog-card p { font-size: .93rem; color: var(--text-light); }
.blog-card a.read-more { color: var(--accent); font-weight: 700; font-size: .93rem; }

/* ---- MAP ---- */
.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.5rem; }
.map-wrapper iframe { display: block; width: 100%; height: 400px; border: none; }

/* ---- CONTACT ---- */
.contact-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.contact-option { background: var(--white); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); }
.contact-option .co-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-option h3 { margin-bottom: .7rem; }
.contact-option p { color: var(--text-light); margin-bottom: 1.2rem; }

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed; bottom: 28px; left: 22px; z-index: 998;
  display: flex; flex-direction: column; gap: .6rem;
  align-items: flex-start;
}
.floating-btn {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.2rem; border-radius: 32px;
  font-weight: 700; font-size: .95rem; color: #fff;
  text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transition: all .2s; white-space: nowrap;
}
.floating-btn-phone { background: var(--accent); }
.floating-btn-phone:hover { background: var(--accent-dark); color: #fff; transform: scale(1.04); }
.floating-btn-wa { background: #25D366; }
.floating-btn-wa:hover { background: #1EBE57; color: #fff; transform: scale(1.04); }
.floating-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ---- FOOTER ---- */
footer {
  background: #0F2318; color: rgba(255,255,255,.85);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-badge { display: inline-block; margin-bottom: .8rem; }
.footer-brand p { font-size: .9rem; opacity: .8; }
footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: .5rem; }
footer ul li a { color: rgba(255,255,255,.75); font-size: .9rem; transition: color .15s; }
footer ul li a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; opacity: .7; }

/* ---- ARTICLE ---- */
.article-body { max-width: 820px; margin: 0 auto; }
.article-body p { font-size: 1.05rem; line-height: 1.9; }
.article-body h2 { margin-top: 2.5rem; }
.article-body h3 { margin-top: 1.8rem; }

/* ---- UTILITIES ---- */
.mb-0 { margin-bottom: 0!important; }
.mt-2 { margin-top: 2rem; }
.text-accent { color: var(--accent); }
.text-green { color: var(--primary); }
.breadcrumb { font-size: .87rem; color: var(--text-light); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.hero-inner .breadcrumb { opacity: .85; }

/* ---- Responsive hero inner ---- */
@media (max-width: 600px) {
  .hero { min-height: 400px; }
  .hero-inner { min-height: 260px; padding: 50px 0 35px; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

/* ---- Accessibility ---- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
