/* CSS Variables & Design Tokens */
:root {
    /* Palette - Lighter, Boutique, Brazilian */
    --color-bg: #FDFCF8;
    /* Cream/Off-white */
    --color-bg-alt: #F4F9F4;
    /* Very light slightly green tint */
    --color-text: #1A1A1A;
    --color-text-light: #5A5A5A;

    --color-primary: #009C3B;
    /* Brazilian Green - Updated to be vibrant but deep enough for text if needed */
    --color-primary-light: #25D366;
    /* Brighter, playful green for accents */
    --color-primary-dark: #006626;

    --color-accent: #FFDF00;
    /* Brazilian Yellow */
    --color-accent-soft: #FFF4A3;

    --color-glass: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.9);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 156, 59, 0.08);
    /* Green tinted shadow */
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.highlight {
    color: var(--color-primary);
}

.highlight-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--color-accent);
    z-index: -1;
    opacity: 0.6;
    transform: skewX(-10deg);
}

.italic {
    font-style: italic;
    font-weight: 400;
}

.glass {
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 156, 59, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 156, 59, 0.4);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
}

.btn--secondary:hover {
    border-color: var(--color-text);
    background-color: rgba(0, 0, 0, 0.02);
}

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

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

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.85);
    /* Slightly transparent cream */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

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

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

.nav__link:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero__bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent-soft) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.6;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero__visual {
    position: relative;
    height: 500px;
    /* Placeholder for image - using CSS shapes for now */
    border-radius: var(--radius-lg);
    background: url('https://images.unsplash.com/photo-1483729558449-99ef09a8c325?q=80&w=2670&auto=format&fit=crop') center/cover no-repeat;
    /* Brazil landscape placeholder */
    box-shadow: var(--shadow-md);
}

.visual-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    min-width: 220px;
    animation: float 6s ease-in-out infinite;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.2);
}

.processing-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.processing-time .value {
    font-weight: 600;
    color: var(--color-text);
}

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

.section-header {
    margin-bottom: 4rem;
}

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

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

/* Why Us - Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* Services */
.services {
    background-color: var(--color-bg-alt);
    position: relative;
    /* decorative leaf shape? */
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card.featured {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border: none;
    z-index: 10;
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .check-list li {
    color: white;
}

.service-card.featured .check-list li::before {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.bead {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.check-list {
    margin-bottom: 2.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 156, 59, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

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

.link-arrow:hover {
    gap: 8px;
}

/* Contact */
.contact {
    padding-bottom: 150px;
}

.contact-wrapper {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
}

.contact-wrapper h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-wrapper p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.contact-form {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    background: white;
    padding: 6px;
    border-radius: var(--radius-full);
}

.form-group input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: var(--color-text);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--color-bg);
}

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

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: var(--color-primary);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__bg-shape {
        top: -10%;
        right: -50%;
    }

    .grid--3,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

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

    .nav {
        display: none;
        /* simple hide for now, JS toggles */
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile Nav Active State (to be added via JS) */
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }

    .nav.active .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .form-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }

    .form-group input {
        background: white;
        border-radius: var(--radius-full);
        margin-bottom: 1rem;
        text-align: center;
    }

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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