/*
Theme Name: Facedreamgo
Theme URI: https://facedream.com.br
Author: Face Dream
Author URI: https://facedream.com.br
Description: Tema WordPress personalizado para Face Dream - Clínica de Odontologia Estética em Goiânia. Desenvolvido com foco em conversão, SEO e performance.
Version: 1.0.0
Text Domain: facedreamgo
Tags: accessibility-ready, threaded-comments, translation-ready, custom-menu, featured-images, post-thumbnails
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   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);
}

/* === Alignment === */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.btn-primary:hover {
    background-color: #a8854d;
    border-color: #a8854d;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--grafite-dream);
    border-color: var(--grafite-dream);
}

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

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* === Section Labels === */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dourado-glow);
    margin-bottom: 16px;
}

.section-label--center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.section-description {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 700px;
    margin-bottom: 40px;
}

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

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 12px 24px;
    background-color: var(--grafite-dream);
    color: var(--white);
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* === Screen Reader Text === */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === WordPress Classes === */
.wp-block-image figcaption {
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
    margin-top: 8px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 11px);
}

.gallery-icon img {
    max-width: 100%;
    height: auto;
}

/* === Responsive Utilities === */
@media screen and (max-width: 768px) {
    .gallery-item {
        flex: 0 0 calc(50% - 8px);
    }
}

@media screen and (max-width: 480px) {
    .gallery-item {
        flex: 0 0 100%;
    }
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* === Loading State === */
body.loading {
    cursor: wait;
}

/* === Menu State === */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
