html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --cor-cinza-claro: #e6e6e6;
    --cor-cinza-medio: #dddfe0;
    --cor-cinza-medio-escuro: #c0c0c0;
    --cor-cinza-escuro: #a3a3a3;
    --cor-azul-claro: #6f838e;
    --cor-azul-medio: #84a0ab;
    --cor-azul-escuro: #5e6f79;
    --cor-azul-escuro-escuro: #4b4e51;
}

body, main, .depoimentos {
    background: var(--cor-cinza-claro) url('img/draivia-marcadagua.png') repeat center center;
    background-size: 250px;
}

body {
    color: var(--cor-azul-escuro);
    font-size:1.3em;
    font-weight: 300;
}


body, button {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
}

strong, b { 
    font-weight: 500;
}

h1, h2, h4, nav {
    font-family: 'Cinzel', serif;
    font-style: normal;
    font-weight: 400;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: left;
}

h2 {
    background-color: var(--cor-azul-medio);
    color: var(--cor-cinza-claro);
    text-align: center;
    padding: 1em 5%;
    font-size: 1.8em;
    position: relative;
}

h2, h4 {
    font-weight: 600;
    margin:0;
}

h3 { 
    font-size: 1.4em;
    font-weight: 600;
    font-style: italic;
}

h4 {
    font-size: 2.2em;
    margin: 1em 4%;
}

.depoimentos h4 {
    padding: 2em 0;
    margin: 0;
    text-align: center;
    font-size: 2.5em;
}
a {
    color:inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width:100%;
}

img.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy-load.loaded {
    opacity: 1;
}

body > img {
    margin: 0 auto;
    z-index: 50;
    position: relative;
}

header {
    background-color: var(--cor-azul-claro);
    color: var(--cor-cinza-claro);
    padding: 20px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr 0.9fr;
    align-items: center;
    padding: 30px 5% 90px;
    gap: 0 1em;
}

header p {
    text-align: center;
}

header p:first-of-type {
    text-align: left;
}

header p:last-of-type {
    text-align: right;
}

header i {
    font-size: 1.9rem;
    margin-right: 0.3em;
    vertical-align: middle;
}

nav {
    background-color: var(--cor-cinza-medio);
    color: var(--cor-azul-escuro);
    max-width:1000px;
    position: relative;
    margin: 0 auto;
    z-index: 100;
    margin-top: -60px;
    margin-bottom: -50px; /* era -40px */
    padding-top: 10px;
    border-radius: 60px;
    box-shadow: 3px -5px 0 0 var(--cor-cinza-escuro);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

header i.fa-whatsapp {
    color: var(--cor-azul-claro) !important;
    background-color: var(--cor-cinza-claro) !important;
    border-radius: 50%;
    width: 34px;
    height: 37px;
    padding: 7px 0 0 9px;
}
nav > a.active {
    font-weight: 600;
}

nav > a {
    padding: 52px 12px 40px 12px;
    text-align: center;
}

nav h1 {
    display: inline-block;
    margin: 10px 10px 20px;
    text-align: center;
}

nav div {
    display: flex;
    justify-content: space-between;
}

nav div a {
    padding: 1em 0;
}

nav img {
    max-height: 80px;
    filter: brightness(0) saturate(100%) invert(46%) sepia(3%) saturate(2049%) hue-rotate(159deg) brightness(88%) contrast(85%);
}

nav i {
    background-color: var(--cor-azul-medio);
    border-radius: 50%;
    padding: 10px;
    margin: 0 8px;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 30px;
}

main {
    padding: 250px 0 0;
    overflow: auto;
    margin-top: -200px;
}

main > h3, main > p, .cta > p {
    padding: 0 1em;
    text-align: center;
}

main > p {
    line-height: 1.5;
    font-size: 1.1em;
    margin: 2em 0;
}

button {
    display: block;
    font-weight: 600;
    font-style: italic;
    background-color: var(--cor-azul-medio);
    color: var(--cor-cinza-claro);
    border: none;
    border-radius: 70px;
    padding: 25px 50px;
    margin: 2em auto;
    font-size: 1.76rem;
    max-width: 85%;
    z-index: 10;
    cursor: pointer;
}

.sobre {
    background: var(--cor-azul-escuro) url('img/fundo-sobre.jpg') no-repeat center center;
    background-size: cover;
    padding: 240px 10% 2em;
    margin-top: -200px;
    color: var(--cor-cinza-claro);
    font-size: 1.2em;
    line-height: 1.5;
    text-align: justify;
}

.sobre h1 {
    background-color: var(--cor-cinza-claro);
    color: var(--cor-azul-escuro);
    display: inline-block;
    padding: 0 0.2em;
    font-weight: 600;
    font-size: 1.75em;
    margin-top:0;
}

.sobre button {
    font-family: 'Cinzel', serif;
    font-style: normal;
    font-weight: 600;
    border-radius: 0;
    font-size: 0.9em;
    padding: 0.6em 1em;
    border: solid 4px var(--cor-cinza-claro);
    border-right: none;
    position: relative;
}

.sobre button::after {
    content: ' ';
    background: url('img/icone-curriculo.png') no-repeat right center;
    background-size: 100%;
    position: absolute;
    right: -81px;
    top:-20px;
    bottom:-5px;
    width: 90px;
}

.right {
    float: right;
    margin-left: 2em;
    margin-bottom: 0.5em;
    width: 45%;
}

.left {
    float: left;
    margin-right: 2em;
    width: 400px;
}

h2 img.left {
    position: absolute;
    bottom:0;
    left:0;
    max-width: 30%;
}

h2:has(img) {
    padding: 2.2em 5% 2.2em 35%;
    font-size: 3em;
    line-height: 2;
    position: relative;
    z-index: 1;
    width: 60%;
}

h2:has(img)::before, h2:has(img)::after {
    content: '';
    position: absolute;
    left: -25%;
    right: -25%;
    height: 500px;
    z-index: -1;
}

h2:has(img)::before {
    top: -500px;
    background: radial-gradient(ellipse at center, transparent 70%, rgba(0, 0, 0, 0.85) 100% );
    clip-path: inset(50% 0 0 0);
    margin-right: 25%;
    margin-left: 25%;
}

h2:has(img)::after {
    bottom: -500px;
    background: radial-gradient(ellipse at center, transparent 70%, rgba(0, 0, 0, 0.85) 100% );
    clip-path: inset(0 0 50% 0);
    margin-right: 25%;
    margin-left: 25%;
}

ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em 3em;
    background: var(--cor-cinza-claro) url('img/fundo-lista.png') no-repeat left top;
    background-size: cover;
    padding: 4em 5% 400px;
    margin: 0 auto;
    width: 90%;
    position: relative;
}

ul::before {
    content: '';
    background: url('img/sofa-caes-gatos.png') no-repeat bottom center;
    background-size: 600px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
}

ul li {
    list-style: none;
    padding: 0 1em;
    background-color: var(--cor-cinza-medio);
    font-size: 0.9em;
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 1;
}

ul li::before {
    content: ' ';
    background: var(--cor-azul-escuro) url('img/patinha.png') no-repeat center center;
    background-size: 35px;
    position: absolute;
    left: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 6px;
}

ul li:nth-child(3), ul li:nth-child(4) {
    background-color: var(--cor-cinza-medio-escuro);
}

ul li:nth-child(3)::before, ul li:nth-child(4)::before {
    background-color: var(--cor-azul-medio);
}

ul li:nth-child(5), ul li:nth-child(6) {
    background-color: var(--cor-azul-medio);
    color: var(--cor-cinza-claro);
}

ul li:nth-child(5)::before, ul li:nth-child(6)::before {
    background-color: var(--cor-cinza-escuro);
}

ul li:nth-child(7), ul li:nth-child(8) {
    background-color: var(--cor-azul-escuro);
    color: var(--cor-cinza-claro);
}

ul li:nth-child(7)::before, ul li:nth-child(8)::before {
    background-color: var(--cor-azul-medio);
}

ul li p:first-of-type {
    padding: 10px 10px 10px 45px;
}

.cta {
    background: var(--cor-azul-medio) url('img/fundo-patinhas.png') repeat center center;
    background-size: 200px;
    color: var(--cor-cinza-claro);
    padding: 2em 0;
    text-align: center;
    font-size: 1.5em;
    line-height: 1.5;
    margin: 0;
}

.cta button {
    background-color: var(--cor-cinza-claro);
    color: var(--cor-azul-escuro);
    margin-bottom: 1em;
}

.servicos {
    background-image: url('img/fundo-servicos.jpg'), linear-gradient(to right, #4e5156, #575c60, #5a636a, #4d5055, #3f4044);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    position: relative;
}

/* REFAZER O FUNDO DO SERVICOS PRA O DEGRADÊ SER PELO CSS E A IMAGEM SER APENAS A PARTE QUE TEM A FOTO */
/*
.servicos::before {
    content: '';
    background: radial-gradient(circle at center, var(--cor-azul-claro) 0%, var(--cor-azul-escuro-escuro) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/

.servicos h1 {
    max-width: 85%;
    margin: 0 auto;
}

.servicos p {
    max-width: 60%;
    margin: 0 0 0 7.5%;
}
.servicos dl dd.txt {
    grid-column: 2 / 4;
    background: transparent;
    border:0;
    color: var(--cor-cinza-claro);
    font-weight: 600;
    font-size: 0.8em;
    margin: 0.5em auto;
    padding: 0;
}

.servicos p {
    color: var(--cor-azul-escuro);
    margin-bottom: 18em;
    margin-top:0;
}

dl {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3em 4em;
    padding: 2em 5%;
}

dd {
    position: relative;
    background-color: var(--cor-cinza-medio);
    font-size: 0.9em;
    opacity: 0.95;
    padding: 1em 1em 100px 1em;
    text-align: center;
    margin-inline-start: 0;
}

dd::before {
    content: ' ';
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: rgba(132, 160, 171, 0.5);
    left: 0;
    bottom: 100%;
}

dd::after {
    content: ' ';
    position: absolute;
    top: 0;
    right: -10px;
    bottom: 0;
    left: 100%;
    background-color: rgba(132, 160, 171, 0.5);
}

dd.txt::before, dd.txt::after {
    display: none;
}

dd h3 {
    background-color: var(--cor-azul-medio);
    color: var(--cor-cinza-claro);
    font-weight: 600;
    font-size: 0.9em;
    font-style: normal;
    text-align: center;
    padding: 1em 60px 1em 1em;
    margin:0;
    position: absolute;
    bottom: 0;
    right:0;
    left:0;
    height:50px;
}

dd img {
    position: absolute;
    bottom: 1px;
    right: 0;
    width: 100px;
}

.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 75%;
    margin: 0 auto;
}

.parallax-container {
    height: 400px;
    overflow: hidden;
}

.depoimentos-container {
    display: grid;
    grid-template-columns: 0.8fr 1fr 50px;
    gap: 2em;
    padding: 1em 1em 3em;
    background-color: rgba(66, 80, 87, 0.3);
    position: relative;
    font-size: 1.25em;

}

.depoimentos-container::after {
    content: '';
    background: linear-gradient(to bottom, transparent 30%, var(--cor-azul-medio) 80%) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.depoimentos-container > img {
    position: relative;
    bottom: 0;
    top:-8em;
    margin-bottom: -8em;
}

.depoimentos-container > i {
    align-self: center;
    background-color: var(--cor-cinza-claro);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    display: inline-block;
    padding: 8px 4px 0;
    color:var(--cor-cinza-escuro);
    cursor: pointer;
    transition: all 0s ease;
    z-index: 10;
}

.depoimentos-container > i:hover {
    background-color: var(--cor-azul-medio);
    color: var(--cor-cinza-claro);
    transform: scale(1.1);
}

.depoimentos-container > p.obs {
    position: absolute;
    bottom: 2.3em;
    right: 6.4em;
    font-size: 0.6em;
    color: var(--cor-cinza-claro);
    z-index: 10;
}

.depoimentos-wrapper {
    position: relative;
    min-height: 200px;
    display: grid;
    grid-template-columns: 1fr;
}

.depoimento {
    background-color: var(--cor-azul-medio);
    padding: 0 1em;
    text-align: center;
    color:var(--cor-cinza-claro);
    position: absolute;
    top: 21px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0s ease;
    z-index: 1;
    padding: 1.2em;
}

.depoimento img:last-of-type {
    margin-left: 0.6em;
}

.depoimento.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
 
.depoimento strong {
    font-family: 'Cinzel', serif;
    font-size: 1.2em;
    font-weight: 600;
}

.depoimento i {
    font-size: 10em;
    color:#f4b609;
    position: absolute;
    top: -0.6em;
    right: -0.1em;
}

.depoimento img {
    width: 150px;
}

.depoimento img:first-of-type {
    margin-top: -110px;
    border: solid 10px var(--cor-azul-medio);
    border-radius: 50%;
}

.depoimento p:first-of-type {
    margin:0;
}

.parallax {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -10;
}

footer {
    background: var(--cor-cinza-claro) url('img/fundo-footer-dra-ivia-talieri.png') no-repeat bottom center;
    background-size: cover;
    padding: 2em 0 20em;
    position: relative;
    width: 100%;
    overflow: hidden;
}

footer > img {
    position: absolute;
    bottom: 0;
    display: block;
}

footer img:first-of-type {
    left: -3%;
    width:30%;
}

footer img:last-of-type {
    right: -8%;
    width:35%;
}

footer div {
    display: grid;
    width:75%;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 0 1em;
}

footer div p {
    font-size: 1.3em;
}

footer div p i {
    margin-right: 0.5em;
    font-size: 2.5rem;
    vertical-align: middle;
    color: var(--cor-cinza-claro);
    background-color: var(--cor-azul-medio);
    border-radius: 50%;
    padding: 0.2em;
    width: 40px;
    height: 40px;
    text-align: center;
    display: inline-block;
}

footer .fa-envelope {
    font-size: 1.2em;
    line-height: 1.4;
    padding: 0.26em;
}

@media screen and (max-width: 1785px) {
    h2:has(img) {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}


@media screen and (max-width: 1600px) {
    main {
        padding-top: 190px;
        margin-top: -130px;
    }
}

@media screen and (max-width: 1500px) {
    main {
        padding-top: 170px;
        margin-top: -120px;
    }
    .depoimentos-container {
        grid-template-columns: 0.8fr 1fr 0.15fr;
        font-size: 1em;
    }
}

@media screen and (max-width: 1400px) {
    main {
        padding-top: 150px;
        margin-top: -110px;
    }    
    .depoimentos-container {
        grid-template-columns: 0.8fr 1fr 0.08fr;
    }
    .depoimentos-container::after {
        background: linear-gradient(to bottom, transparent 30%, var(--cor-azul-medio) 70%) no-repeat;
    }
}

@media screen and (max-width: 1300px) {
    main {
        padding-top: 140px;
        margin-top: -100px;
    }
    h2:has(img) {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 1200px) {
    body {
        font-size: 1.1em;
    }
    main {
        padding-top: 125px;
        margin-top: -95px;
    }
    .sobre button {
        line-height: 2;
    }
    h2:has(img) {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }

    dl {
        grid-template-columns: 1fr 1fr;
    }
    .servicos dl dd.txt {
        grid-column: 2 / 3;
    }    
}
@media screen and (max-width: 1024px) {
    main {
        padding-top: 110px;
        margin-top: -80px;
    }
    footer div {
        grid-template-columns: 0.8fr 1.2fr;
    }
    footer img:first-of-type {
        left: -3.5%;
        width:35%;
    }
    
    footer img:last-of-type {
        right: -9%;
        width:40%;
    }
    
}
@media screen and (max-width: 980px) {
    header {
        grid-template-columns: 0.8fr 1.2fr;
    }
    header p:nth-of-type(2) {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    main {
        padding-top: 100px;
        margin-top: -75px;
    }
    h2:has(img) {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    dl {
        grid-template-columns: 1fr;
    }
    .servicos dl dd.txt {
        grid-column: 1 / 2;
    }    

    .depoimentos-container {
        grid-template-columns: 1fr 50px;
        gap: 0;
    }
    .depoimentos-container > img {
        top: 0.5em;
        grid-column: 1 / 3;
    }

    .depoimentos-container::after {
        background: transparent;
        background-size: 100% 100%;
    }

    .depoimentos-container > i {
        margin: 0.3em;
    }
    
    .depoimentos-wrapper {
        min-height: 250px;
    }
    
    .cta-buttons {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 910px) {
    h2:has(img) {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 900px) {
    body {
        font-size: 1.3em;
    }
    nav div {
        width:60%;
    }
    nav div a {
        padding-bottom: 2.66em;
    }
    h2:has(img) {
        padding-left:5%;
        padding-bottom: 0;
        width:90%;
        font-size: 2em;
    }
    h2 img.left {
        float: none;
        display: block;
        position: relative;
        bottom: auto;
        left:auto;
        margin: 0 auto;
        max-width: 80%;
        margin-top: 1em;
    }
    .sobre button {
        line-height: 1.5;
    }

    .servicos {
        background-size: 120%;
        background-position: 30% top;
    }

    .servicos p {
        max-width: 82%;
        margin: 0 auto 18em 7.5%;
    }

    footer div {
        grid-template-columns: 1fr;
        width: 450px;
    }
    footer h4 {
        text-align: center;
    }
    footer img:first-of-type {
        left: -4.5%;
        width: 45%;
    }
    
    footer img:last-of-type {
        right: -11%;
        width:55%;
    }

}

@media screen and (max-width: 820px) {
    .sobre button {
        margin:0;
        max-width: 100%;
        z-index: 10;
    }
}

@media screen and (max-width: 768px) {
    nav h1, .sobre h1 {
        width: 100%;
    }
    .sobre h1 {
        font-size: 1.5em;
        padding: 0;
        text-align: center;
    }
    body > img {
        max-width: 140%;
        width: 140%;
        margin-left: -20%;
    }

    main {
        padding-top: 95px;
        margin-top: -70px;
    }
    .right {
        float: none;
        margin: 0 auto;
        width: 100%;
    }
    .left {
        float: none;
        margin: 0 auto;
    }
    .servicos {
        background-size: 150%;
    }
    ul {
        grid-template-columns: 1fr;
        padding-bottom: 350px;
    }
    .sobre button {
        font-size: 0.8em;
        line-height: 1.8;
        margin-left: -5%;
        width: 90%;
    }
}

@media screen and (max-width: 665px) {
    .sobre h1 {
        font-size: 1.4em;
    }

    .servicos {
        background-size: 250%;
    }
    ul::before {
        background-size: 96%;
    }
    .sobre button {
        font-size: 0.7em;
        line-height: 2.2;
    }
}


@media screen and (max-width: 600px) {
    .sobre h1 {
        font-size: 1.1em;
    }

    header {
        grid-template-columns: 1fr;
    }
    header p:nth-of-type(2) {
        grid-column: 1 / 2;
    }
    header p:first-of-type, header p:last-of-type {
        text-align: center;
    }

    header p i {
        text-align: left;
    }

    .servicos {
        background-size: 300%;
        background-position: 35% top;
    }

    .servicos p {
        margin-bottom: 22em;
    }

    .sobre {
        text-align: center;
    }

    footer img:first-of-type {
        left: -6%;
        width: 60%;
    }
    
    footer img:last-of-type {
        right: -14%;
        width:70%;
    }
    .sobre button {
        font-size: 0.6em;
        line-height: 3;
    }
    
    .depoimentos-wrapper {
        min-height: 300px;
    }
    
    .depoimento {
        font-size: 0.9em;
        text-align: left;
    }

    .depoimento i {
        top: -0.3em;
    }
}
@media screen and (max-width: 480px) {
    .sobre h1 {
        font-size: 1em;
    }
    body {
        font-size: 1.2em;
    }
    body > img {
        max-width: 400%;
        width: 400%;
        margin-left: -180%;
    }

    main {
        padding-top: 75px;
        margin-top: -50px;
    }
    nav > a {
        width: 35%;
        padding: 32px 12px 20px 12px;
    }
    .servicos {
        background-size: 400%;
        background-position: 30% top;
    }

    .servicos p {
        margin-bottom: 26em;
    }
    footer div {
        width: 100%;
        text-align: center;
    }
    footer div p i.fa-brands, footer div p i.fab, footer div p i.fa-solid {
        display: block;
        margin: 1em auto;
    }
    .sobre button {
        font-size: 0.5em;
        line-height: 3.8;
    }
    ul {
        padding-bottom: 300px;
    }
    button {
        font-size: 1.5rem;
    }
    
    .depoimentos-wrapper {
        min-height: 350px;
    }
    
    .depoimento {
        font-size: 0.85em;
    }
}

@media screen and (max-width: 400px) {
    .sobre h1 {
        font-size: 0.85em;
    }

    ul {
        padding-bottom: 250px;
    }
    button {
        font-size: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .sobre h1 {
        font-size: 0.75em;
    }
    body {
        font-size: 1em;
    }
    .sobre button {
        font-size: 0.4em;
        line-height: 4.5;
    }
}

/* Floating buttons */
.whatsapp-flutuante, #btnTopo {
    position: fixed;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    transition: 0.3s;
    right: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /*border: 1px solid var(--cor-azul-escuro);*/

}

.whatsapp-flutuante {
    bottom: 30px;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    text-align: center;
    font-size: 50px;
    line-height: 80px;
    z-index: 1000;
}

.whatsapp-flutuante:hover {
    background-color: #128c7e;
    text-decoration: none;
}

#btnTopo {
    display: none; /* Hidden by default */
    bottom: 130px; /* Above whatsapp button */
    z-index: 1000;
    outline: none;
    background-color: var(--cor-azul-medio);
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 40px;
    margin: 0;
}

#btnTopo i, .whatsapp-flutuante i {
    color: white;
    background: transparent;
    padding: 0.9rem 1.1rem;
    margin: 0;
    width: auto;
    height: auto;
}

#btnTopo:hover {
    background-color: var(--cor-azul-escuro);
}