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

:root {
    --color-primary: #2a6b5a;
    --color-primary-light: #e8f5f0;
    --color-primary-dark: #1e4d40;
    --color-accent: #c9a96e;
    --color-accent-light: #f7f0e3;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-bg: #faf9f7;
    --color-white: #ffffff;
    --color-border: #e0ddd8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s;
}

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

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

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
}

.navbar__logo span {
    color: var(--color-accent);
}

.navbar__links {
    display: flex;
    gap: 32px;
}

.navbar__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color 0.3s;
    position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--color-primary);
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.navbar__links a:hover::after {
    width: 100%;
}

.navbar__links a.active::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 107, 90, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.hero__title span {
    color: var(--color-primary);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__image-wrapper {
    width: 380px;
    height: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-primary-light), #d4e8e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-placeholder {
    text-align: center;
    color: var(--color-primary);
}

.hero__image-placeholder svg {
    width: 120px;
    height: 120px;
    opacity: 0.4;
    margin-bottom: 12px;
}

.hero__image-placeholder p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

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

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 107, 90, 0.3);
}

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

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

.btn--whatsapp {
    background: #25d366;
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--color-white);
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.section__divider {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 60%);
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SOBRE ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-area {
    position: relative;
}

.about__image-box {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-accent-light), #ece4d4);
    box-shadow: var(--shadow-md);
}

.about__image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.about__image-box p {
    font-size: 0.85rem;
    color: var(--color-accent);
    opacity: 0.6;
}

.about__text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.about__text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-primary-light);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.about__highlight:nth-child(n+3) {
    grid-column: 1 / -1;
}

.about__highlight svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary);
}

a.about__highlight--link {
    text-decoration: none;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

a.about__highlight--link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

a.about__highlight--link:hover svg {
    color: var(--color-white);
}

/* ===== CONTATO ===== */
.contact__wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact__wrapper p {
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.contact__buttons .btn {
    min-width: 300px;
    justify-content: center;
}

.contact__info-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contact__info-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer p {
    font-size: 0.82rem;
}

.footer__crm {
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin: 0 auto 32px;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__image {
        display: flex;
        justify-content: center;
    }

    .hero__image-wrapper {
        width: 280px;
        height: 340px;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-area {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }

    .navbar__links.active {
        display: flex;
    }

    .navbar__toggle {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .about__highlights {
        grid-template-columns: 1fr;
    }

    .contact__buttons .btn {
        min-width: 100%;
    }

    .contact__info-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== SOBRE PAGE — FIT VIEWPORT ===== */
.page-sobre {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 769px) {
    .page-sobre {
        max-height: 100vh;
        overflow: hidden;
    }
}

.page-sobre .page-hero {
    padding: 90px 0 20px;
}

.page-sobre .page-hero__title {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.page-sobre .page-hero__subtitle {
    font-size: 0.95rem;
}

.page-sobre .section {
    padding: 30px 0;
    flex: 1;
    display: flex;
    align-items: center;
}

.page-sobre .about__grid {
    gap: 40px;
}

.page-sobre .about__image-box img {
    max-height: 55vh;
    width: auto;
    margin: 0 auto;
    display: block;
}

.page-sobre .section__label {
    margin-bottom: 6px;
}

.page-sobre .about__text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.page-sobre .about__text p {
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.page-sobre .about__highlights {
    margin-top: 16px;
    gap: 10px;
}

.page-sobre .about__highlight {
    padding: 8px 12px;
    font-size: 0.82rem;
}

.page-sobre .footer {
    padding: 20px 0;
}