/* Variáveis CSS */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff9800;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
    --card-background: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-blue: #1e4b9a; /* Cor azul do cabeçalho conforme imagem */
    --header-yellow: #efc13c; /* Cor amarela do cabeçalho conforme imagem */
    --subtitle-color: #7a8ba8; /* Cor cinza-azulada para o subtítulo */
    --title-green: #2a7a3d; /* Verde para o título principal */
    --header-light: #f0f5ff; /* Nova cor clara para o cabeçalho */
    --header-text-dark: #1e3a6c; /* Cor escura para textos do cabeçalho */
    --cta-button-color: #1e4b9a; /* Cor azul para o botão CTA, como na imagem 3 */
    --cta-button-hover: #2a5cb3; /* Cor azul mais clara para hover do botão */
    
    /* Cores alegres */
    --happy-yellow: #FFD166;
    --happy-orange: #FF9F1C;
    --happy-blue: #118AB2;
    --happy-green: #06D6A0;
    --happy-pink: #EF476F;
    
    /* Tamanhos de fonte base */
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-xlarge: 20px;
    --font-size-xxlarge: 24px;
    --font-size-xxxlarge: 32px;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: var(--font-size-base);
    background-image: linear-gradient(to bottom, #f5f7fa, #f8f9fb);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main.container {
    padding: 0 20px;
}

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

/* Cabeçalho */
header {
    background-color: var(--header-light); /* Cor clara para o cabeçalho */
    color: var(--header-text-dark);
    padding: 20px 0 25px;
    box-shadow: var(--box-shadow);
    position: relative;
    border-bottom: 1px solid rgba(30, 58, 108, 0.1); /* Borda sutil para separar do conteúdo */
    animation: headerFadeIn 1s ease-out;
}

.header-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px; /* Aumentando a altura da barra amarela */
    background-color: var(--happy-yellow); /* Cor mais alegre para a barra superior */
    background-image: linear-gradient(90deg, var(--happy-yellow), var(--happy-orange));
}

header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    padding-top: 5px; /* Adicionando um pouco de espaço após a barra amarela */
}

.logo {
    margin-right: 25px;
    display: flex;
    align-items: center;
    max-width: 220px;
    position: relative;
    z-index: 2;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.header-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: 'Baloo 2', cursive;
    font-size: var(--font-size-xxxlarge);
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--header-text-dark); /* Cor escura para o título */
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.header-subtitle {
    color: var(--happy-blue);
    font-size: var(--font-size-xlarge);
    margin-top: 5px;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-subtitle i {
    color: var(--happy-pink);
    animation: bounce 2s infinite;
}

/* Seção Hero - Nova estrutura sem sobreposição */
.hero-section {
    margin: 30px 0 0 0; /* Removendo a margem inferior */
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Ajustando o border-radius */
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--header-text-dark);
    background-image: linear-gradient(135deg, var(--header-text-dark), #2a4b8c);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover::after {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image:hover {
    transform: scale(1.03);
}

.hero-text-container {
    padding: 30px;
    text-align: center;
    background-color: var(--header-text-dark);
    color: var(--light-text);
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Ajustando o border-radius */
    position: relative;
    z-index: 1;
}

.hero-text-container h2 {
    font-family: 'Baloo 2', cursive;
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--happy-yellow);
}

.hero-text-container h2 i {
    margin-right: 10px;
    color: var(--happy-orange);
}

.hero-text-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--happy-orange), var(--happy-yellow), var(--happy-orange));
    border-radius: 3px;
}

.hero-text-container p {
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.6;
}

.hero-text-container p i {
    color: var(--happy-pink);
    animation: pulse 1.5s infinite;
}

.hero-cta {
    margin: 25px auto 10px;
    max-width: 800px;
    display: block;
}

.hero-description {
    font-size: var(--font-size-large);
    margin: 20px auto;
    line-height: 1.8;
    display: block;
}

/* Texto alternativo para mobile (oculto em desktop) */
.hero-mobile-text {
    display: none;
}

/* Seção Calendário */
.calendar {
    margin: 40px 0;
    position: relative;
}

.calendar h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--header-text-dark);
    font-size: var(--font-size-xxlarge);
    font-family: 'Baloo 2', cursive;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.calendar h2 i {
    color: var(--happy-orange);
    margin-right: 10px;
}

.calendar h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--happy-blue), var(--happy-green), var(--happy-blue));
    border-radius: 3px;
}

.week {
    margin-bottom: 60px; /* Aumentado para maior separação entre semanas */
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra mais pronunciada */
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(30, 58, 108, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.week::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, 
        var(--happy-yellow), 
        var(--happy-orange), 
        var(--happy-pink), 
        var(--happy-blue), 
        var(--happy-green)
    );
    z-index: 1;
}

.week:hover {
    transform: translateY(-5px);
}

.week::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
}

.week h3 {
    background-color: var(--header-text-dark);
    color: var(--light-text);
    padding: 18px 25px; /* Aumentado para maior destaque */
    border-radius: 0;
    font-size: calc(var(--font-size-xlarge) + 2px); /* Tamanho aumentado */
    font-family: 'Baloo 2', cursive;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, var(--header-text-dark), #2a4b8c, #1e3a6c);
    position: relative;
    z-index: 2;
    letter-spacing: 1px; /* Melhora a legibilidade */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.week h3 i {
    color: var(--happy-yellow);
    margin-right: 15px; /* Espaçamento maior */
    animation: spin 4s linear infinite;
    font-size: 1.2em; /* Ícone maior */
}

.region {
    background-color: var(--card-background);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin: 0 15px 20px; /* Adicionadas margens laterais */
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border-left: 3px solid var(--happy-blue);
    position: relative;
}

.region:last-child {
    margin-bottom: 25px; /* Maior margem no último item */
}

.region:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-left: 3px solid var(--happy-green);
    background-color: rgba(255, 253, 240, 0.95);
}

.region:hover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, var(--happy-yellow), var(--happy-green));
    border-radius: 0 0 var(--border-radius) 0;
    opacity: 0.8;
    animation: pulse 1.5s infinite;
}

.region-header {
    background-color: var(--happy-blue);
    color: var(--light-text);
    padding: 12px 20px;
    background-image: linear-gradient(135deg, var(--happy-blue), #19b0e0);
    transition: var(--transition);
}

.region:hover .region-header {
    background-image: linear-gradient(135deg, var(--happy-green), #09b386);
}

.region-header h4 {
    font-size: var(--font-size-large);
    font-family: 'Baloo 2', cursive;
    display: flex;
    align-items: center;
}

.region-header h4 i {
    color: var(--happy-orange);
    margin-right: 10px;
}

.region-content {
    padding: 20px;
}

.region-content p {
    margin-bottom: 10px;
}

.region-content p i {
    color: var(--happy-blue);
    margin-right: 5px;
}

.region-content p:last-child {
    margin-bottom: 0;
}

/* Confetti */
.confetti-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--happy-yellow);
    opacity: 0.7;
    animation: confetti-fall 10s linear infinite;
}

.confetti:nth-child(2n) {
    background-color: var(--happy-pink);
    width: 8px;
    height: 8px;
    animation-delay: 1s;
    animation-duration: 12s;
    left: 15%;
}

.confetti:nth-child(3n) {
    background-color: var(--happy-blue);
    width: 12px;
    height: 12px;
    animation-delay: 2s;
    animation-duration: 9s;
    left: 30%;
}

.confetti:nth-child(4n) {
    background-color: var(--happy-green);
    width: 7px;
    height: 7px;
    animation-delay: 3s;
    animation-duration: 14s;
    left: 45%;
}

.confetti:nth-child(5n) {
    background-color: var(--happy-orange);
    width: 9px;
    height: 9px;
    animation-delay: 4s;
    animation-duration: 11s;
    left: 60%;
}

.confetti:nth-child(6n) {
    background-color: var(--happy-yellow);
    width: 11px;
    height: 11px;
    animation-delay: 5s;
    animation-duration: 13s;
    left: 75%;
}

.confetti:nth-child(7n) {
    background-color: var(--happy-pink);
    width: 6px;
    height: 6px;
    animation-delay: 6s;
    animation-duration: 10s;
    left: 90%;
}

.confetti:nth-child(8n) {
    background-color: var(--happy-blue);
    width: 10px;
    height: 10px;
    animation-delay: 7s;
    animation-duration: 15s;
    left: 20%;
}

.confetti:nth-child(9n) {
    background-color: var(--happy-green);
    width: 8px;
    height: 8px;
    animation-delay: 8s;
    animation-duration: 12s;
    left: 50%;
}

.confetti:nth-child(10n) {
    background-color: var(--happy-orange);
    width: 9px;
    height: 9px;
    animation-delay: 9s;
    animation-duration: 11s;
    left: 80%;
}

/* Rodapé */
footer {
    background-color: var(--header-text-dark);
    color: var(--light-text);
    padding: 20px 0;
    margin-top: 40px;
    background-image: linear-gradient(135deg, var(--header-text-dark), #2a4b8c);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    max-height: 50px;
    width: auto;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    margin: 0;
    text-align: left;
}

.footer-text i {
    color: var(--happy-pink);
    animation: pulse 1.5s infinite;
}

.footer-mediaware {
    margin-left: 20px;
}

.footer-mediaware p {
    margin: 0;
    font-family: 'MuseoModerno', sans-serif;
    font-weight: 500;
    color: #efc13c;
    font-size: var(--font-size-large);
    letter-spacing: 0.5px;
    opacity: 1;
}

/* Container do CTA */
.cta-container {
    margin: 35px 0 30px 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* Seção de Call-to-Action (CTA) */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--happy-blue);
    color: var(--light-text);
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    text-decoration: none;
    padding: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    margin: 0;
    border-radius: 0;
    font-family: 'Baloo 2', cursive;
    background-image: linear-gradient(135deg, var(--happy-blue), #0a6d8a);
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2em;
    animation: wiggle 2s infinite;
}

.cta-button: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: 0.5s;
    z-index: -1;
}

.cta-button:hover {
    background-image: linear-gradient(135deg, #0a6d8a, var(--happy-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover:before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.hero-section, .region, .gallery-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.cta-button {
    animation: pulse 2s infinite ease-in-out;
}

.cta-button:hover {
    animation: none;
    background-color: var(--cta-button-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.region:nth-child(2) {
    animation-delay: 0.1s;
}

.region:nth-child(3) {
    animation-delay: 0.2s;
}

.region:nth-child(4) {
    animation-delay: 0.3s;
}

.region:nth-child(5) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .hero-section, .region, .cta-button, .confetti, .header-subtitle i, 
    .hero-text-container p i, .footer-text i, .week h3 i, .cta-button i {
        animation: none;
    }
    
    .region:hover {
        transform: none;
    }
}

/* Media Queries para Responsividade */
@media (min-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-large: 18px;
        --font-size-xlarge: 22px;
        --font-size-xxlarge: 28px;
        --font-size-xxxlarge: 36px;
    }
    
    header .container {
        justify-content: flex-start;
    }
    
    .logo {
        margin-right: 30px;
        max-width: 240px;
    }
    
    .logo-image {
        max-height: 100px;
    }
    
    .header-titles {
        display: flex;
        flex-direction: column;
    }
    
    h1 {
        font-size: var(--font-size-xxxlarge);
        color: var(--header-text-dark);
    }
    
    .header-subtitle {
        font-size: var(--font-size-xlarge);
    }
    
    .hero-text-container h2 {
        font-size: var(--font-size-xxlarge);
    }
}

@media (max-width: 767px) {
    :root {
        --font-size-base: 16px;
        --font-size-large: 18px;
        --font-size-xlarge: 20px;
        --font-size-xxlarge: 22px;
        --font-size-xxxlarge: 26px;
    }
    
    body {
        font-size: var(--font-size-base);
    }
    
    header {
        padding: 20px 0;
    }
    
    .header-top-bar {
        height: 15px; /* Barra amarela um pouco menor em telas médias */
    }
    
    header .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        flex-wrap: wrap;
        padding-top: 5px;
    }
    
    .logo {
        margin-right: 15px;
        max-width: 180px;
    }
    
    .logo-image {
        max-height: 80px;
    }
    
    .header-titles {
        flex: 1;
    }
    
    h1 {
        font-size: var(--font-size-xxlarge);
        margin: 0;
        text-align: left;
        line-height: 1.3;
        color: var(--header-text-dark);
    }
    
    .header-subtitle {
        font-size: var(--font-size-large);
        margin-top: 2px;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-text-container {
        padding: 20px 15px;
    }
    
    .hero-text-container h2 {
        font-size: var(--font-size-xxlarge);
        margin-bottom: 5px;
    }
    
    .hero-text-container h2::after {
        bottom: -3px;
        height: 1px;
    }
    
    .hero-text-container p {
        font-size: var(--font-size-base);
        margin-top: 8px;
    }
    
    .hero-cta {
        margin: 20px auto 5px;
    }
    
    .calendar {
        margin: 30px 0;
    }
    
    .calendar h2 {
        margin-bottom: 20px;
    }
    
    .week {
        margin-bottom: 50px;
        margin-top: 30px;
    }
    
    .week::before {
        height: 3px;
    }
    
    .week h3 {
        padding: 15px 20px;
        font-size: var(--font-size-xlarge);
    }
    
    .region-header h4 {
        font-size: var(--font-size-large);
    }
    
    .region-content {
        padding: 15px;
        font-size: var(--font-size-base);
    }
    
    .region-content p {
        margin-bottom: 8px;
    }
    
    .region {
        margin: 0 10px 15px;
    }
    
    .region:last-child {
        margin-bottom: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-text p {
        text-align: center;
    }
    
    .footer-mediaware {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .footer-mediaware p {
        text-align: center;
    }
    
    .cta-button {
        font-size: var(--font-size-large);
        padding: 15px 0;
        letter-spacing: 0.3px;
    }
    
    .hero-description {
        font-size: var(--font-size-base);
        margin: 15px auto;
        line-height: 1.6;
    }
    
    .hero-section {
        margin: 30px 0 0 0;
    }
    
    .hero-text-container {
        padding: 20px 15px;
    }
    
    .cta-container {
        padding: 0;
        margin: 35px 0 30px 0;
    }
    
    .calendar {
        margin: 30px 0;
    }
    
    .region:hover::before {
        width: 7px; /* Barra lateral mais fina em dispositivos móveis */
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 15px;
        --font-size-large: 16px;
        --font-size-xlarge: 18px;
        --font-size-xxlarge: 20px;
        --font-size-xxxlarge: 24px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .header-top-bar {
        height: 12px; /* Barra amarela menor em telas pequenas */
    }
    
    header .container {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding-top: 5px;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 12px;
        max-width: 160px;
    }
    
    .logo-image {
        max-height: 70px;
    }
    
    .header-titles {
        text-align: center;
        width: 100%;
    }
    
    h1 {
        font-size: var(--font-size-xlarge);
        padding: 0;
        text-align: center;
        width: 100%;
        margin-top: 10px;
        color: var(--header-text-dark);
    }
    
    .header-subtitle {
        font-size: var(--font-size-large);
        margin-top: 2px;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-image {
        height: 220px;
    }
    
    .hero-text-container {
        padding: 15px 10px;
    }
    
    .region-content {
        padding: 12px;
    }
    
    .week {
        margin-bottom: 40px;
        margin-top: 25px;
    }
    
    .week h3 {
        padding: 12px 15px;
    }
    
    .week h3 i {
        margin-right: 10px;
    }
    
    .region-header {
        padding: 10px 15px;
    }
    
    .footer-logo-image {
        max-height: 40px;
    }
    
    .hero-section {
        margin: 15px 0 0 0;
    }
    
    .hero-text-container {
        padding: 25px 15px;
    }
    
    .hero-text-container h2 {
        font-size: var(--font-size-xxlarge);
    }
    
    .hero-mobile-text {
        display: block;
        margin: 15px 0;
        font-size: var(--font-size-base);
        line-height: 1.6;
        text-align: left;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: var(--border-radius);
        border-left: 3px solid var(--accent-color);
    }
    
    .hero-cta {
        margin: 15px auto 5px;
    }
    
    .cta-container {
        padding: 0;
        margin: 35px 0 20px 0;
    }
    
    .calendar {
        margin: 20px 0;
    }
    
    .calendar h2 {
        margin-bottom: 15px;
    }
    
    .week {
        margin-bottom: 20px;
    }
    
    .region {
        margin: 0 5px 10px;
    }
    
    .cta-button {
        font-size: var(--font-size-base);
        padding: 12px 0;
        white-space: normal;
        line-height: 1.4;
        letter-spacing: 0.2px;
        text-transform: none;
    }
    
    .hero-description {
        display: none;
    }
    
    .region:hover::before {
        width: 5px; /* Barra lateral ainda mais fina em dispositivos pequenos */
    }
    
    .footer-logo-image {
        max-height: 40px;
    }
    
    .footer-mediaware p {
        font-size: var(--font-size-base);
    }
}

/* Estilos para dispositivos móveis */
.mobile-device .region-header {
    padding: 15px 20px;
}

.mobile-device .region-content {
    padding: 18px;
}

.touch-friendly {
    cursor: pointer;
}

.mobile-device .search-input {
    font-size: 16px; /* Evita zoom automático em iOS */
}

/* Melhorias para acessibilidade em toque */
.mobile-device .region:active {
    transform: translateY(-2px);
    transition: transform 0.1s ease;
}

.mobile-device .gallery-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.mobile-device .back-to-top {
    width: 50px;
    height: 50px; /* Botão maior para facilitar o toque */
} 