/* ============================================================
   MD DO BRASIL — Folha de estilos principal
   Cores: #083456 (primária) · #0b5999 (destaque) · Roboto
   ============================================================ */

:root {
    --primary:      #083456;
    --accent:       #0b5999;
    --accent-hover: #0a4d87;
    --white:        #ffffff;
    --light:        #f4f6f9;
    --border:       #dde3ea;
    --text:         #1a1a2e;
    --text-muted:   #5a6475;
    --shadow:       0 2px 16px rgba(8, 52, 86, 0.10);
    --shadow-md:    0 4px 24px rgba(8, 52, 86, 0.14);
    --radius:       6px;
    --radius-lg:    10px;
    --transition:   0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Roboto', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- SECTION BASE ---- */
.section { padding: 80px 0; }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title--light { color: var(--white); }

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ---- BOTÕES ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(11, 89, 153, 0.35);
    transform: translateY(-1px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}

.btn--nav {
    background: var(--accent);
    color: var(--white);
    padding: 9px 20px;
    font-size: 0.88rem;
}
.btn--nav:hover { background: var(--accent-hover); }

.btn--large { padding: 15px 36px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: box-shadow var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav a:not(.btn) {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.header__nav a:not(.btn):hover { color: var(--white); }

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.header__toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 0;
    min-height: 620px;
    position: relative;
    overflow: hidden;
}

.hero__slides,
.hero__slide,
.hero__content-slides,
.hero__content-slide {
    position: absolute;
    inset: 0;
}

.hero__slide,
.hero__content-slide {
    z-index: 0;
    transform: translateX(100%);
    transition: transform 0.7s ease-in-out;
}

.hero__slide.is-active,
.hero__content-slide.is-active {
    z-index: 1;
    transform: translateX(0);
}

.hero__slide.is-leaving,
.hero__content-slide.is-leaving {
    z-index: 1;
    transform: translateX(-100%);
}

.hero.is-reversing .hero__slide:not(.is-active):not(.is-leaving),
.hero.is-reversing .hero__content-slide:not(.is-active):not(.is-leaving) {
    transform: translateX(-100%);
}

.hero.is-reversing .hero__slide.is-leaving,
.hero.is-reversing .hero__content-slide.is-leaving {
    transform: translateX(100%);
}

.hero__slide.is-resetting,
.hero__content-slide.is-resetting {
    transition: none;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content-slides {
    z-index: 2;
    pointer-events: none;
}

.hero__content-slide {
    display: flex;
    align-items: flex-end;
    padding: 56px 0 150px;
}

.hero__inner {
    width: 100%;
}

.hero__content {
    max-width: 680px;
    position: relative;
    pointer-events: auto;
}

.hero__title--mobile { display: none; }

.hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero__arrow,
.hero__dots {
    position: absolute;
    z-index: 3;
}

.hero__arrow {
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 2rem;
    line-height: 1;
}

.hero__arrow:hover { color: var(--white); }
.hero__arrow--prev { left: 12px; }
.hero__arrow--next { right: 12px; }

.hero__dots {
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero__dot {
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 50%;
}

.hero__dot.is-active { background: var(--white); }

/* ============================================================
   NÚMEROS
   ============================================================ */
.numbers {
    background: var(--accent);
    padding: 0;
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.numbers__item {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.numbers__item:last-child { border-right: none; }

.numbers__item strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 2px;
}

.numbers__item span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================================
   PRODUTOS PRINCIPAIS
   ============================================================ */
.products-main { background: var(--light); }

.products-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 8px;
}

.product-card {
    --card-padding: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(83, 157, 211, 0.28);
    transform: translateY(-2px);
}

.product-card--last {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
}

.product-card__image {
    display: block;
    max-width: none;
    width: calc(100% + var(--card-padding) + var(--card-padding));
    height: auto;
    border-radius: 8px 8px 0 0;
    margin: calc(0px - var(--card-padding)) calc(0px - var(--card-padding)) 24px;
}

.product-card__badge {
    position: absolute;
    top: -13px;
    left: 32px;
    background: #0b5999;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.product-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-card__list {
    margin-bottom: 28px;
}

.product-card > .btn {
    align-self: flex-start;
    margin-top: auto;
}

.product-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.product-card__list li:last-child { border-bottom: none; }

.product-card__list li i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais {
    background: var(--primary);
    padding: 80px 0;
}

.diferenciais__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.diferencial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: background var(--transition);
}
.diferencial-card:hover { background: rgba(255,255,255,0.10); }

.diferencial-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(11, 89, 153, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 20px;
}

.diferencial-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.diferencial-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* ============================================================
   SOBRE
   ============================================================ */
.about { background: var(--white); }

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about__content p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__content .btn { margin-top: 8px; }

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about__stat {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border-left: 3px solid var(--accent);
}

.about__stat strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 2px;
}

.about__stat span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-muted);
}

/* ============================================================
   ORÇAMENTO
   ============================================================ */
.orcamento { background: var(--light); }

.orcamento__form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.grecaptcha-badge { visibility: hidden !important; }
.form-status { margin-top: 20px; font-size: 0.92rem; font-weight: 600; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status--success {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid #b8dfc5;
    border-left: 4px solid #25834b;
    border-radius: var(--radius);
    background: #eaf7ee;
    color: #155b32;
}
.form-status__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #25834b;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}
.form-status__text { font-weight: 500; }
.form-status--error { color: #a12626; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11, 89, 153, 0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6475' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary);
    padding-top: 60px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer__brand img {
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--accent); color: var(--white); }

.footer__col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.footer__col ul li,
.footer__col p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer__col ul li i,
.footer__col p i {
    margin-top: 4px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.footer__col a:hover,
.footer__col a:focus-visible { color: var(--white); text-decoration: underline; }

.footer__bottom {
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}
.footer__bottom .footer__recaptcha-notice {
    margin-top: 8px;
    font-size: calc(0.82rem - 1px);
    line-height: 1.4;
    color: rgba(255,255,255,0.35);
}
.footer__recaptcha-notice a { color: inherit; text-decoration: underline; }

/* ============================================================
   WHATSAPP
   ============================================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ============================================================
   MOBILE — até 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   MOBILE — até 768px
   ============================================================ */
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-title { font-size: 1.6rem; }

    /* Header mobile */
    .header__nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .header__nav.is-open { display: flex; }
    .header__nav a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1rem;
    }
    .header__nav .btn--nav {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
        padding: 14px;
    }
    .header__toggle { display: flex; }

    /* Hero */
    .hero {
        padding: 0;
    }
    .hero__content-slide { align-items: center; padding: 48px 0 52px; }
    .hero__arrow { display: none; }
    .hero__cta { align-items: flex-start; }
    .hero__cta .btn { flex: 0 0 auto; width: auto; justify-content: center; }

    /* Numbers */
    .numbers__grid { grid-template-columns: repeat(2, 1fr); }
    .numbers__item strong { font-size: 1.6rem; white-space: nowrap; }
    .numbers__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .numbers__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
    .numbers__item:nth-last-child(-n+2) { border-bottom: none; }

    /* Products */
    .products-main__grid { grid-template-columns: 1fr; }
    .product-card { --card-padding: 28px; }
    .product-card--last { grid-column: auto; width: 100%; }

    /* Diferenciais */
    .diferenciais__grid { grid-template-columns: 1fr; }

    /* About */
    .about__inner { grid-template-columns: 1fr; gap: 40px; }
    .about__content h2 { font-size: 1.6rem; }
    .about__stat strong { font-size: 1.7rem; }

    /* Form */
    .orcamento__form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__brand { grid-column: auto; }
}

@media (max-width: 600px) {
    .orcamento__desktop-break { display: none; }
    .orcamento__mobile-nowrap { white-space: nowrap; }
    .diferenciais .section-title,
    .about__content h2 { font-size: 1.8rem; }
    .diferenciais__title-break { display: block; }
    .hero {
        min-height: 0;
        aspect-ratio: 540 / 650;
        padding: 0;
    }
    .hero__content-slide { padding: 40px 0 44px; }
    .hero__slide img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
    .hero__badge { margin-bottom: 16px; }
    .hero__title { margin-bottom: 16px; }
    .hero__cta { margin-bottom: 0; }
    .hero__sub { display: none; }
    .hero__slide--desktop-only,
    .hero__content-slide--desktop-only,
    .hero__dot:nth-child(3) { display: none; }
    .hero__title--desktop { display: none; }
    .hero__title--mobile { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide { transition: none; }
}

@media (max-width: 480px) {
    .numbers__grid { grid-template-columns: 1fr 1fr; }
    .numbers__item { padding: 24px 10px; }
    .about__stats { grid-template-columns: 1fr; }
}
