/* ============================================
   FACE DREAM - BASE CSS
   Estilos compartilhados entre Desktop e Mobile
   ============================================ */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --grafite-dream: #202428;
    --dourado-glow: #bc985e;
    --bege-touch: #EAE2D6;
    --white: #FFFFFF;
    
    /* Neutral Colors */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(32, 36, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(32, 36, 40, 0.08);
    --shadow-lg: 0 8px 40px rgba(32, 36, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(32, 36, 40, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--grafite-dream);
    background-color: var(--white);
    overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--grafite-dream);
}

.font-display {
    font-family: Georgia, 'Times New Roman', serif;
}

.text-gold {
    color: var(--dourado-glow);
}

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

.text-muted {
    color: var(--gray-600);
}

/* Heading Sizes - Base */
.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3rem); }
.heading-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.heading-sm { font-size: clamp(1.125rem, 2vw, 1.5rem); }

/* === Links === */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--dourado-glow);
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Lists === */
ul, ol {
    list-style: none;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--dourado-glow);
    color: var(--white);
}

.btn-primary:hover {
    background: #a88550;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--dourado-glow);
    border: 1px solid var(--dourado-glow);
}

.btn-outline:hover {
    background: var(--dourado-glow);
    color: var(--white);
}

.btn-dark {
    background: var(--grafite-dream);
    color: var(--white);
}

.btn-dark:hover {
    background: #2d3238;
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--grafite-dream);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--grafite-dream);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.7rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* === Section Labels === */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dourado-glow);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--dourado-glow);
}

.section-label--center {
    justify-content: center;
}

.section-label--center::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--dourado-glow);
}

/* === Section Titles === */
.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 600px;
}

.section-description--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* === Cards === */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.card--flat {
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

.card--elevated {
    box-shadow: var(--shadow-md);
}

/* === Dividers === */
.divider {
    width: 60px;
    height: 2px;
    background: var(--dourado-glow);
}

.divider--center {
    margin-left: auto;
    margin-right: auto;
}

.divider--lg {
    width: 100px;
}

/* === Decorative Elements === */
.gold-accent {
    position: relative;
}

.gold-accent::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--dourado-glow);
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

/* === Icons === */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.icon--sm svg { width: 18px; height: 18px; }
.icon--lg svg { width: 32px; height: 32px; }
.icon--xl svg { width: 48px; height: 48px; }

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Animation Classes */
.animate-fadeIn { animation: fadeIn var(--transition-slow) ease forwards; }
.animate-fadeInUp { animation: fadeInUp var(--transition-smooth) ease forwards; }
.animate-fadeInDown { animation: fadeInDown var(--transition-smooth) ease forwards; }
.animate-slideInLeft { animation: slideInLeft var(--transition-smooth) ease forwards; }
.animate-slideInRight { animation: slideInRight var(--transition-smooth) ease forwards; }
.animate-scaleIn { animation: scaleIn var(--transition-smooth) ease forwards; }

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.overflow-hidden { overflow: hidden; }

.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-100); }
.bg-beige { background-color: var(--bege-touch); }
.bg-dark { background-color: var(--grafite-dream); }
.bg-gold { background-color: var(--dourado-glow); }

/* Scroll Reveal - Hidden by default */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="left"].revealed {
    transform: translateX(0);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="right"].revealed {
    transform: translateX(0);
}

[data-reveal="scale"] {
    transform: scale(0.9);
}

[data-reveal="scale"].revealed {
    transform: scale(1);
}

/* === Scrollbar Custom === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dourado-glow);
}

/* === Selection === */
::selection {
    background: var(--dourado-glow);
    color: var(--white);
}

/* === Doctor Section === */
.doctor {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.doctor::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gray-100);
    z-index: 0;
}

.doctor__content {
    position: relative;
    z-index: 1;
}

.doctor__image-wrapper {
    position: relative;
}

.doctor__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.doctor__experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dourado-glow);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.doctor__experience-number {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 5px;
}

.doctor__experience-text {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

.doctor__subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 25px;
}

.doctor__bio {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 35px;
}

.doctor__credentials {
    margin-bottom: 35px;
}

.doctor__credentials-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--grafite-dream);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-300);
}

.doctor__credential {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.doctor__credential:last-child {
    margin-bottom: 0;
}

.doctor__credential-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bege-touch);
    border-radius: var(--radius-full);
}

.doctor__credential-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--dourado-glow);
    stroke-width: 1.5;
    fill: none;
}

.doctor__credential-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor__credential-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--grafite-dream);
    line-height: 1.4;
}

.doctor__credential-text span {
    font-size: 13px;
    color: var(--gray-600);
}

.doctor__cta {
    display: inline-flex;
}

.doctor__cta svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* === Focus States === */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--dourado-glow);
    outline-offset: 2px;
}

/* === Print Styles === */
@media print {
    .no-print {
        display: none !important;
    }
}

/* CONTACT FORM 7*/
form .wpcf7-form-control-wrap{display: block; width: 100%; position: relative;}
form .wpcf7-validation-errors{width: 100%; color: #fff; font-size: 0.7rem; border: solid 1px #ff0000; background: #ff0000; font-weight: 600;}
form .wpcf7-not-valid-tip{position: absolute !important; top: 0 !important; left: inherit !important; right: 0; width: auto !important; font-size: 0.7rem; font-weight: 600; background: #ff0000 !important; color: #fff;}
form.sent .wpcf7-response-output{width: 100%; color: #fff; font-size: 0.7rem; font-weight: 600; background: #398f14;}
form .wpcf7-mail-sent-ng{width: 100%; color: #fff; font-size: 0.7rem; font-weight: 600; background: #ff0000;}
form .wpcf7-response-output{width: 100%; color: #000; font-size: 0.7rem; font-weight: 600; background: #ffb900;}
form .use-floating-validation-tip .wpcf7-not-valid-tip {position: absolute; top: 0; left: inherit; width: auto; right: 0;}
/* END CONTACT FORM 7 */