/* ========================================
   TEMPLATE JOIAS - Layout Premium Escuro
   ======================================== */

:root {
    --gold: #D4A017;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    --black: #0A0A0A;
    --black-light: #141414;
    --black-card: #1A1A1A;
    --gray: #888;
    --gray-light: #bbb;
    --gray-border: rgba(255,255,255,0.08);
    --white: #fff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

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

/* ===== SECTION TITLES ===== */
.section__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section__tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section__title--center { text-align: center; }
.section__title strong, .section__title .gold { color: var(--gold); }

/* ===== GOLD SHIMMER ===== */
.gold-shimmer {
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark), var(--gold));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn i { font-size: 1.2rem; }

.btn--primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--black);
    color: var(--gold);
    border-color: var(--gold);
}

.btn--dark:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.btn--lg { padding: 16px 36px; font-size: 1.1rem; }

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

.hero .reveal { opacity: 1; transform: none; }

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-border);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .header__logo-img { height: 40px; }

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.header__cta { padding: 10px 24px; font-size: 0.9rem; }

/* ========== HERO - SPLIT SCREEN ========== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px;
    background: var(--black);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
}

.badge i {
    font-size: 1.1rem;
}

.hero__image {
    position: relative;
    overflow: hidden;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--black) 0%, transparent 30%);
}

/* ========== O QUE COMPRAMOS - GRID ========== */
.compramos {
    padding: 100px 0;
    background: var(--black-light);
}

.compramos__header {
    text-align: center;
    margin-bottom: 56px;
}

.compramos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.compramos__card {
    background: var(--black-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.compramos__card:hover {
    border-color: rgba(212, 160, 23, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.08);
}

.compramos__card-icon {
    width: 52px;
    height: 52px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.compramos__card-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.compramos__card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.compramos__card-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

.compramos__cta {
    text-align: center;
}

/* ========== COMO FUNCIONA - TIMELINE ========== */
.passos {
    padding: 100px 0;
    background: var(--black);
}

.passos__header {
    text-align: center;
    margin-bottom: 64px;
}

.passos__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.passos__timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(212,160,23,0.3), var(--gold));
}

.passo {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.passo__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--black-card);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    position: relative;
    z-index: 2;
}

.passo__img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.passo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.passo__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.passo__desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.passos__cta {
    text-align: center;
    margin-top: 48px;
}

/* ========== BENEFÍCIOS - GLASSMORPHISM ========== */
.beneficios {
    padding: 100px 0;
    background: var(--black-light);
    position: relative;
}

.beneficios__header {
    text-align: center;
    margin-bottom: 56px;
}

.beneficios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.beneficio {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
}

.beneficio:hover {
    background: rgba(212, 160, 23, 0.06);
    border-color: rgba(212, 160, 23, 0.2);
    transform: translateY(-6px);
}

.beneficio__icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.beneficio__icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.beneficio__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.beneficio__desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ========== LOCALIZAÇÃO ========== */
.localizacao {
    padding: 100px 0;
    background: var(--black);
}

.localizacao__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.localizacao__map {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--gray-border);
}

.localizacao__map iframe {
    width: 100%;
    height: 100%;
}

.localizacao__address {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-light);
    font-size: 1rem;
}

.localizacao__address i,
.localizacao__contact i {
    color: var(--gold);
    margin-right: 8px;
}

.localizacao__contact {
    margin-bottom: 28px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== CTA FINAL ========== */
.cta-final {
    padding: 80px 0;
    background: var(--gold);
    text-align: center;
}

.cta-final__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 16px;
}

.cta-final__subtitle {
    font-size: 1.1rem;
    color: rgba(10,10,10,0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 0 24px;
    background: var(--black);
    border-top: 1px solid var(--gray-border);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__logo { height: 40px; width: auto; }

.footer__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer__info { color: var(--gray); font-size: 0.9rem; }
.footer__info i { color: var(--gold); margin-right: 4px; }

.footer__contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer__contact a:hover { color: var(--gold); }
.footer__contact a i { font-size: 1.2rem; color: var(--gold); }

.footer__copy {
    color: var(--gray);
    font-size: 0.8rem;
    padding-top: 16px;
    border-top: 1px solid var(--gray-border);
    width: 100%;
}

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

.whatsapp-float i { font-size: 2rem; color: var(--white); }

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

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__content { padding: 120px 24px 60px; }
    .hero__image { height: 300px; }
    .hero__image::after { background: linear-gradient(180deg, var(--black) 0%, transparent 40%); }
    .hero__badges { gap: 12px; }

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

    .passos__timeline { grid-template-columns: 1fr; gap: 40px; }
    .passos__timeline::before { display: none; }

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

    .localizacao__container { grid-template-columns: 1fr; gap: 40px; }
    .localizacao__info { order: -1; }
}

@media (max-width: 768px) {
    .header__logo-text { font-size: 1.1rem; }
    .header__logo-img { height: 40px; }
    .header__cta { padding: 8px 18px; font-size: 0.85rem; }

    .hero__content { padding: 100px 20px 40px; }
    .hero__title { font-size: 2rem; }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { justify-content: center; width: 100%; }
    .hero__badges { flex-wrap: wrap; gap: 10px; }

    .compramos, .passos, .beneficios, .localizacao { padding: 70px 0; }

    .section__title { font-size: 1.6rem; }

    .passo__img-wrapper { height: 160px; }
}

@media (max-width: 640px) {
    .compramos__grid { grid-template-columns: 1fr 1fr; }
    .beneficios__grid { grid-template-columns: 1fr; }

    .hero__image { height: 250px; }
    .hero__badges { flex-direction: column; }

    .footer__contact { flex-direction: column; align-items: center; }

    .whatsapp-float { bottom: 16px; right: 16px; width: 54px; height: 54px; }
    .whatsapp-float i { font-size: 1.7rem; }
}

@media (max-width: 420px) {
    .header__logo-text { font-size: 0.9rem; }
    .header__logo-img { height: 32px; }
    .header__cta { padding: 8px 14px; font-size: 0.8rem; gap: 4px; }

    .hero__content { padding: 90px 16px 30px; }
    .hero__title { font-size: 1.7rem; }
    .hero__subtitle { font-size: 0.95rem; }

    .compramos__grid { grid-template-columns: 1fr; }
    .compramos__card { padding: 24px 20px; }

    .passo__img-wrapper { height: 140px; }

    .btn--lg { padding: 12px 24px; font-size: 0.95rem; }

    .cta-final__title { font-size: 1.5rem; }
}
