/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --primary-color: #131E3D;      /* Deep Navy Blue from Canva */
    --accent-color: #CDAD7D;       /* Warm Copper/Gold from Canva */
    --accent-light: #E9DBA6;       /* Light Cream-Gold from Canva */
    --accent-hover: #b89c68;
    --bg-dark: #0d162d;            /* Darker Navy for contrast */
    --bg-light: #f4f6fa;           /* Light gray-blue background */
    --bg-white: #ffffff;
    
    --text-dark: #1e293b;          /* Slate 800 */
    --text-muted: #475569;         /* Slate 600 */
    --text-light: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(19, 30, 61, 0.06);
    --shadow-lg: 0 20px 40px rgba(19, 30, 61, 0.12);
    --shadow-gold: 0 15px 35px rgba(205, 173, 125, 0.18);
    
    --glass-bg: rgba(13, 22, 45, 0.55); /* Mais transparente */
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-max-width: 1200px;
}

/* ==========================================================================
   RESET & GLOBAL STYLES (AUMENTO GERAL DE TEXTO)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px; /* Mantém o padrão aumentado proporcionalmente */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn svg {
    transition: transform var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(205, 173, 125, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

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

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   NAVIGATION & BRAND LOGO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    padding: 1.8rem 0; /* Redimensionado para harmonia proeminente */
}

.navbar.scrolled {
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0; /* Altura compacta ao rolar */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0.5rem 2.5rem;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    vertical-align: middle;
}

.logo-img {
    height: 80px; /* Redimensionado */
    width: 85px; /* Mantém aspect ratio do logo */
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(205, 173, 125, 0.3)); /* Glow dourado sutil */
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 60px; /* Tamanho ao rolar */
    width: 64px;
    filter: drop-shadow(0 3px 10px rgba(205, 173, 125, 0.25)); /* Glow mais sutil ao rolar */
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* Redimensionado fluido */
    font-weight: 700;
    color: var(--accent-light); /* Dourado claro */
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 2.5rem; /* Redimensionado */
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.3rem; /* Redimensionado */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 36px; /* Redimensionado */
    height: 3px; /* Redimensionado */
    background-color: var(--text-light);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 3px;
    background-color: var(--text-light);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -8px; } /* Redimensionado */
.hamburger::after { bottom: -8px; } /* Redimensionado */

/* Hamburger open state */
.menu-toggle.open .hamburger {
    background-color: transparent;
}
.menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   HERO SECTION (PADRÃO CENTRALIZADO CANVA)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Suporte para viewport dinâmico no mobile */
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding-top: 210px; /* Redimensionado para evitar sobreposição */
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 18, 38, 0.8) 0%, rgba(19, 30, 61, 0.65) 100%); /* Mais transparente */
    z-index: 2;
}

/* Glow Blobs */
.hero-glow-blob-1 {
    position: absolute;
    top: 15%;
    left: 8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(205, 173, 125, 0.15) 0%, rgba(205, 173, 125, 0) 70%);
    filter: blur(80px);
    z-index: 3;
    pointer-events: none;
}

.hero-glow-blob-2 {
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19, 30, 61, 0.6) 0%, rgba(19, 30, 61, 0) 70%);
    filter: blur(100px);
    z-index: 3;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
}

/* Centralized Canva Pattern */
.hero-layout {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.hero-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-logo {
    height: 160px; /* Proporção original do Canva */
    width: 170px; /* Largura explícita para evitar colapso no Safari */
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 600;
    color: var(--text-light); /* Branco */
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    flex-grow: 1;
}

.hero-subtitle {
    font-size: 1.45rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

/* Contact Row (Canva Layout) */
.hero-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.hero-contact-label {
    background-color: var(--accent-color); /* Dourado escuro/cobre */
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-contact-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-contact-icons a {
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Suporte para Safari */
    transition: var(--transition-fast);
}

.hero-contact-icons a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Signature at bottom of Hero (Canva Layout) */
.hero-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
    text-align: center;
    width: 100%;
}

.sig-name {
    font-family: 'Alex Brush', cursive, sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sig-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
section {
    padding: 8.5rem 0;
    position: relative;
}

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

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    display: block;
    margin-bottom: 0.85rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.75px;
}

.section-divider {
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   SERVICES SECTION (4-COLUMN LAYOUT)
   ========================================================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(19, 30, 61, 0.04);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-hover));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-color: rgba(205, 173, 125, 0.2);
}

.service-card:hover::after {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: rgba(19, 30, 61, 0.03);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: rgba(205, 173, 125, 0.12);
    color: var(--accent-color);
    transform: rotate(5deg) scale(1.05);
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 5.5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame-gold {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-color);
    background-color: var(--primary-color);
}

.image-frame-gold img {
    width: 100%;
    filter: brightness(0.98) contrast(1.03);
    transition: var(--transition-smooth);
}

.image-frame-gold:hover img {
    transform: scale(1.04);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    top: 18px;
    left: -18px;
    z-index: -1;
    transition: var(--transition-smooth);
}

.about-image::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
    top: -8px;
    left: -8px;
}

.about-image:hover::before {
    top: 12px;
    left: -12px;
}

.about-name {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.75px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.tag {
    background-color: rgba(205, 173, 125, 0.08);
    color: var(--accent-hover);
    border: 1px solid rgba(205, 173, 125, 0.2);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.45rem 1rem;
    border-radius: 6px;
}

.bio-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

/* Qualifications Grid */
.qualifications-grid {
    margin-top: 2.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.check-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.qualification-item span {
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 4rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(205, 173, 125, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
}

.contact-info-title {
    color: var(--text-light);
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.contact-info-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Melhora o alinhamento vertical */
    margin-bottom: 2.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

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

.info-item:hover .info-icon {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.info-details span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 0.35rem;
}

.info-details a,
.info-details p {
    font-size: 1.1rem;
    font-weight: 400;
    word-break: break-all;
}

.info-details a:hover {
    color: var(--accent-color);
}

/* Form Styling */
.contact-form-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(19, 30, 61, 0.04);
}

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

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

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 0.95rem 1.15rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(205, 173, 125, 0.18);
}

.form-status {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: center;
    border-radius: 6px;
    padding: 1rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.08);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5.5rem 0 0 0;
}

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

.footer-brand .logo-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-img {
    height: 48px;
    width: auto;
}

.footer-brand .logo-main {
    font-size: 1.35rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.02rem;
    font-weight: 300;
    max-width: 340px;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.75rem;
    font-weight: 600;
}

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

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

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

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2.25rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
    font-weight: 300;
}

/* ==========================================================================
   SCROLL INTERACTIVE ANIMATIONS
   ========================================================================== */
.animate-scroll {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.20s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.28s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .about-grid {
        gap: 3.5rem;
    }
}

@media (max-width: 991px) {
    /* Ativar Menu Hambúrguer em tablets e telas menores (evita colisão de textos) */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-color);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 3rem 2.5rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    }
    
    .nav-menu.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .navbar {
        background-color: var(--primary-color) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 1rem 0 !important;
    }
    
    .navbar.scrolled {
        padding: 0.8rem 0 !important;
    }

    .logo-brand {
        gap: 1rem;
    }

    .logo-img {
        height: 64px;
        width: 68px; /* Proporção mantida */
    }

    .logo-main {
        font-size: 1.4rem;
    }

    section {
        padding: 6.5rem 0;
    }
    .hero {
        padding-top: 180px; /* Redimensionado */
    }
    .hero-header-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .hero-logo {
        height: 100px;
        width: 106px;
    }
    .hero-title {
        text-align: center;
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
    .hero-contact-row {
        justify-content: center;
    }
    .hero-signature {
        margin-top: 3.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .about-image::before {
        left: -14px;
        top: 14px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Tamanhos menores para celulares */
    .logo-brand {
        gap: 0.8rem;
    }

    .logo-img {
        height: 52px;
        width: 55px; /* Proporção mantida no mobile */
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    /* Hero Responsive */
    .hero-logo {
        height: 80px;
        width: 85px; /* Proporção mantida no mobile */
    }
    .hero-title {
        font-size: 2.1rem; /* Ajustado para mobile */
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-contact-row {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .hero-contact-label {
        width: 100%;
        text-align: center;
    }
    .sig-name {
        font-size: 3rem;
    }
    
    /* Services Responsive */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 2.25rem;
    }

    /* About Qualifications */
    .qualifications-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Footer Responsive */
    .footer-bottom-container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    /* Contact Responsive */
    .contact-form-container,
    .contact-info {
        padding: 2.5rem 2rem;
    }
}
