/* ========================================
   RESET E ESTILOS GLOBAIS
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    color: #333;
    line-height: 1.6;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

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

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

/* ========================================
   CLASSES DE ANIMAÇÃO
   ======================================== */

.carousel-fade {
    animation: fade 0.5s ease-in-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* ========================================
   HEADER
   ======================================== */

header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header .header-wave {
    background: linear-gradient(to right, #dbeafe, #f0f9ff);
}

/* ========================================
   CARROSSEL
   ======================================== */

#carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 240px;
}

#carouselImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-fade {
    animation: fade 0.5s ease-in-out;
}

/* Botões do carrossel */
#carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

#carousel button:hover {
    background-color: rgba(255, 255, 255, 1);
}

#carousel button:first-of-type {
    left: 1.5rem;
}

#carousel button:last-of-type {
    right: 1.5rem;
}

/* Indicadores do carrossel */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffffff;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   FLIP CARDS (3D)
   ======================================== */

.flip-card-container {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, 
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* ========================================
   CARDS
   ======================================== */

.card-animate-hover {
    transition: all 0.3s ease;
}

.card-animate-hover:hover {
    transform: translateY(-5px);
}

/* ========================================
   SEÇÕES
   ======================================== */

section {
    padding: 3rem 1rem;
    margin: 2rem 0;
}

section h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1e40af;
}

section h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
}

/* ========================================
   GRADIENTES
   ======================================== */

.header-wave {
    background: linear-gradient(to right, #dbeafe, #f0f9ff);
}

.gradient-blue-slate {
    background: linear-gradient(to right, #2563eb, #475569);
}

/* ========================================
   CONTAINER
   ======================================== */

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

/* ========================================
   GRID
   ======================================== */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   FLEXBOX
   ======================================== */

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* ========================================
   ESPAÇAMENTO
   ======================================== */

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

/* ========================================
   DIMENSÕES
   ======================================== */

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-3 {
    width: 0.75rem;
}

.w-8 {
    width: 2rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-24 {
    width: 6rem;
}

.h-full {
    height: 100%;
}

.h-3 {
    height: 0.75rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-24 {
    height: 6rem;
}

.h-32 {
    height: 8rem;
}

.h-96 {
    height: 24rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-6xl {
    max-width: 72rem;
}

/* ========================================
   CORES DE FUNDO
   ======================================== */

.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-green-600 {
    background-color: #16a34a;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-blue-400 {
    background-color: #60a5fa;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-slate-700 {
    background-color: #334155;
}

.bg-slate-800 {
    background-color: #1e293b;
}

.bg-slate-900 {
    background-color: #0f172a;
}

.bg-slate-950 {
    background-color: #020617;
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(249 250 251 / 0));
}

.from-blue-100 {
    --tw-gradient-from: #dbeafe;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(219 234 254 / 0));
}

.from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(96 165 250 / 0));
}

.from-slate-900 {
    --tw-gradient-from: #0f172a;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(15 23 42 / 0));
}

.to-white {
    --tw-gradient-to: #ffffff;
}

.to-blue-600 {
    --tw-gradient-to: #2563eb;
}

.to-slate-900 {
    --tw-gradient-to: #0f172a;
}

.to-slate-950 {
    --tw-gradient-to: #020617;
}

/* ========================================
   CORES DE TEXTO
   ======================================== */

.text-white {
    color: #ffffff;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-900 {
    color: #111827;
}

.text-blue-100 {
    color: #dbeafe;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-green-600 {
    color: #16a34a;
}

.text-green-700 {
    color: #15803d;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-700 {
    color: #334155;
}

.text-slate-800 {
    color: #1e293b;
}

.text-yellow-400 {
    color: #facc15;
}

/* ========================================
   BORDAS
   ======================================== */

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-t-4 {
    border-top-width: 4px;
}

.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.border-solid {
    border-style: solid;
}

.border-white {
    border-color: #ffffff;
}

.border-blue-400 {
    border-color: #60a5fa;
}

.border-blue-600 {
    border-color: #2563eb;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.border-slate-300 {
    border-color: #cbd5e1;
}

.border-slate-700 {
    border-color: #334155;
}

.border-gray-700 {
    border-color: #374151;
}

.border-green-600 {
    border-color: #16a34a;
}

/* ========================================
   ARREDONDAMENTO
   ======================================== */

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* ========================================
   SOMBRAS
   ======================================== */

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ========================================
   TIPOGRAFIA
   ======================================== */

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* ========================================
   TRANSIÇÕES
   ======================================== */

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* ========================================
   TRANSFORMAÇÕES
   ======================================== */

.scale-110 {
    transform: scale(1.1);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

/* ========================================
   OVERFLOW
   ======================================== */

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* ========================================
   POSICIONAMENTO
   ======================================== */

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-1\/2 {
    left: 50%;
}

.top-1\/2 {
    top: 50%;
}

.z-10 {
    z-index: 10;
}

.z-40 {
    z-index: 40;
}

/* ========================================
   DISPLAY
   ======================================== */

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:text-sm {
        font-size: 0.875rem;
    }

    .md\:text-base {
        font-size: 1rem;
    }

    .md\:text-lg {
        font-size: 1.125rem;
    }

    .md\:text-xl {
        font-size: 1.25rem;
    }

    .md\:text-2xl {
        font-size: 1.5rem;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:p-6 {
        padding: 1.5rem;
    }

    .md\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .md\:py-3 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:mb-4 {
        margin-bottom: 1rem;
    }

    .md\:mb-6 {
        margin-bottom: 1.5rem;
    }

    .md\:mb-8 {
        margin-bottom: 2rem;
    }

    .md\:mb-12 {
        margin-bottom: 3rem;
    }

    .md\:mt-4 {
        margin-top: 1rem;
    }

    .md\:mt-8 {
        margin-top: 2rem;
    }

    .md\:w-12 {
        width: 3rem;
    }

    .md\:w-16 {
        width: 4rem;
    }

    .md\:w-24 {
        width: 6rem;
    }

    .md\:h-12 {
        height: 3rem;
    }

    .md\:h-16 {
        height: 4rem;
    }

    .md\:h-20 {
        height: 5rem;
    }

    .md\:h-24 {
        height: 6rem;
    }

    .md\:h-96 {
        height: 24rem;
    }

    .md\:left-6 {
        left: 1.5rem;
    }

    .md\:right-6 {
        right: 1.5rem;
    }

    .md\:bottom-8 {
        bottom: 2rem;
    }

    .md\:bottom-16 {
        bottom: 4rem;
    }
}

@media (max-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   HOVER STATES
   ======================================== */

.hover\:bg-green-50:hover {
    background-color: #f0fdf4;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.hover\:bg-slate-600:hover {
    background-color: #475569;
}

.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:bg-opacity-75:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.hover\:bg-opacity-100:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* ========================================
   OPACITY
   ======================================== */

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-100 {
    opacity: 1;
}

/* ========================================
   FLEX WRAP
   ======================================== */

.flex-wrap {
    flex-wrap: wrap;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* ========================================
   BREAK WORD
   ======================================== */

.break-all {
    word-break: break-all;
}

/* ========================================
   LEADING (LINE HEIGHT)
   ======================================== */

.leading-tight {
    line-height: 1.25;
}

/* ========================================
   POINTER EVENTS
   ======================================== */

.pointer-events-none {
    pointer-events: none;
}

/* ========================================
   CURSOR
   ======================================== */

button {
    cursor: pointer;
}

a {
    cursor: pointer;
}