:root {
    --font-family-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --primary-color: #6A3093;
    --secondary-color: #FF7043;
    --accent-color: #26A69A;
    --text-color: #333333;
    --light-text: #F8F9FA;
    --bg-color: #F9F9F9;
    --card-bg: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-color-dark: rgba(0, 0, 0, 0.2);
    --success-color: #22C55E;
    --error-color: #EF4444;
    --alert-color: #F59E0B;
    --dark-bg: #1A202C;
    --dark-card-bg: #2D3748;
    --dark-text: #E2E8F0;
    --nav-height: 70px;
    --container-padding: 0 1rem;
    --section-padding-y: 6rem;
    --section-padding-y-sm: 4rem;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 50px;
    --transition-fast: 0.15s ease-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.4s ease-in-out;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-family-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color var(--transition-medium), color var(--transition-medium);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary-color) 40%, transparent);
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

::-webkit-scrollbar {
    width: 10px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.no-scroll {
    overflow: hidden;
}

.source-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.dark-section .source-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dark-card-bg);
    opacity: 0.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(106, 48, 147, 0.2);
    transform: translateZ(0);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(106, 48, 147, 0.3);
}

.btn:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 2px 8px rgba(106, 48, 147, 0.2);
}

.btn.primary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn.primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn.secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn.secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
}

section:not(.hero):not(.dark-section) .btn.secondary,
footer .btn.secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

section:not(.hero):not(.dark-section) .btn.secondary:hover,
footer .btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn.alert {
    background-color: var(--error-color);
    color: white;
    border-color: var(--error-color);
}

.btn.alert:hover {
    background-color: white;
    color: var(--error-color);
}

.btn.small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 15px 35px var(--shadow-color-dark);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: transform var(--transition-medium), background-color var(--transition-medium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

.card-icon.fake-news {
    background: linear-gradient(135deg, #FF6B6B, #E63946);
}

.card-icon.cyberbullying {
    background: linear-gradient(135deg, #4A90E2, #2196F3);
}

.card-icon.saude {
    background: linear-gradient(135deg, #5CB85C, #4CAF50);
}

.card-icon.privacidade {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
}

.card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-medium), letter-spacing var(--transition-medium);
    display: inline-block;
    margin-top: 1rem;
}

.card-link:hover {
    color: var(--primary-color);
    letter-spacing: 0.8px;
}

section {
    padding: var(--section-padding-y) 0;
    position: relative;
    overflow: hidden;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.dark-section .section-title {
    color: var(--light-text);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #6b7280;
    opacity: 0.9;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dark-section .section-subtitle {
    color: var(--dark-text);
    opacity: 0.85;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.header {
    position: relative;
    z-index: 1001;
}

main {
    flex: 1;
    padding-top: var(--nav-height);
}

.navbar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: var(--nav-height);
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--light-text);
    transition: transform var(--transition-medium);
    margin: 0;
}

.logo h1 span {
    color: var(--secondary-color);
}

.power-btn {
    font-size: 1.9rem;
    color: var(--light-text);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
}

.nav-menu li a.nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu li a.nav-link i {
    font-size: 1.15rem;
    transition: transform var(--transition-medium);
}

.nav-menu li a.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.nav-menu li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(242, 113, 33, 0.15) 0%,
            transparent 80%);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.nav-menu li a.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.nav-menu li a.nav-link:hover i {
    transform: scale(1.2);
}

.nav-menu li a.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu li a.nav-link:hover::after {
    transform: translateY(0);
    opacity: 1;
}

.nav-menu li a.nav-link.active,
.nav-menu li a.nav-link[aria-current="page"] {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.nav-menu li a.nav-link.active::before,
.nav-menu li a.nav-link[aria-current="page"]::before {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    z-index: 1001;
    transform: translateZ(0);
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--light-text);
    border-radius: 10px;
    transition: all var(--transition-medium);
}

.menu-toggle .menu-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity var(--transition-medium);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle:hover .menu-text {
    opacity: 1;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle.active .menu-text {
    opacity: 0;
}

.hero {
    padding: calc(var(--nav-height) + 3rem) 0 8rem;
    background: linear-gradient(125deg,
            var(--primary-color) 0%,
            color-mix(in srgb, var(--primary-color) 60%, var(--accent-color) 40%) 45%,
            var(--accent-color) 100%);
    color: var(--light-text);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: gradientWave 10s linear infinite;
    background-size: 200% 200%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 0;
    pointer-events: none;
    animation: patternMove 5s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--bg-color);
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200,120V73.71c-47.79-22.2-103.59-32.17-158-28-70.36,5.37-136.33,33.31-206.8,37.5C761.36,87.57,687.66,66.33,617,47.95c-69.27-18-138.3-24.88-209.4-13.08-36.15,6-69.85,17.84-104.45,29.34C210.51,95,87,134.29,0,67.53V120Z" fill="black"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M1200,120V73.71c-47.79-22.2-103.59-32.17-158-28-70.36,5.37-136.33,33.31-206.8,37.5C761.36,87.57,687.66,66.33,617,47.95c-69.27-18-138.3-24.88-209.4-13.08-36.15,6-69.85,17.84-104.45,29.34C210.51,95,87,134.29,0,67.53V120Z" fill="black"/></svg>');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap-reverse;
    z-index: 1;
    position: relative;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
    z-index: 1;
    padding: 2rem 0;
}

.hero-image {
    flex: 1;
    max-width: 450px;
    text-align: center;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(94, 53, 177, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease-out;
}

.hero-image:hover img {
    transform: scale(1.05) translateY(-8px) rotate(1deg);
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.4));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

.hero p {
    font-size: clamp(1.15rem, 2.8vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.98;
    max-width: 95%;
    color: var(--light-text);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.2rem 1.8rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.4rem;
    background: linear-gradient(to right, #ff7043, #f06292);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-text {
    font-size: 0.95rem;
    opacity: 0.95;
    display: block;
    max-width: 180px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sobre-projeto {
    background-color: var(--card-bg);
    padding-bottom: var(--section-padding-y);
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sobre-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.sobre-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.sobre-text strong {
    color: var(--primary-color);
}

.sobre-text ul {
    list-style: none;
    margin: 1.8rem 0;
    padding-left: 0;
}

.sobre-text ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.sobre-text ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 1.1em;
}

.sobre-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.sobre-image img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.tabs {
    margin-top: 2.5rem;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.tab-buttons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.8rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 1.8rem;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    border-bottom: 4px solid transparent;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    font-size: 1.05rem;
    opacity: 0.8;
}

.tab-btn:hover {
    color: var(--primary-color);
    opacity: 1;
    background-color: rgba(106, 48, 147, 0.08);
}

.tab-btn.active,
.tab-btn[aria-selected="true"] {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    opacity: 1;
    background-color: rgba(106, 48, 147, 0.12);
}

.tab-content {
    display: none;
    gap: 3rem;
    align-items: center;
    padding: 1.5rem 0;
    animation: fadeIn 0.6s ease-out;
}

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

.tab-content.active {
    display: flex;
}

.tab-text {
    flex: 1.5;
    min-width: 300px;
    text-align: left;
}

.tab-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tab-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.65;
}

.tab-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
}

.tab-text ul li {
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 0.98rem;
}

.tab-text ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.1em;
}

.tab-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: rgba(38, 166, 154, 0.15);
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-sm);
    margin: 1.5rem 0;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.tab-stat i {
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.source-text {
    font-size: 0.8rem;
    display: block;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.tab-image {
    flex: 1;
    text-align: center;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.quiz-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-xl);
    margin-top: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-medium);
    border: 2px solid var(--secondary-color);
    font-size: 1.05rem;
}

.quiz-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.testemunhos {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    padding: var(--section-padding-y) 0;
    isolation: isolate;
}

.testemunhos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--accent-color) 10%, transparent) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--primary-color) 10%, transparent) 0%, transparent 25%);
    z-index: -1;
}

.testemunhos-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2326a69a' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    animation: floatParticles 15s linear infinite;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0) translateX(0);
        animation-timing-function: ease-in-out;
    }
    25% {
        transform: translateY(-30px) translateX(10px);
    }
    50% {
        transform: translateY(-50px) translateX(20px);
        animation-timing-function: ease-in;
    }
    75% {
        transform: translateY(-30px) translateX(10px);
    }
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.depoimento-card {
    background-color: var(--dark-card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.depoimento-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(38, 166, 154, 0.4);
}

.depoimento-texto {
    position: relative;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.depoimento-texto i {
    color: var(--accent-color);
    opacity: 0.6;
    font-size: 2.8rem;
    position: absolute;
    top: -0.7rem;
    left: -0.7rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.depoimento-card:hover .depoimento-texto i {
    opacity: 0.9;
    transform: scale(1.1) rotate(-5deg);
}

.depoimento-texto blockquote {
    margin: 0;
    padding-left: 1.5rem;
}

.depoimento-texto p {
    font-style: italic;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    color: var(--dark-text);
    font-size: 1.05rem;
}

.depoimento-texto strong {
    color: var(--secondary-color);
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1.5rem;
}

.depoimento-autor img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover .depoimento-autor img {
    transform: scale(1.08);
    box-shadow: 0 0 0 5px rgba(38, 166, 154, 0.6);
}

.depoimento-autor h3 {
    margin: 0;
    color: var(--light-text);
    font-size: 1.2rem;
}

.depoimento-autor span {
    font-size: 0.95rem;
    opacity: 0.8;
    color: var(--dark-text);
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding-y) 0;
    animation: gradientWave 10s ease infinite;
    background-size: 200% 200%;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
    animation: patternMove 5s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.cta-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-section .cta-buttons {
    justify-content: center;
    gap: 1.5rem;
}

.quiz-modal,
.desliga-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease-out forwards;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.quiz-modal[hidden],
.desliga-modal[hidden] {
    display: none !important;
}

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

.modal-content {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    max-width: 650px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalScaleUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes modalScaleUp {
    0% {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content p {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.close-modal {
    position: absolute;
    top: 0.8rem;
    right: 1.2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: color var(--transition-medium), transform var(--transition-medium);
    background: none;
    border: none;
    line-height: 1;
    padding: 0.5rem;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--error-color);
    transform: rotate(90deg) scale(1.15);
}

.timer-options {
    display: flex;
    gap: 1.2rem;
    margin: 2.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-option-btn {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    background-color: var(--primary-color);
    color: white;
}

.timer-option-btn:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.timer-setup-content.hidden,
.timer-running-content.hidden,
.timer-finished-content.hidden {
    display: none;
}

.timer-running-content {
    text-align: center;
}

.timer-display {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-progress {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.circle-progress svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bg-ring {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 12;
}

.progress-ring {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 12;
    stroke-dasharray: 314.159;
    stroke-dashoffset: 314.159;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

#time-left {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

#cancel-timer {
    margin-top: 2rem;
}

#close-timer-finished-btn {
    margin-top: 1.5rem;
}

.suggestions {
    margin: 2rem 0;
    text-align: left;
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.suggestions p {
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.suggestions ul {
    list-style: none;
    margin-top: 1rem;
}

.suggestions li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-size: 1rem;
}

.suggestions i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

#quiz-container {
    padding: 1rem 0;
}

#quiz-container h3,
#quiz-modal-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.quiz-question {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.quiz-question:last-of-type {
    border-bottom: none;
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-align: left;
    font-size: 1.15rem;
    color: var(--text-color);
}

.quiz-options label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    font-size: 1rem;
    color: var(--text-color);
}

.quiz-options label:hover {
    background-color: rgba(106, 48, 147, 0.08);
    border-color: var(--primary-color);
}

.quiz-options input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--primary-color);
    transform: scale(1.3);
    flex-shrink: 0;
}

.quiz-options label span {
    flex-grow: 1;
}

.quiz-feedback {
    margin-top: 1.2rem;
    padding: 0.9rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

.quiz-feedback.hidden {
    display: none;
}

.quiz-feedback.correct {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.quiz-feedback.incorrect {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

#submit-quiz {
    display: block;
    width: 100%;
    padding: 1.1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: background-color var(--transition-medium), transform var(--transition-fast);
}

#submit-quiz:hover:not(:disabled) {
    background-color: var(--accent-color);
    transform: scale(1.02);
}

#submit-quiz:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    color: var(--text-color);
    opacity: 0.6;
}

#quiz-result {
    margin-top: 2.2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

#quiz-result.hidden {
    display: none;
}

#quiz-result.good {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

#quiz-result.average {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--alert-color);
    border: 1px solid var(--alert-color);
}

#quiz-result.bad {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

footer {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    padding: var(--section-padding-y-sm) 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
    text-align: left;
}

.footer-logo h2 span {
    color: var(--secondary-color);
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.footer-newsletter p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark-text);
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    outline: none;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: var(--dark-text);
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    opacity: 0.9;
    transition: opacity var(--transition-medium), color var(--transition-medium), padding-left var(--transition-medium);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--dark-text);
    font-size: 2rem;
    opacity: 0.8;
    transition: opacity var(--transition-medium), color var(--transition-medium), transform var(--transition-medium);
}

.social-icons a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.15);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.98rem;
    color: var(--dark-text);
}

.footer-contact i {
    width: 22px;
    text-align: center;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--dark-text);
}

.footer-bottom .credits {
    margin-top: 0.6rem;
    font-size: 0.88rem;
}

.footer-bottom .credits .fa-heart {
    transition: color var(--transition-medium), transform var(--transition-medium);
}

.footer-bottom .credits:hover .fa-heart {
    color: var(--error-color) !important;
    transform: scale(1.3);
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none !important;
}

.animate-fade-in {
    transform: translateY(30px);
}

.animate-fade-in-up {
    transform: translateY(60px);
}

.animate-pop-in {
    transform: scale(0.8);
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .hero-content,
    .hero-image {
        max-width: 100%;
        padding: 0;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero p {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .sobre-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .sobre-text {
        text-align: center;
    }

    .sobre-text ul {
        text-align: left;
        margin: 1.5rem auto;
        max-width: 450px;
    }

    .sobre-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .tab-content {
        flex-direction: column;
    }

    .tab-text {
        text-align: center;
    }

    .tab-text ul {
        text-align: left;
        margin: 1.5rem auto;
        max-width: 450px;
    }

    .tab-stat {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
    }

    .tab-image {
        order: -1;
        margin: 0 auto 2rem;
        max-width: 90%;
    }

    .testemunhos .section-subtitle {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo h2,
    .footer-logo p {
        text-align: center;
    }

    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
        margin-top: 0.8rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 80%;
        max-width: 300px;
    }

    .newsletter-form button {
        width: 80%;
        max-width: 300px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--nav-height));
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-wrapper.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a.nav-link {
        padding: 0.9rem 1rem;
        justify-content: flex-start;
    }

    .nav-actions {
        margin: 2rem 0 0;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: calc(var(--section-padding-y-sm) + 60px);
    }

    .hero::after {
        height: 12vw;
        -webkit-mask-size: 180% 100%;
        mask-size: 180% 100%;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero p {
        font-size: clamp(1rem, 4.5vw, 1.15rem);
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem 1.2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-text {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tabs {
        padding: 1rem;
    }

    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.3rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tab-content {
        gap: 2rem;
    }

    .tab-image {
        max-height: 250px;
        margin: 0 auto 1.5rem;
    }

    .tab-text h3 {
        font-size: 1.7rem;
    }

    .quiz-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }

    .depoimento-card {
        padding: 1.8rem;
    }

    .depoimento-texto i {
        font-size: 2.5rem;
    }

    .depoimento-texto p {
        font-size: 0.95rem;
    }

    .depoimento-autor img {
        width: 55px;
        height: 55px;
    }

    .depoimento-autor h3 {
        font-size: 1.1rem;
    }

    .depoimento-autor span {
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.6rem;
    }

    .close-modal {
        font-size: 2rem;
        top: 0.5rem;
        right: 0.8rem;
    }

    .timer-option-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.3rem;
    }

    .circle-progress {
        width: 140px;
        height: 140px;
    }

    #time-left {
        font-size: 2.2rem;
    }

    .suggestions {
        padding: 1rem;
    }

    .quiz-question p {
        font-size: 1.05rem;
    }

    .quiz-options label {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--nav-height) + 1.5rem);
        padding-bottom: calc(var(--section-padding-y-sm) * 0.8);
    }

    .hero h1 {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .hero p {
        font-size: clamp(0.95rem, 4.5vw, 1.1rem);
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 0.8rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        padding-bottom: 0.8rem;
    }

    .section-title::after {
        width: 60px;
        height: 4px;
    }

    .section-subtitle {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 1.2rem;
    }

    .card h3 {
        font-size: 1.4rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .card-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .tab-text h3 {
        font-size: 1.5rem;
    }

    .tab-text p,
    .tab-text ul li {
        font-size: 0.9rem;
    }

    .tab-stat {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .tab-stat i {
        font-size: 1.1rem;
    }

    .quiz-modal .modal-content,
    .desliga-modal .modal-content {
        padding: 1rem;
    }

    .quiz-modal h3,
    .desliga-modal h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .quiz-question p {
        font-size: 0.95rem;
    }

    .quiz-options label {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    #submit-quiz {
        font-size: 1rem;
        padding: 1rem;
    }

    .depoimento-card {
        padding: 1.5rem;
    }

    .depoimento-texto i {
        font-size: 2.2rem;
    }

    .depoimento-autor img {
        width: 50px;
        height: 50px;
    }

    .depoimento-autor h3 {
        font-size: 1rem;
    }

    .footer-logo h2 {
        font-size: 1.8rem;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 1.2rem;
    }

    .social-icons {
        gap: 1.2rem;
    }

    .social-icons a {
        font-size: 1.5rem;
    }

    .footer-contact p {
        font-size: 0.85rem;
    }
}

/* ===== Botão Voltar ao Topo ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(106, 48, 147, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 25px rgba(106, 48, 147, 0.6);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(0);
}

/* ===== Skip to Content (Acessibilidade) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* ===== Seleção de Texto ===== */
::selection {
    background-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
    color: var(--text-color);
}

/* ===== Print Styles ===== */
@media print {
    .navbar, .back-to-top, .menu-toggle, .cta-buttons, footer {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
