/* ===== Dr. Jorge Kfouri - CSS Limpo ===== */

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --success-color: #25d366;
    --white: #ffffff;
    --gray-700: #495057;
    --gray-800: #343a40;
    --font-family-primary: 'Poppins', sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-800);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100vw;
}

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

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item:last-child {
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    overflow: visible;
    white-space: nowrap;
    max-width: none;
    flex-shrink: 0;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== BUTTONS ===== */
.btn-whatsapp {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--white);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1fb854;
    border-color: #1fb854;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-width: 2px;
    font-weight: 500;
    border-radius: var(--border-radius);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    transform: translateY(-1px);
}

/* ===== CTA SECTION ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4285f4 0%, #667eea 100%) !important;
    position: relative;
}

.bg-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    border-width: 2px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 76px; /* altura aproximada da navbar */
    width: 100%;
    max-width: 100vw;
}

.hero-section .container {
    height: 100%;
    max-width: 100%;
}

.hero-section .row {
    height: 100%;
}

.hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-doctor-img {
    max-width: 100%;
    max-height: 750px;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

.stat-item {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

/* ===== HERO RESPONSIVIDADE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px 0;
    }
    
    .hero-title {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 1rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .hero-doctor-img {
        max-height: 500px;
        margin-top: 2rem;
    }
    
    .floating-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
        transform: none;
        animation: none;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .hero-section {
        padding: 90px 0 40px 0;
        min-height: calc(100vh - 20px);
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-stats .row {
        margin: 0;
    }
    
    .hero-stats .col-4 {
        padding: 0 0.25rem;
    }
    
    .stat-item {
        padding: 0.8rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.8rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-doctor-img {
        max-height: 400px;
        margin-top: 1.5rem;
        border-radius: 15px;
    }
    
    .floating-card {
        display: none;
    }
}

/* Mobile Small (até 575px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 80px 0 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .stat-item {
        padding: 0.6rem 0.4rem;
    }
    
    .stat-item h3 {
        font-size: 1.1rem;
    }
    
    .stat-item p {
        font-size: 0.7rem;
    }
    
    .hero-section .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-doctor-img {
        max-height: 350px;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }
}

/* Mobile Extra Small (até 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .stat-item h3 {
        font-size: 1rem;
    }
    
    .stat-item p {
        font-size: 0.65rem;
    }
    
    .hero-doctor-img {
        max-height: 300px;
    }
}

.floating-card {
    bottom: 10px;
    left: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-width: calc(100vw - 40px);
    animation: float 3s ease-in-out infinite;
}

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

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 120px;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(40, 167, 69, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.contact-content h6 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-content p {
    color: #6c757d;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    background: white;
}

form {
    margin-top: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* ===== FOOTER ===== */
.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===== FLOATING BUTTONS ===== */
/* Back to Top Button */
.back-to-top-float {
    position: fixed;
    bottom: 90px; /* Acima do botão WhatsApp */
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.back-to-top-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-float .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    transition: all 0.3s ease;
}

.back-to-top-float .btn:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.back-to-top-float .btn:active {
    transform: translateY(0) scale(0.95);
    transition: all 0.1s ease;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

/* ===== FLOATING BUTTONS RESPONSIVO ===== */
@media (max-width: 767px) {
    .back-to-top-float {
        bottom: 100px; /* Mais espaço no mobile */
        right: 15px;
    }
    
    .back-to-top-float .btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float .btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .back-to-top-float {
        right: 10px;
        bottom: 90px;
    }
    
    .back-to-top-float .btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        right: 10px;
        bottom: 10px;
    }
    
    .whatsapp-float .btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== BADGES ===== */
.bg-primary-soft {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* ===== HERO DECORATIONS ===== */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    max-width: 100vw;
}

.decoration-item {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    max-width: 100%;
}

.decoration-1 {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    top: 10%;
    right: 10%;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    bottom: 10%;
    left: 5%;
}

.decoration-3 {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    top: 50%;
    right: 20%;
}

/* ===== MISSING CLASSES FROM ORIGINAL ===== */
.min-vh-100 {
    min-height: 100vh !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.g-4 > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.h-100 {
    height: 100% !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.display-5 {
    font-size: calc(1.425rem + 2.1vw);
    font-weight: 300;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.rounded-4 {
    border-radius: 0.375rem !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.gap-3 {
    gap: 1rem !important;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-sm-row {
    flex-direction: row !important;
}

.align-items-center {
    align-items: center !important;
}

.text-center {
    text-align: center !important;
}

.text-lg-start {
    text-align: left !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

/* ===== BENEFIT CARD ITEMS (Inline benefits in "Why Homeopathy" section) ===== */
.benefit-card-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), #28a745);
}

.benefit-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.benefit-card-item .benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card-item:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary-color), #28a745);
    color: white !important;
    transform: scale(1.1);
}

.benefit-card-item .benefit-content h6 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.benefit-card-item .benefit-content p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.benefits-list {
    margin-top: 1rem;
}

/* ===== INFO BOX / CTA CARD ===== */
.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #667eea 50%, #f093fb 75%, #f5576c 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    border-radius: 25px;
    padding: 4rem 3rem 3.5rem 3rem;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 0 rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 3rem 0;
    color: white;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatRotate 6s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.info-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(102, 126, 234, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 2px 0 rgba(255, 255, 255, 0.3) inset;
}

.info-box:hover::before {
    opacity: 1;
}

/* Ícone de destaque */
.info-box-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    z-index: 10;
}

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

.info-box-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Título */
.info-box-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.info-box-title .fa-heart {
    color: #ff6b6b !important;
    animation: heartbeat 2s infinite;
    text-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Texto */
.info-box-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

/* Tags de benefícios */
.info-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.benefit-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.benefit-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.benefit-tag i {
    color: #4ecdc4;
}

/* Seção CTA */
.cta-section {
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    color: #ffd93d;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.cta-subtitle .fa-star {
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Botão CTA */
.cta-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.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: left 0.6s ease;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(37, 211, 102, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.3) inset;
    color: white;
}

.cta-button .fab-whatsapp {
    font-size: 1.3rem;
    margin-right: 0.8rem;
}

.btn-text {
    display: inline-block;
}

.btn-text small {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* Texto de garantia */
.guarantee-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.guarantee-text i {
    color: #4ecdc4;
}

/* Benefícios Mobile */
.benefit-mobile {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.benefit-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.benefit-mobile i {
    font-size: 1.2rem;
    color: #4ecdc4;
    display: block;
    margin-bottom: 0.3rem;
}

.benefit-mobile small {
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== OVERFLOW FIX ===== */
html {
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100vw;
}

/* Prevenir overflow horizontal em todos os elementos */
* {
    max-width: 100%;
}

/* Container responsivo */
.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Navbar fix */
.navbar {
    width: 100%;
    max-width: 100vw;
}

.navbar-brand {
    overflow: visible;
    white-space: nowrap;
    max-width: none;
    flex-shrink: 0;
}

/* Hero section overflow fix */
.hero-section {
    width: 100%;
    max-width: 100vw;
}

.hero-section .container {
    max-width: 100%;
}

.hero-section .row {
    margin-left: 0;
    margin-right: 0;
}

.hero-section .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix para imagem do doutor */
.hero-doctor-img {
    max-width: 100%;
    width: auto;
}

/* Fix para decorações */
.hero-decoration {
    max-width: 100vw;
}

.decoration-item {
    max-width: 100%;
}

/* Fix para cards flutuantes */
.floating-card {
    max-width: calc(100vw - 40px);
}

/* Responsividade mobile específica para overflow */
@media (max-width: 767px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .navbar-brand {
        max-width: none;
        font-size: 1.3rem;
    }
    
    .floating-card {
        max-width: calc(100vw - 20px);
        left: 10px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .hero-section .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* ===== DESKTOP LAYOUT FIXES ===== */
/* Garantir que o layout desktop tenha espaçamento adequado */
@media (min-width: 992px) {
    .hero-section .container {
        max-width: 1140px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .hero-section .col-lg-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Garantir alinhamento correto no desktop */
    .hero-section .order-lg-1 {
        order: 1 !important;
    }
    
    .hero-section .order-lg-2 {
        order: 2 !important;
    }
    
    /* Espaçamento entre as colunas no desktop */
    .hero-section .hero-content {
        padding-right: 2rem;
    }
    
    .hero-section .hero-image {
        padding-left: 2rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section .container {
        max-width: 720px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .hero-section .col-lg-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn-whatsapp,
    .whatsapp-float {
        display: none !important;
    }
}

/* ===== MOBILE OVERFLOW PREVENTION ===== */
@media (max-width: 767px) {
    /* Força todos os elementos a ficarem dentro da viewport apenas no mobile */
    *, *::before, *::after {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .hero-section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .floating-card {
        display: none !important;
    }
}

/* ===== HERO MOBILE ORDER ADJUSTMENTS ===== */
@media (max-width: 991px) {
    /* Ajustes para ordem mobile no hero */
    .hero-section .order-1 {
        margin-bottom: 2rem;
    }
    
    .hero-section .order-2 {
        margin-top: 1rem;
    }
    
    /* Imagem do doutor no topo mobile */
    .hero-section .hero-doctor-img {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    /* Mobile: foto primeiro, texto depois */
    .hero-section .order-1 {
        margin-bottom: 1.5rem;
    }
    
    .hero-section .order-2 {
        margin-top: 0.5rem;
    }
    
    /* Centralizar imagem no mobile */
    .hero-section .hero-image {
        text-align: center;
    }
    
    .hero-section .hero-doctor-img {
        max-width: 80%;
        margin: 0 auto 1rem auto;
        display: block;
    }
}

@media (max-width: 575px) {
    .hero-section .order-1 {
        margin-bottom: 1rem;
    }
    
    .hero-section .hero-doctor-img {
        max-width: 90%;
    }
}

/* ===== BOOTSTRAP CONTAINER RESTORE ===== */
/* Restaurar comportamento padrão do Bootstrap para desktop */
@media (min-width: 992px) {
    .container {
        max-width: 1140px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 960px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ===== BOOTSTRAP GRID RESTORE ===== */
/* Restaurar comportamento padrão das colunas Bootstrap para desktop */
@media (min-width: 992px) {
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .col-lg-6 {
        width: 50% !important;
        float: left !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Limpar floats */
    .row::after {
        content: "";
        display: table;
        clear: both;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .col-lg-6 {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ===== LGPD COMPLIANCE STYLES ===== */
.cookie-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner .btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cookie-banner .btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.cookie-banner .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.cookie-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.lgpd-float .btn {
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.lgpd-float .btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
}

.privacy-section {
    border-left: 4px solid var(--primary-color);
    background: white;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.privacy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* LGPD Compliance Badge */
.lgpd-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

/* Data Rights Section */
.data-rights {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.data-right-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-right-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Mobile responsiveness for LGPD elements */
@media (max-width: 767px) {
    .cookie-banner {
        padding: 1rem !important;
    }
    
    .cookie-banner .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-banner .col-lg-4 {
        text-align: center !important;
    }
    
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
    
    .lgpd-float {
        bottom: 80px !important;
        left: 10px !important;
    }
    
    .lgpd-float .btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
}
