html, body {
    background-color: lightyellow;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: 0px;
}

body {
     background-color: beige; /* laterais */
    padding-top: 50px;
    padding: 30px 0;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}



.container {
    max-width: 1100px;
    margin: 0 auto;
    background-color:lightyellow; /* centro */
    padding: 40px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 0;
}

/* NAV */
ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    padding: 16px;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
}

/* UTILITÁRIOS */
.center {
    text-align: center;
    font-weight: 800;
    font-size: 70px;
}

.container {
    padding: 0 50px;
}

/* IMAGENS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* classe corrigida (.img-topo) */
.img-topo {
    position: relative;
    right: -10px;
    top: 50px;
    width: 90px;
    max-width: 100%;
    margin: 0 auto 20px;
}

/* TOPO */
.topo {
    position: relative;
    width: 100%;
    height: 500px;
    background-image:
        linear-gradient(
            rgba(255, 255, 224, 0.85),
            rgba(255, 255, 224, 0.85)
        ),
        url("./img/mapa.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    margin: clamp(30px, 8vw, 120px) 0 20px;
    padding: 80px 20px;
    text-align: center;
}

.topo h2 {
    font-weight: 800;
    font-size: 70px;
}

/* MAIN */
.main {
    text-align: left;
}

.section {
    margin: 40px 0;
}

/* TÍTULOS */
h3 {
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 600px;
    position: relative;
}

/* IMAGENS DECORATIVAS */
.pato-section{
    position: absolute;
    right: 20px;   /* em vez de -700px */
    max-width: 200px;
}



.cachorro-section {
    position: absolute;
    top: -60px;
    left: -60px;
    max-width: 350px;
}

/* TEXTO */
p {
    font-size: 15px;
    line-height: 1.6;
}

.texto-2,
.texto-3 {
    padding-left: 250px;
}

/* SECTIONS */
section {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    margin-top: 40px;
}

.caixa-texto {
    display: flex;
    gap: 0px;
    align-items: center;
}

.caixa-texto p {
     font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.conteudo-texto {
    flex: 1;
    max-width: 650px;
}

.pato-caixa {
    width: 400px;
    height: auto;
}



section p {
    margin-top: 20px;
    line-height: 1.8;
    font-size: 18px;
    padding: 25px;
    margin-bottom: 15px;
    margin-right: 10px;
}

section h3 {
    margin-bottom: 15px;
    font-size: 30px;
    margin-right: 10px;
}

/* HEADER */
header {
    text-align: center;
    background-color: #FFEB3B;
    padding: 20px 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

header nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 10px 20px;
    background-color: #333;
    color: #FFEB3B;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
}

header nav a:hover {
    transform: scale(1.1);
    background-color: #FFF176;
    
}

nav {
    background-color: #f5f5f0; /* papel de jornal */
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    margin: 0;
    padding-top: 80px;
    align-items:flex-end;
    
}

nav ul li a {
    color: #666;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 10px;
    display: inline-block
}


/* FOOTER */
footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid white;
    background-color: white;
    font-size: 14px;
    color: #333;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.5);
}

footer p {
    font-size: 20px;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

/* RESET */
* {
    box-sizing: border-box;
}

/* CENTRALIZAÇÃO GERAL */
section, main, header, footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
