/* ============================================================
   CONFIGURAÇÕES GERAIS
   ============================================================ */

:root {

    --red: #ff1717;
    --red-hover: #e01414;

    --gray: #555;
    --light-gray: #aaa;

    --border: #ddd;

    --background: #fff;
    --cream: #fef9f6;

    --max-width: 1160px;
}


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

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background: var(--background);
    color: #171717;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}


img {
    max-width: 100%;
}


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


/* ============================================================
   CABEÇALHO
   ============================================================ */

.header {

    width: 100%;
    min-height: 100px;

    padding: 0 10%;

    background: var(--cream);

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

    gap: 40px;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}


.brand img {

    width: 90px;
    height: 90px;

    object-fit: contain;

    display: block;
}


/* MENU */

.nav {

    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 35px;

    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 500;

    color: #1a1a1a;
}


.nav a {

    color: #2b2b2b;

    white-space: nowrap;

    transition:
        opacity .2s ease,
        color .2s ease;
}


.nav a:hover {

    opacity: .55;

    color: var(--red);
}


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

.hero {

    width: 100%;

    min-height: 470px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            to bottom,
            rgb(255, 255, 255) 0%,
            rgb(253, 251, 249) 100%
        );
}


.hero-bg {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to right,
            rgba(255,255,255,.80) 0%,
            rgba(255,255,255,.70) 30%,
            rgba(255,255,255,.35) 55%,
            rgba(255,255,255,0) 70%
        );
}


.hero-topbar {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 14px;

    background: var(--cream);

    z-index: 2;
}


.hero-content {

    position: relative;

    z-index: 3;

    width: 100%;

    padding: 60px 10%;
}


.hero h1 {

    margin: 0 0 18px;

    max-width: 650px;

    font-size: 65px;
    line-height: 1.05;

    font-weight: 700;

    color: #1a1a1a;
}


.hero p {

    max-width: 420px;

    margin: 0 0 30px;

    color: var(--red);

    font-size: 16px;
    line-height: 1.45;
}


/* BOTÃO HERO */

.button {

    width: 180px;
    height: 70px;

    display: inline-flex;

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

    border-radius: 24px;

    background: var(--red);
    color: #fff;

    font-size: 20px;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}


.button:hover {

    background: var(--red-hover);

    transform: translateY(-2px);
}


/* ============================================================
   ESTATÍSTICAS
   ============================================================ */

.stats {

    width: 100%;

    min-height: 120px;

    padding: 15px 10%;

    background: var(--cream);

    display: flex;
    align-items: flex-start;

    gap: 105px;
}


.stats strong {

    display: block;

    color: var(--red);

    font-size: 35px;

    font-weight: 500;
}


.stats p {

    margin: 5px 0 0;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.55;
}


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

.section {

    width: min(
        var(--max-width),
        calc(100% - 80px)
    );

    margin: 0 auto;

    padding: 90px 0;
}


.center-title {

    margin: 0 0 70px;

    text-align: center;

    font-size: 39px;
    line-height: 1.2;
}


/* ============================================================
   QUEM SOMOS
   ============================================================ */

.about {

    display: grid;

    grid-template-columns:
        1.6fr
        1fr;

    align-items: center;

    gap: 40px;
}


.about-text {

    min-width: 0;
}


.about h2 {

    margin: 0 0 25px;

    font-size: 50px;

    line-height: 1.08;
}


.about p {

    max-width: 600px;

    margin: 0 0 25px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.6;
}


/* ============================================================
   IMAGENS
   ============================================================ */

.rounded-image {

    width: 100%;

    height: 500px;

    margin: 0;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: 20px;

    display: block;
}


/* ============================================================
   BOTÕES "FALE CONOSCO"
   ============================================================ */

.text-link {

    width: 180px;
    min-height: 60px;

    margin: 0;

    display: inline-flex;

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

    border-radius: 24px;

    background: var(--red);

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}


.text-link:hover {

    background: var(--red-hover);

    transform: translateY(-2px);
}


/* ============================================================
   PILARES
   ============================================================ */

.pillars {

    padding-top: 70px;
}


.pillar-grid {

    display: grid;

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

    gap: 30px;
}


.pillar {

    text-align: center;
}


.pillar-icon {

    width: 96px;
    height: 96px;

    margin: 0 auto 20px;

    display: block;

    object-fit: contain;
}


.pillar h3 {

    margin: 0 0 15px;

    font-size: 40px;

    font-weight: 400;
}


.pillar p {

    margin: 0;

    color: var(--gray);

    font-size: 20px;

    line-height: 1.45;
}


/* ============================================================
   NOSSA EQUIPE
   ============================================================ */

.team {

    width: 100%;

    max-width: none;

    padding-top: 90px;

    padding-left: 0;
    padding-right: 0;

    overflow: hidden;
}


.team .center-title {

    margin-bottom: 70px;
}


.team-carousel {

    width: 100%;

    overflow: hidden;
}


.team-viewport {

    width: 100%;

    overflow: hidden;
}


.team-track {

    width: max-content;

    display: flex;

    align-items: flex-start;

    gap: 70px;

    animation:
        teamInfiniteScroll
        32s
        linear
        infinite;

    will-change: transform;
}


/* CARD */

.team-card {

    flex: 0 0 260px;

    width: 260px;

    text-align: center;
}


/* FOTO */

.team-photo {

    width: 260px;
    height: 260px;

    margin: 0 auto;

    border-radius: 50%;

    background-color: var(--red);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* FOTOS */

.photo-1 {
    background-image: url("midia/ronaldo.png");
}

.photo-2 {
    background-image: url("midia/gustavo.png");
}

.photo-3 {
    background-image: url("midia/welton.png");
}

.photo-4 {
    background-image: url("midia/lucia.png");
}

.photo-5 {
    background-image: url("midia/felipe.png");
}

.photo-6 {
    background-image: url("midia/joyce.png");
}

.photo-7 {
    background-image: url("midia/amarildo.png");
}


/* NOME */

.team-card h3 {

    margin: 20px 0 8px;

    font-size: 22px;

    font-weight: 700;

    color: #111;
}


/* CARGO */

.team-card p {

    margin: 0;

    font-size: 14px;

    color: #33294f;
}


/* ANIMAÇÃO */

@keyframes teamInfiniteScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ============================================================
   SERVIÇOS
   ============================================================ */

.services {

    width: 100%;

    max-width: none;

    padding-top: 80px;
}


.service {

    width: min(
        var(--max-width),
        calc(100% - 80px)
    );

    margin: 0 auto 90px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 70px;
}


.service:last-child {

    margin-bottom: 0;
}


.service > div {

    width: 100%;
}


.service h3 {

    margin: 0 0 30px;

    font-size: 50px;

    line-height: 1.12;

    text-align: left;
}


.service p {

    max-width: 600px;

    margin: 0 0 30px;

    color: var(--gray);

    font-size: 20px;

    line-height: 1.6;

    text-align: left;
}


.service .rounded-image {

    width: 100%;

    height: 500px;

    margin: 0;

    object-fit: cover;

    border-radius: 20px;

    display: block;
}


/* ============================================================
   INSTAGRAM / PROJETOS
   ============================================================ */

.projects {

    padding-top: 55px;
}


.projects > h3 {

    margin: 80px 0 45px;

    text-align: center;

    font-size: 35px;
}


.instagram-section {

    width: min(100%, 1100px);

    margin: 0 auto;

    padding: 35px;

    border-radius: 25px;

    background: var(--cream);

    border: 1px solid #eee;
}


.instagram-profile {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 30px;

    margin-bottom: 30px;

    border-bottom: 1px solid #ddd;
}


.instagram-profile-info {

    display: flex;

    align-items: center;

    gap: 20px;
}


.instagram-profile-photo {

    width: 85px;
    height: 85px;

    object-fit: cover;

    border-radius: 50%;

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

    padding: 4px;
}


.instagram-profile h3 {

    margin: 0 0 8px;

    font-size: 22px;

    text-align: left;
}


.instagram-profile p {

    margin: 0;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.5;
}


.instagram-follow {

    flex-shrink: 0;

    min-width: 190px;
    height: 52px;

    display: inline-flex;

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

    padding: 0 25px;

    border-radius: 16px;

    background: var(--red);

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}


.instagram-follow:hover {

    background: var(--red-hover);

    transform: translateY(-2px);
}


.instagram-feed {

    width: 100%;

    min-height: 250px;

    overflow: hidden;
}


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

.testimonials {

    width: 100%;

    max-width: none;

    padding-top: 90px;

    padding-bottom: 100px;
}


.testimonials .center-title {

    margin-bottom: 70px;
}


.testimonial-grid {

    width: min(100%, 900px);

    margin: 0 auto;

    display: grid;

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

    gap: 45px;
}


.video-card {

    width: 100%;

    height: 470px;

    overflow: hidden;

    border-radius: 30px;

    background: #000;

    position: relative;
}


.video-card video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    background: #000;
}


/* ============================================================
   TRANSPARÊNCIA
   ============================================================ */

.transparency {

    width: min(
        var(--max-width),
        calc(100% - 80px)
    );

    padding-top: 100px;

    padding-bottom: 80px;
}


.transparency-grid {

    width: min(100%, 1000px);

    margin: 0 auto;

    display: grid;

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

    gap: 100px;

    align-items: start;
}


.transparency-item {

    text-align: left;
}


.transparency-item h3 {

    margin: 0 0 28px;

    color: #999;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 600;
}


.transparency-item h4 {

    margin: 0 0 20px;

    color: #171717;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 700;
}


/* ============================================================
   BOTÃO VERMELHO
   ============================================================ */

.red-button {

    min-width: 190px;

    min-height: 55px;

    padding: 14px 28px;

    display: inline-flex;

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

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

    border-radius: 18px;

    background: var(--red);

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.red-button:hover {

    background: #fff;

    color: var(--red);

    transform: translateY(-2px);
}


/* BOTÃO SEM LINK */

.disabled-button {

    opacity: .45;

    cursor: default;

    pointer-events: none;
}


/* TEXTO DA TRANSPARÊNCIA */

.transparency-text {

    width: 100%;

    max-width: 620px;

    margin: 65px auto 0;

    color: var(--gray);

    text-align: center;

    font-size: 15px;

    line-height: 1.6;
}


/* ============================================================
   CONTATO
   ============================================================ */

.contact {

    width: min(
        var(--max-width),
        calc(100% - 80px)
    );

    padding-top: 90px;

    padding-bottom: 140px;

    text-align: center;
}


.contact .center-title {

    margin-bottom: 55px;
}


.contact-links {

    width: 100%;

    max-width: 650px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 22px;
}


/* BOTÕES DO CONTATO */

.contact-links .red-button {

    width: 240px;

    min-height: 58px;

    font-size: 18px;
}


/* DOAÇÕES */

.contact-links .donations {

    width: 280px;

    min-height: 62px;

    margin-top: 12px;

    font-size: 20px;
}


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

footer {

    width: 100%;

    min-height: 1px;

    margin: 0;
    padding: 0;

    background: #fff;
}


/* ============================================================
   RESPONSIVIDADE — TABLET
   ============================================================ */

@media (max-width: 1000px) {


    .header {

        padding: 20px 5%;

        flex-direction: column;

        gap: 20px;
    }


    .nav {

        justify-content: center;

        gap: 20px;

        text-align: center;
    }


    .hero-content {

        padding-left: 7%;
        padding-right: 7%;
    }


    .hero h1 {

        font-size: 52px;
    }


    .about {

        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }


    .about h2 {

        font-size: 42px;
    }


    .service {

        width: calc(100% - 60px);

        gap: 40px;
    }


    .service h3 {

        font-size: 40px;
    }


    .pillar-grid {

        gap: 25px;
    }


    .pillar p {

        font-size: 18px;
    }


    .team-card {

        flex-basis: 220px;

        width: 220px;
    }


    .team-photo {

        width: 220px;
        height: 220px;
    }


    .team-track {

        gap: 45px;
    }

}


/* ============================================================
   RESPONSIVIDADE — CELULAR
   ============================================================ */

@media (max-width: 800px) {


    /* --------------------------------------------------------
       GERAL
       -------------------------------------------------------- */

    body {

        width: 100%;

        overflow-x: hidden;
    }


    .section {

        width: calc(100% - 32px);

        padding-top: 65px;
        padding-bottom: 65px;
    }


    /* --------------------------------------------------------
       CABEÇALHO
       -------------------------------------------------------- */

    .header {

        width: 100%;

        min-height: auto;

        padding: 15px 16px 20px;

        flex-direction: column;

        gap: 15px;
    }


    .brand img {

        width: 75px;
        height: 75px;
    }


    .nav {

        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 10px 15px;

        flex-wrap: wrap;

        text-align: center;

        font-size: 13px;
    }


    .nav a {

        white-space: normal;
    }


    /* --------------------------------------------------------
       HERO
       -------------------------------------------------------- */

    .hero {

        min-height: 560px;

        height: auto;
    }


    .hero-overlay {

        background:
            linear-gradient(
                to bottom,
                rgba(255,255,255,.82),
                rgba(255,255,255,.42)
            );
    }


    .hero-content {

        padding: 55px 24px 60px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;
    }


    .hero h1 {

        max-width: 100%;

        font-size: clamp(
            36px,
            10vw,
            48px
        );

        line-height: 1.05;
    }


    .hero p {

        max-width: 100%;

        font-size: 15px;
    }


    .button {

        width: 165px;

        height: 58px;

        border-radius: 20px;

        font-size: 17px;
    }


    /* --------------------------------------------------------
       ESTATÍSTICAS
       -------------------------------------------------------- */

    .stats {

        width: 100%;

        min-height: auto;

        padding: 25px 24px 35px;

        display: grid;

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

        gap: 25px;

        align-items: start;
    }


    .stats strong {

        font-size: 30px;
    }


    .stats p {

        margin-top: 5px;

        font-size: 12px;
    }


    /* --------------------------------------------------------
       TÍTULOS
       -------------------------------------------------------- */

    .center-title {

        margin-bottom: 40px;

        font-size: 31px;
    }


    /* --------------------------------------------------------
       QUEM SOMOS
       -------------------------------------------------------- */

    .about {

        display: flex;

        flex-direction: column;

        gap: 30px;

        align-items: stretch;
    }


    .about-text {

        width: 100%;
    }


    .about h2 {

        margin: 0 0 25px;

        font-size: 36px;

        line-height: 1.08;
    }


    .about p {

        width: 100%;

        max-width: none;

        margin: 0 0 20px;

        font-size: 15px;

        line-height: 1.6;
    }


    .about .text-link {

        margin-top: 5px;
    }


    .rounded-image {

        width: 100%;

        height: 300px;

        aspect-ratio: auto;

        object-fit: cover;
    }


    /* --------------------------------------------------------
       PILARES
       -------------------------------------------------------- */

    .pillar-grid {

        grid-template-columns: 1fr;

        gap: 55px;
    }


    .pillar-icon {

        width: 82px;
        height: 82px;
    }


    .pillar h3 {

        font-size: 32px;
    }


    .pillar p {

        font-size: 16px;

        line-height: 1.55;
    }


    /* --------------------------------------------------------
       EQUIPE
       -------------------------------------------------------- */

    .team {

        width: 100%;

        padding-left: 0;
        padding-right: 0;
    }


    .team .center-title {

        margin-bottom: 45px;

        padding: 0 16px;
    }


    .team-track {

        gap: 25px;
    }


    .team-card {

        flex: 0 0 190px;

        width: 190px;
    }


    .team-photo {

        width: 190px;
        height: 190px;
    }


    .team-card h3 {

        font-size: 18px;

        margin-top: 16px;
    }


    .team-card p {

        font-size: 13px;
    }


    /* --------------------------------------------------------
       SERVIÇOS
       -------------------------------------------------------- */

    .services {

        width: 100%;

        padding-left: 0;
        padding-right: 0;
    }


    .services .center-title {

        padding-left: 16px;
        padding-right: 16px;
    }


    .service {

        width: calc(100% - 32px);

        margin-bottom: 65px;

        display: flex;

        flex-direction: column;

        gap: 30px;

        align-items: stretch;
    }


    .service > div {

        width: 100%;
    }


    .service h3 {

        margin: 0 0 22px;

        font-size: 30px;

        line-height: 1.15;

        text-align: center;
    }


    .service p {

        width: 100%;

        max-width: none;

        margin: 0 0 20px;

        font-size: 16px;

        line-height: 1.6;

        text-align: center;
    }


    .service .text-link {

        display: flex;

        margin: 10px auto 0;
    }


    .service .rounded-image {

        width: 100%;

        height: 330px;

        margin: 0;
    }


    /* --------------------------------------------------------
       PROJETOS / INSTAGRAM
       -------------------------------------------------------- */

    .projects {

        width: 100%;

        padding-left: 16px;
        padding-right: 16px;
    }


    .projects > h3 {

        margin: 45px 0 30px;

        font-size: 27px;
    }


    .instagram-section {

        width: 100%;

        padding: 25px 20px;

        border-radius: 20px;
    }


    .instagram-profile {

        flex-direction: column;

        align-items: center;

        gap: 25px;

        text-align: center;
    }


    .instagram-profile-info {

        flex-direction: column;

        align-items: center;

        gap: 15px;
    }


    .instagram-profile-photo {

        width: 75px;
        height: 75px;
    }


    .instagram-profile h3 {

        font-size: 20px;

        text-align: center;
    }


    .instagram-profile p {

        font-size: 14px;

        text-align: center;
    }


    .instagram-follow {

        width: 100%;

        min-width: 0;
    }


    .instagram-feed {

        min-height: 180px;
    }


    /* --------------------------------------------------------
       DEPOIMENTOS
       -------------------------------------------------------- */

    .testimonials {

        width: 100%;

        padding-left: 16px;
        padding-right: 16px;
    }


    .testimonial-grid {

        width: 100%;

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .video-card {

        width: min(100%, 320px);

        height: 500px;

        margin: 0 auto;

        border-radius: 28px;
    }


    /* --------------------------------------------------------
       TRANSPARÊNCIA
       -------------------------------------------------------- */

    .transparency {

        width: 100%;

        padding: 65px 24px 60px;
    }


    .transparency .center-title {

        margin-bottom: 45px;

        font-size: 31px;
    }


    .transparency-grid {

        width: 100%;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .transparency-item {

        width: 100%;

        text-align: center;
    }


    .transparency-item h3 {

        margin-bottom: 18px;

        font-size: 21px;
    }


    .transparency-item h4 {

        margin-bottom: 18px;

        font-size: 16px;
    }


    .red-button {

        width: min(100%, 240px);

        min-height: 54px;

        font-size: 16px;
    }


    .transparency-text {

        margin-top: 45px;

        font-size: 14px;
    }


    /* --------------------------------------------------------
       CONTATO
       -------------------------------------------------------- */

    .contact {

        width: 100%;

        padding: 65px 24px 90px;
    }


    .contact .center-title {

        margin-bottom: 40px;

        font-size: 31px;
    }


    .contact-links {

        width: 100%;

        gap: 18px;
    }


    .contact-links .red-button {

        width: min(100%, 280px);

        min-height: 56px;

        font-size: 17px;
    }


    .contact-links .donations {

        width: min(100%, 300px);

        min-height: 60px;

        margin-top: 8px;

        font-size: 18px;
    }

}


/* ============================================================
   CELULARES PEQUENOS
   ============================================================ */

@media (max-width: 480px) {


    .nav {

        font-size: 12px;

        gap: 9px 12px;
    }


    .hero {

        min-height: 530px;
    }


    .hero-content {

        padding:
            45px
            20px
            50px;
    }


    .hero h1 {

        font-size: 35px;
    }


    .hero p {

        font-size: 14px;
    }


    .stats {

        grid-template-columns: 1fr 1fr;

        gap: 15px;

        padding-left: 20px;
        padding-right: 20px;
    }


    .stats strong {

        font-size: 27px;
    }


    .stats p {

        font-size: 11px;
    }


    .section {

        width: calc(100% - 28px);

        padding-top: 55px;
        padding-bottom: 55px;
    }


    .center-title {

        font-size: 28px;

        margin-bottom: 35px;
    }


    .about h2 {

        font-size: 32px;
    }


    .rounded-image {

        height: 270px;
    }


    .team-card {

        flex-basis: 170px;

        width: 170px;
    }


    .team-photo {

        width: 170px;
        height: 170px;
    }


    .team-track {

        gap: 20px;
    }


    .service {

        width: calc(100% - 24px);
    }


    .service h3 {

        font-size: 27px;
    }


    .service p {

        font-size: 15px;
    }


    .service .rounded-image {

        height: 290px;
    }


    .video-card {

        width: min(100%, 300px);

        height: 470px;
    }


    .transparency {

        padding-left: 18px;
        padding-right: 18px;
    }


    .contact {

        padding-left: 18px;
        padding-right: 18px;
    }

}


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

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

    html {
        scroll-behavior: auto;
    }

    .team-track {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}
