/* ══════════════════════════════════════════════════════════════════════════════
   CHURRASQUEIRAS DE TIJOLOS RJ - Landing Page
   Cores: Palha + Terracota/Vermelha
   ══════════════════════════════════════════════════════════════════════════════ */

/* ─── Variáveis ─────────────────────────────────────────────────────────────── */
:root {
    --palha: #FDF6E3;
    --palha-escuro: #F5E6C8;
    --terracota: #8B4513;
    --terracota-claro: #A0522D;
    --vermelho-tijolo: #C0392B;
    --vermelho-hover: #E74C3C;
    --dourado: #D4A574;
    --marrom-escuro: #3D2B1F;
    --marrom-medio: #5D4037;
    --branco: #FFFFFF;
    --cinza-claro: #F8F8F8;
    --sombra: rgba(0, 0, 0, 0.1);
    --sombra-forte: rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--palha);
    color: var(--marrom-escuro);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Typography ────────────────────────────────────────────────────────────── */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--terracota);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--marrom-medio);
    margin-bottom: 3rem;
}

.highlight {
    color: var(--vermelho-tijolo);
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    justify-content: center;
}

.btn--cta {
    background: var(--vermelho-tijolo);
    color: var(--branco);
}

.btn--cta:hover {
    background: var(--vermelho-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

.btn--xlarge {
    padding: 22px 48px;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--terracota);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--sombra-forte);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.header__logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--branco);
    padding: 4px;
}

.header__brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--branco);
}

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

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--palha) 0%, var(--palha-escuro) 100%);
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--terracota);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--marrom-medio);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.hero__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--terracota);
}

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px var(--sombra-forte);
}

/* ─── Differentials ─────────────────────────────────────────────────────────── */
.differentials {
    padding: 100px 0;
    background: var(--branco);
}

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

.differential-card {
    background: var(--palha);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.differential-card:hover {
    transform: translateY(-8px);
    border-color: var(--dourado);
    box-shadow: 0 15px 40px var(--sombra);
}

.differential-card__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.differential-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--terracota);
}

.differential-card__text {
    font-size: 0.95rem;
    color: var(--marrom-medio);
    line-height: 1.6;
}

/* ─── Gallery ───────────────────────────────────────────────────────────────── */
.gallery {
    padding: 100px 0;
    background: var(--palha);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.9));
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay span:first-child {
    color: var(--branco);
    font-weight: 600;
    font-size: 1rem;
}

.gallery__price {
    color: var(--dourado);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ─── Video Section ─────────────────────────────────────────────────────────── */
.video-section {
    padding: 100px 0;
    background: var(--branco);
}

.video-section__wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--sombra-forte);
}

.video-section__wrapper iframe {
    display: block;
}

/* ─── How It Works ──────────────────────────────────────────────────────────── */
.how-it-works {
    padding: 100px 0;
    background: var(--terracota);
    color: var(--branco);
}

.how-it-works .section-title {
    color: var(--branco);
}

.how-it-works .highlight {
    color: var(--dourado);
}

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

.step {
    text-align: center;
    padding: 30px 20px;
}

.step__number {
    width: 60px;
    height: 60px;
    background: var(--vermelho-tijolo);
    color: var(--branco);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.step__text {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ─── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials {
    padding: 100px 0;
    background: var(--palha);
}

.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    padding: 16px 32px;
    background: var(--branco);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--sombra);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rating-badge__stars {
    font-size: 1.3rem;
}

.rating-badge__score {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vermelho-tijolo);
}

.rating-badge__text {
    font-size: 0.95rem;
    color: var(--marrom-medio);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--branco);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 20px var(--sombra);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--sombra-forte);
}

.testimonial-card__stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--marrom-medio);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-card__author strong {
    color: var(--terracota);
    font-size: 1rem;
}

.testimonial-card__author span {
    font-size: 0.85rem;
    color: var(--marrom-medio);
}

/* ─── FAQ ───────────────────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
    background: var(--branco);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--palha-escuro);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--terracota);
    transition: var(--transition);
}

.faq__question:hover {
    color: var(--vermelho-tijolo);
}

.faq__question svg {
    transition: var(--transition);
}

.faq__question.active svg {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__answer p {
    padding: 0 0 20px;
    color: var(--marrom-medio);
    line-height: 1.7;
}

.faq__item.active .faq__answer {
    max-height: 200px;
}

/* ─── CTA Final ─────────────────────────────────────────────────────────────── */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-claro) 100%);
    text-align: center;
}

.cta-final__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 1rem;
}

.cta-final__title .highlight {
    color: var(--dourado);
}

.cta-final__text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final__phone {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--branco);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--marrom-escuro);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 30px 0;
}

.footer__copy {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer__dev {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__dev a {
    color: var(--dourado);
    text-decoration: none;
    transition: var(--transition);
}

.footer__dev a:hover {
    color: var(--branco);
    text-decoration: underline;
}

/* ─── WhatsApp Flutuante ────────────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

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

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 6px 40px rgba(37, 211, 102, 0.7); }
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__cta {
        align-items: center;
    }

    .hero__image {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .header__brand {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

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

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

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

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

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

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

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .btn--xlarge {
        padding: 16px 32px;
        font-size: 1rem;
    }

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

    .video-section__wrapper iframe {
        height: 250px;
    }
}
