/* ============================
      GLOBAL DESIGN TOKENS & BASE
      Carregado em todas as páginas
============================ */

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

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ============================
      CSS CUSTOM PROPERTIES
============================ */
:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #C19A6B;
    --gold-light: rgba(212, 175, 55, 0.08);
    --gold-border: rgba(212, 175, 55, 0.18);

    --brown-dark: #5C4A3A;
    --brown-soft: #8B7355;
    --brown-deep: #3f332b;

    --bg-light: #FAF8F5;
    --bg-white: #FFFFFF;
    --bg-section-alt: linear-gradient(to bottom, #FAF8F5 0%, #FFFFFF 100%);

    --text-dark: #2C2C2C;
    --text-body: #5C4A3A;
    --text-muted: #8B7355;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition-base: 0.3s ease;
    --transition-fast: 0.2s ease;

    --header-height: 140px;
    --header-height-mobile: 80px;

    --max-width: 1200px;
    --max-width-wide: 1400px;
}

/* ============================
      RESET & BASE
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dashboard {
    width: 100%;
    display: block;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ============================
      ACCESSIBILITY
============================ */
:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip to content link (screen-readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================
      REDUCED MOTION
============================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================
      UTILITY - FADE IN ANIMATION
============================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
      WHATSAPP FLOATING BUTTON
============================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
