
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;800&family=Nunito:wght@400;600;700&display=swap');

/* =========================================================
   FRETE DE RETORNO
   Identidade visual
   ========================================================= */

:root {
    --red: #D62828;
    --red-dark: #A11D1D;
    --yellow: #F4B400;
    --ink: #2B2D2F;
    --paper: #FBF7F2;
    --card: #FFFFFF;
    --muted: #5B5E62;
    --line: #E8E0D6;

    --shadow-sm: 0 8px 24px rgba(43, 45, 47, 0.08);
    --shadow-md: 0 18px 45px rgba(43, 45, 47, 0.12);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* =========================================================
   TIPOGRAFIA
   ========================================================= */

h1,
h2,
h3,
.logo {
    font-family: "Baloo 2", sans-serif;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
}

h3 {
    font-size: 1.45rem;
    font-weight: 800;
}

p {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: var(--red);
}

.eyebrow::before {
    content: "";

    width: 8px;
    height: 8px;

    background: var(--yellow);
    border-radius: 50%;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(251, 247, 242, 0.94);

    border-bottom: 1px solid rgba(232, 224, 214, 0.9);

    backdrop-filter: blur(12px);
}

.nav-content {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;

    font-size: 1.7rem;
    font-weight: 800;

    white-space: nowrap;
}

.logo::before {
    content: "";

    width: 14px;
    height: 14px;

    margin-right: 9px;

    background: var(--red);

    border-radius: 50%;

    box-shadow: 8px 0 0 var(--yellow);
}

.logo span {
    color: var(--red);
    margin-left: 5px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar nav a {
    position: relative;

    color: var(--ink);

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 3px;

    background: var(--yellow);

    border-radius: 10px;

    transition: width 0.2s ease;
}

.navbar nav a:hover {
    color: var(--red);
}

.navbar nav a:hover::after {
    width: 100%;
}


/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 24px;

    border: 2px solid var(--red);
    border-radius: 999px;

    background: var(--red);
    color: white;

    font-weight: 800;
    text-align: center;

    box-shadow: 0 8px 18px rgba(214, 40, 40, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(214, 40, 40, 0.24);
}

.btn-small {
    min-height: 44px;
    padding: 9px 18px;

    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--ink);

    border-color: var(--ink);

    box-shadow: none;
}

.btn-outline:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.btn-full {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    padding: 90px 0 100px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(244, 180, 0, 0.18),
            transparent 30%
        ),
        var(--paper);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    top: -140px;
    right: -100px;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background: rgba(214, 40, 40, 0.07);
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}

.hero-text {
    max-width: 690px;
}

.hero h1 {
    color: var(--ink);
}

.hero h1 em {
    color: var(--red);
    font-style: normal;
}

.hero-description {
    max-width: 650px;

    margin-top: 24px;

    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}

.hero-note {
    margin-top: 18px;

    font-size: 0.88rem;
    font-weight: 700;

    color: var(--muted);
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
    position: relative;

    min-height: 420px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 45px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);

    overflow: hidden;
}

.hero-card::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -80px;

    width: 250px;
    height: 250px;

    background: var(--yellow);

    opacity: 0.16;

    border-radius: 50%;
}

.hero-card::after {
    content: "";

    position: absolute;

    bottom: -100px;
    left: -80px;

    width: 250px;
    height: 250px;

    background: var(--red);

    opacity: 0.08;

    border-radius: 50%;
}

.route-line {
    position: relative;
    z-index: 2;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: 1px;
}

.route {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--red);
}

.route i {
    width: 28px;
    height: 4px;

    background: var(--yellow);

    border-radius: 20px;
}

.route strong {
    font-size: 1.7rem;
}


/* =========================================================
   CAMIÃO
   IMPORTANTE:
   Apenas o camião recebe transform.
   Nada de margin-top/top/height durante a animação.
   ========================================================= */

.truck-area {
    position: relative;

    width: 100%;
    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.truck-illustration {
    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 2;

    display: block;

    margin: 0;

    font-size: clamp(6rem, 11vw, 9rem);

    transform: translate(-50%, -50%);

    filter:
        drop-shadow(0 12px 8px rgba(43, 45, 47, 0.16))
        saturate(1.7);

    animation: truckDrive 4.5s ease-in-out infinite;
}


/* Movimento do camião.
   SOMENTE transform.
   Não altera o tamanho nem a posição do layout. */

@keyframes truckDrive {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(calc(-50% + 28px), -50%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}


/* =========================================================
   ESTRADA
   ========================================================= */

.truck-road {
    position: absolute;

    left: 10%;
    right: 10%;
    bottom: 18px;

    height: 5px;

    background: var(--ink);

    border-radius: 999px;

    opacity: 0.18;
}


/* Estrada FIXA.
   Não possui animação para evitar qualquer sensação
   de movimento no restante da composição. */

.truck-road::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 1px;

    height: 2px;

    background: var(--yellow);

    border-radius: 999px;

    background-image:
        repeating-linear-gradient(
            to right,
            var(--yellow) 0,
            var(--yellow) 35px,
            transparent 35px,
            transparent 60px
        );
}


/* Texto do Hero Card */

.hero-card p {
    position: relative;
    z-index: 2;

    max-width: 340px;

    text-align: center;

    font-size: 1rem;
    font-weight: 700;
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    font-size: 1.05rem;
}


/* =========================================================
   COMO FUNCIONA
   ========================================================= */

.steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.step {
    position: relative;

    padding: 34px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.step:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}

.step > span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 22px;

    background: var(--yellow);

    color: var(--ink);

    border-radius: 50%;

    font-family: "Baloo 2", sans-serif;

    font-size: 1.15rem;
    font-weight: 800;
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.96rem;
}


/* =========================================================
   TRANSPORTADORES / CARREGADORES
   ========================================================= */

.split-section {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

.audience {
    min-height: 580px;

    display: flex;

    align-items: center;

    padding: 80px 8%;
}

.audience-inner {
    max-width: 560px;
}

.audience h2 {
    margin-bottom: 20px;
}

.audience > .audience-inner > p:not(.eyebrow) {
    font-size: 1.05rem;
    line-height: 1.8;
}

.audience ul {
    margin: 30px 0;

    list-style: none;
}

.audience li {
    position: relative;

    padding-left: 32px;

    margin-bottom: 14px;

    font-weight: 700;
}

.audience li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--yellow);

    color: var(--ink);

    border-radius: 50%;

    font-size: 0.78rem;
    font-weight: 900;
}

.audience-dark {
    background: var(--ink);
    color: white;
}

.audience-dark p {
    color: #d9d9d9;
}

.audience-dark .eyebrow {
    color: var(--yellow);
}

.audience-dark h2 {
    color: white;
}

.audience-dark li {
    color: white;
}

.audience-light {
    background: var(--card);
}

.audience-light h2 {
    color: var(--ink);
}

.text-link {
    display: inline-flex;

    align-items: center;

    color: var(--red);

    font-weight: 800;

    transition:
        gap 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.text-link:hover {
    color: var(--red-dark);

    transform: translateX(3px);
}


/* =========================================================
   ROTA
   ========================================================= */

.route-section {
    padding: 95px 0;

    background: var(--red);

    color: white;

    overflow: hidden;
}

.route-grid {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    align-items: center;

    gap: 60px;
}

.route-section .eyebrow {
    color: var(--yellow);
}

.route-section h2 {
    color: white;
}

.route-section h2 span {
    color: var(--yellow);
}

.route-section p:not(.eyebrow) {
    max-width: 620px;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1.05rem;
}

.route-box {
    min-height: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 35px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: var(--radius-lg);

    text-align: center;
}

.route-box > span {
    margin-bottom: 18px;

    padding: 6px 15px;

    background: var(--yellow);

    color: var(--ink);

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 900;

    letter-spacing: 1px;
}

.route-box strong {
    font-family: "Baloo 2", sans-serif;

    font-size: 2rem;
}

.big-arrow {
    margin: 5px 0;

    color: var(--yellow);

    font-size: 3rem;
    font-weight: 800;
}


/* =========================================================
   CONFIANÇA
   ========================================================= */

.trust {
    background: var(--paper);
}

.trust-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.trust-grid > div {
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.trust-grid b {
    display: block;

    margin-bottom: 10px;

    color: var(--red);

    font-family: "Baloo 2", sans-serif;

    font-size: 1.35rem;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-section {
    padding: 100px 0;

    background: #f1e9df;
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    align-items: start;

    gap: 70px;
}

.contact-grid > div {
    padding-top: 35px;
}

.contact-grid h2 {
    margin-bottom: 20px;
}

.contact-grid > div > p:last-child {
    max-width: 500px;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.form-card {
    padding: 35px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.choice-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 28px;

    padding: 6px;

    background: var(--paper);

    border-radius: 999px;
}

.choice-row label {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 8px 15px;

    border-radius: 999px;

    cursor: pointer;

    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.choice-row input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.choice-row label:has(input:checked) {
    background: var(--red);

    color: white;

    box-shadow: 0 6px 15px rgba(214, 40, 40, 0.2);
}

.form-card > label,
.form-two label {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;

    color: var(--ink);

    font-size: 0.9rem;
    font-weight: 800;
}

.form-card input:not([type="radio"]),
.form-card select,
.form-card textarea {
    width: 100%;

    padding: 13px 15px;

    background: white;

    border: 2px solid var(--line);

    border-radius: 12px;

    color: var(--ink);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-card textarea {
    resize: vertical;

    min-height: 110px;
}

.form-card input:not([type="radio"]):focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--yellow);

    box-shadow:
        0 0 0 4px rgba(244, 180, 0, 0.15);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #999;
}

.form-two {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-card button {
    margin-top: 5px;
}

.form-card small {
    display: block;

    margin-top: 14px;

    color: var(--muted);

    font-size: 0.78rem;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 40px 0;

    background: var(--ink);

    color: white;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-content strong {
    display: block;

    margin-bottom: 4px;

    color: white;

    font-family: "Baloo 2", sans-serif;

    font-size: 1.35rem;
}

.footer-content p {
    color: #bfc1c3;

    font-size: 0.88rem;
}

.footer-content > div:last-child {
    text-align: right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .navbar nav {
        gap: 18px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-card {
        min-height: 370px;
    }

    .audience {
        padding: 70px 7%;
    }

    .contact-grid {
        gap: 40px;
    }
}


/* =========================================================
   MOBILE / TABLET PEQUENO
   ========================================================= */

@media (max-width: 820px) {

    .nav-content {
        min-height: 70px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 65px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-text {
        max-width: none;
    }

    .hero-card {
        min-height: 340px;
    }

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

    .split-section {
        grid-template-columns: 1fr;
    }

    .audience {
        min-height: auto;

        padding: 75px 30px;
    }

    .route-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact-grid > div {
        padding-top: 0;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-content > div:last-child {
        text-align: left;
    }
}


/* =========================================================
   TELEMÓVEL
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 24px, var(--container));
    }

    .nav-content {
        gap: 12px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .navbar .btn-small {
        min-height: 40px;

        padding: 8px 13px;

        font-size: 0.78rem;
    }

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

    h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero-description {
        font-size: 1rem;

        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-card {
        min-height: 310px;

        padding: 30px 20px;
    }

    .route-line {
        font-size: 0.75rem;
    }

    .route i {
        width: 18px;
    }

    .truck-area {
        height: 155px;
    }

    .truck-illustration {
        margin: 0;

        font-size: 6rem;
    }

    .truck-road {
        left: 5%;
        right: 5%;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .step {
        padding: 28px;
    }

    .audience {
        padding: 65px 24px;
    }

    .route-section {
        padding: 70px 0;
    }

    .route-box {
        min-height: 230px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .form-card {
        padding: 24px 18px;

        border-radius: 22px;
    }

    .choice-row {
        grid-template-columns: 1fr;

        border-radius: 16px;
    }

    .choice-row label {
        border-radius: 12px;
    }

    .form-two {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .footer-content {
        padding: 0 5px;
    }
}


/* =========================================================
   TELEMÓVEL MUITO PEQUENO
   ========================================================= */

@media (max-width: 380px) {

    .logo {
        font-size: 1.25rem;
    }

    .navbar .btn-small {
        padding-inline: 10px;
    }

    .hero {
        padding-top: 45px;
    }

    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-card {
        padding: 25px 15px;
    }

    .route-line {
        gap: 8px;
    }

    .audience {
        padding-inline: 20px;
    }
}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation: none !important;

        transition: none !important;
    }
}
