/* ========================================
   FAZENDINHA JOIAS - Landing Page
   Identidade Visual: Fundo claro/bege + Dourado + Preto
   ======================================== */

/* ===== VARIABLES ===== */
:root {
    --gold: #F5C518;
    --gold-dark: #D4A017;
    --gold-light: #FFD700;
    --black: #0A0A0A;
    --black-light: #111111;
    --black-card: #1A1A1A;
    --gray: #666666;
    --gray-light: #999999;
    --gray-border: #E5E5E5;
    --white: #FFFFFF;
    --bg: #FAF8F5;
    --bg-section: #F5F2EE;
    --text: #1A1A1A;
    --text-light: #555555;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ===== RESET ===== */
*, *::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-color: var(--bg);
    color: var(--text);
    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 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION TITLES ===== */
.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text);
}

.section__title--center {
    text-align: center;
}

.section__title strong {
    color: var(--gold-dark);
}

/* ===== GOLD SHIMMER EFFECT ===== */
.gold-shimmer {
    background: linear-gradient(90deg, var(--gold-dark), 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;
    font-weight: 800;
}

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

.underline-gold {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

/* ===== 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);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn--outline:hover {
    background: var(--text);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn--dark:hover {
    background: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

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

.btn--pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero reveals are always visible (above the fold) - prevents CLS */
.hero .reveal {
    opacity: 1;
    transform: none;
}

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }
.reveal--delay-4 { transition-delay: 0.6s; }

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

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(245, 197, 24, 0.1);
}

.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.4rem;
    font-weight: 800;
    color: var(--white);
}

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

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.95) 0%, rgba(250, 248, 245, 0.85) 50%, rgba(250, 248, 245, 0.3) 100%);
}

.hero__location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero__location i {
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.hero__container {
    position: relative;
    z-index: 2;
    padding: 140px 24px 80px;
    padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    width: 100%;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.hero__highlight {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

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

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

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.badge i {
    font-size: 1.1rem;
    color: var(--gold-dark);
}

/* ===== GOLD BOTTOM BORDER (hero/sections separator) ===== */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== O QUE COMPRAMOS ========== */
.compramos {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background: url('../img/compramos-bg.jpg') right center / cover no-repeat;
    background-color: var(--bg);
    min-height: 400px;
}

.compramos__container {
    position: relative;
    z-index: 2;
}

.compramos__content {
    max-width: 550px;
}

.compramos__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 24px 0 32px;
}

.compramos__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 1.05rem;
    color: var(--text);
    transition: var(--transition);
}

.compramos__item:hover {
    transform: translateX(4px);
    color: var(--gold-dark);
}

.compramos__item::before {
    content: '•';
    font-size: 1.4rem;
    color: var(--gold-dark);
    font-weight: 700;
    min-width: 16px;
}

.compramos__img-mobile {
    display: none;
}

.compramos::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

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

.passos__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}

.passo {
    flex: 1;
    max-width: 320px;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.passo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.passo:hover::before {
    transform: scaleX(1);
}

.passo:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(245, 197, 24, 0.15);
}

.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;
    transition: transform 0.5s ease;
}

.passo:hover .passo__img {
    transform: scale(1.08);
}

.passo__body {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.passo__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(212, 160, 23, 0.3);
    line-height: 1;
    min-width: 60px;
}

.passo__text {
    flex: 1;
}

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

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

.passos .section__title {
    color: var(--white);
}

.passos__connector {
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0.4;
}

.passos__cta {
    text-align: center;
}

/* ========== BENEFÍCIOS ========== */
.beneficios {
    padding: 100px 0;
    background: var(--bg);
}

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

.beneficio {
    background: var(--gold);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    color: var(--black);
    transition: var(--transition);
    cursor: default;
}

.beneficio:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 12px 40px rgba(245, 197, 24, 0.35);
}

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

.beneficio__icon i {
    font-size: 1.6rem;
    color: var(--black);
}

.beneficio__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.beneficio__desc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* ========== LOCALIZAÇÃO ========== */
.localizacao {
    padding: 100px 0 120px;
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 10%, var(--black) 55%);
    margin-top: -1px;
}

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

.localizacao__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
}

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

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

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

.localizacao__contact {
    margin-bottom: 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.localizacao .section__title {
    color: var(--black);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    paint-order: stroke fill;
}

.localizacao .btn--outline {
    color: var(--white);
    border-color: var(--white);
}

.localizacao .btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

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

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

.cta-final__title strong {
    color: var(--gold);
}

.cta-final__subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    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 rgba(255, 255, 255, 0.06);
}

.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: 50px;
    width: auto;
}

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

.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__cnpj {
    color: var(--gray);
    font-size: 0.85rem;
}

.footer__copy {
    color: var(--gray);
    font-size: 0.85rem;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    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: whatsapp-ring 2s ease-in-out infinite;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero__title {
        font-size: 4rem;
    }

    .hero__content {
        max-width: 700px;
    }
}

/* Laptop / Small Desktop (max 1200px) */
@media (max-width: 1200px) {
    .beneficios__grid {
        gap: 20px;
    }

    .passo {
        padding: 30px 20px;
    }
}

/* Tablet Landscape (max 1024px) */
@media (max-width: 1024px) {
    .passos__grid {
        flex-direction: column;
        gap: 16px;
    }

    .passos__connector {
        transform: rotate(90deg);
    }

    .passo {
        max-width: 100%;
        width: 100%;
    }

    .passo__img-wrapper {
        height: 200px;
    }

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

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

    .localizacao__info {
        order: -1;
    }

    .localizacao__map {
        aspect-ratio: 16/9;
    }

    .compramos__content {
        max-width: 100%;
    }
}

/* Tablet Portrait (max 768px) */
@media (max-width: 768px) {
    .hero__bg {
        background-image: url('../img/hero-bg-mobile.jpg');
    }

    .compramos {
        background-image: none;
        padding-bottom: 0;
    }

    .compramos__content {
        max-width: 100%;
    }

    .compramos__img-mobile {
        display: block;
        margin-top: 24px;
        width: 100vw;
        margin-left: -20px;
        max-width: none;
    }

    .compramos::after {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .section__title {
        margin-bottom: 28px;
    }

    .header__logo-text {
        font-size: 1.2rem;
    }

    .header__logo-img {
        height: 42px;
    }

    .header__cta {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .hero__container {
        padding: 120px 20px 60px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__overlay {
        background: linear-gradient(180deg, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.9) 60%, rgba(250, 248, 245, 0.5) 100%);
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero__ctas .btn {
        justify-content: center;
        width: 100%;
    }

    .hero__badges {
        gap: 12px;
    }

    .compramos {
        padding: 70px 0 0;
    }

    .compramos__item {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .passos {
        padding: 70px 0;
    }

    .passo {
        padding: 24px 20px;
    }

    .passo__body {
        gap: 12px;
    }

    .passo__number {
        font-size: 2.5rem;
        min-width: 50px;
    }

    .passo__title {
        font-size: 1rem;
    }

    .beneficios {
        padding: 70px 0;
    }

    .beneficio {
        padding: 28px 20px;
    }

    .cta-final {
        padding: 60px 0;
    }

    .localizacao {
        padding: 70px 0;
    }

    .localizacao__map {
        aspect-ratio: 4/3;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Mobile Large (max 640px) */
@media (max-width: 640px) {
    .header__logo-text {
        font-size: 1rem;
    }

    .header__logo-img {
        height: 36px;
    }

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

    .hero__container {
        padding: 120px 16px 50px;
    }

    .hero__badges {
        flex-direction: column;
    }

    .badge {
        justify-content: center;
    }

    .compramos {
        padding: 60px 0 0;
    }

    .compramos__item {
        gap: 10px;
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .compramos__item i {
        font-size: 1.2rem;
        min-width: 20px;
    }

    .passo__img-wrapper {
        height: 160px;
    }

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

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

    .footer__info p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float i {
        font-size: 1.7rem;
    }
}

/* Mobile Small (max 420px) */
@media (max-width: 420px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
    }

    .header__logo-text {
        font-size: 0.9rem;
    }

    .header__logo-img {
        height: 32px;
    }

    .header__cta {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 4px;
    }

    .hero__container {
        padding-top: 100px !important;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .section__title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .compramos__list {
        gap: 10px;
        margin: 20px 0;
    }

    .compramos__item {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .passo__body {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .passo__number {
        font-size: 2rem;
    }

    .passo__img-wrapper {
        height: 140px;
    }

    .beneficio {
        padding: 24px 16px;
    }

    .beneficio__title {
        font-size: 1rem;
    }

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

    .cta-final__subtitle {
        font-size: 0.95rem;
    }

    .btn--lg {
        padding: 12px 24px;
        font-size: 0.95rem;
        white-space: normal;
        text-align: center;
    }

    .localizacao__address {
        font-size: 0.95rem;
    }

    .localizacao__map {
        aspect-ratio: 1/1;
    }

    .footer__logo {
        height: 40px;
    }

    .footer__name {
        font-size: 1.1rem;
    }
}
