/* ============================================================
   Alucol Alumínios Coral — folha de estilo única
   ============================================================ */

@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/bebas-neue-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('/assets/fonts/dm-sans-latin-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #1A1E34;
    --navy-deep: #13182C;
    --cream: #FDFCFA;
    --cream-dim: rgba(253, 252, 250, .8);
    --cream-soft: rgba(253, 252, 250, .7);
    --sand: #F9F8F6;
    --periwinkle: #C1CAFF;
    --indigo: #636EAA;
    --green: #18D35C;
    --green-hover: #3DE078;
    --hairline-light: rgba(255, 255, 255, .15);

    --container: 1140px;
    --radius: 15px;

    --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--cream);
    color: var(--navy);
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

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

/* ---------- elementos compartilhados ---------- */

.eyebrow {
    display: block;
}

.eyebrow__rule {
    display: block;
    width: 160px;
    max-width: 100%;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

.eyebrow__text {
    display: block;
    padding-block: 15px 0;
    font-size: 15px;
    letter-spacing: .2em;
}

.eyebrow--light {
    color: var(--cream-dim);
}

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

.eyebrow--center {
    text-align: center;
}

.eyebrow--center .eyebrow__rule {
    margin-inline: auto;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(46px, 5vw, 58px);
    line-height: 1;
    color: var(--navy);
    text-wrap: balance;
}

.section-title--light {
    color: #fff;
}

.destaque {
    color: var(--periwinkle);
}

.subdestaque {
    color: #fff;
    font-weight: 600;
}

.section-lead {
    max-width: 482px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
}

.section-lead--wide {
    max-width: 100%;
}

.section-lead--center {
    margin-inline: auto;
    text-align: center;
}

.section-lead--light {
    color: var(--cream-dim);
}

/* ---------- botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 28px;
    border: 0;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .15s ease;
}

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

.btn .icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.btn--whatsapp {
    background: var(--green);
    color: #000;
}

.btn--whatsapp:hover,
.btn--whatsapp:focus {
    background: var(--green-hover);
    color: #000;
}

.btn--dark {
    background: var(--navy);
    color: var(--cream);
}

.btn--dark:hover,
.btn--dark:focus {
    background: var(--navy-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(26, 30, 52, .25);
    padding: 14px 26px;
    font-weight: 500;
}

.btn--ghost:hover {
    background: rgba(26, 30, 52, .06);
}

.btn--block {
    width: 100%;
}

/* O site original mostra o botão de popup só no mobile e o link direto
   do WhatsApp no desktop. Mantemos o mesmo comportamento. */
.btn--popup {
    display: none;
}

.section__cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.section__cta--left {
    justify-content: flex-start;
    margin-top: 32px;
}

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

.hero {
    position: relative;
    padding: 100px 0 120px;
    background: var(--navy) url('/assets/img/hero_alucol.webp') top center / cover no-repeat;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.hero__logo {
    width: 136px;
    height: auto;
}

.hero__title {
    max-width: 523px;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 1.06;
    color: var(--cream);
}

.hero__lead {
    max-width: 482px;
    padding-bottom: 12px;
    color: var(--cream-dim);
}

.hero__cta {
    display: flex;
    gap: 16px;
}

.hero__scroll {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 125px;
    height: auto;
    pointer-events: none;
}

/* ============================================================
   COLEÇÃO
   ============================================================ */

.collection {
    padding: 100px 0;
    background: var(--sand);
}

.collection__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
}

.collection__head-left {
    max-width: 511px;
}

.collection__head-left .section-title {
    margin-top: 4px;
}

.collection__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    padding: 20% 32px 32px;
    overflow: hidden;
    background-image: var(--card-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--navy) 100%);
    opacity: .85;
}

.card__body {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.card__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(46px, 4.6vw, 58px);
    line-height: 1;
    color: #fff;
}

.card__text {
    margin-top: 8px;
    max-width: 467px;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */

.reviews {
    padding: 100px 0;
    background: var(--sand);
    border-top: 1px solid rgba(26, 30, 52, .07);
}

.reviews__head {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 40px;
}

.reviews__head .eyebrow__rule {
    margin-inline: auto;
}

.reviews__head .section-title {
    margin-block: 4px 12px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(26, 30, 52, .08);
    border-radius: 10px;
}

.review__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #E7E9F3;
    flex: 0 0 auto;
}

.review__name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

.review__source {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #7A7A7A;
}

.review__source svg {
    width: 13px;
    height: 13px;
}

.review__stars {
    display: flex;
    gap: 2px;
    color: #FBBC05;
    font-size: 15px;
    letter-spacing: 1px;
}

.review__text {
    font-size: 15px;
    line-height: 1.55;
    color: #333;
    min-height: 1.55em;
}

.reviews__more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* ============================================================
   SOBRE NÓS
   ============================================================ */

.about {
    padding: 100px 0;
    background: var(--sand);
}

.about__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.about__media {
    flex: 1 1 400px;
    max-width: 47%;
}

.about__media img {
    width: 100%;
    height: auto;
}

.about__content {
    flex: 1 1 400px;
    max-width: 47%;
}

.about__content .section-title {
    margin-block: 4px 16px;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(26, 30, 52, .11);
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--navy);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.pill__icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: var(--indigo);
}

/* ============================================================
   FALE CONOSCO
   ============================================================ */

.contact {
    padding: 100px 0;
    background: var(--navy);
}

.contact__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.contact__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-top: 12px;
}

.contact__list li,
.footer__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cream-soft);
    font-size: 16px;
}

.contact__list a,
.footer__list a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.contact__list a:hover,
.footer__list a:hover {
    color: #fff;
}

.contact__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: var(--periwinkle);
}

/* ============================================================
   RODAPÉ
   ============================================================ */

.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 100px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 100px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__logo {
    width: 136px;
    height: auto;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer__legal p {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1.6;
    color: rgba(253, 252, 250, .8);
}

/* ============================================================
   POPUP + FORMULÁRIO
   ============================================================ */

.popup {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup[hidden] {
    display: none;
}

.popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 19, 19, .8);
}

.popup__dialog {
    position: relative;
    width: min(100%, 420px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(9, 9, 9, .35);
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #090909;
    cursor: pointer;
    opacity: .55;
}

.popup__close:hover {
    opacity: 1;
}

.popup__title {
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #090909;
    padding-right: 24px;
}

.form__group {
    margin-bottom: 16px;
}

.form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(9, 9, 9, .18);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #131313;
    background: #fff;
}

.form__input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 30, 52, .12);
}

.form__input[aria-invalid='true'] {
    border-color: #D93025;
}

.form__status {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    color: #333;
    min-height: 1.4em;
}

.form__status[data-state='error'] {
    color: #D93025;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1024px) {
    .container {
        width: 100%;
        padding-inline: 24px;
    }

    .hero,
    .collection,
    .reviews,
    .about,
    .contact {
        padding-block: 64px;
    }

    .footer {
        padding-top: 64px;
    }

    .footer__inner {
        padding-bottom: 64px;
    }

    .about__media,
    .about__content {
        max-width: 100%;
    }

    .collection__head {
        justify-content: center;
        text-align: center;
    }

    .collection__head-left .eyebrow__rule {
        margin-inline: auto;
    }

    .section-lead {
        margin-inline: auto;
    }

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

@media (max-width: 767px) {
    .hero {
        padding: 59% 20px 110px;
        background-image: url('/assets/img/hero_mobile_alucol.webp');
        background-size: contain;
        background-position: top center;
    }

    .hero__inner {
        width: 100%;
        padding-inline: 0;
    }

    .hero__title {
        max-width: 358px;
        font-size: 40px;
    }

    .hero__lead {
        max-width: 435px;
        margin-bottom: 14px;
    }

    .container {
        padding-inline: 20px;
    }

    .collection,
    .reviews,
    .about {
        padding-block: 48px;
    }

    .contact {
        padding: 48px 0;
    }

    .footer {
        padding-top: 48px;
    }

    .footer__inner {
        justify-content: center;
        text-align: center;
        padding-bottom: 48px;
    }

    .footer__col {
        align-items: center;
        width: 100%;
    }

    .footer__legal {
        justify-content: center;
        text-align: center;
    }

    .footer__legal p {
        width: 100%;
        font-size: 10px;
    }

    .eyebrow__rule {
        width: 138px;
    }

    .eyebrow__text {
        font-size: 13px;
        padding-block-start: 10px;
    }

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

    .card {
        min-height: 0;
        padding: 50% 24px 24px;
        background-position: top center;
    }

    .card::before {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--navy) 89%);
        opacity: .9;
    }

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

    .about__inner {
        gap: 36px;
    }

    .about__media {
        order: 2;
    }

    /* No mobile o site original abre o formulário em vez do WhatsApp direto. */
    .btn--popup {
        display: inline-flex;
    }

    .hero__cta .btn:not(.btn--popup),
    .section__cta .btn:not(.btn--popup) {
        display: none;
    }

    .hero__cta,
    .section__cta {
        width: 100%;
    }

    .hero__cta .btn,
    .section__cta .btn {
        width: 100%;
    }

    .pills {
        flex-direction: column;
        align-items: flex-start;
    }

    .pill {
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 14px;
    }

    .hero__scroll {
        display: none;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
