@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html,
body{
    min-height:100%;
}

body{
    background:#fff8f9;
    min-height:100vh;
    overflow-x:hidden;
    display:flex;
    flex-direction:column;
}

/* HEADER */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 8%;
    background:#d94f70;
}

.logo{
    font-size:36px;
    font-weight:800;
    color:white;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

/* Subtítulo da página Cadastrar Pet */
.container-pet .logo p{
    font-family:'Nunito', sans-serif;
    color:#777;
    font-size:15px;
    font-weight:500;
    line-height:1.5;
    letter-spacing:.2px;
    margin-top:10px;
    text-align:center;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#d94f70;
}

.actions{
    display:flex;
    gap:12px;
}

.btn-anunciar{
    background:#d94f70;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.btn-login{
    background:white;
    color:#d94f70;
    border:2px solid #d94f70;
    padding:12px 25px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

/* ÁREA PRINCIPAL */

main,
.page-content,
.login-area{
    flex:1;
}

/* HERO */

.hero{
    min-height:85vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:30px 8%;
}

.hero-text{
    width:50%;
}

.hero-text h1{
    font-size:88px;
    line-height:90px;
    color:#15152f;
    font-weight:800;
    margin-bottom:25px;
}

.hero-text p{
    color:#555;
    font-size:20px;
    line-height:34px;
    max-width:650px;
}

/* BOTÕES */

.hero-buttons{
    display:flex;
    gap:18px;
    margin-top:35px;
}

.primary,
.secondary,
.third{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 25px;
    border-radius:18px;
    cursor:pointer;
    transition:.3s;
    text-decoration:none;
}

.primary,
.third{
    background:#d94f70;
    color:white;
    border:none;
}

.secondary{
    background:white;
    color:#d94f70;
    border:2px solid #d94f70;
}

.primary:hover,
.secondary:hover,
.third:hover{
    transform:translateY(-3px);
}

.primary div,
.secondary div,
.third div{
    display:flex;
    flex-direction:column;
    text-align:left;
}

.primary span,
.secondary span,
.third span{
    font-size:13px;
}

/* INFO BOX */

.info-box{
    margin-top:25px;
    background:white;
    border:1px solid #ece2e5;
    border-radius:16px;
    padding:20px;
    font-weight:500;
}

/* ESTATÍSTICAS */

.stats{
    margin-top:30px;
    background:#fdecef;
    border-radius:20px;
    padding:30px;
    max-width:600px;
}

.stats h3{
    color:#d94f70;
    margin-bottom:10px;
}

.number{
    font-size:52px;
    font-weight:800;
    color:#d94f70;
}

.badge{
    display:inline-block;
    margin-top:10px;
    background:white;
    color:#2faa5d;
    padding:8px 16px;
    border-radius:50px;
    font-weight:600;
}

/* IMAGEM */

.hero-image{
    position:relative;
    width:45%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image::before{
    content:'';
    position:absolute;
        width:min(630px, 44vw);
    height:min(630px, 44vw);

    border-radius:50%;
    background:#fde3e8;
}

.hero-image img{
    position:relative;
        width:min(600px, 42vw);
    height:min(600px, 42vw);

    border-radius:50%;
    object-fit:cover;
    z-index:2;
}

/* SEÇÃO SOBRE */

.about-section{
    background:white;
    padding:60px 8%;
    margin-top:60px;
}

.about-section h2{
    font-size:48px;
    color:#15152f;
    font-weight:800;
    margin-bottom:20px;
    text-align:center;
}

.about-section p{
    color:#555;
    font-size:18px;
    line-height:32px;
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

/* RODAPÉ PADRÃO */

footer,
.site-footer{
    width:100%;
    min-height:90px;
    margin:auto 0 0;
    padding:18px 20px;
    background:#d94f70;
    color:white;
    text-align:center;
    border-radius:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}

footer p,
.site-footer p{
    margin:3px 0;
    line-height:1.4;
    font-size:14px;
}

footer strong,
.site-footer strong{
    font-size:17px;
    font-weight:700;
}

footer a,
.site-footer a{
    color:white;
    text-decoration:none;
}

footer a:hover,
.site-footer a:hover{
    text-decoration:underline;
}

/* Caso ainda exista o modelo antigo de rodapé, estas regras evitam
   que ele crie colunas e mantenham o rodapé simples. */

.footer-content{
    display:block;
    width:100%;
    margin:0;
}

.footer-column{
    display:none;
}

.footer-bottom{
    border:0;
    padding:0;
    color:inherit;
    text-align:center;
}

/* RESPONSIVO */

@media(max-width:1200px){
    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-text{
        width:100%;
    }

    .hero-text h1{
        font-size:60px;
        line-height:65px;
    }

    .hero-image{
        width:100%;
        margin-top:50px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .stats{
        margin:auto;
        margin-top:30px;
    }

    .about-section h2{
        font-size:36px;
    }

    .about-section p{
        font-size:16px;
    }
}

@media(max-width:600px){
    footer,
    .site-footer{
        min-height:85px;
        padding:15px 10px;
        margin:auto 0 0;
    }

    footer p,
    .site-footer p{
        font-size:13px;
    }

    footer strong,
    .site-footer strong{
        font-size:16px;
    }
}


/* ============================================================
   CAMADA RESPONSIVA COMPLEMENTAR
   ============================================================ */

*,
*::before,
*::after{
    max-width:100%;
}

img,
svg,
video{
    max-width:100%;
}

button,
input,
select,
textarea{
    font:inherit;
}

input,
select,
textarea{
    max-width:100%;
}

textarea{
    resize:vertical;
}

pre,
code{
    max-width:100%;
    overflow-x:auto;
}

@media (max-width: 900px){
    header{
        gap:16px;
        padding:18px 5%;
        flex-wrap:wrap;
    }

    header .logo,
    .logo{
        font-size:clamp(24px, 6vw, 36px);
    }

    header nav,
    header .header-actions,
    header .actions{
        gap:8px;
        flex-wrap:wrap;
    }

    nav{
        gap:16px;
        flex-wrap:wrap;
    }

    .hero{
        padding:24px 5%;
    }

    .hero-image::before{
        width:min(80vw, 630px);
        height:min(80vw, 630px);
    }

    .hero-image img{
        width:min(76vw, 600px);
        height:min(76vw, 600px);
    }

    .login-area,
    .page-content{
        padding:24px 12px;
    }

    .login-container,
    .container-pet{
        width:min(100% - 24px, 760px);
        padding:32px 24px;
    }

    .conta-main,
    .editar-conta-main,
    .editar-main,
    .interessados-main,
    .meus-pets-main,
    .historico-page,
    .senha-area,
    .senha-container,
    .ajuda-page,
    .detalhes-main{
        width:min(100% - 24px, 1120px);
    }

    .cards,
    .pets-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .form-grid,
    .dados-grid,
    .historico-grid,
    .interesse-form-grid,
    .duas-colunas{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px){
    header{
        align-items:stretch;
        padding:16px 20px;
    }

    header .logo{
        width:100%;
        text-align:center;
    }

    header nav,
    header .header-actions,
    header .actions{
        width:100%;
        justify-content:center;
    }

    header nav a,
    header .header-actions a,
    header .actions a,
    header .actions button{
        min-width:0;
        flex:1 1 auto;
        text-align:center;
        white-space:normal;
    }

    .hero{
        min-height:auto;
        padding:32px 20px 44px;
    }

    .hero-text h1{
        font-size:clamp(38px, 13vw, 60px);
        line-height:1.05;
    }

    .hero-text p{
        font-size:17px;
        line-height:1.6;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
        margin-top:24px;
    }

    .hero-buttons a,
    .hero-buttons button{
        width:100%;
        justify-content:center;
    }

    .hero-image{
        width:100%;
        margin-top:28px;
    }

    .hero-image::before{
        width:min(82vw, 420px);
        height:min(82vw, 420px);
    }

    .hero-image img{
        width:min(78vw, 390px);
        height:min(78vw, 390px);
    }

    .about-section{
        padding:42px 20px;
        margin-top:28px;
    }

    .about-section h2{
        font-size:clamp(28px, 9vw, 36px);
    }

    .about-section p{
        font-size:16px;
        line-height:1.65;
    }

    .login-container,
    .container-pet,
    .form-card,
    .dados-card,
    .interessado-card,
    .interesse-box,
    .bloco,
    .exclusao-card,
    .saida-card,
    .historico-card,
    .ajuda-conteudo{
        padding:22px 18px !important;
    }

    .conta-header,
    .topo,
    .editar-topo,
    .meus-pets-topo,
    .historico-topo,
    .senha-cabecalho,
    .ajuda-cabecalho{
        align-items:stretch !important;
        flex-direction:column !important;
        gap:14px;
    }

    .conta-acoes,
    .acoes-pets,
    .acoes,
    .exclusao-acoes,
    .saida-acoes{
        width:100%;
        flex-direction:column !important;
        align-items:stretch !important;
    }

    .conta-acoes a,
    .acoes-pets a,
    .acoes a,
    .acoes button,
    .exclusao-acoes a,
    .exclusao-acoes button,
    .saida-acoes a,
    .saida-acoes button,
    .voltar{
        width:100%;
        text-align:center;
        white-space:normal;
    }

    .perfil-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:22px 18px !important;
    }

    .form-grid,
    .dados-grid,
    .historico-grid,
    .interesse-form-grid,
    .duas-colunas,
    .dados{
        grid-template-columns:1fr !important;
    }

    .cards,
    .pets-grid{
        grid-template-columns:1fr !important;
        gap:16px;
    }

    .container{
        padding:28px 16px;
    }

    .title{
        font-size:clamp(27px, 9vw, 36px);
    }

    .subtitle{
        line-height:1.5;
    }

    .card img,
    .pet-card img,
    .foto-pet{
        height:auto;
        max-height:300px;
        min-height:0;
        object-fit:cover;
    }

    .info,
    .pet-card-content{
        padding:18px !important;
    }

    .btn-filtro{
        top:80px;
        padding:10px;
        font-size:20px;
    }

    .filtros{
        width:min(300px, calc(100% - 16px));
        padding:24px 18px;
    }

    .detalhes-header{
        padding:16px 20px !important;
        flex-direction:column !important;
        align-items:stretch !important;
    }

    .detalhes-header .voltar,
    .detalhes-header .marca{
        width:100%;
        text-align:center;
    }

    .hero-pet{
        grid-template-columns:1fr !important;
        padding:16px !important;
    }

    .foto-pet{
        width:100%;
        max-height:360px;
    }

    .resumo-pet h2,
    .titulo-pagina{
        font-size:clamp(25px, 8vw, 36px);
        line-height:1.15;
    }

    .chips{
        flex-wrap:wrap;
    }

    .dados-grid{
        gap:10px;
    }

    .footer-links{
        display:flex;
        flex-direction:column;
        gap:10px;
        align-items:center;
    }

    footer,
    .site-footer{
        padding:16px 14px;
    }

    footer p,
    .site-footer p{
        max-width:100%;
        overflow-wrap:anywhere;
    }
}

@media (max-width: 480px){
    body{
        overflow-x:hidden;
    }

    header{
        padding:14px 12px;
    }

    header nav,
    header .header-actions,
    header .actions{
        flex-direction:column;
    }

    header nav a,
    header .header-actions a,
    header .actions a,
    header .actions button,
    .btn,
    .btn-login{
        width:100%;
        padding:11px 12px;
        font-size:14px;
    }

    .login-area,
    .page-content{
        padding:18px 8px;
    }

    .login-container,
    .container-pet{
        width:100%;
        padding:22px 15px !important;
        border-radius:18px;
    }

    .logo h1{
        font-size:clamp(25px, 8vw, 32px);
    }

    .opcao-btn,
    .social-btn,
    .login-btn{
        font-size:14px;
        padding:13px 10px;
    }

    .container,
    .conta-main,
    .editar-conta-main,
    .editar-main,
    .interessados-main,
    .meus-pets-main,
    .historico-page,
    .senha-area,
    .senha-container,
    .ajuda-page,
    .detalhes-main{
        width:calc(100% - 16px);
    }

    .card img,
    .pet-card img{
        max-height:230px;
    }

    .status,
    .status-pet{
        white-space:normal;
        line-height:1.35;
    }

    .dado,
    .interesse-campo,
    .informacao{
        min-width:0;
    }
}


/* GARANTIAS DE FLUIDEZ EM QUALQUER TAMANHO DE TELA */
html{
    width:100%;
    min-width:0;
    overflow-x:hidden;
}

body,
main,
section,
header,
footer,
article,
aside,
form,
fieldset,
.container,
.content{
    min-width:0;
    max-width:100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
label,
legend,
span,
strong,
small{
    overflow-wrap:anywhere;
}

button,
a,
input,
select,
textarea{
    min-height:0;
}

fieldset{
    margin:0;
}

table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
}

iframe,
object,
embed{
    display:block;
    width:100%;
    max-width:100%;
}
