.conteudo-container{
    display: flex;
    justify-content: center;
    gap: 42px;
    align-items: start;
}

/*Animal selecionado*/
.animal-card {
    display: flex;
    gap: 24px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    max-width: 570px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    text-align: left;
}

.animal-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.animal-info {
    flex: 1;
}

.animal-name {
    margin: 0 0 16px;
    font-size: 24px;
    color: #2c3e50;
}

.animal-info dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    row-gap: 10px;
}

.animal-info dt {
    font-weight: 600;
    color: #555;
}

.animal-info dd {
    margin: 0;
    color: #333;
}

/*FAQ*/
.faq-container {
    max-width: 500px;
    margin: 40px 0;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

details {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

summary {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #2c3e50;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 18px;
    color: #2c3e50;
}

details[open] summary::after {
    content: "−";
}

details p {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

/*Formulário*/
form {
    max-width: 500px;
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
    text-align: left;
}

label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
}

label[for="phone"]{
    display:block;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 14px;
}

label:has(+ label.switch){
    line-height: 32px;
    vertical-align: sub;
    margin-right: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    margin-left: 8px;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input[type="checkbox"]:checked ~ .slider {
  background-color: #811D20;
}

.switch input[type="checkbox"]:checked ~ .slider::before {
  transform: translateX(22px);
}

textarea {
    resize: vertical;
}

input:has(+ span.erro),
textarea:has(+ span.erro){
    margin-bottom: 0;
}

span.erro{
    font-size: 13px;
    color: red;
    display: block;
    margin: 4px 0 10px 10px;
}

.g-recaptcha {
    margin-top: 0;
}

button {
    width: 100%;
    background-color: #811D20;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #cf4246;
}

/*Popup mensagem*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup {
    background: #ffffff;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    border-radius: 6px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.popup h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.popup p {
    font-size: 14px;
    margin-bottom: 20px;
}

.popup .btn {
    display: inline-block;
    padding: 10px 16px;
    background: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: 0;
    margin: 0;
}

@media (width <= 600px) {
    form {
        padding: 15px 20px;
    }
}