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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-20) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(0, 19, 42, 0.94) 0%, rgba(0, 19, 42, 0.82) 40%, rgba(0, 19, 42, 0.45) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 760px;
    text-align: left;
}

.hero__title {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 1.2rem + 4vw, 4.2rem);
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    text-wrap: balance;
    color: #ffffff;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title span {
    display: block;
}

.hero__lead {
    margin: 0 0 2.5rem 0;
    font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
    line-height: 1.65;
    opacity: 0;
    max-width: 54ch;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero__lead span {
    display: block;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero .btn--hero-primary {
    color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.hero .btn--hero-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.hero .btn--hero-secondary {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
}

.hero .btn--hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 900px) {
    .hero {
        min-height: 70vh;
        padding: var(--space-12) 0;
    }
}

.section__kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-container);
    font-weight: 700;
}

.positioning {
    background: var(--surface-container-lowest); /* Fundo Branco */
}

.positioning__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 900px) {
    .positioning__grid {
        grid-template-columns: 1.2fr 1.8fr;
        gap: var(--space-12);
        align-items: start;
    }
}

.positioning__title {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--primary);
    margin: 0;
}

.positioning__lead {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
    line-height: 1.6;
    font-weight: 600;
    color: var(--on-surface);
    margin: 0 0 1.5rem 0;
}

.positioning__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
    margin: 0;
}

.why-paraguay {
    background: var(--surface-container-low); /* Fundo Cinza Sutil */
}

.why-paraguay__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

@media (min-width: 900px) {
    .why-paraguay__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-12);
    }
}

.why-paraguay__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--on-surface);
    margin: 1.25rem 0 1rem 0;
}

.why-paraguay__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
    margin: 0 0 2rem 0;
}

.why-paraguay__list-wrapper {
    margin-top: 1.5rem;
}

.why-paraguay__list-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.why-paraguay__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 600px) {
    .why-paraguay__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.why-paraguay__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.why-paraguay__icon {
    flex: 0 0 auto;
    color: var(--primary);
    margin-top: 0.15rem;
}

.why-paraguay__item-text {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--on-surface);
}

.why-paraguay__media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 480px;
}

.why-paraguay__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .why-paraguay__media {
        height: 320px;
    }
}

.about-home {
    background: var(--surface-container-lowest); /* Fundo Branco */
}

.about-home__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

@media (min-width: 900px) {
    .about-home__grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: var(--space-12);
    }
}

.about-home__media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 480px;
}

.about-home__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-home__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--on-surface);
    margin: 1.25rem 0 1rem 0;
}

.about-home__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
    margin: 0 0 1.25rem 0;
}

.about-home__outro {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 1.5rem 0 0 0;
}

@media (max-width: 900px) {
    .about-home__grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .about-home__media {
        width: 100%;
        height: 320px;
    }
}

.services-home {
    background: var(--surface-container-low); /* Fundo Cinza Sutil */
}

.services-home__header--center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-10) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-home__header--center .section__kicker {
    margin-bottom: 0.5rem;
    color: var(--primary-container);
    font-weight: 700;
}

.services-home__header--center .section__title {
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.services-home__lead-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin: 0;
}

.services-home__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .services-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-home__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.service-card {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 1px solid rgba(0, 19, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0, 19, 42, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-container);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 42, 0.08);
    border-color: rgba(0, 19, 42, 0.16);
}

.service-card:hover::before {
    transform: scaleY(1);
    background: var(--primary);
}

.service-card__number {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(21, 40, 64, 0.08);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease, transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover .service-card__number {
    color: var(--primary-container);
    opacity: 0.15;
    transform: scale(1.05);
}

.service-card__title {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.85rem 0;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
    color: var(--primary-container);
}

.service-card__text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin: 0;
}

/* Centralização inteligente do Card 7 no desktop e tablet para manter simetria perfeita e harmônica */
@media (min-width: 1024px) {
    .services-home__grid > article:nth-child(7) {
        grid-column: 2; /* Fica na coluna do meio da última linha */
    }
}

@media (max-width: 1023px) and (min-width: 600px) {
    .services-home__grid > article:nth-child(7) {
        grid-column: span 2;
        justify-self: center;
        max-width: calc(50% - 0.75rem);
        width: 100%;
    }
}

.services-home__actions {
    display: flex;
    justify-content: center;
    margin-top: var(--space-10);
}

.diffs-home {
    background: var(--surface-container-lowest); /* Fundo Branco */
}

.diffs-home__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: start;
}

@media (min-width: 900px) {
    .diffs-home__grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: var(--space-12);
    }
}

.diffs-home__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--on-surface);
    margin: 1.25rem 0 0 0;
}

.diffs-home__list-wrapper {
    background: var(--surface-container-low);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.diffs-home__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.diffs-home__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.diffs-home__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.diffs-home__bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(0, 19, 42, 0.06);
    color: var(--primary);
    flex: 0 0 auto;
}

.diffs-home__item-text {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--on-surface);
}

.final-home {
    background: var(--primary);
    color: var(--on-primary);
    position: relative;
    overflow: hidden;
}

.final-home__box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.final-home__title {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
}

.final-home__lead {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
    line-height: 1.6;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1rem 0;
}

.final-home__text {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2.5rem 0;
}

.final-home__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.final-home .btn--hero-primary {
    color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.final-home .btn--hero-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.final-home .btn--hero-secondary {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
}

.final-home .btn--hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 900px) {
    .positioning,
    .why-paraguay,
    .about-home,
    .services-home,
    .diffs-home,
    .final-home {
        padding: var(--space-12) 0;
    }
}
