/* ===================================
   ADVAS - Advogados Associados
   Estilos CSS - Design Profissional
   =================================== */

/* CSS Variables */
:root {
    /* Dark Theme */
    --color-primary: #0d1b2a;
    --color-primary-light: #1b263b;
    --color-primary-dark: #0a1421;

    --color-gold: #0076de;
    --color-gold-light: #3fa3fa;
    --color-gold-dark: #005bb0;

    --color-background: #0d1b2a;
    --color-background-alt: #1b263b;
    --color-surface: #1b263b;

    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-light: #64748b;

    --color-border: #2d3a4f;
    --color-border-light: #1f2937;

    --color-whatsapp: #25d366;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Light Theme (Padrao) */
.light-theme {
    --color-background: #ffffff;
    --color-background-alt: #f4f6f9;
    --color-surface: #ffffff;

    --color-text: #0d1b2a;
    --color-text-muted: #4b5563;
    --color-text-light: #94a3b8;

    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    --shadow-sm: 0 1px 2px 0 rgba(13, 27, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(13, 27, 42, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(13, 27, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(13, 27, 42, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--color-text);
    background-color: var(--color-background);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Previne scroll quando menu mobile esta aberto */
body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    line-height: 1.75;
}

.text-gold {
    color: var(--color-gold);
}

.italic {
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    gap: 0.625rem;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
}

.btn-gold {
    background-color: var(--color-gold);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Botao de contorno adaptavel ao tema (corrige visibilidade no tema branco) */
.btn-outline-light {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline-light:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-portal {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.btn-portal:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.dark-theme .header {
    background-color: var(--color-primary);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--color-background-alt);
    color: var(--color-text);
}

.dark-theme .icon-sun { display: block; }
.dark-theme .icon-moon { display: none; }
.light-theme .icon-sun { display: none; }
.light-theme .icon-moon { display: block; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-statue {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
    filter: grayscale(30%);
}

.light-theme .hero-statue {
    opacity: 0.5;
    filter: grayscale(15%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-background) 40%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
    flex-shrink: 0;
}

.hero-label span:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-gold);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-label-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
}

.section-label span:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-gold);
}

.section-title {
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease;
    opacity: 0;
    transform: translateY(28px);
    animation: card-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--card-index, 0) * 0.09s + 0.05s);
}

/* Faixa de destaque que cresce a partir do topo no hover */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

/* Brilho suave que segue o card no hover */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 100% 0%, rgba(0, 118, 222, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: color-mix(in srgb, var(--color-gold) 12%, transparent);
    color: var(--color-gold);
    border-radius: var(--radius-md);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.45s ease, color 0.45s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-gold);
    color: #ffffff;
    transform: rotate(-6deg) scale(1.08);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-border);
    transition: color 0.45s ease, transform 0.45s ease;
}

.service-card:hover .service-number {
    color: color-mix(in srgb, var(--color-gold) 35%, transparent);
    transform: translateX(-2px);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    transition: gap 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.service-link svg {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-link:hover {
    color: var(--color-gold-light);
    gap: 0.75rem;
}

.service-link:hover svg {
    transform: translateX(4px);
}

@keyframes card-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Videos Section */
.videos {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--color-background-alt);
}

.video-card.featured .video-thumbnail {
    aspect-ratio: auto;
    height: 300px;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    color: var(--color-gold-light);
}

.video-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.video-info {
    padding: 1.5rem;
}

.video-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gold);
}

.video-info h3 {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.video-info p {
    margin-top: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* News Section */
.news {
    padding: 6rem 0;
    background-color: var(--color-background-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-xl);
}

.news-image {
    aspect-ratio: 16/10;
    background-color: var(--color-background-alt);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
}

.light-theme .news-placeholder {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.news-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gold);
}

.news-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.news-content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.news-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.news-link:hover {
    color: var(--color-gold-light);
}

/* Causes Section */
.causes {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.causes-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cause-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.cause-item:hover {
    border-color: var(--color-gold);
}

.cause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-gold);
    color: #ffffff;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.cause-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.cause-text p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.light-theme .footer {
    background-color: var(--color-primary);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Esconde o item mobile em desktop */
.nav-item-mobile {
    display: none;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }

    .hero-statue {
        width: 50%;
        opacity: 0.3;
    }

    .light-theme .hero-statue {
        opacity: 0.4;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-card.featured .video-thumbnail {
        height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Header Mobile */
    .header .container {
        height: 70px;
    }

    .logo-img {
        height: 60px;
    }

    /* Menu Mobile - Fullscreen Overlay */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: var(--color-surface);
        padding: 100px 2rem 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .dark-theme .nav {
        background-color: var(--color-primary);
    }

    .nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 0;
        font-size: 1rem;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    /* Item Area de Associados no menu mobile */
    .nav-item-mobile {
        display: block;
        margin-top: 1.5rem;
        border-bottom: none !important;
    }

    .nav-link-portal {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        background-color: var(--color-gold);
        color: #ffffff !important;
        border-radius: var(--radius-md);
        font-weight: 600;
        text-align: center;
    }

    .nav-link-portal:hover {
        background-color: var(--color-gold-light);
    }

    .nav-link-portal svg {
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .btn-portal {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 0;
    }

    .hero .container {
        padding-top: 2.5rem;
        padding-bottom: 180px;
    }

    .hero-statue {
        width: 100%;
        opacity: 0.12;
    }

    .light-theme .hero-statue {
        opacity: 0.18;
    }

    .hero-overlay {
        background: linear-gradient(180deg, var(--color-background) 0%, rgba(255, 255, 255, 0) 50%, var(--color-background) 100%);
    }

    .dark-theme .hero-overlay {
        background: linear-gradient(180deg, var(--color-primary) 0%, rgba(13, 27, 42, 0.7) 50%, var(--color-primary) 100%);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-label {
        flex-wrap: wrap;
    }

    .hero-label span:last-child {
        font-size: 0.6875rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-title br {
        display: none;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Sections Mobile */
    .services,
    .videos,
    .news,
    .causes {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .causes-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cause-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .cause-icon {
        width: 44px;
        height: 44px;
    }

    .cause-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* WhatsApp Button Mobile */
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header .container {
        height: 64px;
    }

    .logo-img {
        height: 54px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .nav {
        padding: 80px 1.5rem 1.5rem;
    }

    .hero .container {
        padding-top: 2rem;
        padding-bottom: 160px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .services,
    .videos,
    .news,
    .causes {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .service-card,
    .news-content,
    .video-info {
        padding: 1.25rem;
    }

    .whatsapp-btn {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Mobile - 360px */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .news-card:hover,
    .video-card:hover,
    .cause-item:hover {
        transform: none;
    }

    .btn-gold:hover,
    .btn-outline-light:hover {
        transform: none;
    }

    .whatsapp-btn:hover {
        transform: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.video-card,
.news-card,
.cause-item {
    animation: fadeInUp 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
