/* =========================================
   DESIGN SYSTEM & VARIABLES
   ========================================= */
:root {
    /* Colors - Trust Blues & Premium Accents */
    --primary-color: #0d2b45;      /* Deep Navy Blue */
    --secondary-color: #1a4a76;    /* Bright Navy */
    --accent-color: #c5a880;       /* Soft Gold/Champagne */
    --accent-hover: #b3956a;
    
    /* Text Colors */
    --text-main: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    
    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.center {
    text-align: center;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.mt-2 { margin-top: 1rem; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-spec {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-color));
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: top center;
    color: var(--text-white);
    padding-top: 80px; /* offset para o header fixo */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(13, 43, 69, 0.8) 100%);
    z-index: 1;
}

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

.hero-text {
    max-width: 700px;
}

.hero .badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(197, 168, 128, 0.2);
    border: 1px solid rgba(197, 168, 128, 0.4);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Quando tiver a foto: */
.about-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    margin-top: 8px;
}

.about-content {
    flex: 1;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.credentials-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(197, 168, 128, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    background-color: var(--bg-white);
}

.services .section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.services .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--text-white);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: rgba(197, 168, 128, 0.1);
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    transition: var(--transition);
}

/* =========================================
   LOCATIONS SECTION
   ========================================= */
.locations {
    background-color: var(--bg-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.location-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--accent-color);
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.location-content {
    padding: 40px;
}

.location-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.location-content .address {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, transparent 70%);
}

.cta-container {
    text-align: center;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 16px 40px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-name {
    color: var(--text-white);
}

.footer-brand p {
    margin-top: 24px;
    max-width: 300px;
}

.footer h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-contact p {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   MAKO ROBOTICS SECTION
   ========================================= */
.mako-section {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.mako-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
}

.mako-text {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.mako-text .text-white {
    color: var(--text-white);
}

.badge-light {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: var(--accent-color) !important;
}

.mako-benefits {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    background: rgba(197, 168, 128, 0.2);
    padding: 16px;
    border-radius: 16px;
    color: var(--accent-color);
}

.benefit-item h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-item p {
    color: rgba(255,255,255,0.8);
}

/* =========================================
   ACCORDION SERVICES
   ========================================= */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-white);
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
}

.accordion-inner {
    padding: 24px;
}

.accordion-inner p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.accordion-inner p:last-child {
    margin-bottom: 0;
}

/* =========================================
   MEDIA SECTION (YOUTUBE & INSTAGRAM)
   ========================================= */
.media-section {
    background-color: var(--bg-white);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.instagram-card {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 20px;
    padding: 3px;
    display: flex;
    flex-direction: column;
}

.insta-header {
    background: var(--bg-white);
    border-radius: 17px 17px 0 0;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.insta-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: url('assets/about-photo.jpg') center/cover;
    border: 2px solid #dc2743;
}

.insta-user {
    display: flex;
    flex-direction: column;
}

.insta-user strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

.insta-user span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.insta-body {
    background: var(--bg-white);
    border-radius: 0 0 17px 17px;
    padding: 30px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insta-body h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.insta-body p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.insta-btn {
    border-color: #dc2743;
    color: #dc2743;
    text-align: center;
}

.insta-btn:hover {
    background: #dc2743;
    color: var(--text-white);
}

.yt-btn {
    border-color: #FF0000;
    color: #FF0000;
    text-align: center;
}

.yt-btn:hover {
    background: #FF0000;
    color: var(--text-white);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    background-color: var(--bg-light);
}

.badge-doctoralia {
    background: rgba(0, 180, 150, 0.1) !important;
    border-color: rgba(0, 180, 150, 0.3) !important;
    color: #00b496 !important;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(197, 168, 128, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.patient-info strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.patient-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq {
    background-color: var(--bg-light);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-container { flex-direction: column; }
    .experience-badge { right: 20px; bottom: -20px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 2rem; }
    .nav-menu, .nav-btn { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-buttons .btn { width: 100%; }
    
    .locations-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}
