/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ========================================================================== */
:root {
    --primary: #0a2540;
    --primary-light: #1e3d5f;
    --accent: #ff6b00;
    --accent-hover: #e05e00;
    --secondary: #635bff;
    --secondary-hover: #4e45e4;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --text-dark: #0a2540;
    --text-muted: #425466;
    --text-light: #ffffff;
    --border-color: #e3e8ee;
    
    /* Typography */
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.06);
    --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ==========================================================================
   REUSABLE COMPONENTS (LAYOUT, BUTTONS, SECTIONS)
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-tagline {
    font-family: var(--font-title);
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: block;
    margin-bottom: 0.75rem;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-sm);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.btn-phone {
    background-color: var(--primary);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.btn-phone:hover {
    background-color: var(--secondary);
    color: var(--text-light);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .btn-phone {
        padding: 0.65rem;
        aspect-ratio: 1;
        border-radius: 50%;
    }
    .btn-phone span {
        display: none;
    }
}


.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.05);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.logo span span {
    color: var(--secondary);
}

/* Nav Menu (Mobile-optimized stack) */
.nav {
    display: none; /* Hidden on mobile by default or style as clean bar if needed */
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 5rem;
    background-image: url('assets/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-tagline {
    font-family: var(--font-title);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.hero-title {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(99, 91, 255, 0.2);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: bold;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.servicos {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 91, 255, 0.15);
}

.service-icon-container {
    width: 64px;
    height: 64px;
    background-color: rgba(99, 91, 255, 0.08);
    color: var(--secondary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-container {
    background-color: var(--secondary);
    color: var(--text-light);
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card-text {
    font-size: 0.975rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.galeria {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.2) 70%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 1.75rem;
}

.gallery-info {
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05rem;
    display: block;
    margin-bottom: 0.25rem;
}

.gallery-item-title {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Gallery Hover Interactions */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

/* ==========================================================================
   CONTACTS SECTION & FORM
   ========================================================================== */
.contactos {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.grid-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

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

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-link {
    color: var(--secondary);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Contact Card (Budget Form) */
.contacts-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contacts-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contacts-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    font-weight: 600;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    color: var(--text-light);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contacts ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.95rem;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contacts a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    font-size: 0.85rem;
}

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

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & ANIMATIONS
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    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: var(--transition-smooth);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* Ripple effect */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ==========================================================================
   MEDIA QUERIES (TABLETS & DESKTOP - MOBILE FIRST)
   ========================================================================== */

/* Tablets (min-width: 768px) */
@media (min-width: 768px) {
    .section {
        padding: 6.5rem 0;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    /* Hero */
    .hero {
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contacts */
    .grid-contacts {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 2fr 1fr 1.2fr;
    }
    
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktops (min-width: 1024px) */
@media (min-width: 1024px) {
    /* Header & Nav */
    .nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark);
        position: relative;
        padding: 0.5rem 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--secondary);
        transition: var(--transition-smooth);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    /* Hero */
    .hero {
        padding-top: 70px; /* Align to transparent headers */
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   CONFIANÇA INTERNACIONAL
   ========================================================================== */
.confianca-internacional {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.confianca-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.confianca-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.confianca-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.confianca-item:hover .confianca-icon {
    background-color: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.2);
}

.confianca-text h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.confianca-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .confianca-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

