/* =========================================================
RESET / GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --red: #c8201f;
    --red-dark: #a91918;
    --black: #111111;
    --dark: #151515;
    --grey: #f5f5f5;
    --border: #dedede;
}

.ca-container {
    width: calc(100% - 80px);
    max-width: 1320px;
    margin: 0 auto;
}

.ca-center {
    display: flex;
    justify-content: center;
}


/* =========================================================
BOTÕES
========================================================= */

.ca-btn {
    min-height: 48px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;

    transition: .25s ease;
}

.ca-btn-red {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
}

.ca-btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.ca-btn-outline {
    border: 1px solid #222;
    background: transparent;
}

.ca-btn-outline:hover {
    background: #111;
    color: #fff;
}

.ca-btn-dark-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.65);
}

.ca-btn-dark-outline:hover {
    background: #fff;
    color: #111;
}


/* =========================================================
EYEBROW
========================================================= */

.ca-eyebrow {
    display: block;
    margin-bottom: 10px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}


/* =========================================================
HEADER
========================================================= */

.ca-header {
    height: 142px;
    background: #fff;

    display: flex;
    align-items: center;

    position: relative;
    z-index: 50;
}

.ca-header-inner {
    height: 100%;

    display: flex;
    align-items: center;
}

.ca-logo {
    width: 200px;
    flex: 0 0 200px;
}

.ca-logo img {
    max-height: 95px;
    width: auto;
}

.ca-nav {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.ca-nav ul {
    display: flex;
    align-items: center;

    list-style: none;
    margin: 0;
    padding: 0;
}

.ca-nav a {
    margin-left: 25px;

    padding: 12px 0;

    font-size: 13px;
    font-weight: 700;

    position: relative;
}

.ca-nav a::after {
    content: "";

    position: absolute;

    bottom: 5px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width .2s ease;
}

.ca-nav a:hover::after,
.ca-nav a.active::after,
.ca-nav a[aria-current="page"]::after {
    width: 100%;
}

.ca-nav a.active,
.ca-nav a[aria-current="page"] {
    color: var(--red);
}

.ca-header-actions {
    margin-left: 35px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.ca-icon-button {
    border: 0;
    background: transparent;

    width: 38px;
    height: 38px;

    cursor: pointer;
    font-size: 18px;
}

.ca-header-actions .ca-btn {
    margin-left: 10px;
}

.ca-mobile-toggle {
    display: none;

    margin-left: auto;

    width: 45px;
    height: 45px;

    border: 0;
    background: transparent;

    font-size: 24px;
}


/* =========================================================
HERO
========================================================= */

.ca-hero {
    min-height: 560px;

    position: relative;
    overflow: hidden;

    background: #f1f1f1;
}

.ca-hero-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 67%;
    height: 100%;

    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.85) 10%,
            rgba(255,255,255,0) 40%
        ),
        url("../images/casa-artilheiro/hero.jpg");

    background-size: cover;
    background-position: center;
}

.ca-hero-inner {
    min-height: 560px;

    display: flex;
    align-items: center;

    position: relative;
    z-index: 2;
}

.ca-hero-content {
    width: 47%;
}

.ca-hero h1 {
    margin: 0 0 20px;

    font-size: clamp(40px, 4vw, 66px);
    line-height: .98;

    font-weight: 900;
    letter-spacing: -.035em;
}

.ca-hero h1 span {
    color: var(--red);
}

.ca-hero p {
    width: 90%;
    max-width: 550px;

    font-size: 16px;
    line-height: 1.6;

    font-weight: 600;
}

.ca-hero-buttons {
    margin-top: 30px;

    display: flex;
    gap: 20px;
}


/* =========================================================
STATS
========================================================= */

.ca-stats {
    padding: 45px 0;
    background: #fff;
}

.ca-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ca-stat {
    padding: 0 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-right: 1px solid #ddd;
}

.ca-stat:last-child {
    border: 0;
}

.ca-stat i {
    margin-bottom: 14px;

    font-size: 29px;
}

.ca-stat strong {
    margin-bottom: 7px;

    font-size: 25px;
    font-weight: 800;
}

.ca-stat span {
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
ABOUT
========================================================= */

.ca-about-grid {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 420px;
}

.ca-about-content {
    background: #f5f5f5;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ca-content-inner {
    width: 100%;
    max-width: 530px;
    padding: 65px 55px;
}

.ca-about h2,
.ca-contact h2 {
    margin: 0 0 26px;

    font-size: 32px;
    line-height: 1.05;

    font-weight: 900;
}

.ca-about h2 span {
    color: var(--red);
}

.ca-about p {
    margin: 0 0 16px;

    line-height: 1.55;
    font-size: 15px;
}

.ca-about .ca-btn {
    margin-top: 15px;
}

.ca-about-image img {
    height: 100%;
    object-fit: cover;
}


/* =========================================================
SECTION TITLE
========================================================= */

.ca-section-title {
    text-align: center;
    margin-bottom: 28px;
}

.ca-section-title .ca-eyebrow {
    margin-bottom: 7px;
}

.ca-section-title h2 {
    margin: 0;

    font-size: 32px;
    font-weight: 900;
}


/* =========================================================
PRODUCTS
========================================================= */

.ca-products {
    padding: 55px 0 30px;
}

.ca-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.ca-product-card {
    height: 170px;

    position: relative;
    overflow: hidden;

    background: #111;
}

.ca-product-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.ca-product-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.7),
            rgba(0,0,0,.05) 70%
        );
}

.ca-product-overlay {
    position: absolute;
    z-index: 3;

    inset: 0;

    padding: 15px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    color: #fff;
    text-align: center;
}

.ca-product-overlay i {
    margin-bottom: 6px;
    font-size: 24px;
}

.ca-product-overlay span {
    font-size: 14px;
    font-weight: 800;
}

.ca-product-card:hover img {
    transform: scale(1.07);
}

.ca-products .ca-center {
    margin-top: 15px;
}


/* =========================================================
SOLUTION
========================================================= */

.ca-solution {
    min-height: 330px;

    display: flex;
    align-items: center;

    color: #fff;

    background-image:
        linear-gradient(
            90deg,
            rgba(10,10,10,1) 0%,
            rgba(10,10,10,.94) 32%,
            rgba(10,10,10,.48) 60%,
            rgba(10,10,10,.08) 100%
        ),
        url("../images/casa-artilheiro/solucao.jpg");

    background-size: cover;
    background-position: center right;
}

.ca-solution-inner {
    width: 100%;
}

.ca-solution-content {
    width: 50%;
    padding: 60px 0;
}

.ca-solution h2 {
    margin: 0 0 18px;

    font-size: 34px;
    line-height: 1.08;

    font-weight: 900;
}

.ca-solution h2 span {
    color: #e12824;
}

.ca-solution p {
    max-width: 520px;

    margin-bottom: 25px;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
BENEFITS
========================================================= */

.ca-benefits {
    padding: 45px 0 55px;
}

.ca-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ca-benefit {
    padding: 15px 34px;

    text-align: center;

    border-right: 1px solid #ddd;
}

.ca-benefit:last-child {
    border: 0;
}

.ca-benefit i {
    margin-bottom: 16px;

    font-size: 32px;
}

.ca-benefit strong {
    display: block;
    margin-bottom: 11px;

    font-size: 12px;
    line-height: 1.35;
}

.ca-benefit p {
    margin: 0;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
VIDEO
========================================================= */

.ca-video-grid {
    display: grid;
    grid-template-columns: 32% 68%;

    min-height: 350px;
}

.ca-video-content {
    background: #111;
    color: white;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 55px;
}

.ca-video-content > div {
    width: 100%;
    max-width: 410px;
}

.ca-video h2 {
    margin: 0 0 28px;

    font-size: 36px;
    line-height: 1.05;
}

.ca-video-image {
    position: relative;
    overflow: hidden;
}

.ca-video-image img {
    height: 100%;
    object-fit: cover;
}

.ca-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    border: 3px solid #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 28px;

    transition: .25s ease;
}

.ca-video-image:hover .ca-play {
    transform: translate(-50%, -50%) scale(1.08);
}


/* =========================================================
CONTACT
========================================================= */

.ca-contact-grid {
    display: grid;
    grid-template-columns: 30% 35% 35%;

    min-height: 380px;
}

.ca-contact-content {
    background: #f5f5f5;

    display: flex;
    justify-content: flex-end;
}

.ca-contact-content .ca-content-inner {
    padding-left: 45px;
    padding-right: 45px;
}

.ca-contact-list {
    margin: 0 0 30px;
    padding: 0;

    list-style: none;
}

.ca-contact-list li {
    margin-bottom: 15px;

    display: flex;
    gap: 15px;

    font-size: 14px;
    line-height: 1.45;
}

.ca-contact-list i {
    width: 18px;
}

.ca-contact-image img,
.ca-map img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ca-map {
    position: relative;
}

.ca-map > i {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: #111;

    font-size: 50px;
}


/* =========================================================
FOOTER
========================================================= */

.ca-footer {
    padding: 45px 0 0;

    background: #111;
    color: #fff;
}

.ca-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr 1fr;
    gap: 70px;
}

.ca-footer-about img {
    width: 170px;
    margin-bottom: 15px;
}

.ca-footer p,
.ca-footer a {
    color: rgba(255,255,255,.75);

    font-size: 13px;
    line-height: 1.55;
}

.ca-footer h3 {
    margin: 0 0 18px;

    font-size: 12px;
    letter-spacing: .04em;
}

.ca-footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.ca-footer-menu ul {
    column-count: 2;
    column-gap: 20px;
}

.ca-footer-menu li {
    break-inside: avoid;
}

.ca-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ca-footer li {
    margin-bottom: 7px;
}

.ca-footer a:hover {
    color: #fff;
}

.ca-social {
    display: flex;
    gap: 8px;

    margin-top: 20px;
}

.ca-social a {
    width: 30px;
    height: 30px;

    border: 1px solid rgba(255,255,255,.35);

    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-footer-contact p {
    position: relative;
    padding-left: 25px;
}

.ca-footer-contact i {
    position: absolute;
    left: 0;
    top: 4px;
}

.ca-footer-bottom {
    margin-top: 40px;
    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,.15);

    color: rgba(255,255,255,.55);

    text-align: center;
    font-size: 11px;
}


/* =========================================================
TABLET
========================================================= */

@media (max-width: 1100px) {

    .ca-container {
        width: calc(100% - 50px);
    }


    /* HEADER */

    .ca-header {
        height: 100px;
    }

    .ca-logo {
        width: 165px;
        flex-basis: 165px;
    }

    .ca-logo img {
        max-height: 70px;
    }

    .ca-header-actions {
        display: none;
    }

    .ca-mobile-toggle {
        display: block;
    }

    .ca-nav {
        position: absolute;

        left: 0;
        top: 100%;

        width: 100%;

        background: #fff;

        display: none;
        flex-direction: column;
        align-items: stretch;

        border-top: 1px solid #eee;

        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

    .ca-nav.open {
        display: flex;
    }

    .ca-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ca-nav a {
        margin: 0;
        padding: 17px 25px;

        border-bottom: 1px solid #eee;
    }


    /* HERO */

    .ca-hero-content {
        width: 60%;
    }


    /* PRODUCTS */

    .ca-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* BENEFITS */

    .ca-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px 0;
    }

    .ca-benefit {
        border-right: 1px solid #ddd;
    }

    .ca-benefit:nth-child(3) {
        border-right: 0;
    }


    /* CONTACT */

    .ca-contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ca-contact-content {
        grid-column: 1;
    }

    .ca-contact-image {
        grid-column: 2;
    }

    .ca-map {
        grid-column: 1 / -1;
        height: 300px;
    }

}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {

    .ca-container {
        width: calc(100% - 36px);
    }


    /* HERO */

    .ca-hero {
        min-height: 680px;
    }

    .ca-hero-image {
        width: 100%;
        height: 48%;

        top: auto;
        bottom: 0;

        background-image:
            linear-gradient(
                180deg,
                #fff 0%,
                rgba(255,255,255,.05) 55%
            ),
            url("../images/casa-artilheiro/hero.jpg");
    }

    .ca-hero-inner {
        min-height: 680px;

        align-items: flex-start;

        padding-top: 55px;
    }

    .ca-hero-content {
        width: 100%;
    }

    .ca-hero h1 {
        font-size: 40px;
    }

    .ca-hero p {
        width: 100%;
        font-size: 14px;
    }

    .ca-hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }


    /* STATS */

    .ca-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 0;
    }

    .ca-stat {
        padding: 0 10px;
        border: 0;
    }


    /* ABOUT */

    .ca-about-grid {
        grid-template-columns: 1fr;
    }

    .ca-about-content {
        justify-content: flex-start;
    }

    .ca-content-inner {
        max-width: none;
        padding: 50px 25px;
    }

    .ca-about-image {
        height: 300px;
    }


    /* PRODUCTS */

    .ca-products {
        padding-top: 45px;
    }

    .ca-section-title h2 {
        font-size: 26px;
    }

    .ca-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ca-product-card {
        height: 145px;
    }


    /* SOLUTION */

    .ca-solution {
        min-height: 470px;

        align-items: flex-end;

        background-image:
            linear-gradient(
                0deg,
                rgba(10,10,10,.97) 0%,
                rgba(10,10,10,.75) 65%,
                rgba(10,10,10,.2) 100%
            ),
            url("../images/casa-artilheiro/solucao.jpg");

        background-position: 65% center;
    }

    .ca-solution-content {
        width: 100%;
    }

    .ca-solution h2 {
        font-size: 28px;
    }


    /* BENEFITS */

    .ca-benefits-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ca-benefit {
        padding: 20px;
        border: 0;
    }


    /* VIDEO */

    .ca-video-grid {
        grid-template-columns: 1fr;
    }

    .ca-video-content {
        justify-content: flex-start;

        padding: 50px 25px;
    }

    .ca-video-image {
        height: 280px;
    }

    .ca-play {
        width: 70px;
        height: 70px;
    }


    /* CONTACT */

    .ca-contact-grid {
        grid-template-columns: 1fr;
    }

    .ca-contact-content,
    .ca-contact-image,
    .ca-map {
        grid-column: 1;
    }

    .ca-contact-content .ca-content-inner {
        padding: 50px 25px;
    }

    .ca-contact-image,
    .ca-map {
        height: 300px;
    }


    /* FOOTER */

    .ca-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ca-products-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 5px;
    }

    .ca-product-card {
        height: 125px;
    }

    .ca-product-overlay span {
        font-size: 11px;
    }

    .ca-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ca-hero h1 {
        font-size: 35px;
    }

}

/* =========================================================
JOOMLA - área de conteúdo real (jdoc component), quando existir
========================================================= */

.ca-page-content {
    padding: 40px 0;
}

.ca-page-content:empty {
    display: none;
}
