/* ===================================
   MENINI CONSULTORIA - PREMIUM STYLES
   Cores: #FFFFFF, #122736, #C7A369
   =================================== */

/* === ROOT VARIABLES === */
:root {
    --color-white: #FFFFFF;
    --color-dark: #122736;
    --color-gold: #C7A369;
    --color-dark-hover: #1a3749;
    --color-gold-hover: #b08d52;
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(18, 39, 54, 0.08);
    --shadow-md: 0 4px 16px rgba(18, 39, 54, 0.12);
    --shadow-lg: 0 8px 32px rgba(18, 39, 54, 0.16);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.nav-link i {
    font-size: 1.1rem;
    color: var(--color-gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(18, 39, 54, 0.1);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a3749 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(199, 163, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(199, 163, 105, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    align-items: start;
}

.hero-content {
    color: var(--color-white);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(199, 163, 105, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
    min-width: 120px;
}

.hero-icon:hover {
    background: rgba(199, 163, 105, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.hero-icon i {
    font-size: 2rem;
    color: var(--color-gold);
}

.hero-icon span {
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

/* === HERO FORM === */
.hero-form-wrapper {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-header i {
    font-size: 2rem;
    color: var(--color-gold);
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    line-height: 1.3;
}

.form-description {
    font-size: 0.95rem;
    color: rgba(18, 39, 54, 0.7);
    line-height: 1.5;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid rgba(18, 39, 54, 0.15);
    border-radius: 8px;
    transition: var(--transition);
    background: var(--color-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    transform: translateY(-2.5rem) scale(0.85);
    color: var(--color-gold);
}

.form-group input + label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: rgba(18, 39, 54, 0.6);
  pointer-events: none;
  transition: var(--transition);
  transform-origin: left;
}

.checkbox-label {
    position: static;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-gold);
}

.checkbox-item span {
    font-size: 0.95rem;
    color: var(--color-dark);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-form-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-icons {
        gap: 1rem;
    }
    
    .hero-icon {
        min-width: 100px;
        padding: 1.25rem 0.75rem;
    }
    
    .hero-icon i {
        font-size: 1.75rem;
    }
    
    .hero-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   SOBRE SECTION
   =================================== */
.sobre {
    padding: 100px 0;
    background: var(--color-white);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sobre-text {
    margin: 2rem 0;
}

.sobre-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(18, 39, 54, 0.85);
    margin-bottom: 1.5rem;
}

.sobre-text strong {
    color: var(--color-gold);
    font-weight: 600;
}

.sobre .btn {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .sobre {
        padding: 60px 0;
    }
    
    .sobre-text p {
        font-size: 1.125rem;
    }
}

/* ===================================
   SERVICE SECTIONS
   =================================== */
.service-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--color-white) 100%);
}

.service-section:nth-child(even) {
    background: var(--color-white);
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.service-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 1rem;
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(18, 39, 54, 0.85);
    margin-bottom: 1.5rem;
}

/* === PROBLEMS SECTION === */
.problems-section {
    background: rgba(199, 163, 105, 0.05);
    border-left: 4px solid var(--color-gold);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.problems-section h4 {
    font-size: 1.375rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.problems-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.problems-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--color-dark);
    padding: 0.5rem 0;
}

.problems-list i {
    color: var(--color-gold);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* === PILLARS SECTION === */
.pillars-section {
    margin: 3rem 0;
}

.pillars-section h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    background: var(--color-white);
    border: 2px solid rgba(199, 163, 105, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.pillar-icon i {
    font-size: 1.75rem;
    color: var(--color-white);
}

.pillar-card h5 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(18, 39, 54, 0.8);
}

.service-content .btn {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 0;
    }
    
    .problems-list {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SERVIÇOS EXTRAS
   =================================== */
.servicos-extras {
    padding: 100px 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.servicos-extras .section-title {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.extra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 163, 105, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.extra-item:hover {
    background: rgba(199, 163, 105, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.extra-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.extra-item span {
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .servicos-extras {
        padding: 60px 0;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================
   AUTORIDADE E PROVA SOCIAL
   =================================== */
.autoridade {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--color-white) 100%);
}

.autoridade .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.autoridade-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.autoridade-content > p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(18, 39, 54, 0.85);
    margin-bottom: 3rem;
}

.autoridade-content strong {
    color: var(--color-gold);
    font-weight: 600;
}

.testimonial {
    background: var(--color-white);
    border-left: 4px solid var(--color-gold);
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial .fa-quote-left {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2.5rem;
    color: rgba(199, 163, 105, 0.2);
}

.testimonial-text {
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.testimonial-author {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gold);
    text-align: right;
}

.cta-final {
    margin-top: 4rem;
}

.cta-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .autoridade {
        padding: 60px 0;
    }
    
    .testimonial {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.125rem;
        padding-left: 1rem;
    }
    
    .testimonial .fa-quote-left {
        font-size: 2rem;
        top: 1.5rem;
        left: 1.5rem;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    font-size: 2rem;
    color: var(--color-white);
}

.footer-logo .logo-subtitle {
    color: var(--color-gold);
}

.footer-text {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 163, 105, 0.3);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(199, 163, 105, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gold-hover);
  transform: translateY(-3px);
}


@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}




/* === HERO LEGIBILIDADE === */

/* 1) Escurece sutilmente a área atrás do texto (lado esquerdo) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.40) 35%,
      rgba(0,0,0,.18) 60%,
      rgba(0,0,0,0) 85%);
  pointer-events: none;
  z-index: 0; /* fica abaixo do conteúdo e acima do fundo */
}

/* garante a ordem correta das camadas */
.hero-background { z-index: 0; }
.hero-container { position: relative; z-index: 1; }

/* 2) Aumenta contraste do título/subtítulo e adiciona leve glow */
.hero-title,
.hero-subtitle {
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* 3) Subtítulo menos “lavado” (antes tinha opacity .95) */
.hero-subtitle {
  opacity: 1;
}

/* 4) Refina ícones/labels no hero para leitura melhor */
.hero-icon i { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.hero-icon span { text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* 5) Mobile: gradiente mais forte (telas pequenas perdem contraste) */
@media (max-width: 768px) {
  .hero::before {
    background:
      linear-gradient(90deg,
        rgba(0,0,0,.65) 0%,
        rgba(0,0,0,.50) 45%,
        rgba(0,0,0,.22) 70%,
        rgba(0,0,0,0) 90%);
  }
}


/* LOGO como imagem */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}


.nav-container .logo {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}


/* === FIX DEFINITIVO CHECKBOXES === */

/* 1) Reseta o rótulo "Você busca soluções para:" para não herdar label flutuante */
.hero-form .checkbox-label {
  display: block !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  pointer-events: auto !important;
  margin: .25rem 0 .75rem !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* 2) Layout dos checkboxes */
.hero-form .checkbox-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(120px, 1fr)); /* PF | PJ lado a lado */
  gap: .75rem 1.25rem !important;
  margin: 0 0 1.5rem !important; /* afasta bem do botão */
}

/* 3) Cada item */
.hero-form .checkbox-item {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  line-height: 1.2;
  white-space: nowrap; /* evita quebrar “Pessoa física” em 2 linhas */
}

/* 4) Checkbox em si */
.hero-form .checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  vertical-align: middle;
  accent-color: var(--color-gold);
}

/* 5) Mobile: empilha bonitinho */
@media (max-width: 480px) {
  .hero-form .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Caixa inteira dos checkboxes */
.hero-form .form-group--checkboxes {
  margin-top: .25rem;
  margin-bottom: 1.5rem;   /* afasta do botão */
}

/* Título “Você busca soluções para:” */
.hero-form .form-group--checkboxes .checkbox-label {
  position: static;
  display: block;
  margin: 0 0 .5rem;
  transform: none;
  color: var(--color-dark);
  font-weight: 600;
}

/* PF e PJ lado a lado, com espaço; empilha no mobile */
.hero-form .form-group--checkboxes .checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: .75rem 1.25rem;
}

@media (max-width: 480px) {
  .hero-form .form-group--checkboxes .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Cada item */
.hero-form .form-group--checkboxes .checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-form .form-group--checkboxes .checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--color-gold);
}


/* === PILARES: 4 colunas no desktop === */
@media (min-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Tablet: 2 colunas */
@media (min-width: 768px) and (max-width: 1199px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Opcional: cards com alturas iguais */
.pillar-card { height: 100%; }



/* 1) Faz a área dos pilares sangrar lateralmente */
.financas-pessoais .pillars-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(2rem, calc(50vw - 800px));  /* mantém respiro nas bordas */
  padding-right: max(2rem, calc(50vw - 800px));
}

/* 2) Grid mais largo */
@media (min-width: 1200px) {
  .financas-pessoais .pillars-grid {
    grid-template-columns: repeat(4, minmax(360px, 1fr)) !important;
    gap: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .financas-pessoais .pillars-grid {
    grid-template-columns: repeat(2, minmax(340px, 1fr)) !important;
  }
}

/* 3) Cards “menos caixa” */
.financas-pessoais .pillar-card {
  border: 1px solid rgba(199,163,105,.18);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 28px rgba(18,39,54,.06);
}



/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;          /* ~20px */
  bottom: 6.25rem;         /* fica acima do botão “voltar ao topo” */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  z-index: 1100;           /* acima de quase tudo */
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  filter: brightness(1.05);
}

/* Anel de “pulse” */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 1.8s infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { transform: scale(1.6); opacity: 0;  box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { transform: scale(1);   opacity: 0; }
}

/* Evita conflito com o back-to-top em telas menores */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 5.5rem;
    width: 56px; height: 56px; font-size: 28px;
  }
}

/* Acessibilidade: respeita “reduzir movimentos” do SO */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::after { animation: none; }
  .whatsapp-float { transition: none; }
}


/* === RESET/NEUTRALIZAÇÃO DA LOGO ANTIGA === */
.logo,
.logo * {
  background: none !important;
}
.logo img {
  height: auto !important;
  width: auto !important;
}

/* === NOVA LOGO (ISOLADA) === */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  line-height: 1;
}
.brand-img {
  height: 140px;     /* ajuste fino: 36–48px */
  max-height: 170px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* garante que nada no nav estoure a altura */
.navbar img { max-height: 140px; }

/* nav mais compacto (se quiser manter enxuto) */
.nav-container { padding: 0.75rem 2rem; }
@media (min-width: 1025px){
  .brand-img { height: 140px; max-height: 140px; }
}
@media (max-width: 1024px){
  .nav-menu { top: 64px; } /* acompanha a nova altura do nav */
}


/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-img {
  height: 40px;        /* ajuste 36–44 se quiser menor */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: var(--color-dark);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.nav-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}
.nav-link i {
  color: var(--color-gold);
}

/* Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 64px;          /* acompanha a altura atual da navbar */
    left: -100%;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(18,39,54,0.1);
  }
  .mobile-toggle { display: flex; }
}

/* ===== Ajuste fino da logo no navbar ===== */
.navbar .brand-img,
.nav-container .brand-img,
.brand > img.brand-img,
img.brand-img {
  height: 54px !important;        /* antes era 36px — aumentei pra 54 */
  max-height: 54px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 auto !important;
}

/* Nav levemente mais alto para caber o novo tamanho */
.nav-container { padding: 0.85rem 2rem !important; }
@media (max-width:1024px){ .nav-menu { top: 70px !important; } }


.footer-logo-img {
  max-height: 170px;       /* ajusta o tamanho conforme quiser */
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;    /* espaço entre a logo e o texto */
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


/* === HERO TITLE CUSTOM STYLE === */
.hero-title {
  font-family: 'Lato', serif;  /* muda pra uma fonte mais sofisticada */
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  line-height: 1.2;
}

/* Destaque das 3 primeiras palavras */
.highlight-hero {
  color: var(--color-gold);
  font-weight: 700;
}

/* Opcional: leve animação de brilho ao passar o mouse */
.highlight-hero:hover {
  filter: brightness(1.2);
  transition: filter .3s ease;
}


/* ==========================================
   AJUSTES DE RESPONSIVIDADE - MOBILE
   MENINI CONSULTORIA (OVERRIDES)
   ========================================== */

@media (max-width: 768px) {

  /* ===== HERO GERAL ===== */
  .hero {
    padding: 120px 20px 60px !important;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.35 !important;
    padding: 0 10px !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
    padding: 0 12px !important;
  }

  /* Ícones do hero */
  .hero-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px !important;
    margin-top: 20px !important;
  }

  .hero-icon {
    width: 44%;
    min-width: 140px;
    padding: 14px 8px !important;
  }

  .hero-icon i {
    font-size: 1.8rem !important;
  }

  .hero-icon span {
    font-size: 0.9rem !important;
  }

  /* ===== FORMULÁRIO HERO ===== */
  .hero-form-wrapper {
    margin-top: 10px;
    width: 100% !important;
    padding: 20px 16px !important;
    position: static !important;
  }

  .hero-form {
    padding: 0 !important;
    gap: 1.25rem !important;
  }

  .form-group {
    margin-bottom: 18px !important;
  }

  .form-header h3 {
    font-size: 1.3rem !important;
  }

  .form-description {
    font-size: 0.95rem !important;
  }

  input,
  select,
  textarea {
    font-size: 1rem !important;
  }

  /* Já temos um ajuste específico de checkboxes mais abaixo,
     então aqui não mexo na .checkbox-group pra não conflitar. */

  /* ===== SEÇÕES GERAIS ===== */
  .sobre,
  .service-section,
  .servicos-extras,
  .autoridade {
    padding: 60px 0 !important;
  }

  .section-title {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    text-align: center;
  }

  .service-subtitle {
    font-size: 1.1rem !important;
    text-align: center;
    margin-top: 8px !important;
    margin-bottom: 22px !important;
  }

  .service-intro {
    font-size: 1.05rem !important;
  }

  .service-content > p {
    font-size: 1rem !important;
  }

  /* ===== LISTAS / PROBLEMAS ===== */
  .problems-section {
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
  }

  .problems-list {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .problems-list li {
    font-size: 0.98rem !important;
    align-items: flex-start;
  }

  /* ===== PILARES ===== */
  .pillars-section {
    margin: 2.5rem 0 !important;
  }

  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .pillar-card {
    padding: 20px !important;
    border-radius: 14px !important;
  }

  /* ===== SERVIÇOS EXTRAS ===== */
  .extras-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* ===== AUTORIDADE / DEPOIMENTO ===== */
  .autoridade-content > p {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .testimonial {
    padding: 2rem 1.5rem !important;
  }

  .testimonial-text {
    font-size: 1.1rem !important;
  }

  /* ===== FOOTER ===== */
  .footer {
    text-align: center !important;
    padding: 40px 0 24px !important;
  }

  .footer-text {
    font-size: 0.98rem !important;
    padding: 0 16px;
  }

  .footer-logo-img {
    height: auto;
    max-height: 80px;
  }

  /* ===== BOTÕES ===== */
  .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 1rem !important;
  }

  /* ===== ÍCONES FLUTUANTES ===== */
  .whatsapp-float {
    right: 1rem !important;
    bottom: 5.5rem !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 28px !important;
  }

  .back-to-top {
    right: 1.2rem !important;
    bottom: 1.5rem !important;
    width: 45px !important;
    height: 45px !important;
  }
}

/* Refinamento extra só pro bem estreito */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem !important;
  }

  .hero-icon {
    width: 100%;
    max-width: 260px;
  }
}

/* ==========================================
   AJUSTE FINO HERO & FORM - MOBILE
   ========================================== */

@media (max-width: 768px) {

  /* Hero sem padding horizontal extra (só vertical) */
  .hero {
    padding: 110px 0 60px !important;  /* antes 120px 20px 60px */
  }

  /* Container do hero com respiro normal da .container */
  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    max-width: 100% !important;
  }

  .hero-content {
    padding: 0 0.5rem !important;
  }

  .hero-title {
    font-size: 1.8rem !important;
    padding: 0 0.5rem !important;
  }

  .hero-subtitle {
    padding: 0 0.75rem !important;
    margin-bottom: 1.75rem !important;
  }

  /* Form mais “solto” e larguinho */
  .hero-form-wrapper {
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto !important;
    padding: 18px 14px !important;
  }

  .hero-form {
    gap: 1.1rem !important;
  }

  .form-group {
    margin-bottom: 14px !important;
  }
}


/* ==========================================
   AJUSTE BOTÕES MOBILE (texto dos CTAs)
   ========================================== */

@media (max-width: 768px) {
  .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;   /* permite texto quebrar em 2 linhas */
    padding: 0.9rem 1.2rem !important;
  }
}

/* ==========================================
   AJUSTE SEÇÕES COM ÍCONES - MOBILE
   ========================================== */

@media (max-width: 768px) {

  /* Mais respiro em cima das seções de serviço */
  .service-section {
    padding: 80px 0 60px !important;  /* 80 topo, 60 baixo */
  }

  .service-header {
    padding-top: 10px !important;
    margin-bottom: 28px !important;
  }

  .service-icon {
    margin-top: 0 !important;
  }
}

/* Se ainda parecer ligeiramente cortado, pode forçar mais um pouco: */
@media (max-width: 768px) {
  .financas-pessoais .service-header,
  .consultoria-empresarial .service-header,
  .holding .service-header,
  .investimentos .service-header,
  .app .service-header,
  .servicos-extras .section-title {
    padding-top: 18px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;
  }

  .hero-icon {
    width: 100% !important;
    max-width: 260px;
    margin: 0 auto;
  }
}
