/* ===== VARIABLES ===== */
:root {
    /* ===== Paleta da marca LL (extraída dos logos) =====
       Navy   #16233F  |  Verde-petróleo #2E6B68  |  Dourado #BD8A3F */

    /* Cor primária = verde-petróleo (tom de saúde/bem-estar) */
    --primary-color: #2E6B68;
    --primary-light: #3E827E;
    --primary-dark: #1E4B49;
    --primary-lighter: #B6D0CE;
    --accent-color: #24534F;

    /* Dourado da marca (destaques, selos, ícones de check) */
    --gold-color: #BD8A3F;
    --gold-light: #D0A45E;
    --gold-dark: #9C6F2E;

    /* Navy da marca (títulos, textos, rodapé) */
    --navy-color: #16233F;

    /* Neutros */
    --text-color: #16233F;
    --text-light: #3C4A63;
    --text-lighter: #6B778F;
    --bg-color: #FFFFFF;
    --bg-secondary: #F5F8F8;
    --bg-tertiary: #E9F1F0;
    --border-color: #DCE6E5;

    /* Aliases usados na seção AEP (evita variáveis vazias) */
    --white-color: #FFFFFF;
    --container-color: var(--bg-secondary);
    --first-color: var(--primary-color);
    --first-color-lighten: var(--primary-lighter);
    --title-color: var(--text-color);
    --h3-font-size: 1.5rem;
    --small-font-size: 0.875rem;
    --normal-font-size: 1rem;
    --font-semi-bold: 600;
    --font-medium: 500;

    /* Sombras (tingidas com o navy da marca) */
    --shadow-sm: 0 2px 4px rgba(22, 35, 63, 0.08);
    --shadow-md: 0 4px 12px rgba(22, 35, 63, 0.12);
    --shadow-lg: 0 8px 24px rgba(22, 35, 63, 0.16);

    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;

    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

@media screen and (min-width: 968px) {
    :root {
        --h1-size: 3.5rem;
        --h2-size: 2.5rem;
        --h3-size: 1.75rem;
        --normal-size: 1.125rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== REUSABLE CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: var(--h2-size);
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: var(--normal-size);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.button svg {
    transition: var(--transition);
}

.button:hover svg {
    transform: translateX(5px);
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-ll {
    background: linear-gradient(135deg, var(--navy-color), var(--primary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--primary-color);
}

.nav-toggle,
.nav-close {
    display: none;
}

/* ===== HOME ===== */
.home {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F5F8F8 0%, #E3EEED 100%);
}

.home-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.home-title {
    font-size: var(--h1-size);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.home-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-blob {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-animation 8s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

@keyframes blob-animation {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    }
    75% {
        border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
    }
}

/* ===== ABOUT ===== */
.about {
    background-color: var(--bg-color);
}

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

.about-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon svg {
    stroke: white;
}

.about-card h3 {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== SERVICES ===== */
.services {
    background: linear-gradient(135deg, #F5F8F8 0%, #E3EEED 100%);
}

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

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 107, 104, 0.06), rgba(189, 138, 63, 0.06));
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    stroke: var(--accent-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== BENEFITS ===== */
.benefits {
    background-color: var(--bg-color);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.benefit-item p {
    color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(135deg, #F5F8F8 0%, #E3EEED 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon svg {
    stroke: var(--accent-color);
}

.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-light);
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-input {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

.form-input::placeholder {
    color: var(--text-lighter);
}

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

.button-form {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== SCROLL UP ===== */
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
}

.scrollup:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scrollup.show-scroll {
    bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    .home-container,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .home-image {
        order: -1;
    }

    .home-blob {
        width: 280px;
        height: 280px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: white;
        width: 70%;
        height: 100%;
        box-shadow: var(--shadow-lg);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-toggle,
    .nav-close {
        display: flex;
        cursor: pointer;
        color: var(--text-color);
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .scrollup {
        right: 1rem;
    }

    .scrollup.show-scroll {
        bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .home-blob {
        width: 220px;
        height: 220px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* ===== AEP ===== */
.aep {
    background-color: var(--white-color);
}

.aep-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.aep-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.aep-intro p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.aep-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aep-card {
    background-color: var(--container-color);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}

.aep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.aep-card-icon {
    color: var(--first-color);
    width: 56px;
    height: 56px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aep-card h3 {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

.aep-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: var(--small-font-size);
}

.aep-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.aep-cta p {
    color: var(--text-color);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
}

@media screen and (max-width: 768px) {
    .aep-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== LOGO IMAGES ===== */
.nav-logo-img { height: 46px; width: auto; display: inline-block; vertical-align: middle; }
.footer-logo-img { height: 58px; width: auto; display: block; }
