/* =========================================================
   ÚLTIMA MILHA BH
   STYLE.CSS
   ========================================================= */


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    --yellow: #f5c400;
    --yellow-dark: #c99d00;
    --yellow-light: #fff5c2;
    --yellow-pale: #fffbed;

    --black: #111111;
    --black-soft: #1b1b1b;
    --dark: #242424;

    --white: #ffffff;

    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d5d5d5;
    --gray: #666666;
    --gray-dark: #444444;

    --green-whatsapp: #25d366;
    --green-whatsapp-dark: #1ebe5d;

    --container: 1180px;

    --radius: 4px;

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.10);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 90px;

}


body {

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--black);

    background: var(--white);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

}


img,
video {

    display: block;

    max-width: 100%;

}


img {

    height: auto;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea,
select {

    font: inherit;

}


.container {

    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.97);

    backdrop-filter:
        blur(10px);

    border-bottom:
        1px solid var(--gray-200);

}


.nav {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-size: 21px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -1px;

    white-space: nowrap;

}


.logo span {

    color: var(--yellow-dark);

}


.logo strong {

    color: var(--black);

    background: var(--yellow);

    padding:
        5px 7px;

    margin-left: 2px;

}


/* =========================================================
   MENU
========================================================= */

.menu {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 14px;

    font-weight: 700;

}


.menu > a {

    transition:
        color .2s ease;

}


.menu > a:hover {

    color: var(--yellow-dark);

}


.menu-whatsapp {

    color: var(--white) !important;

    background: var(--black);

    padding:
        12px 20px;

    border-radius: var(--radius);

}


.menu-whatsapp:hover {

    background: var(--yellow);

    color: var(--black) !important;

}


.mobile-whatsapp {

    display: none;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    padding:
        95px 0 85px;

    background:
        linear-gradient(
            105deg,
            var(--yellow-pale) 0%,
            #ffffff 58%,
            #f3f3f3 100%
        );

    overflow: hidden;

}


.hero::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background:
        rgba(245, 196, 0, .08);

    right: -150px;

    top: -150px;

    pointer-events: none;

}


.hero-grid {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;

}


.hero-content {

    min-width: 0;

}


.tag {

    display: inline-block;

    margin-bottom: 25px;

    padding:
        7px 12px;

    background: var(--yellow);

    color: var(--black);

    font-size: 11px;

    line-height: 1.2;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.hero h1 {

    max-width: 760px;

    font-size:
        clamp(
            43px,
            6vw,
            72px
        );

    line-height: 1.01;

    letter-spacing: -3.5px;

    font-weight: 900;

}


.hero h1 span {

    display: block;

    color: var(--yellow-dark);

}


.hero-content > p {

    max-width: 650px;

    margin-top: 28px;

    color: var(--gray);

    font-size: 18px;

    line-height: 1.7;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        13px 24px;

    border-radius: var(--radius);

    font-size: 14px;

    font-weight: 800;

    text-align: center;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;

}


.btn:hover {

    transform:
        translateY(-2px);

}


.btn-primary {

    background: var(--yellow);

    color: var(--black);

}


.btn-primary:hover {

    background: var(--yellow-dark);

}


.btn-outline {

    border:
        2px solid var(--black);

    background: transparent;

}


.btn-outline:hover {

    background: var(--black);

    color: var(--white);

}


.hero-cities {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 30px;

}


.hero-cities span {

    padding:
        6px 9px;

    border:
        1px solid var(--gray-200);

    background: var(--white);

    border-radius: 3px;

    font-size: 10px;

    font-weight: 800;

    color: var(--gray-dark);

}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {

    position: relative;

}


.hero-image::before {

    content: "";

    position: absolute;

    width: 90%;

    height: 90%;

    right: -20px;

    bottom: -20px;

    background: var(--yellow);

    z-index: 0;

}


.hero-image img {

    position: relative;

    z-index: 1;

    width: 100%;

    height: 560px;

    object-fit: cover;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.floating-card {

    position: absolute;

    z-index: 2;

    left: -30px;

    bottom: 28px;

    min-width: 235px;

    padding:
        19px 22px;

    border-left:
        5px solid var(--yellow);

    background: var(--black);

    color: var(--white);

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);

}


.floating-card strong {

    display: block;

    color: var(--yellow);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1px;

}


.floating-card span {

    display: block;

    margin-top: 4px;

    color: #d0d0d0;

    font-size: 12px;

}


/* =========================================================
   SEÇÕES
========================================================= */

.problem,
.pickup,
.locations,
.gallery {

    padding:
        100px 0;

}


.section-title {

    max-width: 780px;

    margin-bottom: 50px;

}


.section-title > span {

    display: inline-block;

    color: var(--yellow-dark);

    font-size: 11px;

    line-height: 1.3;

    font-weight: 900;

    letter-spacing: 2px;

}


.section-title h2 {

    margin-top: 12px;

    font-size:
        clamp(
            34px,
            4.5vw,
            53px
        );

    line-height: 1.08;

    letter-spacing: -2.5px;

    font-weight: 900;

}


.section-title p {

    max-width: 730px;

    margin-top: 18px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.75;

}


.section-title.light {

    color: var(--white);

}


.section-title.light > span {

    color: var(--yellow);

}


.section-title.light p {

    color: #aaa;

}


/* =========================================================
   PROBLEM
========================================================= */

.problem {

    background: var(--white);

}


.cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.card {

    padding: 35px;

    background: var(--gray-100);

    border-top:
        4px solid var(--yellow);

}


.card-number {

    margin-bottom: 32px;

    color: var(--yellow-dark);

    font-size: 13px;

    font-weight: 900;

}


.card h3 {

    margin-bottom: 14px;

    font-size: 22px;

    line-height: 1.2;

}


.card p {

    color: var(--gray);

    font-size: 14px;

}


/* =========================================================
   ONDE RETIRAMOS
========================================================= */

.pickup {

    background: #f8f8f8;

}


.pickup-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.pickup-card {

    padding: 35px;

    background: var(--white);

    border:
        1px solid var(--gray-200);

    border-top:
        4px solid var(--yellow);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.pickup-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

}


.pickup-number {

    margin-bottom: 28px;

    color: var(--yellow-dark);

    font-size: 13px;

    font-weight: 900;

}


.pickup-card h3 {

    margin-bottom: 14px;

    font-size: 22px;

    line-height: 1.2;

}


.pickup-card p {

    color: var(--gray);

    font-size: 14px;

}


.pickup-note {

    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 20px;

    margin-top: 30px;

    padding: 28px;

    background: var(--yellow-light);

    border-left:
        5px solid var(--yellow);

}


.pickup-note-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--black);

    color: var(--yellow);

    border-radius: 50%;

    font-weight: 900;

}


.pickup-note strong {

    display: block;

    margin-bottom: 10px;

    font-size: 17px;

}


.pickup-note p {

    margin-top: 7px;

    color: #444;

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   SERVIÇOS
========================================================= */

.services {

    padding:
        100px 0;

    background:
        var(--black);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.service {

    padding: 35px;

    background: #202020;

    color: var(--white);

    border:
        1px solid #2d2d2d;

    transition:
        transform .2s ease,
        border-color .2s ease;

}


.service:hover {

    transform:
        translateY(-4px);

    border-color:
        var(--yellow);

}


.service-main {

    grid-row:
        span 2;

    background:
        var(--yellow);

    color: var(--black);

    border-color:
        var(--yellow);

}


.service-icon {

    margin-bottom: 22px;

    font-size: 32px;

    line-height: 1;

}


.service h3 {

    margin-bottom: 14px;

    font-size: 24px;

    line-height: 1.2;

}


.service p {

    margin-bottom: 20px;

    color: #bdbdbd;

    font-size: 14px;

}


.service-main p {

    color: #333;

}


.service ul {

    list-style: none;

    margin-top: 20px;

}


.service li {

    padding:
        9px 0;

    border-bottom:
        1px solid rgba(255,255,255,.10);

    font-size: 13px;

}


.service-main li {

    border-color:
        rgba(0,0,0,.12);

}


.service li::before {

    content: "✓";

    margin-right: 9px;

    color: var(--yellow);

    font-weight: 900;

}


.service-main li::before {

    color: var(--black);

}


/* =========================================================
   LOCALIZAÇÃO
========================================================= */

.locations {

    background: var(--white);

}


.locations-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border:
        1px solid var(--gray-200);

}


.location {

    min-height: 175px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px;

    text-align: center;

    border-right:
        1px solid var(--gray-200);

}


.location:last-child {

    border-right: none;

}


.location strong {

    color: var(--yellow-dark);

    font-size: 38px;

    line-height: 1;

    font-weight: 900;

}


.location span {

    margin-top: 8px;

    font-size: 13px;

    font-weight: 800;

}


.location-text {

    margin-top: 25px;

    padding: 22px;

    background:
        var(--yellow-light);

    border-left:
        4px solid var(--yellow);

}


.location-text strong {

    display: block;

    margin-bottom: 5px;

    font-size: 14px;

}


.location-text p {

    color: var(--gray-dark);

    font-size: 13px;

}


/* =========================================================
   COMO FUNCIONA
========================================================= */

.how {

    padding:
        100px 0;

    background:
        var(--black-soft);

}


.steps {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

}


.step {

    padding-top: 25px;

    border-top:
        1px solid #444;

    color: var(--white);

}


.step > span {

    color: var(--yellow);

    font-size: 13px;

    font-weight: 900;

}


.step h3 {

    margin:
        15px 0 12px;

    font-size: 20px;

    line-height: 1.2;

}


.step p {

    color: #aaa;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   GALERIA
========================================================= */

.gallery {

    background:
        var(--white);

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-auto-rows:
        230px;

    gap: 15px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

    background: #eee;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;

}


.gallery-item:hover img {

    transform:
        scale(1.04);

}


.gallery-large {

    grid-row:
        span 2;

}


.gallery-video {

    grid-column:
        span 2;

    overflow: hidden;

    background:
        #101010;

}


.gallery-video video {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* =========================================================
   CTA
========================================================= */

.cta {

    padding:
        70px 0;

    background:
        var(--yellow);

}


.cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.cta span {

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

}


.cta h2 {

    margin:
        10px 0;

    font-size:
        clamp(
            35px,
            5vw,
            55px
        );

    line-height: 1;

    letter-spacing: -2.5px;

    font-weight: 900;

}


.cta p {

    color: #333;

    font-size: 14px;

}


.btn-dark {

    flex-shrink: 0;

    background:
        var(--black);

    color:
        var(--white);

}


.btn-dark:hover {

    background:
        #333;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding-top:
        70px;

    background:
        #101010;

    color:
        var(--white);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 60px;

    padding-bottom:
        60px;

}


.footer-logo {

    margin-bottom:
        20px;

    color:
        var(--white);

}


.footer-grid > div:first-child p {

    max-width:
        430px;

}


.footer p {

    color:
        #999;

    font-size:
        13px;

    line-height:
        1.8;

}


.footer h3 {

    margin-bottom:
        15px;

    color:
        var(--yellow);

    font-size:
        13px;

}


.footer a {

    color:
        var(--white);

    font-size:
        14px;

    font-weight:
        800;

}


.footer-bottom {

    padding:
        20px 0;

    border-top:
        1px solid #292929;

    color:
        #666;

    font-size:
        11px;

}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.whatsapp-float {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 9999;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        13px 19px;

    background:
        var(--green-whatsapp);

    color:
        var(--white);

    border-radius:
        50px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.25);

    font-size:
        13px;

    font-weight:
        900;

    transition:
        transform .2s ease,
        background .2s ease;

}


.whatsapp-float:hover {

    transform:
        translateY(-3px);

    background:
        var(--green-whatsapp-dark);

}


.whatsapp-icon {

    font-size:
        15px;

}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

a:focus-visible {

    outline:
        3px solid var(--yellow-dark);

    outline-offset:
        4px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    .hero-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .hero-image {

        max-width:
            750px;

    }


    .cards {

        grid-template-columns:
            1fr;

    }


    .pickup-grid {

        grid-template-columns:
            1fr;

    }


    .steps {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .locations-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .location:nth-child(3) {

        border-right:
            none;

    }


    .location:nth-child(n+4) {

        border-top:
            1px solid var(--gray-200);

    }


    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .gallery-large {

        grid-column:
            span 2;

        grid-row:
            span 1;

    }


    .gallery-video {

        grid-column:
            span 2;

    }


    .cta-content {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   TABLET PEQUENO
========================================================= */

@media (max-width: 760px) {


    .nav {

        min-height:
            72px;

    }


    .menu {

        display:
            none;

    }


    .mobile-whatsapp {

        display:
            inline-flex;

        padding:
            9px 14px;

        background:
            var(--yellow);

        color:
            var(--black);

        font-size:
            11px;

        font-weight:
            900;

    }


    .hero {

        padding:
            65px 0;

    }


    .hero h1 {

        font-size:
            46px;

        letter-spacing:
            -2.5px;

    }


    .hero-content > p {

        font-size:
            16px;

    }


    .hero-image img {

        height:
            430px;

    }


    .floating-card {

        left:
            15px;

        bottom:
            15px;

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }


    .service-main {

        grid-row:
            auto;

    }


    .locations-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .location {

        border-right:
            1px solid var(--gray-200);

        border-bottom:
            1px solid var(--gray-200);

    }


    .location:nth-child(even) {

        border-right:
            none;

    }


    .location:nth-child(n+3) {

        border-top:
            none;

    }


    .location:nth-child(5) {

        grid-column:
            span 2;

        border-right:
            none;

    }


    .gallery-grid {

        grid-template-columns:
            1fr;

        grid-auto-rows:
            240px;

    }


    .gallery-large,
    .gallery-video {

        grid-column:
            span 1;

    }


    .gallery-large {

        grid-row:
            span 1;

    }


    .pickup-note {

        grid-template-columns:
            1fr;

    }


    .pickup-note-icon {

        margin-bottom:
            2px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            35px;

    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 520px) {


    .container {

        width:
            min(
                calc(100% - 30px),
                var(--container)
            );

    }


    .logo {

        font-size:
            17px;

    }


    .hero {

        padding:
            55px 0;

    }


    .hero h1 {

        font-size:
            40px;

        line-height:
            1.04;

    }


    .hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .btn {

        width:
            100%;

    }


    .hero-image img {

        height:
            330px;

    }


    .hero-image::before {

        right:
            -10px;

        bottom:
            -10px;

    }


    .floating-card {

        min-width:
            190px;

        padding:
            14px 16px;

    }


    .section-title h2 {

        font-size:
            34px;

        letter-spacing:
            -1.8px;

    }


    .problem,
    .pickup,
    .locations,
    .gallery,
    .services,
    .how {

        padding:
            75px 0;

    }


    .card,
    .pickup-card,
    .service {

        padding:
            27px;

    }


    .steps {

        grid-template-columns:
            1fr;

    }


    .locations-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .location {

        min-height:
            145px;

        padding:
            18px;

    }


    .location strong {

        font-size:
            30px;

    }


    .location span {

        font-size:
            11px;

    }


    .location:nth-child(5) {

        grid-column:
            span 2;

    }


    .cta {

        padding:
            55px 0;

    }


    .cta h2 {

        font-size:
            38px;

    }


    .whatsapp-float {

        right:
            15px;

        bottom:
            15px;

        padding:
            12px 16px;

    }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }


    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;

    }

}
