/* ==========================================================================
   ESTÉTICA BELLITIA - DESIGN SYSTEM & STYLES (MOBILE-FIRST)
   Cores Principais: Azul Suave (#6EC1E4), Azul Claro (#EFF4F8), Azul Escuro (#104566)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #6EC1E4;
    --color-primary-dark: #3BA3D0;
    --color-primary-light: #EBF7FC;
    --color-accent: #0582CA;
    --color-secondary: #104566;
    --color-bg-light: #EFF4F8;
    --color-bg-card: #FFFFFF;
    --color-text-dark: #1E293B;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EBE5B;
    --color-badge-red: #EF4444;

    /* Typography */
    --font-heading: 'Raleway', 'Roboto', -apple-system, sans-serif;
    --font-body: 'Nunito', 'Roboto', -apple-system, sans-serif;

    /* Layout & Shadows */
    --container-max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(16, 69, 102, 0.06);
    --shadow-md: 0 4px 20px rgba(16, 69, 102, 0.1);
    --shadow-lg: 0 10px 30px rgba(16, 69, 102, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-light: #0F172A;
        --color-bg-card: #1E293B;
        --color-text-dark: #F8FAFC;
        --color-text-muted: #94A3B8;
        --color-primary-light: #1E293B;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* Espaço para nav fixa inferior no mobile */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

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

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

ul {
    list-style: none;
}

/* Container Limitador */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 193, 228, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

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

/* HEADER & NAVBAR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(110, 193, 228, 0.15);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.nav-desktop {
    display: none;
}

@media (min-width: 992px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-weight: 600;
        color: var(--color-secondary);
        position: relative;
        padding: 0.5rem 0;
    }

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

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

/* MOBILE BOTTOM NAVBAR (FIXA) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(110, 193, 228, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--color-text-muted);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 6px;
    width: 20%;
    text-align: center;
    transition: var(--transition-fast);
}

.mobile-nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--color-accent);
}

/* FLOATING WHATSAPP BUTTON WITH PULSE & BADGE */
.whatsapp-float-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .whatsapp-float-container {
        bottom: 30px;
        right: 30px;
    }
}

.whatsapp-float-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse-ring 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
}

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

/* Badge de Notificação "1" */
.whatsapp-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--color-badge-red);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: badge-bounce 1.5s infinite;
}

/* Pulsing Keyframes */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes badge-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 3rem 0 4rem;
    background: linear-gradient(160deg, #EBF7FC 0%, #FFFFFF 60%, #EFF4F8 100%);
    overflow: hidden;
}

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

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(110, 193, 228, 0.18);
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(110, 193, 228, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* SEÇÃO SOBRE CAROLINA RAUPP */
.about-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.about-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-card {
        grid-template-columns: 280px 1fr;
        padding: 3rem;
    }
}

.about-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-primary);
    box-shadow: var(--shadow-md);
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-info h2 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.about-info h3 {
    color: var(--color-primary-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-info p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* SEÇÃO SERVIÇOS */
.services-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-header span {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-secondary);
    margin: 0.5rem 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(110, 193, 228, 0.15);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card .card-action {
    color: var(--color-accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card .card-action:hover {
    gap: 0.5rem;
}

/* GALERIA CARDS / GRID */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background: #E2E8F0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 69, 102, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

/* SEÇÃO CONTATO E LOCALIZAÇÃO */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

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

.info-text h4 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
    color: var(--color-text-muted);
    font-size: 0.975rem;
}

/* FOOTER */
.site-footer {
    background-color: var(--color-secondary);
    color: #94A3B8;
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-links h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}
