/* ========== ESTILOS GERAIS ========== */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e6f3ff 0%, #d4e9f7 100%);
    background-image: url('Imagemfundo.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    /* overflow: hidden; Removido para permitir scroll */
    min-height: 100vh;
}

/* ========== HEADER ========== */
.header {
    background: rgba(227, 237, 234, 0.95);
    padding: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-radius: 0 0 25px 25px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: 90px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #60938a;
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a:hover::before {
    left: 0;
}

.main-content {
    display: none;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO TEXT ========== */
.hero-text {
    position: absolute;
    bottom: 380px;
    left: 50%;
    transform: translateX(-50%);
    padding: 28px 40px;
    text-align: center;
    background: rgba(173, 216, 230, 0.3);
    backdrop-filter: blur(10px);
    width: 95%;
    max-width: 1100px;
    border-radius: 6px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(96, 147, 138, 0.2);
    transition: transform 0.3s ease;
}

.hero-text:hover {
    transform: translateX(-50%) translateY(-3px);
}

.hero-text h2 {
    color: #000000 !important;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    padding: 0;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.hero-text .subtitle {
    color: #000000 !important;
    font-size: 15px;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
}

/* ========== FOOTER ========== */
.footer-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 70px;
    overflow: visible;
    z-index: 90;
}

.footer {
    background-color: rgba(222, 239, 234, 0.937);
    padding: 20px 20px 15px 20px;
    text-align: center;
    position: relative;
    width: 100%;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    min-height: 80px;
}

/* ========== ASSIST BOX ========== */
.assist-box {
    position: fixed;
    left: 20px;
    top: 300px;
    background-color: rgba(255,255,255,0.95);
    padding: 14px 18px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #0b3b2f;
    cursor: pointer;
    z-index: 60;
    transition: transform 0.18s, box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.assist-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.assist-box-header {
    display: inline-block;
    background: #ff6a00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.45);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.assist-box-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff8c33;
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 5px;
}

.assist-box-header:hover,
.assist-box-header:focus {
    color: #fff;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.6);
}

.assist-box-header:hover::before,
.assist-box-header:focus::before {
    left: 0;
}


.lang-toggle-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: rgba(90, 140, 126, 0.6);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 101;
    opacity: 0.6;
}

.lang-toggle-btn:hover {
    opacity: 1;
    background: rgba(90, 140, 126, 0.9);
    transform: scale(1.05);
}

.lang-toggle-btn:active {
    transform: scale(0.98);
}

/* ========== BOTÕES FLUTUANTES ========== */
.floating-rect {
    position: absolute;
    right: 30px;
    top: 18px;
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.95) 100%);
    border: 1px solid rgba(96, 147, 138, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 3px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 120;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px;
    backdrop-filter: blur(10px);
}

.floating-rect:hover { 
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 5px 12px rgba(96, 147, 138, 0.15);
    border-color: rgba(96, 147, 138, 0.4);
}

.floating-rect:active { 
    transform: translateY(-2px) scale(0.98);
}

.floating-rect img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.floating-left {
    position: absolute;
    right: 30px;
    top: 18px;
    width: 110px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(200, 200, 200, 0.3);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 20;
    transition: all 0.3s ease;
    padding: 4px;
    opacity: 0.75;
}

.floating-left:hover { 
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.floating-left:active { 
    transform: translateY(-2px) scale(0.98);
}

.floating-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* ========== SEÇÃO DE PARCERIAS ========== */
.parcerias-section {
    position: absolute;
    right: 20px;
    top: -45px;
    background: rgba(173, 216, 230, 0.3);
    border-radius: 14px;
    padding: 12px 20px 15px 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 147, 138, 0.2);
    z-index: 120;
    pointer-events: auto;
}

.parcerias-titulo {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: 0.4px;
}

.parcerias-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.parceria-item {
    width: 130px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.95) 100%);
    border: 1px solid rgba(96, 147, 138, 0.2);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
    opacity: 0.75;
}

.parceria-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.parceria-item:active {
    transform: translateY(-2px) scale(0.98);
}

.parceria-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.floating-winmax {
    position: absolute;
    right: 190px;
    top: 18px;
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.95) 100%);
    border: 1px solid rgba(96, 147, 138, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 3px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 120;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px;
    backdrop-filter: blur(10px);
}

.floating-winmax:hover { 
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 5px 12px rgba(96, 147, 138, 0.15);
    border-color: rgba(96, 147, 138, 0.4);
}

.floating-winmax:active { 
    transform: translateY(-2px) scale(0.98);
}

.floating-winmax img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* ========== LINKS LEGAIS ========== */
.legal-links {
    text-align: center;
    padding: 8px 20px;
    background: transparent;
    margin: 8px 0 0 0;
    line-height: 1.4;
}

.legal-links a {
    color: #000000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 6px;
}

.legal-links a:hover {
    color: #5a8c7e;
    text-decoration: underline;
}

.legal-links a:not(:last-child)::after {
    content: " |";
    margin-left: 6px;
    color: rgba(0, 0, 0, 0.4);
}

/* ========== BANNER DE COOKIES ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #5a8c7e;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-accept {
    background-color: #5a8c7e;
    color: white;
}

.btn-accept:hover {
    background-color: #4a7369;
    transform: scale(1.05);
}

.btn-reject {
    background-color: #6c757d;
    color: white;
}

.btn-reject:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

.btn-info {
    background-color: transparent;
    color: #5a8c7e;
    border: 2px solid #5a8c7e;
}

.btn-info:hover {
    background-color: #5a8c7e;
    color: white;
}

/* ========== MODAL DE COOKIES ========== */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-modal-header {
    padding: 25px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #5a8c7e 0%, #4a7369 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-modal {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 25px;
}

.modal-intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-category {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.cookie-category:hover {
    border-color: #5a8c7e;
    box-shadow: 0 4px 12px rgba(90, 140, 126, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.category-title {
    display: flex;
    gap: 15px;
    flex: 1;
}

.category-title h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.category-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.required-badge {
    display: inline-block;
    background: #ffc107;
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

/* ========== SWITCH TOGGLE ========== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #5a8c7e;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-details {
    background: transparent;
    border: 1px solid #5a8c7e;
    color: #5a8c7e;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.toggle-details:hover {
    background: #5a8c7e;
    color: white;
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s;
}

.toggle-details.active .toggle-icon {
    transform: rotate(180deg);
}

.cookie-details {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #5a8c7e;
}

.cookie-details ul {
    margin: 0;
    padding-left: 20px;
}

.cookie-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.cookie-modal-footer .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-save {
    background-color: #5a8c7e;
    color: white;
}

.btn-save:hover {
    background-color: #4a7369;
    transform: scale(1.05);
}

.btn-accept-all {
    background-color: #28a745;
    color: white;
}

.btn-accept-all:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.btn-reject-all {
    background-color: #6c757d;
    color: white;
}

.btn-reject-all:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

.buttons-footer-container {
    position: relative;
    width: 100%;
}

/* ========== ACESSIBILIDADE: REDUÇÃO DE MOVIMENTO ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


