@font-face {
    font-family: 'AirbnbCereal';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/AirbnbCereal_W_Lt.otf') format('opentype');
}

:root {
    --primary-color: #182533;       /* Slate Dark Blue */
    --secondary-color: #356C44;     /* Forest Green */
    --accent-color: #D4AF37;        /* Gold/Champagne */
    --body-bg: #FCFDFE;             /* Off-white */
    --card-bg: #FFFFFF;
    --text-primary: #1F2E3D;
    --text-secondary: #566A7F;
    --text-light: #8E9FAA;
    --border-color: #E2E8F0;
    --section-alt-bg: #F5F7FA;
    
    --font-primary: 'AirbnbCereal', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--body-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--primary-color);
}

/* Custom badges/highlights */
.badge-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.badge-secondary-custom {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

/* Header & Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    padding: 15px 0;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    background: rgba(24, 37, 51, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-custom.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}
.navbar-custom.scrolled .nav-link:hover,
.navbar-custom.scrolled .nav-link.active {
    color: #fff !important;
}
.navbar-custom.scrolled .btn-custom-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.navbar-custom.scrolled .btn-custom-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}
.navbar-brand img {
    height: 42px;
    width: auto;
    transition: var(--transition-smooth);
}

/* Buttons styling */
.btn-custom {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(53, 108, 68, 0.2);
}
.btn-custom:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 108, 68, 0.3);
}

.btn-custom-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(24, 37, 51, 0.2);
}
.btn-custom-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(24, 37, 51, 0.3);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
}
.btn-custom-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(24, 37, 51, 0.92) 0%, rgba(31, 48, 66, 0.85) 100%), url('../img/mainbg-2-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--body-bg), transparent);
    pointer-events: none;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-weight: 300;
}
.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

/* Modern Lead Capture Form */
.hero-form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.hero-form-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero-form-card .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}
.hero-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.hero-form-card .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(53, 108, 68, 0.25);
}
.hero-form-card .btn-submit {
    background-color: var(--secondary-color);
    color: #fff;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(53, 108, 68, 0.3);
    transition: var(--transition-smooth);
}
.hero-form-card .btn-submit:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sections Base Styling */
.section-padding {
    padding: 100px 0;
}
.section-title-wrapper {
    margin-bottom: 60px;
}
.section-subtitle {
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
}

/* Meta Section with Waist Background */
.meta-section {
    position: relative;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.8) 100%), url('../img/medindo-cintura.jpg');
    background-size: cover;
    background-position: center;
}
.meta-content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
}

/* Image blocks content section */
.img-block-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.img-block-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}
.img-block-wrapper:hover img {
    transform: scale(1.05);
}

/* Step-by-Step HTML/CSS Timeline */
.timeline-container {
    position: relative;
    padding: 50px 0;
}
/* Center line for desktop */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 60px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-badge {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, 0);
    z-index: 10;
    box-shadow: 0 0 0 8px rgba(53, 108, 68, 0.15), 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}
.timeline-item:nth-child(even) .timeline-badge {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 8px rgba(24, 37, 51, 0.15), 0 4px 10px rgba(0,0,0,0.15);
}
.timeline-item:hover .timeline-badge {
    transform: translate(-50%, -5px) scale(1.1);
}
.timeline-panel {
    width: 44%;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}
.timeline-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}
/* Left and Right placement */
.timeline-item:nth-child(odd) .timeline-panel {
    float: left;
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-panel {
    float: right;
    text-align: left;
}
/* Clearfix for float items */
.timeline-item::after {
    content: "";
    display: table;
    clear: both;
}
.timeline-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.timeline-item:nth-child(odd) .timeline-title {
    color: var(--secondary-color);
}
.timeline-item:nth-child(even) .timeline-title {
    color: var(--primary-color);
}
.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Timeline Responsive for Mobile */
@media (max-width: 991px) {
    .timeline-container::before {
        left: 30px;
    }
    .timeline-badge {
        left: 30px;
        transform: translate(-50%, 0);
    }
    .timeline-item:hover .timeline-badge {
        transform: translate(-50%, -3px) scale(1.05);
    }
    .timeline-panel {
        width: calc(100% - 70px);
        float: right !important;
        text-align: left !important;
        margin-left: 70px;
    }
}

/* Background image style for Como Funciona */
.how-it-works-section {
    background: linear-gradient(rgba(252, 253, 254, 0.95), rgba(252, 253, 254, 0.95)), url('../img/bg2-1.png');
    background-size: cover;
    background-position: center;
}

/* Benefits Section Cards */
.benefit-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: var(--transition-smooth);
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(24, 37, 51, 0.08);
    border-color: rgba(53, 108, 68, 0.3);
}
.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background-color: rgba(53, 108, 68, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.benefit-card:hover .benefit-icon-wrapper {
    background-color: var(--secondary-color);
}
.benefit-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.benefit-card:hover .benefit-icon-wrapper img {
    filter: brightness(0) invert(1);
}
.benefit-text {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Team Section & Cards */
.team-bg {
    background: #FCFDFE;
}
.team-doctor-large-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(24, 37, 51, 0.12);
}
.team-doctor-large-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-grid-wrapper {
    margin-top: 50px;
}
.team-member-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: center;
    transition: var(--transition-smooth);
}
.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}
.team-member-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f0f2f5;
}
.team-member-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.team-member-card:hover .team-member-img-box img {
    transform: scale(1.05);
}
.team-member-info {
    padding: 24px 15px;
}
.team-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.team-member-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
}

/* Call to Action Banner (A HORA É AGORA) */
.cta-banner-section {
    background: linear-gradient(135deg, rgba(24, 37, 51, 0.93) 0%, rgba(31, 48, 66, 0.9) 100%), url('../img/mulher-correndo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}
.cta-banner-section h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.cta-banner-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 35px auto;
}

/* Scarcity / Vagas Limitadas Section */
.scarcity-section {
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), url('../img/bg3.png');
    background-size: cover;
    background-position: center;
}
.scarcity-attention {
    color: #cf2e2e;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.scarcity-spots {
    background-color: rgba(207, 46, 46, 0.08);
    border: 1px dashed #cf2e2e;
    border-radius: 8px;
    padding: 15px 25px;
    display: inline-block;
    color: #cf2e2e;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 25px;
}
.payment-condition {
    background: rgba(53, 108, 68, 0.05);
    border: 1px solid rgba(53, 108, 68, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.payment-condition-text {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Footer Section */
.footer-section {
    background-color: #0F1822;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    border-top: 3px solid var(--secondary-color);
}
.footer-section h4, .footer-section h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-section h5 {
    color: var(--secondary-color);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.footer-address {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.footer-contact-list li {
    margin-bottom: 8px;
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact-list a:hover {
    color: var(--secondary-color);
}
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.footer-social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}
.footer-social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}
.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}
.footer-credit {
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.footer-credit a {
    color: #3b82f6;
    font-weight: 600;
}
.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}
