:root {
    --verde-primario: #1A3626;
    --verde-secundario: #2C523A;
    --verde-claro: #EBF1ED;
    --dourado: #D4AF37;
    --dourado-claro: #E8C84A;
    --cta-wpp: #25D366;
    --cta-wpp-hover: #1ebe5a;
    --bg-light: #FDFDFB;
    --bg-white: #FFFFFF;
    --texto-dark: #1C1C1C;
    --texto-p: #4A5568;
    --borda: rgba(26,54,38,0.1);
  }

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

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-light);
    color: var(--texto-dark);
    overflow-x: hidden;
  }

  /* ─── TYPOGRAPHY & UTILS ─── */
  h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
  }
  .text-highlight { color: var(--dourado); font-style: italic; }
  .text-green { color: var(--verde-primario); }
  
  section { padding: 100px 5%; }
  .container { max-width: 1200px; margin: 0 auto; }
  
  .section-header { text-align: center; margin-bottom: 64px; }
  .section-label {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--dourado); margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  }
  .section-label::before, .section-label::after {
    content: ''; width: 30px; height: 1px; background: var(--dourado);
  }
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2;
    color: var(--verde-primario); letter-spacing: -0.01em; margin-bottom: 24px;
  }
  .section-subtitle {
    font-size: 1.1rem; font-weight: 300;
    color: var(--texto-p); line-height: 1.6;
    max-width: 700px; margin: 0 auto;
  }

  /* ─── NAVBAR ─── */
  #navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    padding: 20px 5%;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.4s ease;
  }
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borda);
    padding: 12px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  }
  .nav-logo {
    display: flex; align-items: center; text-decoration: none;
  }
  .nav-logo img {
    height: 65px;
    object-fit: contain;
    transition: all 0.4s ease;
  }
  #navbar:not(.scrolled) .nav-logo img {
    filter: brightness(0) invert(1);
  }
  
  .nav-cta {
    background: var(--cta-wpp);
    color: #fff; font-family: 'Outfit', sans-serif;
    font-weight: 600; font-size: 0.85rem;
    padding: 12px 24px; border-radius: 4px;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    letter-spacing: 0.03em; text-transform: uppercase;
    transition: all 0.3s ease;
  }
  .nav-cta:hover {
    background: var(--cta-wpp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
  }

  /* ─── HERO ─── */
  #hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; padding-top: 80px;
    overflow: hidden; background: var(--verde-primario);
  }
  .hero-bg {
    position: absolute; inset: 0;
    /* Imagem Gerada por IA inserida aqui */
    background: url('../images/hero-bg.png') center/cover no-repeat;
    opacity: 0.85;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,25,15,0.95) 0%, rgba(26,54,38,0.8) 50%, rgba(26,54,38,0.3) 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 800px; padding: 0 5%;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.1);
    padding: 8px 16px; border-radius: 4px;
    margin-bottom: 32px; backdrop-filter: blur(4px);
  }
  .hero-badge span {
    font-size: 0.75rem; font-weight: 500;
    color: var(--dourado); letter-spacing: 0.15em; text-transform: uppercase;
  }
  .hero-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700; line-height: 1.1;
    color: #fff; margin-bottom: 24px;
  }
  .hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 300; line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 48px; max-width: 650px;
  }
  .btn-wpp {
    background: var(--cta-wpp);
    color: #fff; font-family: 'Outfit', sans-serif;
    font-weight: 600; font-size: 1.05rem;
    padding: 18px 36px; border-radius: 4px;
    text-decoration: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  }
  .btn-wpp:hover {
    background: var(--cta-wpp-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  }

  /* ─── AMEAÇAS / PROBLEMA (DOR) ─── */
  #problema { background: var(--bg-white); }
  .problema-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px; margin-top: 48px;
  }
  .problema-card {
    background: var(--bg-light);
    border: 1px solid var(--borda);
    padding: 40px 32px; border-radius: 8px;
    transition: all 0.3s ease;
    border-top: 4px solid var(--verde-primario);
  }
  .problema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26,54,38,0.06);
    border-top-color: var(--dourado);
  }
  .problema-icon {
    width: 48px; height: 48px;
    background: rgba(212,175,55,0.1); color: var(--dourado);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
  }
  .problema-icon svg { width: 24px; height: 24px; }
  .problema-title {
    font-family: 'Playfair Display', serif; font-size: 1.4rem;
    font-weight: 700; color: var(--texto-dark); margin-bottom: 12px;
  }
  .problema-desc {
    font-size: 1rem; font-weight: 300; line-height: 1.6; color: var(--texto-p);
  }

  /* ─── TRANSIÇÃO / VALORIZAÇÃO ─── */
  #valorizacao {
    background: var(--verde-primario);
    color: #fff; text-align: center; padding: 80px 5%;
  }
  #valorizacao .section-title { color: #fff; margin-bottom: 24px; }
  #valorizacao .section-subtitle { color: rgba(255,255,255,0.8); }

  /* ─── SERVIÇOS / SOLUÇÃO ─── */
  #servicos { background: var(--bg-light); }
  .servicos-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; margin-top: 64px;
  }
  .servico-card {
    background: var(--bg-white); padding: 48px 40px;
    border-radius: 8px; border: 1px solid var(--borda);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative; overflow: hidden;
  }
  .servico-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--verde-primario), var(--dourado));
    opacity: 0; transition: opacity 0.3s ease;
  }
  .servico-card:hover::before { opacity: 1; }
  .servico-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
  .servico-icon {
    width: 60px; height: 60px; flex-shrink: 0;
    background: var(--verde-claro); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .servico-icon svg { width: 30px; height: 30px; stroke: var(--verde-primario); }
  .servico-title {
    font-family: 'Playfair Display', serif; font-size: 1.5rem;
    font-weight: 700; color: var(--verde-primario); line-height: 1.2;
  }
  .servico-desc {
    font-size: 1rem; font-weight: 300; line-height: 1.7;
    color: var(--texto-p); margin-bottom: 24px;
  }
  .servico-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tag {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em;
    color: var(--verde-secundario); background: var(--verde-claro);
    padding: 6px 12px; border-radius: 4px; text-transform: uppercase;
  }

  /* ─── QUEM SOMOS / AUTORIDADE ─── */
  #autoridade { background: var(--bg-white); }
  .autoridade-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  .autoridade-img-wrap {
    position: relative; border-radius: 12px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(26,54,38,0.15);
  }
  .autoridade-img-wrap img { width: 100%; height: auto; display: block; }
  .autoridade-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(212,175,55,0.2);
    border-radius: 12px; pointer-events: none;
  }
  .credenciais { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
  .credencial { display: flex; align-items: flex-start; gap: 20px; }
  .credencial-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    background: var(--verde-primario); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .credencial-icon svg { width: 24px; height: 24px; stroke: var(--dourado); }
  .credencial-info h4 { font-size: 1.15rem; font-weight: 700; color: var(--texto-dark); margin-bottom: 4px; }
  .credencial-info p { font-size: 0.95rem; font-weight: 300; color: var(--texto-p); line-height: 1.5; }

  /* ─── DEPOIMENTOS ─── */
  #depoimentos { background: var(--verde-claro); }
  .depoimentos-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;
  }
  .depoimento-card {
    background: #fff; padding: 40px; border-radius: 8px;
    border: 1px solid var(--borda);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  }
  .stars { color: var(--dourado); margin-bottom: 16px; }
  .depoimento-text {
    font-size: 1.05rem; font-style: italic; font-weight: 300;
    line-height: 1.6; color: var(--texto-dark); margin-bottom: 24px;
  }
  .depoimento-author {
    display: flex; align-items: center; gap: 16px;
  }
  .author-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--verde-secundario);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600;
  }
  .author-info h5 { font-size: 1rem; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--texto-dark); }
  .author-info span { font-size: 0.85rem; color: var(--texto-p); }

  /* ─── CTA FINAL ─── */
  #cta-final {
    background: var(--verde-primario); text-align: center; padding: 100px 5%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23d4af37' fill-opacity='0.05' d='M50 0L100 50L50 100L0 50Z'/%3E%3C/svg%3E");
  }
  #cta-final .section-title { color: #fff; margin-bottom: 24px; }

  /* ─── FAQ ─── */
  #faq { background: var(--bg-white); }
  .faq-container { max-width: 800px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid var(--borda);
  }
  .faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 24px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 500; color: var(--texto-dark);
  }
  .faq-question:hover { color: var(--verde-primario); }
  .faq-chevron {
    width: 24px; height: 24px; flex-shrink: 0;
    transition: transform 0.3s ease; color: var(--dourado);
  }
  .faq-item.open .faq-chevron { transform: rotate(180deg); }
  .faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 1rem; font-weight: 300; color: var(--texto-p); line-height: 1.7;
  }
  .faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }
  @keyframes spin { 100% { transform: rotate(360deg); } }

  /* ─── FOOTER ─── */
  footer {
    background: var(--verde-primario); padding: 80px 5% 32px;
    border-top: 4px solid var(--dourado);
  }
  .footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px;
    max-width: 1200px; margin-left: auto; margin-right: auto;
  }
  .footer-brand img {
    height: 72px; object-fit: contain; display: block; margin-bottom: 20px;
  }
  .footer-brand p {
    font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.6);
    line-height: 1.6; margin-top: 16px; max-width: 360px;
  }
  .footer-col h4 {
    font-size: 0.85rem; font-weight: 600; font-family: 'Outfit', sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--dourado); margin-bottom: 24px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { font-size: 0.95rem; font-weight: 300; padding: 8px 0; }
  .footer-col li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
  .footer-col li a:hover { color: var(--dourado); }
  
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; max-width: 1200px; margin: 0 auto;
  }
  .footer-bottom p { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.4); }

  /* ─── WHATSAPP FLUTUANTE & MOBILE CTA ─── */
  #wpp-float {
    position: fixed; bottom: 32px; right: 32px; z-index: 998;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--cta-wpp); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4); text-decoration: none;
    transition: transform 0.3s ease;
  }
  #wpp-float:hover { transform: scale(1.1); }
  #wpp-float svg { width: 32px; height: 32px; fill: #fff; }

  #mobile-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 997;
    padding: 16px; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px); border-top: 1px solid var(--borda);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  }
  #mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--cta-wpp); color: #fff;
    font-weight: 600; font-size: 1.05rem;
    padding: 16px; border-radius: 4px; text-decoration: none;
  }

  /* ─── QUIZ DE DIAGNÓSTICO ─── */
  #quiz { background: var(--bg-light); padding-bottom: 20px; }
  .quiz-box {
    background: var(--bg-white); border: 1px solid var(--borda);
    border-radius: 12px; padding: 48px; max-width: 800px; margin: -80px auto 0;
    position: relative; z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  }
  .quiz-step { display: none; }
  .quiz-step.active { display: block; animation: fadeIn 0.4s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .quiz-title { font-size: 1.4rem; font-weight: 700; color: var(--verde-primario); margin-bottom: 24px; text-align: center; }
  .quiz-options { display: flex; flex-direction: column; gap: 12px; }
  .quiz-btn {
    background: #fff; border: 1px solid var(--borda); padding: 16px 24px;
    border-radius: 8px; font-family: 'Outfit', sans-serif; font-size: 1.05rem;
    color: var(--texto-dark); cursor: pointer; transition: all 0.2s ease;
    text-align: left; font-weight: 500;
  }
  .quiz-btn:hover { border-color: var(--dourado); background: rgba(212,175,55,0.05); }
  .quiz-result { text-align: center; }
  .quiz-alert {
    background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c; padding: 24px; border-radius: 8px; margin-bottom: 24px;
  }
  .quiz-alert h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
  .quiz-alert p { font-size: 1rem; font-weight: 400; line-height: 1.5; }
  .quiz-progress { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--borda); }
  .dot.active { background: var(--dourado); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 992px) {
    .autoridade-grid, .footer-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-h1 { font-size: 3rem; }
  }
  @media (max-width: 768px) {
    section { padding: 80px 5%; }
    .quiz-box { padding: 32px 24px; margin-top: -40px; }
    .section-title { font-size: 2.2rem; }
    #mobile-cta { display: block; }
    #wpp-float { bottom: 100px; right: 24px; width: 56px; height: 56px; }
    #wpp-float svg { width: 28px; height: 28px; }
    .hero-content { margin-top: 40px; }
  }