/* /site/assets/css/site.css */
:root {
    --content-width: 1000px;
    --brand-a: #005A78;
    --brand-b: #00688B;
    --brand-c: #04B2ED;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F0F6F7;
    color: #0f172a
}

.content-width {
    max-width: var(--content-width);
    margin: 0 auto
}

/* Botões premium (compartilhado) */
.btn-gradient {
    background-image: linear-gradient(135deg, var(--brand-a), var(--brand-b));
    transition: all .3s ease
}

.btn-gradient:hover {
    background-image: linear-gradient(135deg, var(--brand-b), var(--brand-a));
    transform: translateY(-1px)
}

.btn-ghost {
    color: #0f172a;
    font-weight: 700;
    background: linear-gradient(180deg, #f5fbfd, #eef7fb);
    border: 1px solid rgba(0, 104, 139, .2);
    box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .25);
    transition: .2s
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(4, 178, 237, .45);
    box-shadow: 0 18px 28px -18px rgba(0, 0, 0, .32)
}

.btn-shine {
    position: relative;
    overflow: hidden
}

.btn-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    left: -120%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-22deg);
    transition: .8s
}

.btn-shine:hover::after {
    left: 120%
}

/* Cards */
.card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, .06);
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
    box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .25)
}

/* CTA arredondado e fluido */
.cta-responsive {
    display: inline-block;
    border-radius: 9999px;
    /* pill */
    white-space: nowrap;
    font-weight: 300;

    /* Tipografia e padding FLUÍDOS com clamp */
    font-size: clamp(10px, 1.4vw, 10px);
    padding: clamp(6px, 1.2vw, 10px) clamp(12px, 2.4vw, 24px);
    line-height: 1.2;
}

/* No mobile bem pequeno, reduz um pouco mais */
@media (max-width: 400px) {
    .cta-responsive {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Em telas médias e grandes, volta a “respirar” */
@media (min-width: 768px) {
    .cta-responsive {
        font-size: 13px;
        padding: 10px 22px;
    }
}

@media (min-width: 1024px) {
    .cta-responsive {
        font-size: 14px;
        padding: 10px 24px;
    }
}

/* ATIVA A ANIMAÇÃO DE ROTAÇÃO NOS ANÉIS DOS ÍCONES */
.step-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #fff, #f2fbff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 8px 18px -8px rgba(0, 0, 0, .25);
}

/* --- Animação para os ícones da seção "Processo" --- */
.step-icon::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 180deg, var(--brand-c), var(--brand-b), var(--brand-a), var(--brand-c));
    padding: 2px;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: blur(.3px);
    opacity: .95;
    animation: ringSpin 6s linear infinite;
}

/* --- Definição das Animações (Keyframes) --- */
/* Estas são as "regras" de como a animação deve se comportar. */

@keyframes ringSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes uvRing {
    to {
        transform: rotate(360deg);
    }
}

/* =================================================================== */
/* CÓDIGO COMPLETO PARA OS ÍCONES DAS SEÇÕES "SOBRE NÓS" E "SERVIÇOS" */
/* =================================================================== */

/* Ícone da seção Sobre Nós (Proposta Única de Valor) */
.uv-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #fff, #f0fbff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 10px 20px -10px rgba(0, 0, 0, .3);
}

/* Anel animado do ícone Sobre Nós */
.uv-icon::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 180deg, var(--brand-c), var(--brand-b), var(--brand-a), var(--brand-c));
    padding: 2px;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: uvRing 7s linear infinite;
}

/* Ícone da seção Serviços (Carrossel) */
.svc-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #fff, #f0fbff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 10px 20px -10px rgba(0, 0, 0, .3);
    aspect-ratio: 1/1;
    flex: 0 0 64px;
    min-width: 64px;
}

/* Anel animado do ícone de Serviços */
.svc-icon::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 180deg, var(--brand-c), var(--brand-b), var(--brand-a), var(--brand-c));
    padding: 2px;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: uvRing 8s linear infinite;
}

/* Variáveis de cor e estilos básicos para a seção */
:root {
    --brand-a: #005A78;
    --brand-b: #00688B;
    --brand-c: #04B2ED;
}

.title-gradient {
    background: linear-gradient(90deg, var(--brand-c), var(--brand-b), var(--brand-a));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Estilos da Seção de Processo --- */
.process-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    /* Centraliza os itens para a linha vertical */
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding-bottom: 3rem;
    /* Aumenta o espaço inferior para a linha conectora */
}

.process-step:last-child {
    padding-bottom: 0;
    /* Remove o espaçamento extra do último item */
}

/* Linha tracejada vertical (mobile-first) */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    /* Posiciona a linha no espaço de padding */
    height: 2rem;
    /* Altura da linha conectora */
    width: 2px;
    background-image: linear-gradient(to bottom, #a0dff7 50%, transparent 50%);
    background-size: 2px 14px;
    background-repeat: repeat-y;
    z-index: 1;
}

.process-icon-wrapper {
    position: relative;
    z-index: 10;
    background-color: #f8fafc;
    /* Cor de fundo da seção (bg-white/50) */
    padding: .25rem 0;
    /* Espaçamento para "cortar" a linha vertical */
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: var(--brand-c);
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all .3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.process-icon.dev {
    background: var(--brand-b);
}

.process-content {
    margin-top: 1rem;
    max-width: 180px;
    /* Ajustado de 200px para 180px */
}

/* Estilos para telas maiores (desktop) */
@media (min-width: 1024px) {
    .process-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* Esconde as linhas verticais no desktop */
    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-step {
        padding-bottom: 0;
    }

    /* Linha tracejada horizontal para desktop */
    .process-wrapper::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 5%;
        right: 5%;
        height: 2px;
        background-image: linear-gradient(to right, #a0dff7 50%, transparent 50%);
        background-size: 16px 2px;
        background-repeat: repeat-x;
        z-index: 1;
    }

    .process-icon-wrapper {
        /* Espaçamento para "cortar" a linha horizontal */
        padding: 0 .5rem;
    }
}
html, body {
  /* Esta é a regra de ouro para resolver este problema.
     Ela diz ao navegador: "Não importa o que aconteça,
     NUNCA crie uma barra de rolagem horizontal." */
  overflow-x: hidden;
}