/* Reset & Variables */
:root {
    --primary-color: #2d3a31;
    /* Dark Green/Olive */
    --accent-color: #8ea891;
    /* Sage Green */
    --accent-dark: #748c71;
    --text-color: #4a574d;
    --text-light: #f8fafc;
    --bg-light: #fdf7ed;
    /* Cream/Bege */
    --glass-bg: rgba(255, 255, 255, 0.95);
    /* High opacity for cream background */
    --glass-border: rgba(142, 168, 145, 0.3);
    /* Subtle sage border */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
/* Buttons Premium Redesign */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn i {
    font-size: 1.1em;
}

/* Primary Button - Gradient & Glow */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(142, 168, 145, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(142, 168, 145, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #c0d1c3 0%, var(--accent-dark) 100%);
}

/* Secondary Button - Glass & Minimal */
.btn-scrolldown {
    background: rgba(255, 255, 255, 0.05);
    /* Transparent glass */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-scrolldown:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Remove old outline class if not used elsewhere, or keep for compatibility */
.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    margin-left: 1rem;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: invert(1) brightness(100);
    /* Make black logo white */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

.logo-text .role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    font-size: 1rem;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('mountains-trees-mesa-grande-morning-light-san-diego.webp');
    /* Local Background Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 58, 49, 0.4);
    /* Dark green overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero .highlight {
    color: #c0d1c3;
    /* Lighter sage for dark bg */
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Section */
.section {
    padding: 100px 0;
}

.sobre {
    background-color: var(--bg-light);
}

.sobre .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.sobre-img-container {
    display: flex;
    justify-content: center;
}

.sobre-intro {
    padding-top: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.experience-box {
    padding: 2rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    max-width: 100%;
}

.about-img-container {
    position: relative;
}

.photo-frame {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.photo-frame img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.photo-frame:hover img {
    transform: scale(1.05);
}

/* Cards Section - Como Ajuda */
.cards-section {
    background: linear-gradient(135deg, #e3ede4 0%, #cbd9cd 100%);
    position: relative;
    /* Optional: background image for texture */
}

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

.card {
    padding: 2.5rem;
    border-radius: 16px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card.glass {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.center-btn {
    text-align: center;
}

/* Metodologia */
.metodologia {
    background-color: var(--bg-light);
}

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

.meto-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.meto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.meto-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(45, 58, 49, 0.2);
}

.meto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.meto-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.container-narrow {
    max-width: 800px;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Grande o suficiente para o conteúdo */
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin: 5px 0;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b85c;
}

/* Mobile Responsive */
.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Logo */
.hero-logo {
    max-width: 100%;
    width: 400px;
    height: auto;
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Navbar - Stacked Layout (Logo Top, Menus Bottom) */
    .navbar {
        position: absolute;
        background: transparent;
        padding: 0.75rem 0;
    }

    .navbar .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links a {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        white-space: nowrap;
    }

    .btn-nav {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
    }

    /* Hero Adjustments */
    .hero {
        min-height: 500px;
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 1.5rem;
        line-height: 1.6;
    }

    .hero-logo {
        width: 180px;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        padding: 16px 30px;
        font-size: 0.9rem;
    }

    /* Section Spacing */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Sobre Section - Horizontal Layout on Mobile */
    .sobre .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .sobre-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .sobre-img-container {
        order: 2;
    }

    .sobre-intro {
        order: 1;
    }

    .photo-frame {
        max-width: 140px;
    }

    .sobre-intro {
        padding: 0;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .sobre-intro p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .experience-box {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }

    /* Cards Section - 2 Columns on Mobile */
    .cards-section {
        padding: 60px 0;
    }

    .cards-section .container {
        padding: 0 1rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .grid-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .card {
        padding: 1.5rem 1rem;
        margin: 0;
        box-sizing: border-box;
        width: 100%;
    }

    .card h3 {
        font-size: 1rem;
        margin: 0 0 0.5rem 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .card p {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .card .card-subtitle {
        margin: 0.5rem 0 1rem 0;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Metodologia Section */
    .metodologia-grid {
        gap: 1rem;
    }

    .meto-card {
        padding: 2rem 1.5rem;
    }

    .meto-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .meto-card h3 {
        font-size: 1.1rem;
    }

    .meto-card p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-logo img {
        height: 35px !important;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-contact p {
        text-align: center;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links a {
        margin: 0;
        font-size: 0.9rem;
    }
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ensure hero content stays above particles and centered */
.hero-content {
    z-index: 2;
    position: relative;
    margin: 0 auto;
}

/* Ensure overlay stays behind particles */
.hero-overlay {
    z-index: 0;
}