@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #c2a990;          /* Warm Champagne Gold */
    --primary-dark: #a89178;     /* Muted Gold Accent */
    --primary-light: #f5f2eb;    /* Very Light Gold Tint */
    --secondary: #cfcabe;        /* Soft Taupe / Greige */
    
    /* Brand Orange Visual Identity */
    --orange-brand: #FF6239;       /* Vibrant Brand Orange */
    --orange-brand-hover: #E24D28; /* Darker Orange on Hover */
    --orange-brand-light: #FFF0EB; /* Light Orange Tint */
    --orange-brand-glow: rgba(255, 98, 57, 0.15);
    
    /* WhatsApp Colors */
    --whatsapp: #25D366;
    --whatsapp-hover: #1ebd50;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    
    /* Neutral Colors */
    --bg-primary: #FAF9F6;       /* Alabaster Warm White */
    --bg-secondary: #ffffff;     /* Pure White */
    --bg-dark: #111111;          /* Dark Theme Accent */
    --text-main: #1E1E1E;        /* Sophisticated Charcoal Black */
    --text-muted: #5A5A5A;       /* Muted Body Text */
    --text-light: #ffffff;       /* Light text for dark blocks */
    
    /* Borders & Shadow Details */
    --border-color: rgba(194, 169, 144, 0.2);
    --border-light: rgba(194, 169, 144, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 32px rgba(194, 169, 144, 0.06);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 24px 60px rgba(194, 169, 144, 0.12);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Transitions & Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   TYPOGRAPHY (Premium Hierarchy)
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.35rem; /* 21.6px */
    font-weight: 500;
    margin-bottom: 0.75rem;
}

p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1rem;
}

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

.highlight-gold {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 40px 0; /* Compact mobile section padding */
    position: relative;
}

.section-break {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0; /* Compact mobile break padding */
}

/* ==========================================================================
   BUTTONS & CONVERSION ELEMENTS
   ========================================================================== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--whatsapp);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-cta:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-cta svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0; /* Prevent icon from squishing on mobile */
}

/* Secondary CTA Button (Gold theme) */
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-secondary);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.btn-secondary-cta:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-cta svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Microcopy below CTA */
.cta-microcopy {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Center CTA wrapper */
.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 360px;
    margin: 30px auto 0 auto;
    width: 100%;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 90px; /* offset to stay above mobile footer */
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: none; /* Hidden on mobile to avoid overlapping with sticky footer */
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
    animation: pulseGlow 2s infinite;
}

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

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Sticky Mobile Footer CTA */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    padding: 12px 20px;
    z-index: 1000;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: var(--transition-slow);
    display: flex;
    justify-content: center;
}

.sticky-footer-cta.show {
    transform: translateY(0);
}

.sticky-footer-cta .btn-cta {
    padding: 14px 28px;
    font-size: 1rem;
    max-width: 500px;
}

/* ==========================================================================
   CARDS & CONTAINERS (Premium Aesthetic)
   ========================================================================== */
.premium-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-dark);
}

/* Glassmorphism decoration */
.bg-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194,169,144,0.06) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Section Header */
.section-header {
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.section-header .tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange-brand);
    background-color: var(--orange-brand-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

/* ==========================================================================
   SECTIONS SPECIFIC STYLES
   ========================================================================== */

/* --- HERO SECTION --- */
.hero {
    padding-top: 30px; /* Reduced from 100px for mobile first fold */
    padding-bottom: 45px;
    background: radial-gradient(circle at top right, rgba(255, 98, 57, 0.08) 0%, rgba(250, 249, 246, 0) 60%),
                radial-gradient(circle at bottom left, rgba(255, 98, 57, 0.04) 0%, rgba(250, 249, 246, 0) 40%);
    overflow: hidden;
}

.hero .logo-area {
    display: none; /* Hidden on mobile to prioritize first-fold content and save vertical space */
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 1.6rem; /* Smaller size for mobile screens to fit neatly */
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 0.95rem; /* Slightly smaller for mobile text reading */
    margin-bottom: 24px;
    line-height: 1.5;
}

.trust-badges {
    display: flex;
    flex-direction: row; /* Side-by-side on mobile */
    justify-content: center;
    flex-wrap: wrap; /* Safety wrap if screen is extremely narrow */
    gap: 12px; /* Tight gap */
    margin-top: 20px; /* Positioned closely below the main CTA */
    align-items: center;
    width: 100%;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 4px; /* Close grouping */
    font-size: 0.7rem; /* Very small text on mobile */
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap; /* Prevent individual items from wrapping */
}

.trust-badge-item svg {
    width: 12px; /* Tiny icons */
    height: 12px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

/* Hero visual frame for doctor/patient photo fallback */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 320px; /* More compact on mobile to guarantee fits in the first fold */
    margin: 0 auto;
    order: -1; /* Display at the top of the grid on mobile */
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1080 / 754; /* Match the exact dimensions of the resized site2.png */
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--primary-light) 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

/* Beautiful clinical background graphic */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(194, 169, 144, 0.1) 100%);
    z-index: 1;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: var(--primary-dark);
}

.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.hero-image-placeholder h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.hero-image-placeholder p {
    font-size: 0.85rem;
    max-width: 260px;
}

.hero-visual .badge-floating {
    position: absolute;
    bottom: 24px;
    left: -10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--primary);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatAnimation 4s ease-in-out infinite;
}

.badge-floating svg {
    width: 24px;
    height: 24px;
    color: var(--primary-dark);
}

.badge-floating-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.badge-floating-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- SEÇÃO DE DOR (A Causa Real) --- */
.pain {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.pain-card {
    border-left: 3px solid var(--orange-brand);
}

.pain-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pain-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--orange-brand);
    flex-shrink: 0;
}

.pain-summary-box {
    background-color: var(--orange-brand-light);
    border: 1px dashed var(--orange-brand);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    max-width: 720px;
    margin: 40px auto 0 auto;
}

.pain-summary-box p {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 0;
}

/* --- COMO FUNCIONA (Metodologia) --- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange-brand);
    opacity: 0.25;
    line-height: 1;
}

.step-card svg {
    width: 36px;
    height: 36px;
    color: var(--orange-brand);
}

/* --- DIFERENCIAIS --- */
.differentials {
    background-color: var(--bg-secondary);
}

.differentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.diff-card {
    display: flex;
    gap: 16px;
}

.diff-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--orange-brand-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange-brand);
}

.diff-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.diff-text h3 {
    margin-bottom: 6px;
}

/* --- TRATAMENTOS --- */
.treatments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.treatment-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.treatment-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.treatment-icon {
    width: 40px;
    height: 40px;
    color: var(--orange-brand);
    flex-shrink: 0;
}

.treatment-card ul {
    list-style: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.treatment-card li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.treatment-card li::before {
    content: '•';
    color: var(--orange-brand);
    font-size: 1.2rem;
}

/* --- PARA QUEM É --- */
.for-whom {
    background-color: var(--bg-secondary);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.for-whom-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.for-whom-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.for-whom-card span {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
}

/* --- ANTES E DEPOIS --- */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.before-after-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.ba-images-container {
    width: 100%;
    position: relative;
    background: #e5e5e5;
    overflow: hidden;
    line-height: 0;
}

.ba-images-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Before and After labels overlay */
.ba-labels-overlay {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none; /* allows clicks to pass through */
    z-index: 5;
}

.ba-overlay-label {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ba-info {
    padding: 16px;
    text-align: center;
}

.ba-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.ba-disclaimer {
    max-width: 600px;
    margin: 30px auto 0 auto;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
}

/* --- DEPOIMENTOS (Testimonials) --- */
.testimonials {
    background-color: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    padding: 30px;
}

.stars {
    display: flex;
    gap: 4px;
    color: #ffb800;
    margin-bottom: 14px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
}

.user-name h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.user-name span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
/* Google Rating Badge */
.google-reviews-link {
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.google-reviews-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.google-rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    gap: 8px;
    border-left: 3px solid var(--orange-brand);
}

@media (min-width: 600px) {
    .google-rating-badge {
        flex-direction: row;
        gap: 16px;
        border-radius: 50px;
        padding: 10px 24px;
    }
}

.google-logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
}

@media (min-width: 600px) {
    .google-logo-box {
        border-bottom: none;
        border-right: 1px solid var(--border-light);
        padding-bottom: 0;
        padding-right: 16px;
    }
}

.google-logo-box svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.google-stars-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.google-stars-box .stars {
    margin-bottom: 0;
    gap: 2px;
}

.google-stars-box .stars svg {
    width: 14px;
    height: 14px;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- SOBRE O ESPECIALISTA (About Doctor) --- */
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.doctor-visual {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

.doctor-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--primary-light) 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.doctor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center top;
}

.doctor-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: var(--primary-dark);
}

.doctor-image-placeholder svg {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.doctor-image-placeholder h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.doctor-info-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.doctor-info-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.doctor-content h2 {
    text-align: left;
    margin-bottom: 12px;
}

.doctor-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.doctor-text p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.doctor-credentials {
    list-style: none;
    margin-top: 24px;
}

.doctor-credentials li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 12px;
}

.doctor-credentials li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

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

.faq-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 0;
    gap: 20px;
}

.faq-question:hover {
    color: var(--orange-brand);
}

.faq-item.active .faq-question {
    color: var(--orange-brand);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--orange-brand);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding-right: 24px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(185deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* --- CTA FINAL --- */
.final-cta {
    background: radial-gradient(circle at bottom right, rgba(194, 169, 144, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
                linear-gradient(180deg, var(--bg-primary) 0%, var(--primary-light) 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 110px 0; /* extra bottom padding for sticky mobile cta */
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer .logo span {
    color: var(--orange-brand);
    font-weight: 300;
}

footer p {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

footer .address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

footer .legal-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================= */

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

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

/* Scroll reveal utility classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (Desktop Responsiveness Scaling)
   ========================================================================= */

/* Tablets / Medium Screens */
@media (min-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.1rem;
    }
    
    section {
        padding: 80px 0;
    }

    .section-break {
        padding: 80px 0; /* Restore large padding on desktop/tablet */
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-content .cta-wrapper {
        margin-left: 0;
    }
    
    .hero .logo-area {
        display: flex; /* Restore logo on tablet and desktop views */
    }

    .hero-visual {
        order: 0; /* Restore normal layout flow (after text) on desktop/tablet */
        max-width: 420px;
    }

    .trust-badges {
        flex-direction: row;
        gap: 24px;
        align-items: flex-start;
        margin-top: 40px;
    }
    
    .trust-badge-item {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .trust-badge-item svg {
        width: 20px;
        height: 20px;
    }
    
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktops / Large Screens */
@media (min-width: 1024px) {
    .floating-whatsapp {
        display: flex; /* Restore floating button only on desktop */
    }

    .hero {
        padding-top: 100px;
    }
    
    .hero .logo-area {
        margin-bottom: 40px;
    }

    h1 {
        font-size: 3.25rem;
    }
    
    h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
    }
    
    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .for-whom-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .doctor-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 60px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .before-after-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer {
        padding-bottom: 50px;
    }
    
    .sticky-footer-cta {
        display: none; /* Hide on large screens as they don't need mobile sticky bar */
    }
}

/* ==========================================================================
   INTERACTIVE HAIR LOSS SELECTOR (Manual Inspiration)
   ========================================================================== */
.for-whom-card.interactive {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding-top: 40px; /* space for selector circle */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.for-whom-card.interactive:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.for-whom-card.interactive.selected {
    border-color: var(--orange-brand);
    background-color: var(--orange-brand-light);
    box-shadow: 0 12px 24px rgba(255, 98, 57, 0.08);
    transform: translateY(-2px) scale(1.02);
}

.selection-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: transparent;
    transition: var(--transition);
}

.selection-indicator svg {
    width: 14px;
    height: 14px;
}

.for-whom-card.interactive.selected .selection-indicator {
    background: var(--orange-brand);
    border-color: var(--orange-brand);
    color: white;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.for-whom-card.interactive.selected .card-icon-wrapper {
    background-color: white;
    border-color: var(--orange-brand);
    color: var(--orange-brand);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.4;
}

/* Disabled button state for quiz */
.btn-cta.disabled {
    pointer-events: none;
    opacity: 0.6;
    background-color: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
}

/* ==========================================================================
   CLINICAL VS TRANSPLANTE COMPARISON (Dr. Hair Inspiration)
   ========================================================================== */
.comparison {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.comparison-wrapper {
    margin-top: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-secondary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    border-bottom: 1px solid var(--border-light);
}

.comparison-grid:last-child {
    border-bottom: none;
}

.comparison-header-row {
    background-color: var(--primary-light);
    border-bottom: 2px solid var(--border-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-main);
}

.comp-col {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.comp-feature {
    font-weight: 600;
    color: var(--text-main);
    background-color: rgba(194, 169, 144, 0.02);
    border-right: 1px solid var(--border-light);
}

.comp-clinical {
    color: var(--text-main);
    font-weight: 500;
    border-right: 1px solid var(--border-light);
    gap: 12px;
}

.comparison-header-row .comp-clinical {
    color: var(--orange-brand);
    font-weight: 700;
}

.comp-surgical {
    color: var(--text-muted);
    gap: 12px;
}

.icon-check {
    width: 20px;
    height: 20px;
    color: var(--whatsapp);
    flex-shrink: 0;
}

.icon-cross {
    width: 18px;
    height: 18px;
    color: #dc3545;
    flex-shrink: 0;
}

/* Mobile responsive styling for the comparison grid */
@media (max-width: 767px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        border-bottom: 2px solid var(--border-color);
        padding: 16px;
        gap: 8px;
    }
    
    .comparison-header-row {
        display: none; /* Hide header row on mobile */
    }
    
    .comp-col {
        padding: 4px 0;
    }
    
    .comp-feature {
        font-family: 'Outfit', sans-serif;
        font-size: 1.05rem;
        color: var(--primary-dark);
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 8px;
        margin-bottom: 6px;
        background-color: transparent;
        border-right: none;
    }
    
    .comp-clinical {
        border-right: none;
    }
    
    .comp-clinical::before {
        content: "Cute & Capelli: ";
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--primary-dark);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: 8px;
        display: inline-block;
    }
    
    .comp-surgical::before {
        content: "Transplante: ";
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: 8px;
        display: inline-block;
    }
}

/* ==========================================================================
   ONLINE QUIZ SECTION (cutecapelli.com/quiz/)
   ========================================================================== */
.quiz-section {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 60px 0;
    text-align: center;
}

.quiz-section .container {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-section h2 {
    margin-top: 15px;
    margin-bottom: 12px;
}

.quiz-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--orange-brand);
    border: 2px solid var(--orange-brand);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.btn-secondary-cta:hover {
    background-color: var(--orange-brand);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 98, 57, 0.2);
}

/* ==========================================================================
   HANZA GROWTH SIGNATURE
   ========================================================================== */
.hanza-signature {
    margin-top: 25px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.75;
    transition: var(--transition);
}

.hanza-signature a {
    color: var(--orange-brand);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hanza-signature a:hover {
    color: var(--orange-brand-hover);
    text-decoration: underline;
}

/* ==========================================================================
   CLINIC GALLERY SECTION
   ========================================================================== */
.clinic-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.clinic-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 11;
}

.clinic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.clinic-item:hover img {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .clinic-gallery {
        grid-template-columns: 1.3fr 1fr;
    }
    
    .clinic-item {
        height: 420px;
        aspect-ratio: auto;
    }
}


