/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

html,
body {
    width: 100%;
    scroll-margin-top: 150px;
    overflow-x: hidden;
}

body {
    background: #f5f6f5;
    color: #575652;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;


}

h1,
h2,
h3 {
    font-weight: 600;
}

/* VARIÁVEIS */

:root {
    --creme: #fff7f5;
    --rose-claro: #f9e6e2;
    --rose-medio: #e8c7c3;
    --rose-escuro: #d8a8a3;
    --verde-sage: #6a7568;
    --verde-sage-ultra-soft: #f2f5f3;
    --cinza-texto: #575652;
    --dourado: #b48a2c;
    --dourado-metal: linear-gradient(90deg, #886a14, #d4af37, #fff4c2, #d4af37, #886a14);
    --container-width: 1200px;
    --section-padding: 90px;
    --section-padding-mobile: 60px;
}


/* SISTEMA GLOBAL */

section,
.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    min-height: 130px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 15px 30px;
}

.logo {
    width: 100px;
}

.carla {
    width: 180px;
}

.linha-metalica {
    display: block;
    flex: none;
    width: 100%;
    height: 2px;
    background: var(--dourado-metal);
    margin: 0;
}

.menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    font-size: 15px;
    color: #6b6b6b;
    transition: .2s;
}

.menu a:hover {
    color: #8b5a2b;
}


/* HERO S1 */
/* HERO */

.hero {
    width: 100%;
    padding: 100px 0;
}

.hero-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 0 24px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #575652;
}

.hero-img {
    display: flex;
    justify-content: center;
}

.hero-img img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* SOBRE */

.sobre {
    padding: 100px 0;
}

.sobre img {
    float: left;
    width: 260px;
    margin-right: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.sobre-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sobre-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.sobre-buttons {
    clear: both;
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
}

.sobre-buttons a {
    text-decoration: none;
    transition: .25s;
    font-size: 1rem;
    background: linear-gradient(135deg, #fff8e6, #e8d3a4);
    color: #6d5320;
    border: 1px solid #d8c28a;
}

.sobre-buttons a:hover {
    transform: translateY(-3px);
}



/* SINAIS */

.s2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 0;
    gap: 30px;

}

.s2 .imgs2 {
    border-radius: 12px;
    max-width: 100px;
    width: 100%;
    justify-self: center;
    filter: brightness(0) saturate(100%) invert(72%) sepia(36%) saturate(600%) hue-rotate(5deg) brightness(95%) contrast(95%);

}

.s2 h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #808f7e;
}

.imgverde {
    width: 100%;
    max-width: 300px;
    justify-self: center;
    filter: brightness(0) saturate(100%) invert(63%) sepia(9%) saturate(246%) hue-rotate(61deg) brightness(93%) contrast(92%);

}

.s2 ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.2rem;
    color: white;
    line-height: 1.7;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.s2 ul li {
    background-color: #808f7e;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px;
}

.s2 h3 {
    font-size: 1.8rem;
    color: #808f7e;
    margin-bottom: 15px;

}

.s2 .p1 {
    color: #b69835;
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: bold;
}

.s2 .p2 {
    color: #495547;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: normal;
    line-height: 1.7;
    margin-bottom: 15px;
}

.hero>hr {
    margin-top: 0px;
}

/* BENEFÍCIOS */

.s3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 0px;
}

.s3 h3 {
    font-size: 2.5rem;
    color: #575652;
    padding: 0 20px;

}

.h-list2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    justify-items: center;
    justify-content: space-between;
    list-style: none;
}

.s3-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    border-radius: 2px;
    background: #f2f5f3;

    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}


.s3-buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg,
            #886a14,
            #d4af37,
            #fff4c2,
            #d4af37,
            #886a14);
}

.s3-buttons::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(90deg,
            #886a14,
            #d4af37,
            #fff4c2,
            #d4af37,
            #886a14);
}

.s3-buttons h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #575652;
    line-height: 1.5;
    text-align: center;
}

.s3-buttons .btn {
    margin: 0;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid #808f7e;
    color: #808f7e;
}


.divider {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    border: none;
    height: 1px;
    background: #d9ddd8;
}

.sobre .s3-buttons::before,
.sobre .s3-buttons::after {
    display: none;
}

.sobre .s3-buttons {
    background: transparent;
    padding: 20px 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    max-height: 100px;
}


.h-list2 li {
    width: 100%;
    max-width: 420px;
}


.h-list2 img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    max-height: 250px;
    height: 100%;
    justify-self: center;
}

.h-list2 li p {
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 20px;
    text-align: justify;
}


/* RESPONSIVO SEÇÕES INTERMEDIÁRIAS */

@media (max-width:992px) {

    .sobre,
    .s2 {
        grid-template-columns: 1fr;
    }

    .h-list2 {
        grid-template-columns: 1fr;
    }

}

/* PARA QUEM */
#para-quem {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

#para-quem>* {
    max-width: 1200px;
    position: relative;
    z-index: 2;

}

#para-quem::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-COLOR: #f2f5f3;
    z-index: 1;
}

#para-quem h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    width: 100%;

}

#para-quem p {
    text-align: justify;
    padding: 20px;
    font-size: 1.2rem;
    line-height: 1.5;
}

#para-quem ul {
    list-style: none;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

#para-quem li {
    margin-bottom: 20px;
    max-width: 200px;
    background-color: #808f7e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    line-height: 1.5;
    color: #d9ddd8;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

#para-quem li:hover {
    transform: scale(1.05);
}

#para-quem li a {
    text-decoration: none;
    color: #575652;
}

.notaetica {
    font-size: 1.2rem;
    font-weight: 500;
    color: #575652;
    line-height: 1.5;
    text-align: center;
}

/* EXTERIOR */

section #exterior {
    position: relative;
}

#exterior {
    max-width: 900px;
    width: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #faf6f3;

    background-image: url(imagens/exteriorbg.png);
    background-repeat: no-repeat;
    background-size: 600px;

    background-position: right center;

    overflow: hidden;
}

#exterior::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 100%;
    z-index: 1;
}

#exterior>* {
    position: relative;
    z-index: 2;
}

#exterior h2 {
    text-align: center;
    padding: 40px;
    font-size: 1.8rem;
    margin-top: 20px;
}

#exterior p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.5;
    padding: 10px;
    max-width: 600px;
    width: 100%;
}


#exterior ul {
    list-style: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: 100%;
    max-height: 600px;
    height: 100%;
}

.exterior-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    max-height: 100px;
    height: 100%;
}

#exterior ul li {

    flex: 200px 200px 200px;
    max-height: 100px;
    height: 100%;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    background-color: #808f7e;
    color: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.btnExt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    max-width: 250px;
    max-height: 50px;
    height: 100%;
    width: auto;
    font-size: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8e6, #e8d3a4);
    color: #6d5320;
    border: 1px solid #d8c28a;
    transition: .25s;
    text-decoration: none;
}

.btnExt:hover {
    background: linear-gradient(135deg, #e8d3a4, #fff8e6);
}

/* COMO FUNCIONA */
/* COMO FUNCIONA */

#como-funciona {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    justify-items: center;
}


/* coluna esquerda */

#como-funciona h2 {
    font-size: 2.7rem;
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 420px;
}

#como-funciona p {
    font-size: 1.2rem;
    max-width: 500px;
    text-align: flex-start;
}


/* passos */

.processo {
    position: relative;
    padding-left: 40px;
}

/* linha vertical */

.processo::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e4e6e3;
}


/* lista */

#como-funciona ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}


/* cards */

#como-funciona ol li {
    position: relative;

    background: #fff;
    padding: 22px 28px;
    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    transition: .25s;

    font-size: 1.05rem;
}


/* bolinha da timeline */

#como-funciona ol li::before {
    content: "";
    position: absolute;

    left: -34px;
    top: 50%;
    transform: translateY(-50%);

    width: 12px;
    height: 12px;

    background: #b48a2c;
    border-radius: 50%;
}


/* hover */

#como-funciona ol li:hover {
    transform: translateY(-4px);
}


/* botão */

#como-funciona .btn {
    margin-top: 30px;
    max-width: 400px;
    text-align: center;
    padding: 10px;
}
#textos{
padding:80px 20px;
max-width:1100px;
margin:auto;
text-align:center;
}

.textos-intro{
max-width:700px;
margin:20px auto 60px;
line-height:1.6;
}

.textos-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}

.texto-card{

background:white;
padding:28px;
border-radius:10px;

box-shadow:0 6px 20px rgba(0,0,0,.05);

text-align:left;

transition:all .35s ease;

position:relative;
overflow:hidden;

}


/* linha dourada sutil */

.texto-card::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:2px;

background:var(--dourado-metal);

opacity:0;

transition:.35s;

}


.texto-card:hover::before{

opacity:1;

}

.texto-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.texto-card h3{

margin-bottom:12px;

font-weight:600;

transition:.25s;

}

.texto-card:hover h3{

color:var(--verde-sage);

}

.texto-card p{
font-size:15px;
line-height:1.6;
margin-bottom:18px;
}

.ler-artigo{
text-decoration:none;
font-weight:500;
color:#2f5f48;
}
/* BOTÕES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    max-width: 300px;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8e6, #e8d3a4);
    color: #6d5320;
    border: 1px solid #d8c28a;
    transition: .3s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* FOOTER */

.footer {
    background: #2f3b2e;
    color: #fff;
    padding: 80px 20px 40px;
    margin-top: 80px;
}

.footer-container {

    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    align-items: center;
    justify-items: center;
}

.footer-container>div {
    max-width: 250px;
}

.footer-logo {
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
}

.footer-brand {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

/* títulos */

.footer h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* textos */

.footer p {
    line-height: 1.6;
}

/* links */

.footer a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: .2s;
}

.footer a:hover {
    color: #d4af37;
}

/* contato */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.footer-contact p {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.footer-contact p a {
    display: block;
    margin-bottom: 0;
}
/* marca */

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.footer-crp {
    opacity: .8;
    margin-bottom: 5px;
}

.footer-area {
    color: #d4af37;
    font-weight: 500;
}

/* parte inferior */

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    font-size: .9rem;
    opacity: .85;
}

.footer-dev strong {
    color: #d4af37;
}

.footer-etica {
    font-size: .85rem;
    opacity: .75;
    max-width: 320px;
}

/* HAMBURGER */
.menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 10020;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-btn span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #6d5320;
    left: 0;
    transition: .3s;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 10px;
}

.menu-btn span:nth-child(3) {
    bottom: 0;
}

/* animacao X */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

.menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    z-index: 10015;
    background: #fff;
    padding: 30px;
    gap: 20px;
}

/* ajustes estruturais */
section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.hero,
.s1,
.s2,
.s3,
#para-quem,
#exterior,
#como-funciona,
#textos {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #8f9e8d;
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: .3s;
}

.whatsapp-float img {
    max-width: 50px;
    width: 100%;
    padding: 5px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* animacao das secoes */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

#para-quem li,
#exterior li,
#textos ul li {
    transition: .25s;
}

#para-quem li:hover,
#exterior li:hover,
#textos ul li:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

/* ============================= */
/* RESPONSIVIDADE */
/* ============================= */

@media (max-width:1100px) {
    .s1 {
        background-size: 420px;
        background-position: right bottom;
        min-height: 500px;
    }

    .s1 h1 {
        font-size: 2.2rem;
        max-width: 65%;
    }

    .s1 .h2s1 {
        font-size: 1.2rem;
        max-width: 60%;
    }
}

@media (max-width:1024px) {
    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .menu {
        gap: 18px;
    }

    .s1 h1 {
        font-size: 2.4rem;
    }

    .s1 .h2s1 {
        max-width: 100%;
        font-size: 1.3rem;
    }

    .s2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .coluna1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobre img {
        float: none;
        margin: auto;
        margin-bottom: 25px;
    }

    #como-funciona {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .processo {
        padding-left: 0;
    }

    .processo::before,
    #como-funciona ol li::before {
        display: none;
    }

    #exterior {
        max-width: 100%;
        padding: 60px 20px;
        background-size: 400px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* correcao tablet: 766px -> 1000px */
@media (min-width:766px) and (max-width:1000px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .logo {
        width: 70px;
    }

    .carla {
        width: 150px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
        font-size: 14px;
    }

    .s1 {
        background-size: 380px;
        background-position: right top;
    }

    .s1 h1 {
        font-size: 2.2rem;
    }

    .s1 .h2s1 {
        font-size: 1.2rem;
        max-width: 70%;
    }

    .sobre img {
        width: 220px;
    }

    .sobre-text {
        max-width: 600px;
    }

    #como-funciona {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    #como-funciona ol {
        align-items: center;
    }

    #como-funciona ol li {
        max-width: 500px;
    }

    #textos ul {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width:950px) {
    .s1 {
        background-size: 360px;
        background-position: right bottom;
    }

    .s1 h1 {
        font-size: 2rem;
        max-width: 70%;
    }

    .s1 .h2s1 {
        max-width: 65%;
    }
}

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-img {
        order: -1;
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hero-img img {
        max-width: 300px;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 86px;
        right: 20px;
        left: 20px;
        text-align: center;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
        gap: 16px;
        transition: .4s;
        z-index: 10015;
    }

    .menu.menu-open {
        display: flex;
    }

    .menu a {
        font-size: 16px;
        padding: 6px 0;
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px;
        z-index: 10020;
    }

    .header-container {
        padding: 15px 20px;
    }

    .logo {
        width: 70px;
    }

    .carla {
        width: 140px;
    }

    .s1 {
        background-size: 400px;
        background-position: right top;
    }

    .sobre img {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
    }

    .sobre-text {
        text-align: center;
    }

    .s2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .h-list2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width:820px) {
    .s1 {
        background-size: 300px;
        background-position: right bottom;
    }

    .s1 h1 {
        font-size: 1.9rem;
        max-width: 100%;
    }

    .s1 .h2s1 {
        max-width: 100%;
    }
}

@media (max-width:768px) {
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .header {
        height: auto;
        padding: 0;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 12px 16px 10px;
    }

    .carla {
        width: 150px;
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 16px;
        top: 20px;
        transform: none;
        padding: 8px;
        z-index: 10020;
    }

    .menu-btn img {
        width: 28px;
        height: auto;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 16px;
        left: 16px;
        width: auto;
        text-align: center;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
        gap: 16px;
        transition: .4s;
        z-index: 10015;
    }

    .s1 {
        background-image: none;
        min-height: 420px;
        gap: 20px;
        margin-top: 100px;
        padding-top: 40px;
    }

    .s1 h1 {
        font-size: 1.8rem;
    }

    .s1 .h2s1 {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .sobre {
        text-align: center;
        padding: 20px;
    }

    .sobre img {
        float: none;
        width: 200px;
        margin: 0 auto 20px auto;
        display: block;
    }

    .sobre-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .s2,
    #como-funciona {
        grid-template-columns: 1fr;
    }

    .s2 ul li {
        max-width: 100%;
    }

    #para-quem ul {
        flex-direction: column;
        align-items: center;
    }

    #exterior ul {
        max-width: 100%;
    }

    .exterior-buttons {
        flex-direction: column;
    }

    #textos ul {
        grid-template-columns: 1fr;
    }

    #exterior,
    #como-funciona,
    #textos,
    #para-quem {
        padding: 50px 20px;
    }

    .divider {
        margin: 25px auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width:700px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 60px 20px;
    }

    .s1 .h2s1 {
        max-width: 100%;
    }

    .s3-buttons {
        max-width: 100%;
    }

    #exterior ul {
        flex-direction: column;
    }

    #textos ul {
        justify-content: center;
    }

    footer {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width:480px) {
    .s1 h1 {
        font-size: 1.7rem;
    }

    .s1 .h2s1 {
        font-size: 1.05rem;
    }

    #como-funciona h2 {
        font-size: 1.9rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .btnExt {
        font-size: .95rem;
    }
}
/* ============================= */
/* ARTIGOS (PÁGINAS DE TEXTO) */
/* ============================= */

.artigo-topo {
background:#ffffff;
}

.artigo-topo-inner {
max-width:var(--container-width);
margin:0 auto;
padding:16px 24px 12px;
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
}

.artigo-marca {
display:inline-flex;
align-items:center;
gap:12px;
text-decoration:none;
color:var(--cinza-texto);
}

.artigo-topo .logo {
width:72px;
}

.artigo-marca span {
font-size:.98rem;
font-weight:500;
letter-spacing:.03em;
}

.artigo-voltar {
font-size:.9rem;
font-weight:500;
letter-spacing:.05em;
text-transform:uppercase;
text-decoration:none;
color:#2f5f48;
padding-bottom:2px;
border-bottom:1px solid rgba(47,95,72,.35);
transition:.2s;
}

.artigo-voltar:hover {
opacity:.75;
}

.artigo{
max-width:760px;
margin:42px auto 56px;
padding:0 22px;
display:flex;
flex-direction:column;
gap:14px;
line-height:1.72;
}


/* título */

.artigo h1{

font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,"Times New Roman",serif;
font-size:clamp(2rem,4vw,2.8rem);
line-height:1.2;
font-weight:600;
letter-spacing:-.01em;

color:var(--cinza-texto);

margin-bottom:2px;
text-wrap:balance;

}


/* meta */


.artigo .meta,
.meta{

font-family:'DM Sans',sans-serif;
font-size:.8rem;

letter-spacing:.12em;

text-transform:uppercase;

color:#8a8a85;

margin-bottom:10px;

}


/* parágrafos */

.artigo p{

max-width:66ch;
margin:0;
font-family:Georgia,"Times New Roman",serif;
font-size:clamp(1.04rem,1.3vw,1.16rem);

color:var(--cinza-texto);

line-height:1.78;

}

.artigo p:first-of-type::first-letter{
float:left;
margin:4px 8px 0 0;
font-family:"Iowan Old Style","Palatino Linotype","Times New Roman",serif;
font-size:3.4rem;
line-height:.82;
font-weight:600;
color:#4b4e49;
}


/* destaque editorial */

.artigo blockquote{

border-left:3px solid var(--dourado);

padding-left:16px;

font-style:italic;

color:#6a6a66;

margin:18px 0;

}


/* divisória elegante */

.artigo hr{

border:none;

height:1px;

background:#e6e8e5;

margin:24px 0 20px;

}


/* CTA final */

.artigo-cta{

margin-top:30px;

padding:26px;

background:var(--verde-sage-ultra-soft);

border-radius:12px;

display:flex;
flex-direction:column;
align-items:center;

gap:14px;

text-align:center;

}


.artigo-cta h3{

font-size:1.2rem;

font-weight:500;

color:var(--cinza-texto);

}


.artigo-cta p{

font-size:.98rem;
line-height:1.6;

max-width:420px;

}


/* botão voltar */

.voltar-textos{

margin-top:20px;

font-size:.95rem;

color:var(--verde-sage);

text-decoration:none;

transition:.2s;

}

.voltar-textos:hover{

opacity:.7;

}
/* links editoriais (mesmo estilo do Ler artigo) */

.link-editorial{

display:inline-flex;

align-items:center;

gap:6px;

font-family:'DM Sans',sans-serif;
font-size:.94rem;
font-weight:500;
letter-spacing:.04em;
color:#2f5f48;
text-decoration:underline;
text-decoration-thickness:1px;
text-underline-offset:3px;

transition:.2s;

}

.link-editorial:hover{

opacity:.7;

}


/* container dos links */

.artigo-links-topo{

position:sticky;
top:12px;
z-index:20;

display:flex;
flex-direction:row;
flex-wrap:wrap;
justify-content:space-between;
align-items:center;
gap:12px;

margin:0 0 8px;
padding:10px 12px;
border:1px solid #e3e6e2;
border-radius:10px;
background:rgba(255,255,255,.92);
backdrop-filter:blur(4px);

}

.artigo-links-topo .link-editorial{
font-size:.86rem;
}

.artigo-links{

margin-top:18px;

display:flex;

flex-direction:column;

gap:10px;

}

@media (max-width:768px) {
    .artigo-topo-inner {
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        padding:14px 18px 10px;
    }

    .artigo-topo .logo {
        width:64px;
    }

    .artigo-voltar {
        font-size:.82rem;
    }

    .artigo {
        margin:34px auto 44px;
        padding:0 18px;
        gap:12px;
    }

    .artigo p {
        font-size:1.03rem;
        line-height:1.68;
    }

    .artigo p:first-of-type::first-letter {
        font-size:2.8rem;
        margin-top:2px;
    }

    .artigo hr {
        margin:20px 0 16px;
    }

    .artigo-links {
        margin-top:14px;
        gap:8px;
    }

    .artigo-links-topo {
        top:8px;
        padding:8px 10px;
        gap:10px;
    }
}
