:root {
    --primary: #0a4d44;
    --primary-light: #126e62;
    --primary-dark: #083b34;
    --secondary: #2c3e50;
    --accent: #e67e22;
    --background: #fdfdfd;
    --surface: #ffffff;
    --slate: #f8f9f9;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 0.25rem 0.375rem rgba(0,0,0,0.02);
    --shadow-md: 0 0.625rem 1.875rem rgba(0,0,0,0.06);
    --shadow-lg: 0 1.25rem 2.5rem rgba(10, 77, 68, 0.08);
    --radius-md: 1rem;
    --radius-lg: 2rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Global Link Resets */
a, a:visited, a:active, a:link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 77.5rem;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: var(--transition);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.625rem);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0.0625rem solid rgba(0,0,0,0.05);
}

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

.logo a, .logo a:visited {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a, .nav-links a:visited {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Buttons */
.btn {
    padding: 1rem 2.25rem;
    border-radius: 3.125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: none;
    text-align: center;
}

.btn-primary, .btn-primary:visited, .btn-primary:active, .btn-primary:link {
    background: var(--primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.btn-outline, .btn-outline:visited {
    border: 0.09375rem solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

/* Integrated Background Patterns */
.section-with-bg {
    position: relative;
    overflow: hidden;
}

.bg-mask-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 90%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.4;
    z-index: 1;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.bg-hero { background-image: url("../images/hero.2d6d1f9dd251.webp"); }
.bg-proposito { background-image: url("../images/proposito.fc9c7b2cef4a.webp"); }
.bg-rastreios { background-image: url("../images/step_01.8ef9a3151ff4.webp"); }
.bg-jornada { background-image: url("../images/step_02.16054410eb3b.webp"); }
.bg-precos { background-image: url("../images/step_03.add36e9699cc.webp"); }

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f3 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    max-width: 50rem;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-light);
    max-width: 37.5rem;
    margin-bottom: 2.5rem;
}

/* Sections Base */
section {
    padding: 8.75rem 0;
}

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

.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
}

/* Cards Base */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 0.0625rem solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
}

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

/* Stylized Numbers Restored */
.step-number {
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    opacity: 0.1;
    font-weight: 700;
    position: absolute;
    top: 1.25rem;
    right: 1.875rem;
    line-height: 1;
}

.step-image {
    width: 100%;
    height: 11.25rem;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 0.0625rem solid rgba(0,0,0,0.05);
}

/* Manifesto */
.manifesto-banner {
    background: var(--primary);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.manifesto-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("../images/manifesto_texture.0c97f2c1eb95.webp");
    background-size: cover;
    opacity: 0.25;
    mix-blend-mode: overlay;
}

.manifesto-banner h2, 
.manifesto-banner p,
.manifesto-banner p strong {
    color: white !important;
}

/* Pricing Section - Fancier Layout */
.pricing-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.875rem;
    padding-top: 2.5rem;
}

.pricing-card {
    flex: 1;
    padding: 3.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.5rem);
    border: 0.0625rem solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-0.9375rem) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 0.125rem solid var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card .price {
    font-size: 3rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin: 1.875rem 0;
}

/* Feature Sections Alignment */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6.25rem;
}

.feature-image-container { flex: 1; max-width: 50%; }
.feature-content { flex: 1; max-width: 50%; }
.feature-content h2 { font-size: 3.2rem; margin-bottom: 2rem; }

.image-rounded {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background: #0d1615;
    padding: 6.25rem 0 2.5rem;
    color: #8fa19f;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

footer a, footer a:visited { color: #8fa19f; text-decoration: none !important; }
footer a:hover { color: white; }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 3.75rem;
}

@media (max-width: 64rem) {
    .pricing-grid { flex-direction: column; align-items: stretch; }
    .pricing-card { margin: 0 !important; }
    .feature-section { flex-direction: column; text-align: center; gap: 2.5rem; }
    .feature-image-container, .feature-content { max-width: 100%; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .hero h1 { font-size: 3rem; }
    .section-title h2 { font-size: 2.5rem; }
}

@media (max-width: 48rem) {
    .container { padding: 0 1.25rem; }
    section { padding: 5rem 0; }
    
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    .hero-cta { display: flex; flex-direction: column; gap: 0.9375rem; }
    .hero-cta .btn { margin-left: 0 !important; width: 100%; }
    
    .section-title h2 { font-size: 2rem; }
    .feature-content h2 { font-size: 2rem; }
    
    .bg-mask-image { 
        display: none; /* Hide background masks on mobile to avoid overlap and readability issues */
    }
    
    .nav-links { display: none; } /* Consider adding a hamburger menu if needed, but for now just hide to avoid overflow */
    
    .service-card { padding: 1.875rem; }
    .step-number { font-size: 3.5rem; top: 0.625rem; right: 1.25rem; }
    
    .manifesto-banner { padding: 6.25rem 0; }
    .manifesto-banner p { font-size: 1.1rem !important; }

    .pricing-card .price { font-size: 2.5rem; }
}
