:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-alt: #eef3fa;
    --text: #182230;
    --muted: #4f5d75;
    --line: #d9e2ef;
    --primary: #0ea867;
    --primary-dark: #0a8f57;
    --accent: #0e4b7a;
    --radius: 18px;
    --shadow: 0 12px 30px rgba(24, 34, 48, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5vw;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(217, 226, 239, 0.65);
    backdrop-filter: blur(10px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #1c7ec5);
    box-shadow: 0 8px 16px rgba(14, 75, 122, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(24, 34, 48, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
}

.menu-close:hover {
    color: var(--text);
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.menu a:hover {
    color: var(--text);
}

.menu .nav-whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #19b565, #25d366);
    box-shadow: 0 10px 18px rgba(25, 181, 101, 0.28);
}

.menu .nav-whatsapp:hover {
    color: #fff;
    background: linear-gradient(135deg, #119958, #1dbc61);
}

.menu-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

main {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 48px 0;
}

.hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    line-height: 1.1;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.pill {
    width: fit-content;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    background: #e8f2fb;
}

.hero-actions {
    margin: 28px 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #11c074);
    box-shadow: 0 10px 20px rgba(14, 168, 103, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
}

.btn-outline {
    border: 1px solid var(--line);
    color: var(--text);
    background: #fff;
}

.btn-full {
    width: 100%;
}

.trust {
    display: block;
    color: var(--muted);
}

.hero-media {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #fff;
}

.carousel {
    position: relative;
}

.carousel-track {
    position: relative;
}

.carousel-slide {
    display: none;
    position: relative;
    min-height: 460px;
}

.carousel-slide.is-active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(180deg, rgba(9, 19, 27, 0) 0%, rgba(9, 19, 27, 0.72) 100%);
}

.carousel-caption h2 {
    margin: 0;
    font-size: 1.1rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(8, 17, 24, 0.45);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.carousel-control:hover {
    background: rgba(8, 17, 24, 0.62);
}

.carousel-control svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.carousel-control.prev {
    left: 12px;
}

.carousel-control.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
}

.carousel-dot.is-active {
    background: #fff;
}

.section {
    padding: 72px 0;
}

.section-alt {
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    background: var(--surface-alt);
}

.section-head {
    max-width: 720px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.grid {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    padding: 22px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.card h3 {
    margin: 10px 0 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #ebf5ff;
    color: var(--accent);
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.pricing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: #b8cee2;
    box-shadow: 0 18px 34px rgba(24, 34, 48, 0.14);
}

.price-image {
    width: calc(100% + 40px);
    height: 148px;
    margin: -20px -20px 16px;
    border-radius: 14px 14px 0 0;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}

.price-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #fff;
    background: #0b6dbc;
}

.price-card h3 {
    margin: 6px 0;
    font-size: 1.5rem;
}

.price-card .label {
    color: var(--muted);
    margin: 0 0 16px;
}

.price-card .price {
    margin: 0 0 18px;
    font-size: 1.45rem;
    font-weight: 800;
}

.price-card.featured {
    border: 1px solid #9ac5e8;
    box-shadow: 0 10px 22px rgba(16, 81, 126, 0.14);
}

.price-card.featured:hover {
    box-shadow: 0 20px 38px rgba(16, 81, 126, 0.24);
}

.section-note {
    color: var(--muted);
    margin-top: 12px;
}

.flow-steps {
    margin-top: 28px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
    position: relative;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 18px 16px;
    min-height: 158px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.flow-step:hover {
    transform: translateY(-3px);
    border-color: #b6d0e6;
    box-shadow: 0 12px 24px rgba(14, 75, 122, 0.1);
}

.flow-step-number {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    background: var(--accent);
}

.flow-step p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.flow-arrow {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    z-index: 2;
    box-shadow: 0 6px 14px rgba(24, 34, 48, 0.1);
}

.flow-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

.allowed-grid {
    margin-top: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.allowed-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.allowed-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.cta {
    margin: 70px 0 90px;
    padding: 34px;
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #163f66, #0f6b9f);
    box-shadow: 0 16px 34px rgba(21, 64, 101, 0.34);
}

.cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.cta p {
    margin: 0 0 20px;
    opacity: 0.92;
}

.cta .contact-phone {
    margin-top: 14px;
    font-weight: 500;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #25d366;
    box-shadow: 0 16px 28px rgba(17, 130, 71, 0.38);
    z-index: 30;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.dev-footer {
    text-align: center;
    padding: 20px;
}

.dev-footer a {
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

.dev-footer a:hover {
    color: var(--primary);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .carousel-slide,
    .carousel-slide img {
        min-height: 390px;
        height: 390px;
    }

    .benefits,
    .pricing,
    .allowed-grid,
    .flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flow-step:nth-child(2n) .flow-arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .menu-overlay {
        display: block;
    }

    .menu-close {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 85vw);
        max-width: 300px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 60px 20px 24px;
        background: var(--surface);
        box-shadow: -8px 0 24px rgba(24, 34, 48, 0.12);
        z-index: 30;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
        overflow-y: auto;
    }

    .menu.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .menu .menu-link {
        padding: 14px 16px;
        font-size: 1rem;
        justify-content: flex-start;
        border-radius: 10px;
        margin-bottom: 4px;
    }

    .menu .menu-link:hover {
        background: var(--surface-alt);
    }

    .menu .nav-whatsapp {
        margin-top: 12px;
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 4vw;
    }

    .logo-text {
        max-width: 55vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .benefits,
    .pricing,
    .allowed-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }

    .carousel-slide,
    .carousel-slide img {
        min-height: 290px;
        height: 290px;
    }

    .flow-step {
        min-height: auto;
    }

    .flow-arrow {
        right: 50%;
        top: auto;
        bottom: -16px;
        transform: translateX(50%) rotate(90deg);
    }

    .cta {
        margin-bottom: 110px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 28px 0;
    }

    .hero-actions {
        flex-direction: column;
        margin: 20px 0 10px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .section {
        padding: 48px 0;
    }

    .cta {
        margin: 50px 0 100px;
        padding: 24px 20px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }

    .carousel-control {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-control.prev {
        left: 8px;
    }

    .carousel-control.next {
        right: 8px;
    }

    .modal-overlay {
        padding: 12px;
    }

    .modal-solicitar {
        max-height: min(calc(100vh - 24px), 100dvh);
    }

    .solicitar-form {
        padding: 20px;
    }

    .solicitar-form .form-row input,
    .solicitar-form .form-row select,
    .solicitar-form .form-row textarea {
        min-height: 48px;
        padding: 14px 16px;
    }

    .solicitar-form .btn-full {
        min-height: 52px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .section-head h2 {
        font-size: 1.35rem;
    }

    .cta {
        padding: 20px 16px;
    }
}

/* Solicitar modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 34, 48, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-solicitar {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 520px;
    width: 100%;
    max-height: min(90vh, 100dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
    .modal-solicitar {
        max-width: 600px;
    }
}
@media (min-width: 1024px) {
    .modal-solicitar {
        max-width: 640px;
    }
}
.modal-solicitar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}
.modal-solicitar-header h2 {
    margin: 0;
    font-size: 1.25rem;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 0 4px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    color: var(--text);
}
.solicitar-form {
    padding: 24px;
}
@media (min-width: 768px) {
    .solicitar-form {
        padding: 28px 32px;
    }
}
.solicitar-form .form-row {
    margin-bottom: 16px;
}
.solicitar-form .form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.solicitar-form .form-row input,
.solicitar-form .form-row select,
.solicitar-form .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}
.solicitar-form .form-row input:focus,
.solicitar-form .form-row select:focus,
.solicitar-form .form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 168, 103, 0.15);
}
.solicitar-form .form-row-cols {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}
.solicitar-form .form-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.solicitar-form .form-col-num {
    flex: 0 0 90px;
}
.solicitar-form .form-col-bairro {
    flex: 1;
}
.solicitar-form .form-col-city {
    flex: 1;
}
.solicitar-form .form-col-state {
    flex: 0 0 70px;
}
.solicitar-form .form-row-bucket-qty {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 12px;
}
.solicitar-form .form-col-bucket {
    min-width: 0;
}
.solicitar-form .form-col-qty {
    min-width: 0;
}
@media (max-width: 400px) {
    .solicitar-form .form-row-bucket-qty {
        grid-template-columns: 1fr;
    }
    .solicitar-form .form-row-cols {
        flex-direction: column;
    }
    .solicitar-form .form-col-num,
    .solicitar-form .form-col-bairro,
    .solicitar-form .form-col-city,
    .solicitar-form .form-col-state {
        flex: 1 1 auto;
        min-width: 0;
    }
}
.solicitar-form .form-row-half {
    display: inline-block;
    width: calc(50% - 8px);
    margin-right: 8px;
    vertical-align: top;
}
.solicitar-form .form-row-half:last-of-type {
    margin-right: 0;
    margin-left: 8px;
}
.solicitar-form .form-row-small {
    max-width: 80px;
}
.solicitar-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--muted);
}
.solicitar-form .address-readonly {
    padding: 12px 14px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text);
}
.solicitar-form .btn-full {
    margin-top: 8px;
}
.solicitar-banner {
    padding: 14px 20px;
    margin: 0 auto 20px;
    width: min(1120px, 92vw);
    max-width: 100%;
    border-radius: 10px;
    font-weight: 500;
}
.solicitar-banner.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.solicitar-banner.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
