/**
 * SISTEMA DE RESERVAS PARA BARBEARIA
 * Landing Page - Estilos CSS
 * Design Moderno, Elegante e Responsivo
 */

/* ============================================
   VARIÁVEIS CSS
   ============================================ */
   
:root {
    /* Cores Principais */
    --color-primary: #d4a574;
    --color-primary-dark: #b88a5e;
    --color-primary-light: #e8c9a8;
    --color-secondary: #2c2c2c;
    --color-secondary-light: #3d3d3d;
    
    /* Cores de Fundo */
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-light: #f8f5f2;
    --bg-white: #ffffff;
    
    /* Cores de Texto */
    --text-light: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #888888;
    --text-muted-light: #aaaaaa;
    
    /* Cores de Estado */
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    
    /* Tipografia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Tamanhos de Fonte */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Espaçamentos */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Bordas */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 30px rgba(212, 165, 116, 0.3);
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-preloader: 9999;
    --z-header: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

/* ============================================
   RESET E BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-description {
    color: var(--text-muted-light);
}

.section-footer {
    text-align: center;
    margin-top: var(--space-12);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn i {
    font-size: 0.9em;
}

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

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

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

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

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.scissors-loader {
    font-size: 4rem;
    color: var(--color-primary);
    animation: scissorsCut 1s ease-in-out infinite;
}

@keyframes scissorsCut {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: var(--transition-base);
    padding: var(--space-4) 0;
}

.header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-2) 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-light);
}

.logo i {
    color: var(--color-primary);
    font-size: 1.5em;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-base);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.user-menu .btn {
    gap: var(--space-2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--color-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.hero-badge i {
    color: var(--color-primary);
}

.hero-badge span {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-title .highlight {
    color: var(--color-primary);
    display: block;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-muted-light);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--text-light);
    font-size: var(--text-xl);
    opacity: 0.7;
}

.hero-scroll a:hover {
    opacity: 1;
    color: var(--color-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SERVIÇOS SECTION
   ============================================ */
.servicos {
    background-color: var(--bg-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.servico-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.servico-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.servico-card:hover .servico-image img {
    transform: scale(1.1);
}

.servico-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.servico-card:hover .servico-overlay {
    opacity: 1;
}

.servico-content {
    padding: var(--space-6);
}

.servico-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.servico-icon i {
    font-size: var(--text-xl);
    color: var(--text-light);
}

.servico-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.servico-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.servico-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid #eee;
}

.servico-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.price-old {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.servico-duration {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   BARBEIROS SECTION
   ============================================ */
.barbeiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

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

.barbeiro-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-6);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--color-primary);
}

.barbeiro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barbeiro-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-4);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    opacity: 0;
    transition: var(--transition-base);
}

.barbeiro-card:hover .barbeiro-social {
    opacity: 1;
}

.barbeiro-social a {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-base);
}

.barbeiro-social a:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.barbeiro-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.barbeiro-role {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.barbeiro-specialty {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    margin-bottom: var(--space-4);
}

.barbeiro-specialty i {
    color: var(--color-primary);
    margin-right: var(--space-1);
}

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

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-8);
}

.produto-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    max-width: calc(100%/3);
}

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

.produto-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 1;
}

.produto-badge span {
    background-color: var(--color-primary);
    color: var(--text-light);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
}

.produto-image {
    height: 200px;
    overflow: hidden;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.produto-card:hover .produto-image img {
    transform: scale(1.1);
}

.produto-content {
    padding: var(--space-6);
}

.produto-category {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    display: block;
}

.produto-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.produto-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.produto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.produtos-hero {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
}
.produtos-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
}
.produtos-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 0;
}
.produto-card-page {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.produto-card-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.produto-card-page .produto-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}
.produto-card-page .produto-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.produto-card-page .produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.produto-card-page:hover .produto-image img {
    transform: scale(1.1);
}
.produto-card-page .produto-content {
    padding: 25px;
}
.produto-card-page .produto-category {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.produto-card-page .produto-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.produto-card-page .produto-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}
.produto-card-page .produto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.produto-card-page .produto-price .price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    display: block;
}
.produto-card-page .produto-price .price-new {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
}
.produto-card-page .btn-cart {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.produto-card-page .btn-cart:hover {
    background: #c49464;
}
.estoque-baixo {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}
.sem-produtos {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}
@media (max-width: 768px) {
    .produtos-hero h1 { font-size: 2rem; }
    .produto-card { max-width: 100%; padding: 30px;}
    .produtos-grid { padding: 30px;}
}

/* ============================================
   DEPOIMENTOS SECTION
   ============================================ */
.depoimentos-slider {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.depoimentos-slider::-webkit-scrollbar {
    display: none;
}

.depoimento-card {
    flex: 0 0 100%;
    max-width: 500px;
    background-color: var(--bg-secondary-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    scroll-snap-align: center;
}

.depoimento-rating {
    margin-bottom: var(--space-4);
}

.depoimento-rating i {
    color: #ddd;
    font-size: var(--text-sm);
}

.depoimento-rating i.active {
    color: var(--color-warning);
}

.depoimento-text {
    font-size: var(--text-lg);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--space-6);
    color: var(--text-muted-light);
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.depoimento-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-info h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: var(--text-sm);
    color: var(--color-primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.slider-btn:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-16) 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.cta .btn-primary {
    background-color: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: var(--text-light);
}

/* ============================================
   CONTATO SECTION
   ============================================ */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.info-item {
    display: flex;
    gap: var(--space-4);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: var(--text-xl);
    color: var(--text-light);
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.info-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contato-map {
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contato-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--text-muted-light);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-base);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links a {
    color: var(--text-muted-light);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: var(--space-2);
}

.footer-bottom {
    border-top: 1px solid var(--bg-secondary-light);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--color-danger);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--text-2xl);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

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

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

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-20) var(--space-6);
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-map {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    .servicos-grid,
    .barbeiros-grid,
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produto-card { max-width: 100%; padding: 10px;}
    .produtos-grid { padding: 10px;}
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ============================================
   USER MENU DROPDOWN - LANDING PAGE
   ============================================ */

.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    padding: 6px 14px 6px 6px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.user-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.user-toggle img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    display: block;
}

.user-toggle span {
    font-weight: 500;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-toggle .fa-chevron-down {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.3s;
}

.user-menu-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    padding: 8px 0;
}

.user-menu-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--color-primary);
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--color-primary);
    font-size: 1rem;
}

.dropdown-menu .divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.dropdown-menu .logout {
    color: #dc3545;
}

.dropdown-menu .logout:hover {
    background: #ffebee;
    color: #c62828;
}

.dropdown-menu .logout i {
    color: #dc3545;
}

/* ============================================
   HEADER SCROLLED - AJUSTES PARA DROPDOWN
   ============================================ */

.header.scrolled .user-toggle {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: var(--color-secondary);
}

.header.scrolled .user-toggle img {
    border-color: var(--color-primary-light);
}

/* ============================================
   RESPONSIVIDADE DROPDOWN
   ============================================ */

@media (max-width: 768px) {
    .user-toggle span {
        display: none;
    }

    .user-toggle {
        padding: 6px;
    }

    .user-toggle img {
        width: 28px;
        height: 28px;
    }

    .dropdown-menu {
        right: -10px;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        right: -50px;
    }
}
