/* ==========================================================
   Tainara Craco Beauty - Landing Page
   Paleta oficial: #a0826a | #f0e6dc | #FFFFFF | dourado (monograma)
   Tipografia: Quiche (display) + Montserrat (body)
   ========================================================== */

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

:root {
    --brand: #a0826a;
    --cream: #f0e6dc;
    --white: #ffffff;
    --dark: #3a2a1e;
    --text: #3e2e23;
    --text-light: #6b5548;
    --bg: #faf8f5;

    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav-landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: transparent;
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.nav-landing.scrolled {
    padding: 8px 0;
    background: var(--brand);
    box-shadow: 0 2px 20px rgba(74, 55, 40, 0.15);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-landing.scrolled .nav-logo-img {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 12px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
}

/* Área Restrita — oculto no desktop, visível só no menu mobile */
.nav-restrita-mobile {
    display: none;
}

.nav-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 8px 0;
    width: 100%;
}

.nav-link-restrita {
    opacity: 0.55;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-restrita:hover {
    opacity: 1;
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--white);
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--brand);
    padding-top: 60px;
}

.hero-content {
    padding: 0 24px;
    max-width: 600px;
}

.hero-logo {
    max-width: 380px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-line {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

.btn-elegante {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 36px;
    text-decoration: none;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
}

.btn-elegante:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

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

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-cream {
    background: var(--cream);
}

/* Section header com linhas decorativas (estilo brand guide) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
}

.section-line {
    flex: 1;
    max-width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 4px;
    white-space: nowrap;
}

/* --- Sobre --- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-imagem {
    border-radius: 24px;
    overflow: hidden;
}

.sobre-texto h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.sobre-texto p {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.sobre-destaques {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.destaque-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.destaque-linha {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--brand);
    margin-top: 10px;
    flex-shrink: 0;
}

.destaque-item strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.destaque-item p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Procedimentos --- */
.procedimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.procedimento-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedimento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(160, 130, 106, 0.12);
}

.procedimento-img {
    height: 200px;
    overflow: hidden;
}

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

.procedimento-card:hover .procedimento-img img {
    transform: scale(1.05);
}

.procedimento-info {
    padding: 24px 20px;
}

.procedimento-info h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.procedimento-info p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Contato --- */
#contato {
    padding: 20px 0 10px;
}

#contato .section-header {
    margin-bottom: 16px;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contato-item {
    padding: 4px 16px;
}

.contato-item i {
    font-size: 1.4rem;
    color: var(--brand);
    margin-bottom: 6px;
    display: block;
}

.contato-item h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contato-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contato-link {
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
    cursor: pointer;
}

.contato-link:hover {
    transform: translateY(-4px);
}

.contato-link:hover i {
    color: var(--dark);
}

/* --- Footer (compacto) --- */
.footer {
    background: var(--brand);
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    margin: 0;
}

.footer-brand span {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-login {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 24px;
    transition: all 0.3s ease;
    margin-left: 4px;
}

.footer-login:hover {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* --- Placeholders (remover quando adicionar imagens) --- */
.imagem-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(160deg, var(--cream) 0%, #e4d3c4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    border-radius: 24px;
}

.imagem-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.4;
}

.imagem-placeholder p {
    font-size: 0.8rem;
    opacity: 0.4;
}

.imagem-placeholder-sm {
    width: 100%;
    height: 200px;
    background: linear-gradient(160deg, var(--cream) 0%, #e4d3c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}

.imagem-placeholder-sm i {
    font-size: 2rem;
    opacity: 0.35;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .procedimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--brand);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 0.8rem;
        padding: 12px 0;
    }

    .nav-restrita-mobile {
        display: block;
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .section-line {
        max-width: 60px;
    }

    .section-header {
        gap: 16px;
    }

    .hero-logo {
        max-width: 240px;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .imagem-placeholder {
        height: 300px;
    }

    .procedimentos-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-brand span {
        display: inline;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 200px;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .btn-elegante {
        padding: 12px 24px;
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1rem;
    }
}
