/* Reset básico e box-sizing para facilitar o layout */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para cores, facilitando a manutenção e padronização */
:root {
    --dark-primary: #1A1A1A;
    /* Preto quase total para fundo e texto principal */
    --dark-secondary: #2C2C2C;
    /* Cinza escuro para seções */
    --yellow-accent: #FFD700;
    /* Amarelo vibrante (capacete Senna) */
    --yellow-accent-d: #CCAA00;
    --green-accent: #00923F;
    /* Verde bandeira */
    --blue-accent: #002776;
    /* Azul bandeira */
    --white: #FFFFFF;
    /* Branco */
    --gray-light: #F0F0F0;
    /* Cinza muito claro */
    --muted-text: #B0B0B0;
    /* Texto secundário em fundos escuros */
    --red-alert: #DC3545;
    /* Vermelho para alertas */
}

/* Comportamento de scroll suave para âncoras */
html {
    scroll-behavior: smooth;
}

/* Estilos globais do corpo */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-primary);
    color: var(--white);
    overflow-x: hidden;
    /* Evita scroll horizontal indesejado */
    line-height: 1.6;
    /* Melhor legibilidade */
}

/* Links globais */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== UTILITIES (Classes de utilidade para reuso) ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Padding horizontal para evitar que o conteúdo cole nas bordas */
}

.section-padding {
    padding: 80px 0;
}

/* Padding padrão para seções, agora vertical */
.section-gray {
    background: var(--dark-secondary);
}

.section-dark {
    background: var(--dark-primary);
    color: var(--white);
}

/* Já é o padrão do body, mas para consistência */

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

.section-label {
    font-size: 14px;
    color: var(--yellow-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    /* clamp para responsividade de fonte */
    color: var(--white);
    line-height: 1.1;
}

.section-title span {
    color: var(--yellow-accent);
}

.section-sub {
    font-size: 16px;
    color: var(--muted-text);
    max-width: 700px;
    margin: 15px auto 0;
}

/* Botões primários */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--yellow-accent), var(--yellow-accent-d));
    color: var(--dark-primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.5);
}

/* Botões outline */
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--yellow-accent);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-outline-primary:hover {
    border-color: var(--yellow-accent-d);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.legacy-cta {
    background: linear-gradient(135deg, var(--green-accent), var(--blue-accent));
    box-shadow: 0 6px 20px rgba(0, 146, 63, 0.4);
}

.tribute-link {
    border-color: var(--yellow-accent);
    color: var(--yellow-accent);
}

.tribute-link:hover {
    border-color: var(--yellow-accent-d);
    color: var(--yellow-accent-d);
    background: rgba(255, 215, 0, 0.08);
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark-primary);
    padding: 8px 0;
    /* Padding vertical */
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-msg {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-msg span {
    color: var(--yellow-accent);
    font-weight: 700;
}

.topbar-social {
    display: flex;
    gap: 12px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.topbar-social a:hover {
    color: var(--yellow-accent);
    background: rgba(255, 215, 0, 0.12);
}

/* ===== NAVBAR ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Fixa a navbar no topo */
    background: var(--dark-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    /* Transição para a sombra */
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    /* Padding vertical */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    /* Evita que o logo encolha */
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--yellow-accent), var(--yellow-accent-d));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark-primary);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.logo-text span:first-child {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-text span:last-child {
    font-size: 9px;
    color: var(--muted-text);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    color: var(--muted-text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: var(--dark-secondary);
    color: var(--yellow-accent);
}

.nav-links a.active {
    color: var(--yellow-accent);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--green-accent), var(--blue-accent));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 146, 63, 0.35);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 146, 63, 0.4);
}

/* Hamburger menu para mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* Menu mobile (escondido por padrão) */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

/* Mostra o menu quando 'open' é adicionado */

.mobile-menu a {
    padding: 10px 14px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--dark-secondary);
    color: var(--yellow-accent);
}

.mobile-menu-cta {
    padding: 10px 14px;
    color: var(--yellow-accent);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    /* Imagem de fundo com fallback de cor */
    background: url('https://via.placeholder.com/1920x800/1A1A1A/FFD700?text=Ayrton+Senna') center center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

/* Overlay escuro para melhorar a legibilidade do texto */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 12px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    /* Efeito de blur no fundo do tag */
}

.hero-tag i {
    color: var(--yellow-accent);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
    color: var(--yellow-accent);
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== BIOGRAPHY SECTION ===== */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Layout com duas colunas */
    gap: 60px;
    align-items: center;
}

.bio-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bio-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.bio-info p {
    font-size: 16px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.bs-item strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: var(--yellow-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.bs-item span {
    font-size: 13px;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===== CAREER HIGHLIGHTS SECTION ===== */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.career-card {
    background: var(--dark-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.career-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.career-info {
    padding: 20px;
}

.career-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.career-info span {
    font-size: 14px;
    color: var(--yellow-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.career-info p {
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.7;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.achievement-item {
    background: var(--dark-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.achievement-item i {
    font-size: 48px;
    color: var(--yellow-accent);
    margin-bottom: 15px;
}

.achievement-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.achievement-item span {
    font-size: 13px;
    color: var(--muted-text);
}

/* ===== MOMENTS SECTION ===== */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.moment-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.moment-item:hover {
    transform: scale(1.03);
}

.moment-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.moment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.moment-overlay i {
    font-size: 40px;
    color: white;
}

/* ===== LEGACY SECTION ===== */
.legacy-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.legacy-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.legacy-info p {
    font-size: 16px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legacy-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== QUOTES SECTION ===== */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quote-card {
    background: var(--dark-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.quote-card i.fa-quote-left {
    font-size: 36px;
    color: var(--yellow-accent);
    margin-bottom: 20px;
}

.quote-card p {
    font-size: 15px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.quote-card span {
    font-size: 13px;
    color: var(--muted-text);
}

/* ===== TRIBUTE WALL SECTION ===== */
.tribute-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.tribute-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.tribute-info p {
    font-size: 16px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.tribute-form {
    background: var(--dark-primary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tribute-form h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 15px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--yellow-accent);
    outline: none;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--yellow-accent), var(--yellow-accent-d));
    color: var(--dark-primary);
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.5);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(90deg, var(--green-accent), var(--blue-accent));
    padding: 60px 0;
    /* Padding vertical */
    color: white;
}

.newsletter .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.news-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.news-text h3 span {
    color: var(--yellow-accent);
}

.news-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.news-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.news-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    color: var(--dark-primary);
    font-family: 'Poppins', sans-serif;
}

.news-form button {
    background: var(--yellow-accent);
    color: var(--dark-primary);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-form button:hover {
    background: var(--yellow-accent-d);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-icon {
    background: white;
    color: var(--dark-primary);
}

.footer-logo-title {
    color: white;
}

.footer-logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

footer {
    background: var(--dark-primary);
    color: white;
    padding: 60px 0 30px;
    /* Padding vertical */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo-icon {
    background: white;
    color: var(--dark-primary);
}

.footer-about .logo-text span:first-child {
    color: white;
}

.footer-about .logo-text span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: color 0.3s ease;
}

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

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: white;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--yellow-accent);
}

.footer-col ul li a i {
    font-size: 12px;
    color: var(--yellow-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p span {
    color: var(--yellow-accent);
    font-weight: 600;
}

.footer-bottom p a {
    color: var(--white);
    transition: all .3s ease;
}

.footer-bottom p a:hover {
    color: var(--yellow-accent);
}

.footer-selos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-selo {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-selo i {
    color: var(--yellow-accent);
}

/* ===== WHATSAPP BUTTON (Para contato com a fundação, por exemplo) ===== */
.wpp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    /* Cores do WhatsApp */
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 990;
    transition: transform 0.3s ease;
}

.wpp-btn:hover {
    transform: scale(1.1);
}

/* ===== LIGHTBOX (Para galeria de fotos e vídeos) ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--dark-secondary);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1002;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {

    .topbar,
    .nav-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    /* Esconde links e ações no mobile */
    .hamburger {
        display: flex;
    }

    /* Mostra o hamburger */
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 70px);
    }

    .hero-desc {
        font-size: 16px;
    }

    .about-grid,
    .career-grid,
    .achievements-grid,
    .moments-grid,
    .legacy-grid,
    .quotes-grid,
    .tribute-grid {
        grid-template-columns: 1fr;
        /* Coluna única para grids */
    }

    .about-grid .about-img,
    .legacy-grid .legacy-img {
        order: 0;
    }

    /* Imagem primeiro no mobile */
    .about-grid .about-info,
    .legacy-grid .legacy-info {
        order: 1;
    }

    /* Texto depois no mobile */
    .newsletter .container {
        flex-direction: column;
        text-align: center;
    }

    .news-form {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-selos {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .sec-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(30px, 8vw, 48px);
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .btn-primary,
    .btn-outline-primary {
        width: min(100%, 320px);
    }

    .bio-grid,
    .legacy-grid,
    .tribute-grid {
        gap: 30px;
    }

    .bio-info h3,
    .legacy-info h3,
    .tribute-info h3 {
        text-align: center;
    }

    .bio-stats {
        justify-content: center;
        text-align: center;
    }

    .tribute-form {
        padding: 28px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col ul li a {
        justify-content: center;
    }

    .wpp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .topbar .container {
        justify-content: center;
    }

    .topbar-msg {
        display: none;
    }

    .topbar-social {
        width: 100%;
        justify-content: center;
    }

    .nav-inner {
        padding: 12px 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-text span:first-child {
        font-size: 22px;
    }

    .logo-text span:last-child {
        font-size: 8px;
    }

    .hero {
        min-height: 62vh;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .hero-actions a {
        width: 100%;
        max-width: 320px;
    }

    .moment-item img {
        height: 220px;
    }

    .news-form input,
    .news-form button {
        width: 100%;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-selos {
        gap: 12px;
    }

    .footer-selo {
        font-size: 12px;
    }
}
