/* ======================================================
   HERO
====================================================== */
.home-hero {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background: #020617;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/home02.webp') center/cover no-repeat;
    animation: heroSlide 20s infinite alternate;
    filter: brightness(.55);
}

@keyframes heroSlide {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 180px;
}

.hero-content h1 {
    color: #fff;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    color: #cbd5f5;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-btn {
    background: var(--accent);
    color: #020617;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

/* ======================================================
   SERVICES GRID
====================================================== */
.home-services {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    color: #64748b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}

.service-sublist {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

.service-sublist li {
    margin-bottom: 6px;
}

.service-sublist a {
    font-size: 13px;
    color: #020617;
    text-decoration: none;
}

.service-sublist a:hover {
    color: var(--accent);
}

.service-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

/* ======================================================
   CTA
====================================================== */
.home-cta {
    background: linear-gradient(135deg, #020617, #020617);
    padding: 100px 0;
    text-align: center;
}

.cta-box h2 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 16px;
}

.cta-box p {
    color: #cbd5f5;
    margin-bottom: 30px;
}

.cta-btn {
    background: var(--accent);
    color: #020617;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 900px) {

    .hero-content {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .home-services {
        padding: 70px 0;
    }
}

/* ======================================================
   ABOUT SECTION
====================================================== */
.home-about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
}

.about-points li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* IMAGE */
.about-image {
    height: 420px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

/* ======================================================
   CONTACT SECTION
====================================================== */
.home-contact {
    background: #020617;
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 16px;
}

.contact-info p {
    color: #cbd5f5;
    margin-bottom: 12px;
}

/* FORM */
.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-family: inherit;
}

.form-btn {
    margin-top: 10px;
    background: var(--accent);
    color: #020617;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 900px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}

/* ======================================================
   ABOUT SECTION (IMAGE REALISTA)
====================================================== */
.home-about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.about-image {
    height: 420px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* overlay suave para contraste */
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.35));
}

/* TEXT */
.about-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-points li {
    margin-bottom: 12px;
    font-weight: 500;
    position: relative;
    padding-left: 22px;
}

.about-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 900px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 280px;
    }
}

/* ======================================================
   FIXED CALL BANNER
====================================================== */
.fixed-call-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;

    display: flex;
    align-items: center;
    gap: 10px;

    background: var(--accent);
    color: #020617;
    padding: 14px 20px;
    border-radius: 40px;

    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* ICON */
.call-icon {
    font-size: 18px;
}

/* HOVER */
.fixed-call-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

/* ======================================================
   MOBILE OPTIMIZATION
====================================================== */
@media (max-width: 900px) {

    .fixed-call-banner {
        bottom: 16px;
        right: 16px;
        padding: 14px 18px;
        font-size: 13px;
    }

    .call-icon {
        font-size: 20px;
    }
}

/* ======================================================
   REVIEWS HORIZONTAL PREMIUM (ADICIONADO)
====================================================== */

.home-reviews {
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 140px 0;
    overflow: hidden;
}

.reviews-title {
    text-align: center;
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 80px;
}

.reviews-wrapper {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

.review-card {
    min-width: 340px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    transition: transform .4s ease, box-shadow .4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.review-stars {
    color: #facc15;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.review-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5f5;
    margin-bottom: 25px;
}

.review-card h4 {
    font-weight: 600;
    color: var(--accent);
}

@keyframes scrollReviews {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ======================================================
   GLOBAL SCROLL ANIMATIONS
====================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .2s; }
.delay-2 { transition-delay: .4s; }
.delay-3 { transition-delay: .6s; }

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all .8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    /* transform: translateX(60px); */
    transition: all .8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(.9);
    transition: all .8s ease;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.service-image,
.about-image {
    transition: transform .6s ease;
}

.service-card:hover .service-image,
.about-image:hover {
    transform: scale(1.05);
}

/* ======================================================
   GLOBAL REVEAL ANIMATIONS
====================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s cubic-bezier(.19, 1, .22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .2s;
}

.reveal-delay-2 {
    transition-delay: .5s;
}

.reveal-delay-3 {
    transition-delay: .8s;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-left.active {
    transform: translateX(0);
}

.reveal-right {
    /* transform: translateX(60px); */
}

.reveal-right.active {
    transform: translateX(0);
}

/* BUTTON MICRO INTERACTIONS */

.hero-btn,
.cta-btn,
.form-btn {
    transition: all .3s ease;
}

.hero-btn:hover,
.cta-btn:hover,
.form-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}

/* IMAGE ZOOM */

.service-image {
    transition: transform .6s ease;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.cta-box {
    transition: transform .6s ease;
}

.cta-box:hover {
    transform: translateY(-6px);
}