:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Marcellus", sans-serif;
    --poppins-font: "Poppins", sans-serif;

}

/* Reset and Base Styles */
:root {
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    --default-color: #6c757d;
    --secondary-color: #6c757d;
    --secondary-hover: #5a6268;
    --success-color: #28a745;
    --success-hover: #218838;
    --error-color: #ff0000;
    --border-color: #ddd;
    --white-color: white;
    --text-color: #333;
    --text-light: #555;
    --star-color: #ffbf00;
    /* Default color used for the majority of the text content across the entire website */
    /* #2c3e50 */
    --nav-color: #7e0606;
    /* Color for headings, subheadings and title throughout the website */
    /* #64BEB6 */
    --accent-color: #ce7a7e;
    /* #081e33 */
    --dark-color: #330808;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--poppins-font);
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
    border-top: 5px solid var(--nav-color);
}

/* Container Styles */
header {
    text-align: center;
    margin-bottom: 40px;
}
.section strong {
    color: var(--nav-color);
}

.form-img-all {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Container Image Styles */
.form-container-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.img-forms {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/backgrounds/desktop-grande-work.webp');
    transition: background-image 0.3s ease;
}


h1, h2 {
    font-family: var(--heading-font);
}

h1 {
    font-size: 2.5rem;
    color: var(--nav-color);
    margin-bottom: 15px;
    position: relative;
    animation: slideIn 0.5s ease-out;
}

.section {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.6s ease-out;
}

.section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 1.8rem;
    color: var(--nav-color);
    margin-bottom: 20px;
    position: relative;
    animation: slideIn 0.5s ease-out;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

section .btn {
    font-size: 12px;
}

.btn {
    display: inline-block;
    background-color: var(--nav-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    color: var(--dark-color);
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: 3px solid rgba(0, 86, 179, 0.3);
}

.banner {
    max-width: 1200px;
    height: 160px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.policy-footer {
    text-align: center;
    margin: 3rem auto;
}

.policy-footer .home-link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background-color: var(--nav-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-footer .home-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);

}

.policy-footer .home-link:hover i {
    color: inherit;
    /* Herda a cor do link */
}

a.home-link {
    font-size: 12px;
}

/* Responsive Background Images */
@media screen and (max-width: 1200px) {
    .img-forms {
        background-image: url('../img/backgrounds/desktop-medio-work.webp');
    }
}

@media screen and (max-width: 768px) {
    .img-forms {
        background-image: url('../img/backgrounds/tablet-work.webp');
    }

    .form-container-img {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .img-forms {
        background-image: url('../img/backgrounds/smartphone-work.webp');
    }

    .form-container-img {
        height: 200px;
    }
}

@media screen and (max-width: 370px) {
    .img-forms {
        background-image: url('../img/backgrounds/smartphone_low-work.webp');
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}