:root {
    /* Colors - RN Contabilidade Palette */
    --primary-color: #002A54;
    /* Dark Navy Blue */
    --secondary-color: #004080;
    /* Lighter Blue for hover/secondary */
    --accent-color: #D4AF37;
    /* Gold/Metallic Yellow - Premium feel */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 120px;
    /* Increased from 80px to accommodate larger logo */
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
    /* Add some breathing room */
}

.logo-img {
    height: 100px;
    /* Increased from 80px */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Responsive - Header/Nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    /* Darker gradient */
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: -120px;
    padding-top: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
    display: block;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Section 1: Para quem é */
.target-audience {
    background-color: var(--white);
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Section 2: Problemas */
.problems {
    background-color: var(--bg-light);
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
}

/* Section 3: Diferenciais */
.differentiators {
    background-color: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.diff-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Section 4: Soluções */
.solutions {
    background-color: var(--primary-color);
    color: var(--white);
}

.solutions .section-title h2 {
    color: var(--white);
}

.solutions .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: var(--white);
    transform: translateY(-5px);
}

.solution-card:hover h3,
.solution-card:hover p {
    color: var(--text-color);
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.solution-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.solution-link {
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.solution-card:hover .solution-link {
    color: var(--secondary-color);
}

/* Section 5: Timeline */
.timeline {
    background-color: var(--bg-light);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding-top: 60px;
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 42, 84, 0.1);
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 1;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Section 6: Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--primary-color);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Section 7: Content & Events */
.content-events {
    background-color: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.event-details {
    padding: 20px;
}

.event-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 10px;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Section 8: Contact Form */
.contact-section {
    background-color: var(--white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

/* Responsivo específico de timeline e contato */
@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
        gap: 50px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }
}

/* ===========================
   🔻 AJUSTES GERAIS PARA MOBILE
   =========================== */
@media (max-width: 768px) {

    /* Espaçamento geral e container */
    body {
        line-height: 1.5;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 56px 0;
    }

    /* Tipografia para leitura confortável */
    h1 {
        font-size: 28px;
        line-height: 1.2;
        text-align: center;
    }

    h2 {
        font-size: 22px;
        line-height: 1.3;
        text-align: center;
    }

    h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    p {
        font-size: 16px;
        line-height: 1.5;
    }

    .section-title {
        padding: 0 8px;
        margin-bottom: 40px;
    }

    .section-title p {
        font-size: 15px;
    }
  /* ✅ HERO AJUSTADO APENAS PARA MOBILE */
@media (max-width: 768px) {

  .hero,
  .hero-section {
    height: auto;
    min-height: auto;
    padding: 140px 16px 80px; /* top | laterais | bottom */
    text-align: center;
  }

  .hero h1 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn,
  .btn-primary {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

}


    /* 🔹 TODAS as grades viram coluna única */
    .target-grid,
    .problem-list,
    .diff-grid,
    .solutions-grid,
    .testimonial-grid,
    .events-grid,
    .footer-grid {
        display: block !important;
        grid-template-columns: none !important;
    }

    .target-grid > * ,
    .problem-list > * ,
    .diff-grid > * ,
    .solutions-grid > * ,
    .testimonial-grid > * ,
    .events-grid > * ,
    .footer-grid > * {
        margin-bottom: 24px;
    }

    /* 🔹 Seção "Para quem é": texto em coluna, imagem abaixo */
    .target-audience {
        text-align: left;
    }

    .check-list li {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* Garante que qualquer “coluna de imagem” não fique apertando o texto */
    .target-grid > div {
        width: 100%;
    }

    /* Se a imagem estiver em um bloco separado, deixa ela abaixo e centralizada */
    .target-grid img,
    .target-grid .section-image,
    .target-grid .image-column {
        margin: 16px auto 0;
        display: block;
    }

    /* Timeline mais espaçada */
    .timeline-steps {
        gap: 32px;
    }

    .timeline-step {
        padding-top: 40px;
    }

    .step-number {
        font-size: 46px;
    }

    /* Cards (problemas, soluções, depoimentos, eventos) com respiro */
    .problem-item,
    .solution-card,
    .testimonial-card,
    .event-card {
        padding: 24px 20px;
    }

    /* Footer: colunas empilhadas e alinhadas à esquerda */
    footer {
        text-align: left;
    }

    .footer-grid > * {
        margin-bottom: 20px;
    }
}
/* Esconde elementos apenas no mobile */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

