:root {
    --azul-escuro: #0b1f4d;
    --azul-marinho: #0a2a6b;
    --azul: #1552f0;
    --azul-claro: #6f9bff;
    --texto: #3b4a6b;
    --fundo: #f4f7fd;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--fundo);
    color: var(--texto);
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.traco {
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 2px;
    background: var(--azul);
    margin-bottom: 18px;
}

/* ---------- Topo ---------- */
.topo {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 14px rgba(11, 31, 77, 0.08);
}

.topo-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 94px;
    gap: 20px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    min-width: 0;
}

.logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.divisor {
    width: 2px;
    height: 36px;
    background: var(--azul-escuro);
    flex-shrink: 0;
}

.marca-nome {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--azul-escuro);
    letter-spacing: 0.4px;
}

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    position: relative;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--azul-escuro);
    text-decoration: none;
    padding: 8px 4px;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    border-radius: 2px;
    background: var(--azul);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.menu a:hover::after,
.menu a.ativo::after {
    transform: scaleX(1);
}

.menu a.ativo {
    color: var(--azul);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #f6f9ff 0%, #eef3fd 45%, #dfe9ff 100%);
    padding: 50px 0 40px;
}

/* formas geométricas em azul, como no modelo */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 30%, rgba(111, 155, 255, 0.25) 100%);
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 10% 100%, 0 55%);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 150px;
    background: linear-gradient(135deg, #3d7bff, var(--azul));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-conteudo {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 30px;
}

h1 {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--azul-escuro);
    margin-bottom: 26px;
}

h1 span {
    color: var(--azul);
}

.hero-texto p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #22325a;
}

.hero-arte {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.alvo {
    width: 100%;
    max-width: 360px;
}

.slogan {
    flex-shrink: 0;
    max-width: 190px;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
}

.slogan strong {
    display: block;
    color: var(--azul-escuro);
}

.slogan span {
    display: block;
    color: var(--azul);
}

.slogan i {
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: var(--azul);
    margin-top: 20px;
}

/* ---------- Cards ---------- */
main {
    padding: 30px 24px 60px;
}

.grade {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    padding: 18px 30px 60px;
    box-shadow: 0 10px 30px rgba(11, 31, 77, 0.08);
    min-height: 350px;
}

/* canto azul inferior direito */
.card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #3d7bff, var(--azul));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.card:nth-child(2)::after {
    background: linear-gradient(135deg, #9dbcff, var(--azul-claro));
}

.card-escuro::after {
    background: linear-gradient(135deg, var(--azul-marinho), var(--azul));
}

.card-topo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.icone {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--azul);
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(21, 82, 240, 0.3);
}

.card-escuro .icone {
    background: var(--azul-escuro);
    box-shadow: 0 6px 16px rgba(11, 31, 77, 0.3);
}

.icone svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h2 {
    position: relative;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--azul-escuro);
    padding-bottom: 10px;
}

.card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--azul);
}

.card > p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.9;
}

.card > p.valor {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 9px;
}

.valor strong {
    color: var(--azul);
}

/* ---------- Serviços ---------- */
.servicos {
    margin-top: 60px;
}

.titulo-secao {
    font-size: 2.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--azul-escuro);
    margin-bottom: 26px;
}

.titulo-secao span {
    color: var(--azul);
}

.codigo {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--azul);
    background: #e8efff;
    border-radius: 20px;
    padding: 3px 12px;
    white-space: nowrap;
}

.principal {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(100deg, var(--azul-escuro), var(--azul));
    color: #fff;
    border-radius: 10px;
    padding: 22px 28px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(21, 82, 240, 0.25);
}

.principal .codigo {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.lista-servicos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lista-servicos li {
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid var(--azul);
    padding: 16px 20px;
    box-shadow: 0 6px 18px rgba(11, 31, 77, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lista-servicos li:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(11, 31, 77, 0.12);
}

.lista-servicos p {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--azul-escuro);
    font-weight: 500;
}

/* ---------- Rodapé ---------- */
.rodape {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #0a1a45 0%, var(--azul-escuro) 60%, #0d2f86 100%);
    color: #d3dcf2;
    padding: 34px 0;
}

.rodape::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 82, 240, 0.35), rgba(21, 82, 240, 0));
    clip-path: polygon(0 20%, 100% 100%, 0 100%);
}

.rodape::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 140px;
    height: 110px;
    background: linear-gradient(135deg, #3d7bff, var(--azul));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.rodape-conteudo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.rodape-logo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.rodape-divisor {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.rodape-info {
    flex: 1;
    min-width: 0;
}

.rodape-info h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rodape-info p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.rodape-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke: var(--azul-claro);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rodape-info strong {
    color: #fff;
}

.rodape a {
    color: #d3dcf2;
    text-decoration: none;
}

.rodape a:hover {
    color: #fff;
}

.rodape-info .rodape-legal {
    gap: 20px;
    margin-top: 10px;
    font-size: 0.8rem;
}

.rodape-legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lema {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    flex-shrink: 0;
}

.lema .destaque {
    padding-bottom: 6px;
    border-bottom: 2px solid var(--azul);
    margin-top: 8px;
}

.lema .ponto {
    color: var(--azul-claro);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .menu {
        gap: 22px;
    }

    .marca-nome {
        font-size: 1.1rem;
    }

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

    .lema {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .topo-conteudo {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding-top: 12px;
        padding-bottom: 10px;
        gap: 8px;
    }

    html {
        scroll-padding-top: 150px;
    }

    .hero-conteudo {
        grid-template-columns: 1fr;
    }

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

    .grade,
    .lista-servicos {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    main {
        padding: 24px 16px 50px;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .marca {
        gap: 12px;
    }

    .marca-nome {
        font-size: 0.9rem;
    }

    .menu {
        gap: 14px;
    }

    .menu a {
        font-size: 0.7rem;
        padding: 4px 2px;
    }

    h1 {
        font-size: 2.1rem;
    }

    .hero-texto p {
        font-size: 0.98rem;
    }

    .hero-arte {
        flex-direction: column;
    }

    .alvo {
        max-width: 260px;
    }

    .slogan {
        max-width: none;
        text-align: center;
    }

    .slogan i {
        margin: 14px auto 0;
    }

    .principal {
        flex-direction: column;
        align-items: flex-start;
    }

    .rodape-conteudo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .rodape-divisor {
        display: none;
    }

    .rodape-info p {
        justify-content: center;
    }

    .lema {
        flex-wrap: wrap;
        gap: 8px;
    }
}
