:root {
    /* Cores principais */
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #3385d6;
    --white: #ffffff;
    --black: #000000;

    /* Cores secundárias */
    --gray-light: #f5f7fa;
    --gray-medium: #e0e6ed;
    --gray-dark: #64748b;
    --text-primary: #1e293b;
    --text-secondary: #475569;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 102, 204, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 102, 204, 0.2);

    /* Transições */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Espaçamentos */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e9f2 100%);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header p {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-carousel {
    max-width: 1200px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.carousel-container {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    opacity: 0;
    transition: var(--transition-smooth);
    transform: scale(0.95);
}

.carousel-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition-base);
}

.indicator:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.numbers-info {
    padding: 80px 20px;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contact {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-contact svg {
    transition: var(--transition-base);
}

.cta-contact:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--gray-light);
}

.cta-contact:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.cta-contact:active {
    transform: translateY(-1px) scale(1);
}

footer {
    background: var(--text-primary);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

footer p {
    max-width: 1200px;
    margin: 0 auto;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1024px) {

    header h1 {
        font-size: 3rem;
    }

    header p {
        font-size: 1.2rem;
    }

    .carousel-track {
        height: 450px;
    }

    .stats {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

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

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {

    html {
        font-size: 15px;
    }

    header {
        padding: 80px 20px 60px;
        min-height: 350px;
    }

    header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    header p {
        font-size: 1.1rem;
    }

    .element-1 {
        width: 60px;
        height: 60px;
    }

    .element-2 {
        width: 90px;
        height: 90px;
    }

    .element-3 {
        width: 50px;
        height: 50px;
    }

    .stats-carousel {
        margin: -40px auto 60px;
    }

    .carousel-container {
        padding: 15px;
        border-radius: 20px;
    }

    .carousel-track {
        height: 380px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .carousel-indicators {
        gap: 10px;
        margin-top: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 28px;
    }

    .numbers-info {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .stat-item {
        padding: 35px 25px;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
    }

    .stat-icon svg {
        width: 40px;
        height: 40px;
    }

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

    .stat-label {
        font-size: 1rem;
    }

    .cta-area {
        padding: 50px 30px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-contact {
        padding: 16px 35px;
        font-size: 1rem;
    }

    footer {
        padding: 25px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {

    html {
        font-size: 14px;
    }

    header {
        padding: 60px 15px 50px;
        min-height: 300px;
    }

    header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .element-1 {
        width: 40px;
        height: 40px;
    }

    .element-2 {
        width: 70px;
        height: 70px;
    }

    .element-3 {
        width: 35px;
        height: 35px;
    }

    .stats-carousel {
        margin: -30px auto 50px;
        padding: 0 15px;
    }

    .carousel-container {
        padding: 12px;
        border-radius: 16px;
    }

    .carousel-track {
        height: 300px;
    }

    .carousel-image {
        border-radius: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .prev-btn {
        left: 8px;
    }

    .next-btn {
        right: 8px;
    }

    .carousel-indicators {
        gap: 8px;
        margin-top: 16px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }

    .numbers-info {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-title::after {
        width: 50px;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .stats {
        gap: 18px;
        margin-bottom: 50px;
    }

    .stat-item {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .stat-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }

    .stat-icon svg {
        width: 36px;
        height: 36px;
    }

    .stat-number {
        font-size: 2.8rem;
        margin: 18px 0 8px;
    }

    .stat-label {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .cta-area {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .cta-decoration {
        width: 250px;
        height: 250px;
        top: -125px;
        right: -125px;
    }

    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .cta-contact {
        padding: 14px 30px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .cta-contact svg {
        width: 20px;
        height: 20px;
    }

    footer {
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 360px) {

    header {
        padding: 50px 12px 40px;
    }

    header h1 {
        font-size: 1.7rem;
    }

    header p {
        font-size: 0.95rem;
    }

    .stats-carousel {
        margin: -25px auto 40px;
    }

    .carousel-track {
        height: 250px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .numbers-info {
        padding: 40px 12px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .stat-item {
        padding: 25px 18px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }

    .cta-area {
        padding: 35px 18px;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .cta-description {
        font-size: 0.9rem;
    }

    .cta-contact {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {

    header {
        padding: 40px 20px 30px;
        min-height: auto;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.95rem;
    }

    .floating-element {
        display: none;
    }

    .carousel-track {
        height: 280px;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

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

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

    .cta-area {
        padding: 30px 25px;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}


@media screen and (max-width: 768px) {

    .floating-element {
        animation-duration: 8s;
    }

    .stat-item,
    .carousel-container {
        box-shadow: var(--shadow-sm);
    }

    .stat-item:hover,
    .carousel-container {
        box-shadow: var(--shadow-md);
    }

    * {
        transition-duration: 0.2s !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-color: #0052cc;
        --primary-dark: #003d99;
        --text-primary: #000000;
        --text-secondary: #333333;
    }

    .stat-item,
    .carousel-container,
    .cta-area {
        border: 2px solid var(--gray-dark);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --gray-light: #1e293b;
        --gray-medium: #334155;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
    }

    body {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .stat-item,
    .carousel-container {
        background: #1e293b;
        border: 1px solid #334155;
    }

    footer {
        background: #0f172a;
    }
}