/* ============================================
   JB BEAUTY STUDIO - DESIGN EDITORIAL ELEGANTE
   ============================================ */

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --jb-ivory: #f6efe6;
    --jb-cream: #f2e8dd;
    --jb-blush: #e3d4c8;
    --jb-gold: #b59267;
    --jb-espresso: #54423f;
    --jb-ink: #3f2b26;
    --jb-muted: #82685e;
    --jb-line: #d6c9bd;
    --jb-deep: #3a2622;
    --jb-white: #fdfbf7;
    --transition: 240ms ease;
    --transition-slow: 360ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background-color: var(--jb-ivory);
    color: var(--jb-ink);
    line-height: 1.6;
    background-image:
        radial-gradient(circle at top left, rgba(188, 146, 103, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: var(--jb-ink);
}

h3 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--jb-ink);
}

h4 {
    font-size: 1.35rem;
    color: var(--jb-espresso);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--jb-ink);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Eyebrow (Label pequeno) */
.eyebrow {
    display: inline-block;
    font-size: 0.73rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--jb-gold);
    margin-bottom: 1rem;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Principal */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    padding: 0.98rem 1.45rem;
    background: linear-gradient(135deg, rgba(84, 66, 63, 0.94), rgba(84, 66, 63, 0.76));
    color: var(--jb-white);
    box-shadow: 0 18px 40px rgba(72, 48, 35, 0.22);
    font-weight: 700;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(72, 48, 35, 0.28);
    filter: saturate(1.05);
}

/* ============================================
   HEADER / NAVEGAÇÃO
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 239, 230, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 201, 189, 0.4);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition);
}

.brand-mark:hover {
    transform: translateY(-1px);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--jb-espresso);
    color: var(--jb-white);
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-text h1 {
    font-size: 1.5rem;
    margin: 0;
}

.brand-text p {
    font-size: 0.85rem;
    color: var(--jb-muted);
    margin: 0;
}

.nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    position: relative;
    font-size: 0.94rem;
    color: var(--jb-muted);
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 1px;
    background: rgba(181, 146, 103, 0.72);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
    }

    .header .cta-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 4rem 0;
}

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

.hero-copy {
    padding-top: 1.5rem;
}

.hero-title {
    margin: 1.5rem 0 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--jb-muted);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-contact {
    font-size: 0.9rem;
    color: var(--jb-muted);
}

.hero-frame {
    position: relative;
    padding-left: 0;
}

.hero-image-stack {
    position: relative;
    min-height: 44rem;
}

.hero-main-image {
    margin-left: auto;
    width: min(100%, 35rem);
    overflow: hidden;
    border-radius: 2rem 2rem 10rem 2rem;
    border: 1px solid rgba(112, 82, 59, 0.1);
    box-shadow: 0 28px 80px rgba(66, 45, 31, 0.18);
}

.hero-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    right: 1rem;
    top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-radius: 999px;
    background: rgba(255, 249, 243, 0.88);
    padding: 0.9rem 1rem;
    box-shadow: 0 18px 40px rgba(69, 48, 33, 0.12);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.star {
    font-size: 1.5rem;
    color: var(--jb-gold);
}

.floating-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--jb-gold);
    font-weight: 700;
}

.floating-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jb-espresso);
}

.hero-side-note {
    position: absolute;
    left: 0;
    bottom: 2.2rem;
    max-width: 17rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(214, 201, 189, 0.78);
    background: rgba(255, 251, 247, 0.9);
    padding: 1.4rem;
    box-shadow: 0 20px 60px rgba(66, 45, 31, 0.1);
    backdrop-filter: blur(10px);
}

.metric-card {
    border-radius: 1.4rem;
    border: 1px solid rgba(214, 201, 189, 0.8);
    background: rgba(255, 252, 247, 0.82);
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(83, 61, 42, 0.06);
    backdrop-filter: blur(10px);
}

.metric-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    line-height: 0.9;
    color: var(--jb-espresso);
    margin-bottom: 0.6rem;
}

.metric-label {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--jb-muted);
}

@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image-stack {
        min-height: auto;
        padding-bottom: 7rem;
    }

    .hero-side-note {
        left: 1rem;
        bottom: 1rem;
    }

    .floating-card {
        right: 0.5rem;
        top: 0.5rem;
    }
}

/* ============================================
   PROPOSTA DE VALOR
   ============================================ */

.value-proposition {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(243, 231, 222, 0.56), rgba(255, 250, 245, 0.84));
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h3 {
    max-width: 600px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--jb-muted);
    margin-top: 1rem;
    max-width: 700px;
}

.section-header.light h3,
.section-header.light p {
    color: white;
}

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

.value-card {
    border-radius: 1.6rem;
    border: 1px solid rgba(126, 96, 74, 0.12);
    background: rgba(255, 255, 255, 0.72);
    padding: 1.4rem;
    box-shadow: 0 16px 36px rgba(82, 56, 40, 0.06);
    backdrop-filter: blur(8px);
    display: flex;
    gap: 1rem;
}

.value-icon {
    font-size: 1.5rem;
    color: var(--jb-gold);
    flex-shrink: 0;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   ASSINATURA DO ESTÚDIO
   ============================================ */

.studio-signature {
    padding: 4rem 0;
}

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

.signature-text {
    padding-right: 1rem;
}

.signature-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.2rem;
    color: var(--jb-gold);
    flex-shrink: 0;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.signature-image {
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 28px 80px rgba(82, 56, 40, 0.14);
}

.signature-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .signature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .signature-text {
        padding-right: 0;
    }
}

/* ============================================
   SERVIÇOS
   ============================================ */

.services {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(243, 231, 222, 0.56), rgba(255, 250, 245, 0.84));
}

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

.service-card {
    position: relative;
    min-height: 18rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(126, 96, 74, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 242, 235, 0.86)),
        linear-gradient(135deg, rgba(182, 141, 102, 0.05), transparent 40%);
    padding: 1.65rem;
    box-shadow: 0 18px 40px rgba(82, 56, 40, 0.06);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(82, 56, 40, 0.09);
    border-color: rgba(174, 132, 99, 0.28);
}

.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    border-top: 1px solid rgba(174, 132, 99, 0.5);
    padding-top: 0.5rem;
    font-size: 0.92rem;
    letter-spacing: 0.2em;
    color: var(--jb-gold);
    margin-bottom: 1rem;
}

.service-card h4 {
    margin-top: 0;
}

.service-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--jb-muted);
}

/* ============================================
   PROVA SOCIAL
   ============================================ */

.social-proof {
    padding: 4rem 0;
    background:
        radial-gradient(circle at top right, rgba(214, 183, 153, 0.18), transparent 26%),
        linear-gradient(145deg, rgba(65, 43, 35, 1), rgba(32, 22, 19, 1));
    position: relative;
    overflow: hidden;
}

.social-proof::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
}

.social-proof .section-header {
    position: relative;
    z-index: 1;
}

.social-proof .section-header h3 {
    color: white;
    max-width: 600px;
}

.social-proof .section-description {
    color: rgba(255, 255, 255, 0.74);
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.proof-card {
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    padding: 1.55rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.proof-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 0.9;
    color: white;
    margin-bottom: 0.8rem;
}

.proof-label {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

/* ============================================
   QUALIDADE PERCEBIDA
   ============================================ */

.perceived-quality {
    padding: 4rem 0;
}

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

.quality-text {
    padding-right: 1rem;
}

.quality-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quality-feature {
    display: flex;
    gap: 1rem;
}

.quality-icon {
    font-size: 1.2rem;
    color: var(--jb-gold);
    flex-shrink: 0;
}

.quality-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.quality-image {
    overflow: hidden;
    border-radius: 2rem;
    min-height: 32rem;
    box-shadow: 0 28px 70px rgba(82, 56, 40, 0.14);
}

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

@media (max-width: 768px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quality-text {
        padding-right: 0;
    }

    .quality-image {
        min-height: 22rem;
    }
}

/* ============================================
   CTA FINAL / LOCALIZAÇÃO
   ============================================ */

.final-cta {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(243, 231, 222, 0.56), rgba(255, 250, 245, 0.84));
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cta-text {
    padding-right: 1rem;
}

.cta-text h3 {
    margin: 1rem 0;
}

.cta-panel {
    display: grid;
    gap: 1.2rem;
    border-radius: 2rem;
    border: 1px solid rgba(126, 96, 74, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(247, 238, 230, 0.88));
    padding: 1.2rem;
    box-shadow: 0 20px 50px rgba(82, 56, 40, 0.08);
}

.contact-info {
    display: grid;
    gap: 1rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.48);
    padding: 1.4rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jb-gold);
    margin-bottom: 0.5rem;
}

.contact-item a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--jb-espresso);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--jb-gold);
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--jb-muted);
}

.cta-button-wrapper {
    display: flex;
    border-radius: 1.6rem;
    background: rgba(255, 248, 241, 0.86);
    border: 1px solid rgba(174, 132, 99, 0.2);
    padding: 1.4rem;
    justify-content: center;
    align-items: center;
}

.cta-button-wrapper .cta-primary {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-text {
        padding-right: 0;
    }

    .cta-panel {
        padding: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--jb-espresso);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--jb-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.footer-section a:hover {
    color: var(--jb-gold);
}

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

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

@media (max-width: 640px) {
    .hero {
        padding: 2rem 0;
    }

    .value-proposition,
    .studio-signature,
    .services,
    .social-proof,
    .perceived-quality,
    .final-cta {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

/* Seleção de texto */
::selection {
    background: rgba(181, 146, 103, 0.3);
    color: var(--jb-espresso);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--jb-ivory);
}

::-webkit-scrollbar-thumb {
    background: var(--jb-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jb-espresso);
}
