:root {
    --color-blue-deep: #0A1F4F;
    --color-gold-start: #C69C6D;
    --color-gold-end: #E3C28C;
    --color-white: #FFFFFF;
    --color-gray-light: #E7E8EC;
    --color-gray-text: #D4D6DE;

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

    --spacing-section: 80px;
    --spacing-container: 1200px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-white);
    color: var(--color-blue-deep);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    border-radius: 4px;
    /* Slight roundness for premium feel */
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient-gold {
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-blue-deep {
    background-color: var(--color-blue-deep);
    color: var(--color-white);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-gold {
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-blue-deep);
}

.btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 1px solid var(--color-gold-start);
    color: var(--color-gold-start);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--color-gold-start);
    color: var(--color-blue-deep);
}

section {
    padding: var(--spacing-section) 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    /* Reduced padding slightly */
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: var(--color-blue-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled {
    padding: 10px 0;
    background-color: rgba(10, 31, 79, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
}

.logo img {
    height: 60px;
    /* Slight adjustment to balance with text */
    transition: height 0.3s ease;
}

.header-scrolled .logo img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-serif);
    color: var(--color-white);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.logo-subtitle {
    font-family: var(--font-sans);
    color: var(--color-gold-start);
    /* Gold color for subtitle */
    font-size: 0.7rem;
    letter-spacing: 4px;
    /* Wide spacing */
    text-transform: uppercase;
    margin-left: 2px;
}

/* Adjust text size on scroll for compactness */
.header-scrolled .logo-title {
    font-size: 1.3rem;
}

.header-scrolled .logo-subtitle {
    font-size: 0.6rem;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    /* Pillow shape */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .header-container {
        padding: 0 15px;
        /* Ensure padding on sides */
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-blue-deep);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-open {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        border-bottom: 1px solid rgba(198, 156, 109, 0.3);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: 0;
        /* Remove margin since no button next to it */
    }

    .whatsapp-btn {
        display: none;
    }

    .whatsapp-btn span {
        display: none;
        /* Hide text */
    }

    .whatsapp-btn svg {
        margin-right: 0 !important;
        /* Remove margin from icon */
    }

    /* Mobile adjustments for logo text */
    /* Mobile adjustments for logo text */
    .logo-wrapper {
        gap: 8px;
    }

    .logo-title {
        font-size: 0.9rem;
    }

    .logo-subtitle {
        font-size: 0.45rem;
        letter-spacing: 2px;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .logo-wrapper {
        gap: 6px;
    }

    .logo img {
        height: 28px;
    }

    .logo-title {
        font-size: 0.8rem;
    }

    .logo-subtitle {
        display: none;
        /* Hide subtitle on very small screens to save space */
    }

    .whatsapp-btn {
        padding: 8px;
        width: 35px;
        height: 35px;
        justify-content: center;
    }

    .header-actions {
        gap: 10px;
    }
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 31, 79, 0.85) 0%, rgba(10, 31, 79, 0.7) 50%, rgba(10, 31, 79, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px !important;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
}

.hero-logo {
    height: 120px;
    /* Reduced from maybe too big */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-text);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        margin-top: 80px;
        /* Increased from 60px to avoid overlap with fixed header */
    }

    .hero-logo-wrapper {
        margin-bottom: 20px;
    }

    .hero-logo {
        height: 60px;
        /* Smaller */
    }

    .hero-title {
        font-size: 1.8rem;
        /* Significantly reduced */
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        /* Limit max width */
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        /* Slightly easier to tap */
    }
}

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

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

.section-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-blue-deep);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-description {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    color: var(--color-gold-start);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-item h5 {
    color: var(--color-blue-deep);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Image side */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    background-color: var(--color-gray-light);
    border-radius: 4px;
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    width: 90%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    filter: grayscale(20%) sepia(10%) hue-rotate(180deg) saturate(1.5) brightness(0.9);
    /* Subtle blue tint attempt */
}

.about-badge {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: var(--color-blue-deep);
    color: var(--color-white);
    padding: 20px 30px;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold-start);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

.practices {
    background-color: var(--color-gray-light);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.separator-gold {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    margin: 20px auto 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 30px;
}

@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .areas-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

.area-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.icon-wrapper {
    color: var(--color-gold-start);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.area-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.area-card h3 {
    color: var(--color-blue-deep);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.area-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    transition: width 0.4s ease;
}

.area-card:hover .card-border {
    width: 100%;
}

.differentials {
    background-color: var(--color-blue-deep);
    color: var(--color-white);
    padding: 100px 0;
}

.text-white {
    color: var(--color-white) !important;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.diff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.diff-item:hover {
    transform: translateY(-5px);
}

.diff-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-start);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-start);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.diff-item:hover .diff-icon-circle {
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-blue-deep);
    border-color: transparent;
}

.diff-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.diff-item p {
    font-size: 0.95rem;
    color: var(--color-gray-text);
    line-height: 1.6;
}

.locations {
    background-color: var(--color-blue-deep);
    background: linear-gradient(180deg, var(--color-blue-deep) 0%, #05102a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.locations-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.text-gold {
    color: var(--color-gold-start);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.locations-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.locations-subtitle {
    color: var(--color-gray-text);
    max-width: 700px;
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Map Visual Styled to look "Tech/Premium" */
.map-visual {
    width: 100%;
    max-width: 600px;
    /* Square container */
    height: 600px;
    margin: 0 auto 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .map-visual {
        height: 350px;
        /* Reduced height for mobile */
        margin-bottom: 30px;
    }

    .locations {
        padding: 50px 0;
    }
}

.map-svg-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at center, rgba(10, 31, 79, 1) 20%, rgba(10, 31, 79, 0) 70%);
    border-radius: 10px;
    /* Slight roundness but mostly square */
    border: 1px solid rgba(198, 156, 109, 0.1);
    box-shadow: 0 0 50px rgba(10, 31, 79, 0.5);
    overflow: hidden;
}

/* Simulated Brasil Shape using CSS or SVG if avail */
.brazil-map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    /* Subtle background */
    filter: brightness(0) invert(1);
    /* Ensure it's white/light against dark bg */
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-pin:hover {
    transform: translateY(-5px) scale(1.1);
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    /* Smaller pulse base */
    height: 15px;
    border-radius: 50%;
    background: rgba(198, 156, 109, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
    box-shadow: 0 0 10px rgba(198, 156, 109, 0.6);
}

.pin-label {
    margin-top: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold-start);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Positioning Pins roughly relative to the image coordinate system */
/* Adjustments for image placement */
.pin-pa {
    top: 30%;
    left: 55%;
}

/* Pará */
.pin-ma {
    top: 32%;
    left: 65%;
}

/* Maranhão */
.pin-to {
    top: 45%;
    left: 60%;
}

/* Tocantins */


.locations-actions {
    display: flex;
    /* Changed from grid to flex for centering if few items, or grid if many */
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    /* More gap */
    text-align: left;
    /* Align text left */
    padding: 15px 25px;
    /* Bigger padding */
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    transition: all 0.3s ease;
}

.location-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(198, 156, 109, 0.4);
}

.btn-icon-box {
    background: rgba(10, 31, 79, 0.1);
    /* Subtle dark bg for icon */
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .locations-title {
        font-size: 1.8rem;
    }

    .map-visual {
        height: 300px;
    }

    .locations-actions {
        flex-direction: column;
        align-items: center;
    }

    .location-btn {
        width: 100%;
        max-width: 100%;
    }
}

.contact {
    background-color: var(--color-blue-deep);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

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

.contact-info {
    max-width: 600px;
    width: 100%;
}

.contact-text {
    color: var(--color-gray-text);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.method-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
}

.method-icon {
    color: var(--color-gold-start);
    width: 30px;
    height: 30px;
}

.method-item h4 {
    margin-bottom: 5px;
    color: var(--color-white);
}

.method-item p {
    color: var(--color-gray-text);
    font-size: 1.1rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 350px;
}

.footer {
    background-color: #05102a;
    color: var(--color-gray-text);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo-img {
    width: 120px;
    /* Increased size */
    height: auto;
    margin-bottom: 15px;
    /* Removed filter to show original image colors */
}

/* Removed old logo styling */
.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-regional {
    margin: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    width: 100%;
}

.regional-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.regional-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 768px) {
    .regional-header {
        flex-direction: column;
        gap: 8px;
    }
}

.regional-title strong {
    color: var(--color-gold-start);
}

.regional-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Reduced gap slightly */
    font-size: 1rem;
}

.flag-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed border/background to look like the Brazil emoji style */
    padding: 0;
    background: transparent;
    border: none;
}

.flag-item img {
    width: 28px;
    /* Slightly larger to match emoji size */
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Removed flag-item span styling since text is gone */


.state-flag {
    font-size: 0.8rem;
    background: var(--color-gold-start);
    color: var(--color-blue-deep);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.separator-footer {
    margin-bottom: 20px;
}

.footer-copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-blue-deep);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}