/* ============================================
   ESTÉTICA MAIS ARREDONDADA E BONITA
   ============================================ */

:root {
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 50%;
}

/* ============================================
   ELEMENTOS GERAIS COM BORDER-RADIUS
   ============================================ */

/* Cards mais arredondados */
.card {
    border-radius: var(--radius-xl) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover {
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Botões mais arredondados */
.btn {
    border-radius: var(--radius-lg) !important;
    padding: 0.8rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-primary {
    border-radius: var(--radius-lg);
}

.btn-secondary {
    border-radius: var(--radius-lg);
}

.btn-outline-primary {
    border-radius: var(--radius-lg);
}

.btn-light {
    border-radius: var(--radius-lg);
}

.btn-lg {
    border-radius: var(--radius-lg);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Inputs mais arredondados */
input,
textarea,
select {
    border-radius: var(--radius-md) !important;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecf0;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-radius: var(--radius-md);
    border-color: #1a4789;
}

/* Hero section com edges suaves */
.hero {
    border-radius: 0;
    overflow: hidden;
}

/* Video wrapper arredondado */
.video-wrapper {
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.video-wrapper:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-xl);
}

/* Imagens arredondadas */
img {
    border-radius: var(--radius-lg) !important;
}

.about-image img {
    border-radius: var(--radius-xl) !important;
}

/* Seções com efeito suave */
.section {
    border-radius: 0;
}

/* ============================================
   BADGES E ELEMENTOS PEQUENOS
   ============================================ */

.badge {
    border-radius: var(--radius-full) !important;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.fake-stamp {
    border-radius: var(--radius-md) !important;
}

/* ============================================
   CONTAINERS COM ARREDONDAMENTO
   ============================================ */

.contact-form-box {
    border-radius: var(--radius-xl) !important;
}

.contact-info-box {
    border-radius: var(--radius-xl) !important;
}

.card-body {
    border-radius: var(--radius-lg);
}

.form-group {
    border-radius: var(--radius-md);
}

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

/* Gradiente Hero Premium */
.hero {
    background: linear-gradient(
        135deg,
        #1a4789 0%,
        #2d5fa3 25%,
        #0d2249 75%,
        #051423 100%
    ) !important;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Gradiente em Card ao Hover */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 71, 137, 0.03) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.card:hover::after {
    opacity: 1;
}

/* Gradiente em Botões */
.btn-primary {
    background: linear-gradient(
        135deg,
        #1a4789 0%,
        #2d5fa3 100%
    ) !important;
    box-shadow: 0 4px 20px rgba(26, 71, 137, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        #2d5fa3 0%,
        #1a4789 100%
    ) !important;
    box-shadow: 0 8px 32px rgba(26, 71, 137, 0.35);
}

/* Gradiente em Background Sections */
.bg-light {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        rgba(248, 249, 251, 0.6) 50%,
        #ffffff 100%
    ) !important;
}

.bg-primary {
    background: linear-gradient(
        135deg,
        #1a4789 0%,
        #2d5fa3 50%,
        #0d2249 100%
    ) !important;
}

/* Gradiente Text em Section Headers */
.section-header h2 {
    background: linear-gradient(
        135deg,
        #1a4789 0%,
        #2d5fa3 50%,
        #0d2249 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ============================================
   ANIMAÇÕES AO SCROLL
   ============================================ */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes para scroll trigger */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.scroll-animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.scroll-animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.scroll-animate-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Aplicar animações automáticamente */
.card {
    animation: none;
}

.card:nth-child(1) { animation: none; }
.card:nth-child(2) { animation: none; }
.card:nth-child(3) { animation: none; }
.card:nth-child(4) { animation: none; }
.card:nth-child(5) { animation: none; }

.section {
    animation: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 0.8s cubic-bezier(0.23, 1, 0.320, 1) backwards;
}

.about-image {
    animation: fadeInRight 0.8s cubic-bezier(0.23, 1, 0.320, 1) backwards;
}

.video-wrapper {
    animation: scaleIn 0.8s cubic-bezier(0.23, 1, 0.320, 1) backwards;
}

/* ============================================
   EFEITOS DE HOVER SUAVES
   ============================================ */

.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

/* Efeito em botões */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn:hover::before {
    width: 120px;
    height: 120px;
}

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

.card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 16px 48px rgba(26, 71, 137, 0.12);
}

.btn-primary {
    box-shadow: 0 4px 20px rgba(26, 71, 137, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(26, 71, 137, 0.35);
}

.video-wrapper {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.video-wrapper:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    :root {
        --radius-lg: 16px;
        --radius-xl: 20px;
    }

    .card {
        border-radius: var(--radius-lg);
    }

    .btn {
        border-radius: var(--radius-md);
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) backwards;
    }

    .about-image {
        animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) 0.2s backwards;
    }
}
