/*
 * Camada visual clássica:
 * preserva a nova estrutura semântica e as otimizações, mas recupera a
 * linguagem institucional anterior: vermelho, grafite, linhas retas e
 * composição mais familiar ao segmento de transporte.
 */
:root {
    --classic-red: #a80f15;
    --classic-red-dark: #790b10;
    --classic-red-soft: #d34a4f;
    --classic-ink: #171719;
    --classic-ink-soft: #29292d;
    --classic-copy: #414146;
    --classic-paper: #f6f4f1;
    --classic-surface: #ffffff;
    --classic-line: #dedbd6;
    --classic-line-strong: #b8b4af;
    --classic-placeholder: #514d49;
    --classic-white: #ffffff;
    --classic-shadow: rgba(20, 20, 22, .14);
    --classic-overlay: rgba(12, 12, 14, .62);
    --classic-red-glow: rgba(168, 15, 21, .22);
}

body.ec-body {
    color: var(--classic-ink);
    background:
        linear-gradient(rgba(246, 244, 241, .96), rgba(246, 244, 241, .96)),
        url("../img/pattern/blog-v2-pattern.jpg") center / 520px auto repeat;
    font-family: var(--ec-font-body);
}

body.ec-body::before {
    opacity: .018;
}

.ec-home {
    display: flex;
    flex-direction: column;
}

.ec-home > .ec-section--quick-quote {
    order: -1;
    padding-block: 2.75rem;
}

.ec-home > .ec-section--quick-quote .ec-section-title {
    margin-bottom: 1.75rem;
}

.ec-home > .ec-section--quick-quote .ec-section-title h2 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.ec-home > .ec-section--quick-quote textarea {
    height: 8.5rem;
    min-height: 8.5rem;
}

.ec-body h1,
.ec-body h2 {
    font-family: var(--ec-font-body);
    font-weight: 700;
    letter-spacing: -.035em;
}

.ec-shell {
    width: min(calc(100% - 2rem), 1200px);
}

.ec-eyebrow {
    color: var(--classic-red);
    font-weight: 700;
    letter-spacing: .12em;
}

.ec-button {
    min-height: 3.4rem;
    padding: .85rem 1.5rem;
    border-color: var(--classic-red);
    border-radius: .3rem;
    background: var(--classic-red);
    box-shadow: 0 .65rem 1.5rem var(--classic-shadow);
    text-transform: none;
}

.ec-button:hover {
    background: var(--classic-red-dark);
}

.ec-button--ghost {
    border-color: var(--classic-ink);
    color: var(--classic-ink) !important;
}

.ec-header {
    color: var(--classic-ink);
    background: var(--classic-surface);
    box-shadow: 0 .2rem 1.2rem var(--classic-shadow);
}

.ec-header__bar {
    color: var(--classic-white);
    border: 0;
    background: var(--classic-ink);
}

.ec-header__bar-inner {
    min-height: 2.4rem;
}

.ec-header__main {
    min-height: 5.5rem;
}

.ec-brand {
    position: relative;
    align-self: stretch;
    min-width: 220px;
    align-items: center;
    padding-right: 2rem;
}

.ec-brand::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: var(--classic-ink);
    z-index: -1;
}

.ec-brand img {
    width: 180px;
    height: 55px;
}

.ec-nav a {
    color: var(--classic-ink);
}

.ec-nav a::after {
    background: var(--classic-red);
}

.ec-menu-toggle {
    border-color: var(--classic-line);
}

.ec-menu-toggle span {
    background: var(--classic-ink);
}

.ec-section {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.ec-section--services,
.ec-section--story,
.ec-section--content,
.ec-section--faq {
    color: var(--classic-ink);
    background:
        linear-gradient(rgba(246, 244, 241, .97), rgba(246, 244, 241, .97)),
        url("../img/pattern/blog-v2-pattern.jpg") center / 520px auto repeat;
}

.ec-section--quick-quote {
    color: var(--classic-ink);
    background:
        linear-gradient(rgba(23, 23, 25, .86), rgba(23, 23, 25, .92)),
        url("../img/slider/cargalonge.jpg") center / cover no-repeat;
}

.ec-section-title {
    margin-bottom: 2.8rem;
}

.ec-section-title h2 {
    margin-top: .75rem;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1.08;
}

.ec-section-title p,
.ec-story__content p,
.ec-service p,
.ec-faq details p,
.ec-blog-card p {
    color: var(--classic-copy);
}

.ec-hero {
    position: relative;
    min-height: 650px;
    color: var(--classic-white);
    background: var(--classic-ink);
}

.ec-hero__media {
    inset: 0;
}

.ec-hero__media::after {
    background:
        linear-gradient(90deg, var(--classic-overlay) 0%, rgba(12, 12, 14, .5) 48%, rgba(12, 12, 14, .14) 100%),
        linear-gradient(0deg, rgba(12, 12, 14, .42), transparent 55%);
}

.ec-hero__mesh {
    display: none;
}

.ec-hero__content {
    width: min(680px, 65%);
    padding-block: 6rem;
}

.ec-hero .ec-eyebrow {
    color: var(--classic-white);
}

.ec-hero .ec-eyebrow::before {
    background: var(--classic-red-soft);
}

.ec-hero h1 {
    max-width: 680px;
    margin: 1rem 0 1.25rem;
    font-family: var(--ec-font-body);
    font-size: clamp(2.8rem, 5.4vw, 5.1rem);
    font-weight: 700;
    line-height: .98;
}

.ec-hero h1 em {
    color: var(--classic-red-soft);
    font-family: var(--ec-font-body);
    font-style: normal;
    font-weight: 700;
}

.ec-hero__lead {
    max-width: 610px;
    color: var(--classic-white);
    font-size: 1.12rem;
}

.ec-hero .ec-button--ghost {
    border-color: var(--classic-white);
    color: var(--classic-white) !important;
    background: rgba(12, 12, 14, .3);
}

.ec-hero .ec-button--ghost:hover {
    color: var(--classic-ink) !important;
    background: var(--classic-white);
}

.ec-hero__proof {
    margin-top: 2.6rem;
    padding-top: 1.3rem;
}

.ec-hero__proof strong {
    font-family: var(--ec-font-body);
    font-size: 1.35rem;
}

.ec-quote-strip {
    margin-top: 0;
    background: var(--classic-red);
}

.ec-quote-strip__inner {
    min-height: 9rem;
    padding: 1.8rem 0;
    border: 0;
    border-radius: 0;
    color: var(--classic-white);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.ec-quote-strip h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.ec-quote-strip p {
    color: var(--classic-white);
}

.ec-quote-strip .ec-button {
    border-color: var(--classic-white);
    color: var(--classic-ink) !important;
    background: var(--classic-white);
    box-shadow: none;
}

.ec-services {
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.ec-services__intro {
    top: 8rem;
}

.ec-services__list {
    border-top: 3px solid var(--classic-red);
    background: var(--classic-surface);
    box-shadow: 0 1rem 3rem var(--classic-shadow);
}

.ec-service {
    grid-template-columns: 4rem 1fr 2rem;
    padding: 1.8rem 2rem;
    border-color: var(--classic-line);
}

.ec-service:hover {
    padding-inline: 2.35rem 1.65rem;
    color: var(--classic-red);
    background: var(--classic-paper);
}

.ec-service__number {
    color: var(--classic-red);
    font-family: var(--ec-font-body);
    font-size: 1.35rem;
    font-weight: 700;
}

.ec-section--dark {
    color: var(--classic-white);
    background:
        linear-gradient(rgba(12, 12, 14, .78), rgba(12, 12, 14, .86)),
        url("../img/slider/cargablack.webp") center / cover no-repeat;
    background-attachment: scroll;
}

.ec-section--dark .ec-eyebrow {
    color: var(--classic-red-soft);
}

.ec-section--dark .ec-section-title h2,
.ec-section--dark .ec-step h3 {
    color: var(--classic-white);
}

.ec-section--dark .ec-section-title p,
.ec-step p {
    color: var(--classic-white);
}

.ec-process__track::before {
    background: var(--classic-red);
}

.ec-step {
    padding-inline: 1.5rem;
}

.ec-step:nth-child(2) {
    margin-top: 0;
}

.ec-step__number {
    width: 5.5rem;
    height: 5.5rem;
    border: .35rem solid var(--classic-surface);
    border-radius: 50%;
    background: var(--classic-red);
    box-shadow: none;
    font-family: var(--ec-font-body);
    font-size: 1.8rem;
    font-weight: 700;
}

.ec-step__arrow {
    color: var(--classic-white);
}

.ec-story__media img {
    aspect-ratio: 1 / .72;
    border-radius: .4rem;
    box-shadow: 1.2rem 1.2rem 0 var(--classic-red);
}

.ec-story__stamp {
    width: 8rem;
    height: 8rem;
    border: .35rem solid var(--classic-white);
    border-radius: .4rem;
    background: var(--classic-red);
    transform: none;
}

.ec-story__stamp strong,
.ec-story__facts strong {
    font-family: var(--ec-font-body);
}

.ec-form-shell {
    border: 1px solid var(--classic-line);
    border-top: 4px solid var(--classic-red);
    border-radius: .5rem;
    background: var(--classic-surface);
    box-shadow: 0 1rem 3rem var(--classic-shadow);
}

.ec-section--quick-quote .ec-form-shell {
    color: var(--classic-ink);
    background: var(--classic-surface);
}

.ec-section--quick-quote .ec-section-title h2,
.ec-section--quick-quote .ec-section-title p {
    color: var(--classic-ink);
}

.ec-field input,
.ec-field textarea,
.ec-field select {
    border-radius: .25rem;
    background: var(--classic-paper);
}

.ec-field input:focus,
.ec-field textarea:focus {
    border-color: var(--classic-red);
    box-shadow: 0 0 0 .18rem var(--classic-red-glow);
}

.ec-form-step__heading span {
    border-radius: .25rem;
    background: var(--classic-red);
    box-shadow: none;
    font-family: var(--ec-font-body);
    font-weight: 700;
}

.ec-form-step:not(:last-child)::after {
    color: var(--classic-red);
    font-family: var(--ec-font-body);
}

.ec-post-main,
.ec-blog-card img,
.ec-article__image {
    border-radius: .35rem;
}

.ec-post-main h3,
.ec-post-link h3,
.ec-blog-card h2 {
    font-family: var(--ec-font-body);
}

.ec-post-link span,
.ec-blog-card__meta {
    color: var(--classic-red);
}

.ec-faq summary::after {
    color: var(--classic-red);
}

.ec-page-hero {
    padding: 4.5rem 0 5.5rem;
    background:
        linear-gradient(90deg, var(--classic-overlay), rgba(12, 12, 14, .48)),
        url("../img/slider/cargablack.webp") center / cover no-repeat;
}

.ec-page-hero h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.ec-page-hero .ec-eyebrow {
    color: var(--classic-red-soft);
}

.ec-page-hero p {
    color: var(--classic-white);
}

.ec-quote-form {
    margin-top: -2.5rem;
}

.ec-article-aside {
    border-radius: .35rem;
    background: var(--classic-surface);
}

.ec-article-note {
    border-color: var(--classic-red);
}

.ec-footer {
    background:
        linear-gradient(rgba(18, 18, 20, .91), rgba(18, 18, 20, .96)),
        url("../img/slider/cargalonge.jpg") center / cover no-repeat;
}

.ec-footer::before {
    display: none;
}

.ec-footer h2 {
    font-family: var(--ec-font-body);
}

.ec-footer__aside .ec-eyebrow {
    color: var(--classic-red-soft);
}

.ec-whatsapp {
    border-radius: .35rem;
}

@media (max-width: 980px) {
    .ec-header__main {
        min-height: 4.8rem;
    }

    .ec-brand {
        min-width: 195px;
    }

    .ec-nav {
        color: var(--classic-white);
        background: var(--classic-ink);
    }

    .ec-nav a {
        color: var(--classic-white);
    }

    .ec-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .ec-header {
        background: var(--classic-ink);
    }

    .ec-brand {
        min-width: 150px;
        padding-right: 0;
    }

    .ec-brand::before {
        display: none;
    }

    .ec-menu-toggle {
        border-color: rgba(255, 255, 255, .35);
    }

    .ec-menu-toggle span {
        background: var(--classic-white);
    }

    .ec-hero {
        min-height: 650px;
    }

    .ec-home > .ec-section--quick-quote {
        padding-block: 1rem 2rem;
    }

    .ec-home > .ec-section--quick-quote .ec-form-shell {
        padding: 1.35rem;
    }

    .ec-hero__media {
        opacity: 1;
    }

    .ec-hero__media::after {
        background: linear-gradient(rgba(12, 12, 14, .64), rgba(12, 12, 14, .82));
    }

    .ec-hero__content {
        width: 100%;
        padding-block: 4.5rem;
    }

    .ec-hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.8rem);
    }

    .ec-quote-strip__inner {
        padding-inline: 0;
    }

    .ec-section--services,
    .ec-section--story,
    .ec-section--content,
    .ec-section--faq {
        color: var(--classic-ink);
        background-color: var(--classic-paper);
    }

    .ec-section--services .ec-section-title h2,
    .ec-section--story .ec-story__content h2,
    .ec-section--content .ec-section-title h2,
    .ec-section--faq .ec-section-title h2 {
        color: var(--classic-ink);
    }

    .ec-section--services .ec-section-title p,
    .ec-section--story .ec-story__content p,
    .ec-section--content .ec-section-title p,
    .ec-section--faq .ec-section-title p,
    .ec-section--story .ec-story__facts span {
        color: var(--classic-copy);
    }

    .ec-section--services .ec-button--ghost {
        border-color: var(--classic-red);
        color: var(--classic-white) !important;
        background: var(--classic-red);
    }

    .ec-service {
        padding: 1.5rem;
        grid-template-columns: 3rem 1fr 1rem;
        color: var(--classic-ink);
        background: var(--classic-surface);
    }

    .ec-service h3,
    .ec-service__arrow {
        color: var(--classic-ink);
    }

    .ec-service p {
        color: var(--classic-copy);
    }

    .ec-section--dark {
        background:
            linear-gradient(rgba(12, 12, 14, .8), rgba(12, 12, 14, .9)),
            url("../img/slider/cargablack.webp") 58% center / cover no-repeat;
    }

    .ec-process__track::before {
        background: var(--classic-white);
    }

    .ec-step__arrow {
        color: var(--classic-white);
    }

    .ec-story__facts strong,
    .ec-story__facts span {
        color: var(--classic-ink);
    }

    .ec-section--quick-quote {
        background:
            linear-gradient(rgba(12, 12, 14, .76), rgba(12, 12, 14, .88)),
            url("../img/slider/cargalonge.jpg") center / cover no-repeat;
    }

    .ec-story__stamp {
        right: -.25rem;
    }

    .ec-form-shell {
        border-radius: .35rem;
    }

    .ec-field label,
    .ec-form-step__heading h2,
    .ec-form-action {
        color: var(--classic-ink);
    }

    .ec-field input,
    .ec-field textarea,
    .ec-field select {
        color: var(--classic-ink);
        background: var(--classic-white);
        border-color: var(--classic-line-strong);
    }

    .ec-field input::placeholder,
    .ec-field textarea::placeholder {
        color: var(--classic-placeholder);
    }

    .ec-page-hero {
        padding-block: 3.8rem 5rem;
    }

    .ec-page-hero h1 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }
}
