html, body{
    overflow-x: hidden !important; 
}
/* ===== VARIÁVEIS E RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', 'Poppins', sans-serif;
}

:root {
    --rosa-medio: #bf6dac;
    --azul-bebe: #c7eafb;
    --lilas: #d491c0;
    --rosa-forte: #ed3b83;
    --amarelo-claro: #fdf7b7;
    --light: #fcf8ff;
    --dark: #5a3a53;
    --text: #5a3a53;
    --verde-menta: #a8e6cf;
    --roxo-claro: #d4c1ec;
    --rosa-claro: #f9c5d1;
    --azul-claro: #c0d6df;
    --shadow-soft: 0 8px 32px rgba(191, 109, 172, 0.1);
    --shadow-medium: 0 15px 35px rgba(191, 109, 172, 0.15);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background: linear-gradient(135deg, var(--azul-bebe) 0%, var(--light) 50%, var(--amarelo-claro) 100%);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 16px; /* Tamanho base para texto maior */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== MODOS DE ACESSIBILIDADE ===== */

/* Modo Alto Contraste */
body.high-contrast {
    --rosa-medio: #000000;
    --azul-bebe: #ffffff;
    --lilas: #000000;
    --rosa-forte: #ff0000;
    --amarelo-claro: #ffff00;
    --light: #ffffff;
    --dark: #000000;
    --text: #000000;
    --verde-menta: #00ff00;
    --roxo-claro: #0000ff;
    --rosa-claro: #ff00ff;
    --azul-claro: #00ffff;
    
    background: #ffffff !important;
    color: #000000 !important;
}

body.high-contrast .feature-card,
body.high-contrast .book-card,
body.high-contrast .mission-card,
body.high-contrast .modal {
    background: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
}

body.high-contrast .btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #ff0000 !important;
}

body.high-contrast .modal-close {
    background: #ff0000 !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
}

body.high-contrast .floating-word {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ff0000 !important;
}

body.high-contrast .cursor-glow {
    background: radial-gradient(circle, rgba(255,0,0,0.8) 0%, rgba(255,0,0,0) 70%) !important;
}

body.high-contrast .particle {
    background: rgba(0, 0, 0, 0.9) !important;
}

body.high-contrast .notification {
    background: #ffff00 !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
}

body.high-contrast .accessibility-panel {
    background: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
}

body.high-contrast .accessibility-toggle {
    background: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #ff0000 !important;
}

body.high-contrast .floating-action-button {
    background: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #ff0000 !important;
}

body.high-contrast footer {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .footer-section h3 {
    color: #ffff00 !important;
}

body.high-contrast .footer-section p,
body.high-contrast .footer-section a {
    color: #00ffff !important;
}

body.high-contrast .social-icons a {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ff0000 !important;
}

body.high-contrast .social-icons a:hover {
    background: #ff0000 !important;
    color: #000000 !important;
}

body.high-contrast .cursor-trail {
    background: rgba(255, 0, 0, 0.7) !important;
}

body.high-contrast *:focus {
    outline: 3px solid #ff0000 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 10px #ff0000 !important;
}

/* Modo Texto Maior */
body.bigger-text {
    font-size: 20px !important;
}

body.bigger-text h1,
body.bigger-text .hero h1 {
    font-size: 3.5rem !important;
}

body.bigger-text h2,
body.bigger-text .section-title,
body.bigger-text .mission-title {
    font-size: 2.8rem !important;
}

body.bigger-text h3,
body.bigger-text .feature-card h3,
body.bigger-text .book-info h3,
body.bigger-text .mission-card h3 {
    font-size: 1.8rem !important;
}

body.bigger-text p,
body.bigger-text .hero p,
body.bigger-text .feature-card p,
body.bigger-text .book-info p,
body.bigger-text .mission-card p {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
}

body.bigger-text .btn {
    padding: 20px 40px !important;
    font-size: 1.2rem !important;
}

body.bigger-text .modal-title {
    font-size: 2.5rem !important;
}

body.bigger-text .modal-subtitle {
    font-size: 1.4rem !important;
}

body.bigger-text .modal-description {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
}

body.bigger-text .modal-features li {
    font-size: 1.2rem !important;
    padding: 12px 0 !important;
}

body.bigger-text .modal-btn {
    padding: 15px 25px !important;
    font-size: 1.2rem !important;
}

body.bigger-text .floating-word {
    font-size: 1.8rem !important;
    padding: 12px 16px !important;
}

body.bigger-text .floating-element {
    font-size: 3.5rem !important;
}

body.bigger-text .notification {
    padding: 20px 30px !important;
}

body.bigger-text .notification p {
    font-size: 1.2rem !important;
}

body.bigger-text .accessibility-panel {
    padding: 25px !important;
}

body.bigger-text .accessibility-option label {
    font-size: 1.2rem !important;
}

body.bigger-text .accessibility-option input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
}

body.bigger-text .accessibility-toggle {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
}

body.bigger-text .floating-action-button {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
}

body.bigger-text .keyboard-navigation {
    font-size: 1.1rem !important;
    padding: 12px 18px !important;
}

body.bigger-text .voice-controls {
    padding: 18px !important;
}

body.bigger-text .voice-controls h4 {
    font-size: 1.3rem !important;
}

body.bigger-text .voice-controls button {
    padding: 10px 15px !important;
    font-size: 1.1rem !important;
}

body.bigger-text .footer-section h3 {
    font-size: 1.8rem !important;
}

body.bigger-text .footer-section p,
body.bigger-text .footer-section a {
    font-size: 1.2rem !important;
}

body.bigger-text .social-icons a {
    width: 55px !important;
    height: 55px !important;
    font-size: 1.4rem !important;
}

body.bigger-text .copyright {
    font-size: 1.1rem !important;
}

/* ===== NOVO ESTILO PARA SEÇÃO DA AUTORA ===== */
.author-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(191, 109, 172, 0.2);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-image {
    flex-shrink: 0;
    width: 200px; /* Tamanho um pouco maior */
    height: auto;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--rosa-claro);
    transition: var(--transition);
}

.author-image img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    color: var(--rosa-medio);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
}

.author-info p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Ajustes responsivos para a seção da autora */
@media (max-width: 768px) {
    .author-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .author-image {
        width: 150px;
    }
    
    .author-info {
        text-align: left;
    }
}

/* Efeito de partículas no fundo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Efeito de brilho no mouse */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.3s;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER TRANSPARENTE COM MENU MOBILE ===== */
header {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    color: var(--rosa-forte);
    padding: 0px 0px;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(191, 109, 172, 0.2);
    border-bottom: 3px solid var(--lilas);
}

/* Garantir que o conteúdo do header fique legível quando transparente */
header:not(.scrolled) nav a,
header:not(.scrolled) .logo img {
    color: rgb(0, 0, 0);
}

header:not(.scrolled) nav a:hover,
header:not(.scrolled) nav a:focus {
    color: black;
    background: rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(191, 109, 172, 0.3));
}

.logo img:hover {
    transform: scale(1.05) rotate(5deg);
}

/* Menu Desktop */
.desktop-menu {
    display: flex;
    align-items: center;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.desktop-menu a {
    color: var(--rosa-medio);
    text-decoration: none;
    font-weight: 900;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.desktop-menu a:before {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        transition: left 0.5s;
    }

.desktop-menu a:hover:before {
    left: 100%;
}

.desktop-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rosa-forte);
    transition: var(--transition);
    transform: translateX(-50%);
}

.desktop-menu a:hover, .desktop-menu a:focus {
    color: var(--rosa-forte);
    background: rgba(237, 59, 131, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.desktop-menu a:hover:after, .desktop-menu a:focus:after {
    width: 80%;
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--rosa-medio);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: var(--transition);
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    background: var(--azul-claro);
    right: 0;
}

.mobile-menu .nav-link {
    display: block;
    padding: 15px 0;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(191, 109, 172, 0.2);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-menu .nav-link:hover {
    color: var(--rosa-forte);
    transform: translateX(5px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Ajustes para header transparente no mobile */
header:not(.scrolled) .menu-toggle span {
    background: white;
}

header.scrolled .menu-toggle span {
    background: var(--rosa-medio);
}

/* ===== HERO SECTION REESTRUTURADA ===== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 0;
    margin-bottom: 60px;
    min-height: 100vh; /* Altura mínima da tela inteira */
    display: flex;
    align-items: flex-end; /* Alinha o conteúdo na parte inferior */
    justify-content: center;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: var(--shadow-medium);
    background: url('imagens/background2.png') center/cover no-repeat !important;
    z-index: 1;
}

/* Background isolado */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.05)"/></svg>');
    background-size: 100% 100%;
}

/* Elementos flutuantes acima do background */
.hero .floating-elements,
.hero .floating-words {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2; /* Acima do background */
}

/* Conteúdo do hero */
.hero-content {
    position: relative;
    z-index: 3; /* Acima de tudo */
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
    border-radius: 30px 30px 0 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: none;
}

.hero h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.hero p {
    font-size: 1.3rem;
    margin: 0 auto 30px;
    max-width: 700px;
    font-weight: 700;
    color: var(--light);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    display: none;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--rosa-forte), var(--lilas));
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(237, 59, 131, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-pulse {
display: none;
    }

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.btn:hover, .btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(237, 59, 131, 0.6);
    outline: 2px solid white;
    outline-offset: 2px;
}

.btn:hover:before {
    left: 100%;
}

/* ===== DECORAÇÕES FOFAS ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 3rem !important;
    opacity: 0.3;
    animation: float-element 15s infinite ease-in-out;
}

@keyframes float-element {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* ===== PALAVRAS FLUTUANTES COM EFEITO CAMALEÃO ===== */
.floating-words-sitewide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998; /* Abaixo do conteúdo, acima do background */
    overflow: hidden;
}

.floating-word {
    position: absolute;
    font-size: 1.5rem !important;
    font-weight: 600;
    opacity: 0.9;
    animation: float-word 20s infinite ease-in-out, rainbow-bg 8s infinite;
    text-shadow: 0 2px 8px rgba(90, 58, 83, 0.3);
    padding: 8px 12px;
    border-radius: 15px;
    background-color: rgba(191, 109, 172, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(191, 109, 172, 0.4);
    color: var(--dark);
    pointer-events: none;
    user-select: none;
}

@keyframes float-word {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translateY(15px) rotate(-5deg) scale(0.9);
    }
    75% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
    }
}

@keyframes rainbow-bg {
    0% {
        background-color: rgba(191, 109, 172, 0.3);
        border-color: rgba(191, 109, 172, 0.5);
        box-shadow: 0 0 20px rgba(191, 109, 172, 0.3);
    }
    25% {
        background-color: rgba(212, 145, 192, 0.3);
        border-color: rgba(212, 145, 192, 0.5);
        box-shadow: 0 0 20px rgba(212, 145, 192, 0.3);
    }
    50% {
        background-color: rgba(199, 234, 251, 0.3);
        border-color: rgba(199, 234, 251, 0.5);
        box-shadow: 0 0 20px rgba(199, 234, 251, 0.3);
    }
    75% {
        background-color: rgba(253, 247, 183, 0.3);
        border-color: rgba(253, 247, 183, 0.5);
        box-shadow: 0 0 20px rgba(253, 247, 183, 0.3);
    }
    100% {
        background-color: rgba(191, 109, 172, 0.3);
        border-color: rgba(191, 109, 172, 0.5);
        box-shadow: 0 0 20px rgba(191, 109, 172, 0.3);
    }
}

/* Remover elementos flutuantes do hero */
.floating-elements {
    display: none !important;
}

/* Ajuste para o hero não interferir */
.hero {
    z-index: 999;
    position: relative;
}

/* Ajuste para conteúdo principal */
main {
    position: relative;
    z-index: 999;
}

/* Destaque para o botão de acessibilidade quando voz ativa */
.accessibility-toggle.voice-active {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(237, 59, 131, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(237, 59, 131, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(237, 59, 131, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(237, 59, 131, 0);
    }
}

/* ===== SEÇÕES PRINCIPAIS ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--rosa-medio);
    font-size: 2.5rem;
    position: relative;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--rosa-medio), var(--lilas));
    margin: 15px auto;
    border-radius: 3px;
}

.section-title-2:after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--rosa-claro), var(--azul-bebe));
    margin: 15px auto;
    border-radius: 3px;
}

.section-title-2 {
    opacity: 1;
    text-align: center;
    margin-bottom: 60px;
    color: var(--rosa-medio);
    font-size: 2.5rem;
    position: relative;
    font-weight: 700; 
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--rosa-medio), var(--lilas));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover:before, .feature-card:focus-within:before {
    transform: scaleX(1);
}

.feature-card:hover, .feature-card:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
}

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--rosa-medio), var(--lilas));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    margin-bottom: 20px;
    color: var(--rosa-medio);
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--dark);
    line-height: 1.7;
}

/* ===== SEÇÃO MISSÃO ELEGANTE - TEXTO ORIGINAL ===== */
.mission {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(212, 145, 192, 0.12), 
        rgba(191, 109, 172, 0.08)
    ) !important;
    backdrop-filter: blur(20px);
    border-radius: 30px;
    margin: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(191, 109, 172, 0.15);
}

.mission-header {
    text-align: center;
    margin-bottom: 60px;
}

.mission-title {
    font-size: 3rem;
    color: var(--rosa-medio);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--rosa-medio), var(--lilas));
    margin: 0 auto;
    border-radius: 2px;
}

.mission-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Cards da Missão */
.mission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(191, 109, 172, 0.1);
}

.mission-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.mission-card:hover:before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(191, 109, 172, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.mission-icon {
    font-size: 3.5rem !important;
    margin-bottom: 25px;
    display: block;
    background: linear-gradient(135deg, var(--rosa-medio), var(--lilas));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    opacity: 0.5;
}

.mission-card h3 {
    color: var(--rosa-medio);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-card p {
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: left;
}

.highlight {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 182, 193, 0.3) 50%, transparent 100%);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--rosa-forte);
}

/* Cores sutis diferentes para cada card */
.mission-intro {
    border-left: 4px solid rgba(191, 109, 172, 0.6);
}

.mission-purpose {
    border-left: 4px solid rgba(212, 145, 192, 0.6);
}

.mission-values {
    border-left: 4px solid rgba(237, 59, 131, 0.6);
}

.mission-call {
    border-left: 4px solid rgba(199, 234, 251, 0.6);
}

.mission-final {
    border-left: 4px solid rgba(253, 247, 183, 0.6);
}

/* Books Section */
.books {
    padding: 100px 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.book-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.book-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(191, 109, 172, 0.1) 0%, rgba(212, 145, 192, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.book-card:hover:before, .book-card:focus-within:before {
    opacity: 1;
}

.book-card:hover, .book-card:focus-within {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-medium);
}

.book-img {
    height: auto;
    width: 100%; 
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5.5rem;
    position: relative;
    opacity: 1;
}

.book-img img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    object-position: center;
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges; 
    transform: translateZ(0);
    backface-visibility: hidden; 
}


.book-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.1;
}

.book-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.book-info h3 {
    color: var(--rosa-medio);
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
}

.book-info p {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== ACESSIBILIDADE DO MODAL ===== */
.modal-overlay[aria-hidden="false"] {
    display: flex !important;
}

.modal-overlay[aria-hidden="true"] {
    display: none !important;
}

/* Elementos para leitores de tela */
.screen-reader-announcement {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Foco personalizado para elementos do modal */
.modal-btn:focus,
.modal-close:focus {
    outline: 3px solid var(--rosa-forte) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(237, 59, 131, 0.3) !important;
}

/* ===== MODAL PARA DETALHES DOS LIVROS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--border-radius);
    max-width: 2000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--rosa-forte);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover, .modal-close:focus {
    background: var(--rosa-medio);
    transform: scale(1.1);
}

.modal-content {
    padding-top: 110px;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    color: var(--rosa-medio);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--dark);
    font-size: 1.2rem;
    opacity: 0.8;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.modal-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.modal-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Mantém proporção sem cortar */
        object-position: center;
        image-rendering: -webkit-optimize-contrast; /* Melhora qualidade no Chrome */
        image-rendering: crisp-edges; /* Melhora qualidade geral */
        transform: translateZ(0); /* Força aceleração GPU */
        backface-visibility: hidden; /* Remove flickering */
}

.modal-details {
    text-align: left;
}

.modal-features {
    margin: 25px 0;
}

.modal-features h4 {
    color: var(--rosa-medio);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(191, 109, 172, 0.2);
    position: relative;
    padding-left: 25px;
}

.modal-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa-forte);
    font-weight: bold;
}

.modal-description {
    color: var(--rosa-medio);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
}
.modal-paragrafo {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--rosa-forte), var(--lilas));
    color: white;
}

.modal-btn.secondary {
    background: transparent;
    color: var(--rosa-medio);
    border: 2px solid var(--rosa-medio);
}

.modal-btn:hover, .modal-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(191, 109, 172, 0.3);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--lilas), var(--rosa-medio));
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.05)"/></svg>');
    background-size: 100% 100%;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.cta .btn {
    background: white;
    color: var(--rosa-medio);
    position: relative;
    z-index: 2;
}

.cta .btn:hover, .cta .btn:focus {
    background: var(--light);
    color: var(--rosa-medio);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #5a3a53, #3e2939);
    color: white;
    padding-top: 30px;
}

.footer-content {
    padding-left: 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 100px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: var(--amarelo-claro);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--amarelo-claro);
    border-radius: 3px;
}

.footer-section p, .footer-section a {
    color: #d8bfd5;
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover, .footer-section a:focus {
    color: white;
    transform: translateX(5px);
    outline: none;
}

.contact-info i {
    width: 25px;
    color: var(--amarelo-claro);
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover, .social-icons a:focus {
    background: var(--amarelo-claro);
    color: var(--dark);
    transform: translateY(-3px);
    outline: none;
}

.copyright {
    text-align: center;
    border-top: 1px solid #7a5a73;
    color: #b298ad;
    font-size: 0.95rem;
}

/* ===== ELEMENTOS INTERATIVOS EXTRAS ===== */
.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rosa-forte), var(--lilas));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(237, 59, 131, 0.4);
    transition: var(--transition);
    z-index: 1001;
    cursor: pointer;
}

.floating-action-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 20px rgba(237, 59, 131, 0.6);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--rosa-medio), var(--lilas));
    z-index: 101;
    transition: width 0.3s ease;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1002;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification i {
    font-size: 1.5rem;
    color: var(--rosa-medio);
}

.notification p {
    margin: 0;
    color: var(--dark);
}

.close-notification {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    margin-left: auto;
}

/* ===== ACESSIBILIDADE AVANÇADA ===== */
.accessibility-panel {
    position: fixed;
    top: 100px;
    right: 0px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 20px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.accessibility-panel.open {
    transform: translateX(0);
}

.accessibility-toggle {
    position: fixed;
    top: 265px;
    right: 5px;
    background: linear-gradient(135deg, var(--rosa-forte), var(--lilas));
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.accessibility-toggle:hover {
    transform: scale(1.1);
}

.accessibility-option {
    margin-bottom: 15px;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.accessibility-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.keyboard-navigation {
    position: fixed;
    bottom: 16px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.keyboard-navigation.show {
    opacity: 0;
}

.focus-highlight {
    outline: 3px solid #ff0000 !important;
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.voice-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    z-index: 106;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
}

.voice-controls h4 {
    margin-bottom: 10px;
    color: var(--rosa-medio);
}

.voice-controls button {
    background: var(--rosa-medio);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.voice-controls button:hover {
    background: var(--rosa-forte);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.bounce {
    animation: bounce 2s infinite;
}

.rainbow-text {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4, #fad0c4, #a1c4fd, #c2e9fb, #ff9a9e);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 5s ease infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ACESSIBILIDADE ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--rosa-forte);
    color: white;
    padding: 8px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus {
    outline: 2px solid var(--rosa-forte);
    outline-offset: 2px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1908px) {
    .btn-pulse {
        display: none;
    }

    .hero {
        min-height: 100vh;
    }
}

@media (max-width: 1500px) {
    .hero {
        min-height: 120vh;
    }
}

@media (max-width: 1390px) {
    .hero {
        min-height: 110vh; 
    }
}

@media (max-width: 1230px) {
    .hero {
        min-height: 100vh;
    }
}

@media (max-width: 1160px) {
    .hero {
        min-height: 85vh;
    }
}

@media (max-width: 1120px/600px) {
    .floating-word {
        font-size: 0.9rem !important;
        padding: 5px 8px !important;
    }

    /* Reduzir tamanho dos emojis flutuantes */
    .floating-element {
        font-size: 1.5rem !important;
    }

    .hero {
        min-height: 42vh;
    }

    .hero-content {
        padding: 0px 1px;
    }
    
    .logo img {
        height: 100px;
    }
}

@media (max-width: 992px) {
    .footer-content{
        padding-left: 5px !important;
    }
    .cta h2 {
        font-size: 1.6rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 70px;
    }
    
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        justify-content: flex-start !important;
        margin-right: auto !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Isso já garante logo na esquerda e menu na direita */
        position: relative;
        width: 100%;
    }

    .hero {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 35px 15px;
    }
    
    .floating-action-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-word {
        font-size: 1.2rem !important;
        padding: 6px 10px !important;
    }

    /* Reduzir tamanho dos emojis flutuantes */
    .floating-element {
        font-size: 1.2rem !important;
    }
    
    .accessibility-panel, .accessibility-toggle {
        top: 265px;
    }
    
    .voice-controls {
        bottom: 80px;
        left: 10px;
    }
}

@media (max-width: 928px) {
    .hero {
        min-height: 37vh;
    }
    .hero h1 {
        display: none;
    }
    
    .hero p {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-word {
        font-size: 0.9rem !important;
        padding: 5px 8px !important;
    }

    /* Reduzir tamanho dos emojis flutuantes */
    .floating-element {
        font-size: 1.2rem !important;
    }
    
    /* Reduzir quantidade de elementos no mobile */
    .floating-word:nth-child(n+6) {
        display: none !important;
    }
    
    .floating-element:nth-child(n+5) {
        display: none !important;
    }

    .hero {
        min-height: 45vh;
    }

    .hero-content {
        padding: 10px 10px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .section-title-2 {
        font-size: 2rem;
    }

    .mission {
        margin: 20px 10px;
        padding: 60px 0;
        border-radius: 20px;
    }
    
    .mission-title {
        font-size: 2.2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mission-card {
        padding: 25px 20px;
    }
    
    .mission-card p {
        font-size: 1rem;
        text-align: center;
    }
    
    .logo img {
        height: 70px;
        width: auto;
        transition: var(--transition);
        filter: drop-shadow(0 5px 15px rgba(191, 109, 172, 0.3));
    }
    
    .feature-card, .book-card, .inclusivity-card {
        padding: 30px 20px;
    }

    /* Modal responsivo */
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-close{
        top: 40px;
    }

    .modal-content {
        padding: 80px 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .notification {
        top: 5px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .accessibility-panel {
        max-width: calc(100% - 40px);
        right: 0px;
    }
    
    .voice-controls {
        max-width: calc(100% - 40px);
    }
    
    .mobile-menu {
        width: 280px;
    }
}

@media (max-width: 722px) {
    .hero {
        min-height: 40vh;
    }
}

@media (max-width: 616px) {
    .hero {
        min-height: 35vh;
    }
}

@media (max-width: 576px) {
    /* Ainda menor para celulares muito pequenos */
    .floating-word {
        font-size: 0.8rem !important;
        padding: 4px 6px !important;
    }
    
    .floating-element {
        font-size: 1rem !important;
    }
    
    /* Menos elementos ainda */
    .floating-word:nth-child(n+4) {
        display: none !important;
    }
    
    .floating-element:nth-child(n+3) {
        display: none !important;
    }

    .logo img {
        height: 70px;
    }
    
    .hero h1 {
        display: none;
    }
    
    .hero p {
        display: none;
    }
    
    .hero {
        min-height: 42vh;
    }

    .btn {
        padding: 15px 25px;
        font-size: 12px;
    }
    
    .floating-action-button {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        width: 250px;
        padding: 70px 20px 20px;
    }
    
    .mobile-menu .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .mission-card p {
        text-align: left;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
}

@media (max-width: 440px) {
    .btn {
        font-size: 10px;
    }
    .hero {
        min-height: 25vh;
    }
}

@media (max-width: 388px) {
    .btn {
        padding: 15px !important;
        font-size: 15px !important;
    }
    .hero {
        min-height: 30vh;
    }
}

@media (max-width: 344px) {
    .btn {
        font-size: 10px;
    }
    .hero {
        min-height: 30vh;
    }
}

@media (max-width: 338px) {
    .btn {
        font-size: 10px;
    }
    .hero {
        min-height: 20vh;
    }
}

/* ===== MODOS DE COR ===== */
@media (prefers-contrast: high) {
    :root {
        --rosa-medio: #9c3a7d;
        --azul-bebe: #a8d5f0;
        --lilas: #b3669c;
        --rosa-forte: #c2185b;
        --amarelo-claro: #fff9c4;
        --light: #ffffff;
        --dark: #2c1a27;
        --text: #2c1a27;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a3a4a 0%, #2d1b2e 50%, #3a2e1a 100%);
    }
    
    .feature-card, .book-card, .testimonial-card {
        background: rgba(40, 30, 45, 0.8);
        color: #f0e6f6;
    }
    
    .feature-card p, .book-info p, .testimonial-content {
        color: #e0d6e9;
    }
}

/* ===== ESTILOS PARA RESUMOS ===== */
.book-summaries-container {
    display: none; /* Oculto por padrão, será usado pelo JavaScript */
}

.book-summary {
    display: none; /* Cada resumo individual está oculto */
}
/* ===== NOVO LAYOUT DO MODAL ===== */
.modal-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-right-column {
    display: flex;
    flex-direction: column;
}

/* Ajuste para a imagem do cenário */
.modal-left-column .modal-image {
    margin-bottom: 0;
}

/* Ajuste para a seção da autora ficar abaixo da imagem */
.modal-left-column .author-section {
    margin-top: 0;
    padding-top: 25px;
    border-top: 2px solid rgba(191, 109, 172, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-left-column {
        gap: 20px;
    }
    
    .modal-left-column .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-left-column .author-info {
        text-align: left;
    }
}

/* ===== NOVO LAYOUT DO MODAL ===== */
.modal-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-right-column {
    display: flex;
    flex-direction: column;
}

/* Ajuste para a imagem do cenário */
.modal-left-column .modal-image {
    margin-bottom: 0;
}

/* Ajuste para a seção da autora ficar abaixo da imagem */
.modal-left-column .author-section {
    margin-top: 0;
    padding-top: 25px;
    border-top: 2px solid rgba(191, 109, 172, 0.2);
}

/* NOVO: Estilo para os subtítulos (Sobre o livro, Sobre a Autora, Características) */
.section-subtitle {
    color: var(--rosa-medio);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(191, 109, 172, 0.3);
}

/* NOVO: Seção de descrição do livro */
.book-description-section {
    margin-bottom: 25px;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-left-column {
        gap: 20px;
    }
    
    .modal-left-column .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-left-column .author-info {
        text-align: left;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
}

/* ===== ESTILO PARA OS TÍTULOS DOS RESUMOS ===== */
.book-summary-content h3 {
    color: var(--rosa-medio) !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid rgba(191, 109, 172, 0.3) !important;
}

.book-summary-content h4 {
    color: var(--rosa-medio) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin: 25px 0 15px 0 !important;
}

.book-summary-content p {
    color: var(--dark) !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

/* Para garantir que os parágrafos fiquem pretos mesmo no modo alto contraste */
body.high-contrast .book-summary-content p {
    color: #000000 !important;
}

/* Para garantir que os títulos fiquem na cor rosa mesmo no modo alto contraste */
body.high-contrast .book-summary-content h3,
body.high-contrast .book-summary-content h4 {
    color: var(--rosa-medio) !important;
}

/* Fix para ícones no iOS */
/* ===== CORREÇÃO COMPLETA PARA iOS ===== */
@supports (-webkit-touch-callout: none) {
    /* CORREÇÃO FOOTER - iOS Safari - VERSÃO CORRIGIDA */
    .footer-section .contact-info {
        display: flex !important;
        align-items: baseline !important; /* ← Alinha ícone e texto na mesma linha base */
        gap: 12px !important;
        margin-bottom: 15px !important;
        min-height: 24px !important;
        line-height: 1.5 !important;
    }
    
    /* O ícone dentro do .contact-info */
    .footer-section .contact-info i {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        color: var(--amarelo-claro) !important;
        position: relative !important;
        top: 0.1em !important; /* ← Ajuste fino para alinhamento vertical */
    }
    
    /* ESPECÍFICO para o telefone (segundo item .contact-info) */
    .footer-section .contact-info:nth-of-type(2) i.fa-phone {
        top: 0.08em !important; /* ← Ajuste mais fino para o telefone */
    }
    
    /* O texto que vem depois do ícone */
    .footer-section .contact-info::after {
        content: attr(data-text) !important;
        flex: 1 !important;
        line-height: inherit !important;
    }
    
    /* Para telas muito pequenas */
    @media (max-width: 480px) {
        .footer-section .contact-info {
            gap: 10px !important;
            font-size: 14px !important;
        }
        
        .footer-section .contact-info i {
            width: 18px !important;
            height: 18px !important;
            font-size: 14px !important;
        }
        
        .footer-section .contact-info:nth-of-type(2) i.fa-phone {
            top: 0.05em !important; /* Ajuste para telas pequenas */
        }
    }


        /* Para telas muito pequenas */
        @media (max-width: 480px) {
            .btn {
                padding: 10px;
                font-size: 9px;
            }
            .contact-info p {
                flex-wrap: wrap;
                white-space: normal;
            }
            
            .contact-info i {
                width: 18px;
                font-size: 14px;
            }
        }
}

/* ===== AJUSTES PARA O NOVO HERO ===== */
/* Modo alto contraste para o novo hero */
body.high-contrast .hero-background {
    filter: contrast(200%) brightness(150%);
}

body.high-contrast .hero-content {
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Modo texto maior para o novo hero */
body.bigger-text .hero {
    min-height: 120vh;
}

body.bigger-text .hero-content {
    padding: 80px 20px;
}

body.bigger-text .hero h1 {
    font-size: 4rem;
}

body.bigger-text .hero p {
    font-size: 1.5rem;
}

/* Efeito de sobreposição para melhor legibilidade */
@media (max-width: 480px) {
    .hero h1{
        display: none;
    }
    .hero p {
        display: none;
    }
}

