/* Custom CSS for Gestação Saudável Landing Page */
/* Version: 2026-01-09 Updated */

/* Font Face Definitions */
@font-face {
    font-family: 'UnimedSans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/unimedsans-regular-webfont.woff2') format('woff2'),
         url('../fonts/unimedsans-regular-webfont.woff') format('woff'),
         url('../fonts/unimedsans-regular-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/unimedsans-bold-webfont.woff2') format('woff2'),
         url('../fonts/unimedsans-bold-webfont.woff') format('woff'),
         url('../fonts/unimedsans-bold-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/UnimedSlab-Light.woff2') format('woff2'),
         url('../fonts/UnimedSlab-Light.woff') format('woff'),
         url('../fonts/UnimedSlab-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/UnimedSlab-LightItalic.woff2') format('woff2'),
         url('../fonts/UnimedSlab-LightItalic.woff') format('woff'),
         url('../fonts/UnimedSlab-LightItalic.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/unimedslab-regular-webfont.woff2') format('woff2'),
         url('../fonts/unimedslab-regular-webfont.woff') format('woff'),
         url('../fonts/unimedslab-regular-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/unimedslab-regularitalic-webfont.woff2') format('woff2'),
         url('../fonts/unimedslab-regularitalic-webfont.woff') format('woff'),
         url('../fonts/unimedslab-regularitalic-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/UnimedSlab-Book.woff') format('woff'),
         url('../fonts/UnimedSlab-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/UnimedSlab-SemiBold.woff') format('woff'),
         url('../fonts/UnimedSlab-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSlab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/unimedslab-bold-webfont.woff2') format('woff2'),
         url('../fonts/unimedslab-bold-webfont.woff') format('woff'),
         url('../fonts/unimedslab-bold-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/UnimedSerif-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/UnimedSerif-RegularItalic.otf') format('opentype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/UnimedSerif-Book.otf') format('opentype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/UnimedSerif-BookItalic.otf') format('opentype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/UnimedSerif-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'UnimedSerif';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/UnimedSerif-BoldItalic.otf') format('opentype');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lora.ttf') format('truetype');
}

:root {
    /* Cores da proposta Figma */
    --bg-main: #ffffff;
    --bg-secondary: #EBE3D8;
    --primary-color: #CD9D90;
    --text-dark: #585C65;
    --bg-light-blue: #F8F9FF;
    --accent-rose: #E6C2C1;
    
    /* Cores complementares */
    --text-light: #8a8a8a;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(88, 92, 101, 0.1);
    --shadow-hover: 0 8px 15px rgba(88, 92, 101, 0.15);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'UnimedSans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-main);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

/* Bootstrap Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    gap: 10px;
    border-radius: 70px;
    min-height: 64px;
    border: none;
}

.btn-primary:hover {
    background-color: #b8877a;
    border-color: #b8877a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 24px;
    gap: 10px;
    border-radius: 70px;
    min-height: 64px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--text-dark) !important;
}

/* Font Family Classes */
.font-unimed-sans {
    font-family: 'UnimedSans', Arial, sans-serif;
}

.font-unimed-slab {
    font-family: 'UnimedSlab', Georgia, serif;
}

.font-unimed-serif {
    font-family: 'UnimedSerif', Georgia, serif;
}

.font-lora {
    font-family: 'Lora', Georgia, serif;
}

/* General Button Styles */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 70px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 20px 24px;
    min-height: 64px;
    font-size: 1rem;
}

.btn-sm {
    padding: 12px 18px;
    min-height: 44px;
    font-size: 0.875rem;
}

.programming-nav .btn {
    padding: 8px 12px;
    min-height: 36px;
    font-size: 0.875rem;
    border-radius: 50px;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.bg-light {
    background-color: var(--bg-secondary) !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--bg-light-blue);
    padding-top: 80px;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Espaçamento entre colunas */
.hero-section .col-lg-6 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-section .col-lg-6:last-child {
    padding-right: 0;
    padding-left: 1rem;
}

@media (max-width: 991.98px) {
    .hero-section .col-lg-6 {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-title-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    max-height: 200px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    gap: 10px;
    border-radius: 70px;
    min-height: 64px;
    font-weight: 500;
    text-decoration: none;
}

.hero-image-container {
    position: relative;
    text-align: center;
    height: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 85vh;
    height: auto;
    object-fit: contain;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Main Content Section - Features List */
#curso .col-lg-6 {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 991.98px) {
    #curso .col-lg-6 {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 2rem;
    }
}

.content-title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Features List Style */
.features-list {
    padding-left: 1rem;
    padding-right: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon-card {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon-card i {
    color: var(--white);
    font-size: 1.5rem;
}

.feature-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Cards */
.card {
    border: 1px solid var(--bg-secondary);
    border-radius: 15px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-body {
    padding: 2rem;
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
}

/* Programming Section */
.programming-title {
    font-family: 'UnimedSans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    text-align: center;
}

.programming-nav-arrows {
    display: flex;
    gap: 12px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-nav-arrow:hover {
    background-color: #b8877a;
    transform: scale(1.1);
}

.btn-nav-arrow:active {
    transform: scale(0.95);
}

.btn-nav-arrow i {
    font-size: 1rem;
}

.programming-carousel {
    margin-bottom: 2rem;
    min-height: 380px;
    padding: 0;
    overflow: visible;
}

.programming-carousel .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: visible;
    min-height: 350px;
    justify-content: center;
    gap: 20px;
    margin: 0 !important;
}

/* Force cards to be visible */
.programming-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.programming-carousel .col-lg-6 {
    flex: 0 0 auto !important;
    width: 45% !important;
    max-width: 520px !important;
    padding: 0 !important;
}

/* Desktop layout - ensure 2 cards side by side */
@media (min-width: 992px) {
    .programming-carousel .col-lg-6 {
        flex: 0 0 45% !important;
        width: 45% !important;
        max-width: 520px !important;
        padding: 0 !important;
    }
    
    .programming-carousel .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 20px;
        margin: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .programming-carousel .col-lg-6 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100%;
    }
    
    .programming-carousel .row {
        flex-wrap: wrap !important;
        gap: 1rem;
    }
}

.programming-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 3rem;
    color: var(--text-dark);
    height: 100%;
    min-height: 280px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(88, 92, 101, 0.08);
    opacity: 1;
    transform: translateX(0);
}

.programming-card.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px rgba(205, 157, 144, 0.25);
}

.programming-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(88, 92, 101, 0.12);
}

.programming-card.active:hover {
    box-shadow: 0 8px 28px rgba(205, 157, 144, 0.35);
}

.programming-date {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
    line-height: 1;
}

.date-day {
    font-family: 'UnimedSlab', serif;
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.date-month {
    font-family: 'UnimedSans', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
}

.date-weekday {
    font-family: 'UnimedSans', sans-serif;
    font-size: 0.95rem;
    opacity: 0.75;
    font-style: italic;
    line-height: 1;
}

.programming-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.programming-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.programming-item .bullet {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.programming-text {
    flex: 1;
    line-height: 1.6;
    display: inline;
    margin-right: 1rem;
}

.programming-item .time {
    font-family: 'UnimedSans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.programming-item .activity {
    font-family: 'UnimedSans', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.programming-item .instructor-text {
    font-family: 'UnimedSans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 0.25rem;
}

.instructor-photo {
    width: 90px;
    height: 90px;
    /* border-radius: 50%; */
    object-fit: cover;
    flex-shrink: 0;
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
    transition: all 0.3s ease;
}

.programming-card.active .instructor-photo {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Indicadores de página */
.programming-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(88, 92, 101, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(88, 92, 101, 0.4);
}

.indicator.active {
    background-color: var(--primary-color);
    width: 28px;
    border-radius: 5px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Help Section */
.help-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.help-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.help-accordion {
    max-width: 100%;
    margin: 0;
    height: 100%;
}

.help-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(88, 92, 101, 0.08);
    border: 1px solid rgba(88, 92, 101, 0.1);
    transition: all 0.3s ease;
}

.help-item:hover {
    box-shadow: 0 4px 20px rgba(88, 92, 101, 0.12);
    transform: translateY(-2px);
}

.help-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.help-question:hover {
    background-color: rgba(205, 157, 144, 0.05);
}

.help-question h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.help-icon {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.help-question[aria-expanded="true"] .help-icon {
    transform: rotate(180deg);
}

.help-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(88, 92, 101, 0.1);
}

.help-answer p {
    color: var(--text-light);
    margin: 1rem 0 0 0;
    line-height: 1.6;
    font-size: 1rem;
}

.help-contact {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(235, 227, 216, 0.5));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(205, 157, 144, 0.2);
}

.help-contact h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.help-contact p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.help-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-email:hover {
    color: #b8877a;
    text-decoration: underline;
}



/* Partners */
.partners-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.partner-logo {
    max-height: 50px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    padding: 0.1rem;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.partner-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Partner rows customization */
.partners-row-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.partners-row-7 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.partner-col-6 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding: 0.5rem;
}

.partner-col-7 {
    flex: 0 0 14.285714%;
    max-width: 14.285714%;
    padding: 0.5rem;
}

@media (max-width: 991.98px) {
    .partner-col-6,
    .partner-col-7 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .partner-col-6,
    .partner-col-7 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background-color: var(--primary-color) !important;
    border: none !important;
    color: var(--white) !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    padding: 0 !important;
    min-height: auto !important;
}

.back-to-top:hover {
    background-color: #b8877a !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 20px rgba(88, 92, 101, 0.2);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-rose), var(--primary-color));
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    gap: 10px;
    border-radius: 70px;
    min-height: 64px;
}

.cta-button:hover {
    background: var(--bg-main);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--bg-main);
    border: 1px solid var(--bg-secondary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(205, 157, 144, 0.25);
    border-color: var(--primary-color);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Footer */
footer {
    border-top: 2px solid var(--primary-color);
    background: var(--bg-secondary) !important;
}

.footer-brand {
    margin-bottom: 0.5rem;
}

.footer-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.footer-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-email {
    word-break: break-all;
    line-height: 1.3;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #b8877a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(205, 157, 144, 0.3);
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.social-link i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-divider {
    border-color: rgba(205, 157, 144, 0.3);
    margin: 0.75rem 0 0.5rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-logo {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.footer-logo:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-image {
        max-height: 150px;
        width: auto;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-cta {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 18px 24px;
        font-size: 1.1rem;
    }
    
    .content-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .content-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .feature-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .feature-icon-card {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .programming-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .programming-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
    
    .programming-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-image-container {
        text-align: center;
        justify-content: center;
        overflow: visible;
    }
    
    .hero-image {
        max-height: 60vh;
        max-width: 100%;
        margin-right: 0;
    }
    
    .hero-circle {
        width: 300px;
        height: 300px;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .content-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .features-list {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .feature-item {
        justify-content: flex-start;
        margin-bottom: 2rem;
    }
    
    .feature-icon-card {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
        border-radius: 10px;
    }
    
    .feature-icon-card i {
        font-size: 1.3rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .programming-card {
        margin-bottom: 2rem;
    }
    
    .programming-carousel {
        padding: 0 0.5rem;
        min-height: 400px;
    }
    
    .programming-carousel .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .programming-carousel .row {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
    }
    
    .programming-card {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }
    
    .programming-nav-arrows {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 1.5rem;
        gap: 10px;
    }
    
    .btn-nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .programming-date {
        text-align: center;
        align-items: center;
        margin-bottom: 1.75rem;
    }
    
    .programming-date .date-day {
        font-size: 3.5rem;
    }
    
    .programming-date .date-month {
        font-size: 1rem;
    }
    
    .programming-date .date-weekday {
        font-size: 0.95rem;
    }
    
    .programming-content {
        gap: 1rem;
    }
    
    .programming-item {
        line-height: 1.5;
    }
    
    .programming-indicators {
        margin-top: 2rem;
        order: 2;
    }
    
    .programming-title {
        margin-bottom: 1rem;
        font-size: 2rem;
    }
    
    .programming-nav-arrows {
        position: static !important;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .help-title {
        font-size: 2rem;
    }
    
    .help-question {
        padding: 1.2rem;
    }
    
    .help-question h6 {
        font-size: 1rem;
    }
    
    .help-contact {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .help-accordion {
        margin-bottom: 2rem;
    }
    
    .partner-logo {
        max-height: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .social-links {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .navbar {
        background-color: var(--bg-main) !important;
    }
}

@media (max-width: 576px) {
    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title-image {
        max-height: 120px;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        max-height: 45vh;
    }
    
    .hero-circle {
        width: 200px;
        height: 200px;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-cta {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        min-height: 56px;
    }
    
    /* Content Sections */
    .content-title {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
    }
    
    .content-description {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }
    
    /* Feature Items */
    .feature-item {
        align-items: flex-start;
        margin-bottom: 1.25rem;
        padding: 0.75rem;
    }
    
    .feature-icon-card {
        width: 45px;
        height: 45px;
        margin-top: 0.2rem;
        margin-right: 0.75rem;
        border-radius: 8px;
    }
    
    .feature-icon-card i {
        font-size: 1.1rem;
    }
    
    .feature-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 50px;
        border-radius: 25px;
    }
    
    .btn-primary, .btn-outline-primary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1rem;
        display: block;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    /* Programming Section Mobile */
    .programming-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .programming-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    
    .programming-carousel {
        margin-bottom: 1rem;
    }
    
    .programming-carousel .col-lg-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 15px;
        margin-right: 0;
    }
    
    .programming-carousel .row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
    
    .programming-card {
        margin: 0 auto 1.5rem;
        max-width: 400px;
        width: 100%;
    }
    
    /* Ensure single card visibility in mobile */
    @media (max-width: 767.98px) {
        .programming-carousel {
            overflow: visible;
            min-height: 300px;
        }
        
        .programming-carousel .row {
            display: flex;
            justify-content: center;
            margin: 0;
        }
        
        .programming-carousel .col-12 {
            max-width: 400px;
            padding: 0 20px;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .programming-card {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            min-height: 250px;
        }
        
        /* Garante que cards sem classe active no mobile tenham fundo branco */
        .programming-card:not(.active) {
            background: white !important;
            color: var(--text-dark) !important;
        }
        
        /* Garante que cards com classe active no mobile tenham fundo rosa */
        .programming-card.active {
            background: var(--primary-color) !important;
            color: white !important;
        }
    }
    
    .programming-date {
        text-align: center;
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .programming-date .date-day {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .programming-date .date-month {
        font-size: 1rem;
        margin: 0.25rem 0;
    }
    
    .programming-date .date-weekday {
        font-size: 0.9rem;
        opacity: 0.8;
    }
    
    .programming-item {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .programming-item .time {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .programming-item .activity {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .instructor-info {
        font-size: 0.8rem;
    }
    
    .instructor-photo {
        width: 70px;
        height: 70px;
    }
    
    .btn-nav-arrow {
        width: 44px;
        height: 44px;
    }
    
    .programming-nav-arrows {
        gap: 12px;
        margin-top: 1.5rem;
    }
    
    .programming-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .help-title {
        font-size: 1.8rem;
    }
    
    .help-question {
        padding: 1rem;
    }
    
    .help-question h6 {
        font-size: 0.95rem;
    }
    
    .help-contact {
        padding: 1.2rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        max-height: 40px;
    }
    
    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-email {
        font-size: 0.8rem;
    }
    
    .footer-social {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .programming-title {
        font-size: 2rem;
    }
    
    .programming-card {
        padding: 1.5rem;
    }
}

/* Smooth Scroll for Internal Links */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a8a;
}

/* Extra Small Devices - Mobile Optimization */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-title-image {
        max-height: 100px;
        margin-bottom: 1.25rem;
    }
    
    .hero-content {
        padding: 1rem 0.25rem;
    }
    
    .hero-cta {
        font-size: 0.95rem;
        padding: 14px 20px;
        min-height: 48px;
    }
    
    /* Content Sections Mobile */
    .content-title {
        font-size: 1.35rem;
        line-height: 1.2;
    }
    
    .content-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Feature Items Mobile */
    .feature-item {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon-card {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }
    
    .feature-icon-card i {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .feature-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Programming Section Mobile - Extra Small */
    .programming-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .programming-card {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1.25rem;
        border-radius: 12px;
    }
    
    .programming-date {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .programming-date .date-day {
        font-size: 2rem;
        line-height: 0.9;
    }
    
    .programming-date .date-month {
        font-size: 0.9rem;
    }
    
    .programming-date .date-weekday {
        font-size: 0.8rem;
    }
    
    .programming-item {
        padding: 0.5rem 0;
        margin-bottom: 0.75rem;
    }
    
    .programming-item .time {
        font-size: 0.85rem;
    }
    
    .programming-item .activity {
        font-size: 0.8rem;
        line-height: 1.25;
    }
    
    .instructor-info {
        font-size: 0.75rem;
    }
    
    .instructor-photo {
        width: 60px;
        height: 60px;
    }
    
    .btn-nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .btn-nav-arrow i {
        font-size: 0.8rem;
    }
    
    /* FAQ Section Mobile */
    .help-title {
        font-size: 1.5rem;
    }
    
    .help-question {
        padding: 0.75rem;
    }
    
    .help-question h6 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .help-answer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* CTA Section Mobile */
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    /* Footer Mobile */
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-links li a {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    .footer-email {
        font-size: 0.75rem;
    }
}

/* Touch-Friendly Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .help-question {
        padding: 1rem;
        min-height: 60px;
        touch-action: manipulation;
    }
    
    .nav-link {
        padding: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .feature-icon-card {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Improve tap targets */
    a, button, .clickable {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
    body {
        text-rendering: optimizeLegibility;
    }
    
    p, li, .content-description {
        max-width: none;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Improve button visibility */
    .btn-primary {
        box-shadow: 0 2px 8px rgba(205, 157, 144, 0.3);
    }
    
    .btn-primary:hover, .btn-primary:focus {
        box-shadow: 0 4px 12px rgba(205, 157, 144, 0.4);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Landscape Optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .programming-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .programming-card {
        padding: 1rem 0.75rem;
    }
    
    .programming-date {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .programming-date .date-day {
        font-size: 1.75rem;
    }
    
    .programming-item {
        padding: 0.4rem 0;
        margin-bottom: 0.5rem;
    }
    
    .btn-nav-arrow {
        width: 36px;
        height: 36px;
    }
    
    .instructor-photo {
        width: 55px;
        height: 55px;
    }
}