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

body {
    font-family: "Poppins", sans-serif;
    color: #1f1f1f;
    background-color: #fafafa;
}

header.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 8%;
    background: linear-gradient(120deg, #003366, #0055a5);
    color: white;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

.btn {
    display: inline-block;
    background-color: #00b0ff;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 600;
}

.btn:hover {
    background-color: #008ad1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

.phone-frame {
    background: #000;
    border-radius: 32px;
    padding: 1rem;
    width: 270px;
    height: 540px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    transition: opacity 1s ease-in-out;
}

section.features {
    text-align: center;
    padding: 4rem 8%;
    background-color: white;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features p {
    color: #444;
    margin-bottom: 2rem;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1024px;
    margin: 0 auto;
}

.card {
    background-color: #f4f8fb;
    padding: 2rem;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: #003366;
    margin-bottom: 0.8rem;
}

section.contact {
    text-align: center;
    padding: 4rem 8%;
    background: linear-gradient(120deg, #0055a5, #0073d1);
    color: white;
}

section.contact p
{
    margin: 10px 0 20px;
}

.contact .btn {
    background-color: white;
    color: #0055a5;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #002244;
    color: white;
    font-size: 0.9rem;
}

/* ===========================
   Styles para Features + Highlights
   (Use em style.css)
   =========================== */

:root{
    --indigo-600: #3743a8;
    --indigo-500: #4b61d1;
    --indigo-400: #6f88f0;
    --indigo-300: #98b2ff;
    --bg-light: #f7f9fc;
    --card-bg: #ffffff;
    --muted: #6b7280;
    --accent: #00a6ff;
}

/* Reset / base */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #111827;
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container utilitário (similar ao container do Tailwind) */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* SEÇÃO: Features */
section.features {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: transparent; /* já está em BG geral */
}

.features h2 {
    font-size: 1.9rem;
    line-height: 1.15;
    color: #0f172a; /* text-gray-800 */
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Grid de cards */
.features .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Card padrão */
.features .grid > div {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.features .grid > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(2,6,23,0.12);
}

/* Icon area (fa icons) */
.features .grid i {
    color: var(--indigo-500);
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 0.9rem;
}

/* Card Title / Text */
.features h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #0b3b66;
}
.features p {
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.98rem;
    margin-top: auto; /* mantém as descrições alinhadas ao final se a altura variar */
}

/* Espaçamento interno da seção */
.features .container > .grid-wrapper {
    padding-top: 1rem;
}

/* SEÇÃO: Highlights (destaques coloridos) */
section.highlights {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, var(--indigo-600), #2d3fa7);
    color: white;
}

.highlights .container h2 {
    margin-bottom: 1.75rem;
    font-size: 1.9rem;
    text-align: center;
}

/* Grid dos blocos de destaque */
.highlights .grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.highlights .grid > div {
    background: rgba(255,255,255,0.06);
    padding: 1.6rem;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(2,6,23,0.08);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.highlights .grid i {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.95);
}

.highlights h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    color: #fff;
    text-align: center;
    width: 100%;
}

.highlights p {
    color: rgba(255,255,255,0.9);
    line-height: 1.45;
    margin-top: auto;
}

/* RESPONSIVO: tablets / desktops */
@media (min-width: 640px) {
    .features .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlights .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .features .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .highlights .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pequenos ajustes visuais para ícones grandes nas colunas */
.features .grid .fa-solid,
.features .grid .fa-regular,
.highlights .grid .fa-solid {
    display: inline-block;
    vertical-align: middle;
}

/* Utilitários simples (margens/paddings semelhantes ao Tailwind usados no HTML) */
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.bg-gray-50 { background: #f9fafb; }

/* Caso você queira manter estilo visual dos cards com ícones grandes no topo */
.text-4xl { font-size: 2.25rem; line-height: 1; }

/* Pequeno ajuste para containers text-center no highlights (quando usado) */
.text-center { text-align: center; }

/* Link/button simples (se usar dentro de cards/destaques) */
.btn-inline {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .18s ease;
}
.btn-inline:hover { opacity: 0.92; }

/* ====== TIP: se quiser ícones maiores no modo desktop ====== */
@media (min-width: 1100px) {
    .features .grid i { font-size: 2rem; }
    .highlights .grid i { font-size: 2.4rem; }
}

/* Se quiser separar visualmente (margem inferior) */
.section-gap {
    margin-bottom: 2.5rem;
}


@media (max-width: 900px) {
    header.hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        margin-bottom: 2rem;
    }
}
