/* ==========================================================================
   Intercompi 2026 — Folha de estilo institucional
   Paleta sóbria, tipografia moderna, responsivo, sem dependências externas.
   ========================================================================== */

:root {
    /* Marca */
    --ic-red: #D32F2F;
    --ic-red-dark: #B71C1C;
    --ic-red-soft: rgba(211,47,47,0.10);

    /* Dark (base tecnologia) */
    --ic-dark: #1E1E1E;
    --ic-darker: #121212;
    --ic-dark-2: #2A2A2A;

    /* Secundária (TI / confiança) */
    --ic-blue: #1976D2;
    --ic-blue-dark: #1565C0;
    --ic-blue-soft: rgba(25,118,210,0.10);

    /* Neutros */
    --ic-bg: #FFFFFF;
    --ic-bg-soft: #F5F5F5;
    --ic-bg-dark: var(--ic-darker);

    --ic-text: #1E1E1E;
    --ic-muted: #5A6673;
    --ic-line: #E6E6E6;

    /* Legados (para compat. com classes antigas — apontam para a nova paleta) */
    --ic-navy: var(--ic-dark);
    --ic-navy-800: var(--ic-dark-2);
    --ic-navy-700: #333333;
    --ic-gold: var(--ic-red);
    --ic-cyan: var(--ic-blue);

    --ic-radius: 14px;
    --ic-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --ic-shadow: 0 10px 30px rgba(0,0,0,0.10);
    --ic-shadow-lg: 0 24px 60px rgba(0,0,0,0.18);
    --ic-container: 1200px;
    --ic-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ic-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ic-text);
    background: var(--ic-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ic-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ic-blue-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ic-font);
    color: var(--ic-navy);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.6em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; color: var(--ic-text); }

/* Container */
.ic-container { width: 100%; max-width: var(--ic-container); margin: 0 auto; padding: 0 24px; }

/* Botões */
.ic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
/* CTA principal = vermelho da marca */
.ic-btn--primary   { background: var(--ic-red); color: #fff; box-shadow: 0 10px 24px rgba(211,47,47,0.32); }
.ic-btn--primary:hover { background: var(--ic-red-dark); transform: translateY(-1px); color: #fff; }
/* Fantasma (hero escuro) */
.ic-btn--ghost     { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.ic-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
/* Dark (CTA em fundo claro com base tecnológica) */
.ic-btn--dark      { background: var(--ic-dark); color: #fff; }
.ic-btn--dark:hover{ background: #000; color: #fff; }
/* Gold (legado) — agora é vermelho vivo, mantido para compat */
.ic-btn--gold      { background: var(--ic-red); color: #fff; box-shadow: 0 10px 24px rgba(211,47,47,0.32); }
.ic-btn--gold:hover{ background: var(--ic-red-dark); color: #fff; }
/* Outline — contorno no tom dark da marca */
.ic-btn--outline   { background: transparent; color: var(--ic-dark); border-color: var(--ic-dark); }
.ic-btn--outline:hover{ background: var(--ic-dark); color: #fff; }
/* Secundário — azul de confiança (para CTAs alternativos) */
.ic-btn--secondary { background: var(--ic-blue); color: #fff; box-shadow: 0 10px 24px rgba(25,118,210,0.28); }
.ic-btn--secondary:hover { background: var(--ic-blue-dark); color: #fff; }
.ic-btn .arrow { transition: transform .2s ease; }
.ic-btn:hover .arrow { transform: translateX(4px); }

/* Topbar (contato/localização, bom para SEO local) */
.ic-topbar { background: var(--ic-darker); color: rgba(255,255,255,0.82); font-size: 0.84rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ic-topbar__inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; padding: 8px 0; }
.ic-topbar__item { color: inherit; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ic-topbar__item:hover { color: #fff; }
.ic-topbar__item svg { color: var(--ic-red); flex-shrink: 0; }
.ic-topbar__sep { color: rgba(255,255,255,0.35); }
@media (max-width: 700px) {
    .ic-topbar__inner { gap: 10px; font-size: 0.78rem; }
    .ic-topbar__sep { display: none; }
}

/* Site header */
.ic-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--ic-line);
}
.ic-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.ic-brand { display: flex; align-items: center; gap: 12px; color: var(--ic-dark); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.ic-brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--ic-red) 0%, var(--ic-red-dark) 100%); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: var(--ic-shadow-sm); }
.ic-brand:hover { color: var(--ic-red); }
.ic-brand__img { height: 44px; width: auto; display: block; }
.ic-brand__img--inverted { filter: brightness(0) invert(1); opacity: 0.95; }
.ic-brand__img--footer {
    height: 56px; width: auto;
    background: #000;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    /* realça a tagline cinza do logo sobre o preto */
    filter: brightness(1.12) contrast(1.05);
}

.ic-nav { display: flex; align-items: center; gap: 8px; }
.ic-nav a { color: var(--ic-text); padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: 0.96rem; }
.ic-nav a:hover { color: var(--ic-red); background: var(--ic-red-soft); }
.ic-nav .current-menu-item > a, .ic-nav .current_page_item > a { background: var(--ic-red-soft); color: var(--ic-red); }
.ic-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }

.ic-header__cta { display: flex; align-items: center; gap: 12px; }
.ic-menu-toggle { display: none; background: none; border: none; padding: 10px; cursor: pointer; color: var(--ic-navy); }
.ic-menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.ic-hero {
    position: relative;
    color: #fff;
    padding: 96px 0 120px;
    background:
      radial-gradient(1200px 600px at 85% 0%, rgba(211,47,47,0.28) 0%, transparent 60%),
      radial-gradient(900px 600px at 15% 100%, rgba(25,118,210,0.22) 0%, transparent 65%),
      linear-gradient(135deg, var(--ic-darker) 0%, var(--ic-dark) 60%, #232323 100%);
    overflow: hidden;
}
.ic-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 55%, transparent 100%);
    pointer-events: none;
}
.ic-hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.ic-hero h1 { color: #fff; }
.ic-hero p.lead { font-size: 1.18rem; line-height: 1.6; color: rgba(255,255,255,0.86); max-width: 56ch; }
.ic-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(211,47,47,0.16);
    border: 1px solid rgba(211,47,47,0.55);
    color: #FFC9C9; padding: 7px 14px; border-radius: 999px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 22px;
}
.ic-hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ic-red); box-shadow: 0 0 12px var(--ic-red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.ic-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ic-hero__meta { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 44px; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.ic-hero__meta strong { display: block; color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }

.ic-hero__visual {
    position: relative; min-height: 380px;
    border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--ic-shadow-lg);
    background: #1a1a1a center/cover no-repeat;
    aspect-ratio: 4 / 3;
}
.ic-hero__visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(18,18,18,0.55) 100%);
}

/* Sections */
.ic-section { padding: 80px 0; }
.ic-section--soft { background: var(--ic-bg-soft); }
.ic-section--dark { background: var(--ic-bg-dark); color: #fff; }
.ic-section--dark h1, .ic-section--dark h2, .ic-section--dark h3 { color: #fff; }
.ic-section--dark p { color: rgba(255,255,255,0.82); }
.ic-section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.ic-section__eyebrow { display: inline-block; color: var(--ic-red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 10px; }

/* Grid cards */
.ic-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ic-grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.ic-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ic-grid--3 { grid-template-columns: 1fr; } }

.ic-card {
    background: #fff;
    border: 1px solid var(--ic-line);
    border-radius: var(--ic-radius);
    padding: 32px 28px;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.ic-card:hover { transform: translateY(-4px); box-shadow: var(--ic-shadow); border-color: transparent; }
.ic-card__icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(211,47,47,0.12) 0%, rgba(25,118,210,0.12) 100%);
    color: var(--ic-red);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.ic-card__icon svg { width: 26px; height: 26px; }
.ic-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.ic-card p { color: var(--ic-muted); margin: 0; }

/* Feature highlight (Nova Era) */
.ic-feature {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.ic-feature__media {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 4 / 3; box-shadow: var(--ic-shadow-lg);
    background: linear-gradient(135deg, var(--ic-navy) 0%, var(--ic-blue) 120%);
    max-height: 460px;
    align-self: center;
}
.ic-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Variante alinhada ao topo — para blocos onde o texto é longo */
.ic-feature--top { align-items: start; }
.ic-feature ul.ic-check { list-style: none; padding: 0; margin: 24px 0 28px; }
.ic-feature ul.ic-check li {
    padding: 10px 0 10px 34px; position: relative; color: var(--ic-text);
}
.ic-feature ul.ic-check li::before {
    content: ""; position: absolute; left: 0; top: 14px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(25,118,210,0.15);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231976D2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat; background-position: center;
}

/* Em fundos escuros: texto claro e bullet de alto contraste (bg vermelho + check branco) */
.ic-section--dark .ic-feature ul.ic-check li,
.ic-section--dark .ic-check li {
    color: rgba(255,255,255,0.92);
}
.ic-section--dark .ic-feature ul.ic-check li::before,
.ic-section--dark .ic-check li::before {
    background-color: var(--ic-red);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    box-shadow: 0 0 0 3px rgba(211,47,47,0.20);
}
@media (max-width: 900px) {
    .ic-feature { grid-template-columns: 1fr; gap: 36px; }
    .ic-hero__inner { grid-template-columns: 1fr; }
    .ic-hero { padding: 72px 0 80px; }
}

/* Timeline */
.ic-timeline { position: relative; margin-top: 48px; }
.ic-timeline::before { content: ""; position: absolute; left: 16px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--ic-red), var(--ic-blue)); opacity: 0.5; }
.ic-timeline__item { position: relative; padding: 0 0 26px 52px; }
.ic-timeline__item::before {
    content: ""; position: absolute; left: 8px; top: 4px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--ic-red);
    box-shadow: 0 0 0 4px rgba(211,47,47,0.18);
}
.ic-timeline__year { display: inline-block; color: var(--ic-red); font-weight: 800; letter-spacing: 0.05em; margin-bottom: 2px; }
.ic-timeline__item h4 { margin: 0 0 4px; color: var(--ic-navy); font-size: 1.08rem; }
.ic-timeline__item p { color: var(--ic-muted); margin: 0; }

/* Logos / numbers strip */
.ic-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: -56px;
    background: #fff; border-radius: var(--ic-radius); padding: 30px; box-shadow: var(--ic-shadow);
    position: relative; z-index: 2;
}
@media (max-width: 800px) { .ic-stats { grid-template-columns: repeat(2, 1fr); } }
.ic-stat { text-align: center; padding: 12px; }
.ic-stat strong { display: block; font-size: 2rem; color: var(--ic-red); letter-spacing: -0.02em; }
.ic-stat span { color: var(--ic-muted); font-size: 0.92rem; }

/* CTA banner */
.ic-cta {
    border-radius: 20px; padding: 52px 48px; color: #fff;
    background:
        radial-gradient(500px 300px at 85% 20%, rgba(211,47,47,0.45) 0%, transparent 60%),
        radial-gradient(500px 300px at 10% 80%, rgba(25,118,210,0.30) 0%, transparent 60%),
        linear-gradient(135deg, var(--ic-dark) 0%, var(--ic-darker) 100%);
    display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center;
}
.ic-cta h2 { color: #fff; margin: 0 0 6px; }
.ic-cta p  { color: rgba(255,255,255,0.82); margin: 0; }
@media (max-width: 800px) { .ic-cta { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; } }

/* Partner spotlight */
.ic-partner {
    display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center;
    background: #fff; border-radius: var(--ic-radius); padding: 36px; border: 1px solid var(--ic-line);
}
.ic-partner__avatar {
    width: 200px; height: 200px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ic-red), var(--ic-dark));
    display: grid; place-items: center; color: #fff;
    font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em;
    box-shadow: var(--ic-shadow);
}
.ic-partner__avatar--photo {
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 2px var(--ic-red);
    background: none;
}
.ic-partner__role { color: var(--ic-red); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }
.ic-partner h3 { margin: 6px 0 10px; }
@media (max-width: 800px) { .ic-partner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Pull quote (citação em destaque) */
.ic-pullquote {
    margin: 48px auto 0; max-width: 860px;
    background: #fff; border-radius: var(--ic-radius);
    padding: 44px 48px 36px; position: relative;
    border: 1px solid var(--ic-line); box-shadow: var(--ic-shadow-sm);
    text-align: center;
}
.ic-pullquote__mark {
    position: absolute; top: -6px; left: 32px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7rem; line-height: 1; color: var(--ic-red);
    opacity: 0.85; pointer-events: none;
}
.ic-pullquote blockquote {
    margin: 0 0 22px; padding: 0; border: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.45; color: var(--ic-text);
    font-weight: 500; font-style: italic;
}
.ic-pullquote figcaption {
    display: inline-flex; align-items: center; gap: 14px; justify-content: center;
}
.ic-pullquote__avatar {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.12), 0 0 0 2px var(--ic-red);
    flex-shrink: 0;
}
.ic-pullquote__person { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.ic-pullquote__person strong { color: var(--ic-dark); font-size: 1rem; letter-spacing: -0.01em; }
.ic-pullquote__person > span { color: var(--ic-red); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Page header (inner pages) */
.ic-page-hero {
    padding: 56px 0 48px;
    color: #fff; position: relative;
    background:
      radial-gradient(900px 500px at 80% 10%, rgba(211,47,47,0.24) 0%, transparent 60%),
      radial-gradient(700px 400px at 10% 100%, rgba(25,118,210,0.20) 0%, transparent 60%),
      linear-gradient(135deg, var(--ic-darker) 0%, var(--ic-dark) 100%);
}
.ic-page-hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.ic-page-hero p { color: rgba(255,255,255,0.86); font-size: 1.05rem; max-width: 62ch; margin: 0; }
.ic-page-hero .ic-breadcrumb { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 12px; }
.ic-page-hero .ic-breadcrumb a { color: rgba(255,255,255,0.9); }
/* Seção imediatamente após o hero — gap mais enxuto */
.ic-page-hero + .ic-section { padding-top: 64px; }

/* Product grid (page-produtos) */
.ic-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ic-product {
    background: #fff; border: 1px solid var(--ic-line); border-radius: var(--ic-radius);
    overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.ic-product:hover { transform: translateY(-4px); box-shadow: var(--ic-shadow); }
.ic-product__img { aspect-ratio: 4/3; background: #eef3f8 center/cover no-repeat; }
.ic-product__body { padding: 22px 22px 26px; }
.ic-product h3 { font-size: 1.12rem; margin: 0 0 6px; }
.ic-product p { color: var(--ic-muted); margin: 0; font-size: 0.96rem; }

/* Footer */
.ic-footer {
    background: var(--ic-darker);
    color: rgba(255,255,255,0.76);
    padding: 72px 0 28px;
    border-top: 3px solid var(--ic-red);
}
.ic-footer a { color: rgba(255,255,255,0.86); }
.ic-footer a:hover { color: #fff; }
.ic-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.ic-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }
.ic-footer ul { list-style: none; padding: 0; margin: 0; }
.ic-footer li { padding: 4px 0; }
.ic-footer__copy { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
@media (max-width: 900px) { .ic-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ic-footer__grid { grid-template-columns: 1fr; } }

/* Landing page (page-landing.php) */
.ic-landing-hero {
    min-height: 90vh;
    display: grid; align-items: center;
    padding: 100px 0 80px;
    color: #fff;
    background:
        radial-gradient(1000px 600px at 85% 10%, rgba(211,47,47,0.42), transparent 60%),
        radial-gradient(900px 500px at 10% 90%, rgba(25,118,210,0.32), transparent 60%),
        linear-gradient(135deg, #0A0A0A 0%, var(--ic-darker) 60%, var(--ic-dark) 100%);
    position: relative; overflow: hidden;
}
.ic-landing-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 50%, transparent 100%);
    opacity: .6;
}
.ic-landing-hero__inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.ic-landing-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; color: #fff; margin-bottom: 20px; }
.ic-landing-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--ic-red) 0%, var(--ic-blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic-landing-hero p { color: rgba(255,255,255,0.85); font-size: 1.2rem; max-width: 60ch; margin: 0 auto 28px; }

.ic-video-placeholder {
    margin: 48px auto 0; max-width: 920px; aspect-ratio: 16/9; border-radius: 20px;
    background: #081528 center/cover no-repeat;
    border: 1px solid rgba(255,255,255,0.16); box-shadow: var(--ic-shadow-lg);
    position: relative; overflow: hidden;
}
.ic-video-placeholder::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6,20,41,0.75) 100%);
}
.ic-video-placeholder .play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 86px; height: 86px; border-radius: 50%;
    background: var(--ic-red); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 0 0 rgba(211,47,47,0.45);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease;
}
.ic-video-placeholder .play:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 0 12px rgba(211,47,47,0.18); }
.ic-video-placeholder .play:hover { transform: translate(-50%, -50%) scale(1.06); }
.ic-video-placeholder .play svg { width: 34px; height: 34px; }

/* Pricing / purchase block (future Igestão API integration) */
.ic-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ic-plan {
    background: #fff; border: 1px solid var(--ic-line); border-radius: var(--ic-radius);
    padding: 32px 28px; display: flex; flex-direction: column;
}
.ic-plan--featured { border-color: var(--ic-red); box-shadow: 0 20px 40px rgba(211,47,47,0.14); position: relative; }
.ic-plan--featured::before {
    content: "Mais procurado"; position: absolute; top: -12px; right: 20px;
    background: var(--ic-red); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
}
.ic-plan h3 { margin: 0 0 4px; }
.ic-plan .price { font-size: 2.2rem; font-weight: 800; color: var(--ic-dark); letter-spacing: -0.02em; margin: 8px 0 20px; }
.ic-plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--ic-muted); }
.ic-plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.ic-plan li { padding: 8px 0 8px 28px; position: relative; color: var(--ic-muted); font-size: 0.94rem; }
.ic-plan li::before {
    content: ""; position: absolute; left: 0; top: 12px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--ic-red);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-position: center; background-repeat: no-repeat;
}
.ic-plan .ic-btn { margin-top: auto; }

/* FAQ (accordion semântico usando <details>) */
.ic-faq {
    background: #fff; border: 1px solid var(--ic-line); border-radius: var(--ic-radius);
    padding: 6px 20px; margin-bottom: 12px; transition: box-shadow .2s ease, border-color .2s ease;
}
.ic-faq[open] { border-color: var(--ic-red); box-shadow: 0 10px 24px rgba(211,47,47,0.08); }
.ic-faq summary {
    cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; color: var(--ic-dark);
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.ic-faq summary::-webkit-details-marker { display: none; }
.ic-faq summary::after {
    content: "+"; color: var(--ic-red); font-size: 1.4rem; line-height: 1; transition: transform .2s ease;
}
.ic-faq[open] summary::after { content: "–"; }
.ic-faq p { padding: 0 0 16px; color: var(--ic-muted); margin: 0; }

/* Modal de captura de leads */
.ic-modal {
    position: fixed; inset: 0; z-index: 100; display: none;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.ic-modal.is-open { display: block; }
.ic-modal__backdrop {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.65);
    backdrop-filter: blur(3px);
    animation: ic-fade .18s ease both;
    pointer-events: auto;
}
.ic-modal__dialog {
    position: relative; z-index: 2;
    max-width: 520px; width: calc(100% - 32px);
    margin: 60px auto; background: #fff; border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
    animation: ic-slide .22s ease both;
    overflow: hidden;
}
@keyframes ic-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ic-slide { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ic-modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--ic-bg-soft); border: none; cursor: pointer;
    color: var(--ic-dark); display: grid; place-items: center;
    transition: background .15s ease, color .15s ease;
    z-index: 3;
}
.ic-modal__close:hover { background: var(--ic-red); color: #fff; }
.ic-modal__body { padding: 36px 32px 28px; }
.ic-modal__eyebrow { display: inline-block; color: var(--ic-red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 6px; }
.ic-modal__body h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--ic-dark); }
.ic-modal__lead { color: var(--ic-muted); margin: 0 0 22px; font-size: 0.95rem; }

/* Campos */
.ic-lead-form { display: flex; flex-direction: column; gap: 12px; }
.ic-field { display: flex; flex-direction: column; gap: 6px; }
.ic-field > span { font-size: 0.82rem; font-weight: 600; color: var(--ic-dark); }
.ic-field input, .ic-field select {
    width: 100%; font: inherit; font-size: 0.95rem;
    padding: 11px 14px; border: 1px solid var(--ic-line);
    border-radius: 10px; background: #fff; color: var(--ic-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ic-field input:focus, .ic-field select:focus {
    outline: none; border-color: var(--ic-red);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.14);
}
.ic-field--invalid input, .ic-field--invalid select { border-color: var(--ic-red); background: #FFF6F6; }
.ic-field-row { display: grid; grid-template-columns: 1fr 90px; gap: 12px; }
.ic-field--state select { padding-right: 8px; }
.ic-field-privacy { font-size: 0.78rem; color: var(--ic-muted); margin: 6px 0 8px; line-height: 1.4; }

.ic-lead-submit { width: 100%; padding: 14px 22px; margin-top: 6px; }
.ic-lead-submit__spinner { display: none; animation: ic-spin 1s linear infinite; }
.ic-lead-form.is-submitting .ic-lead-submit__label { opacity: .7; }
.ic-lead-form.is-submitting .ic-lead-submit__spinner { display: inline-block; }
@keyframes ic-spin { to { transform: rotate(360deg); } }

.ic-lead-result { font-size: 0.9rem; min-height: 20px; margin-top: 10px; text-align: center; }
.ic-lead-result.is-error { color: var(--ic-red); }
.ic-lead-result.is-success { color: #1f7a3a; font-weight: 600; }

@media (max-width: 600px) {
    .ic-modal__dialog { margin: 16px auto 24px; }
    .ic-modal__body { padding: 28px 22px 22px; }
    .ic-field-row { grid-template-columns: 1fr 80px; }
    /* Garante respiro abaixo do botão em smartphones com barra de navegação fixa */
    .ic-modal { padding-bottom: env(safe-area-inset-bottom, 0); }
}

/* Utility */
.ic-center { text-align: center; }
.ic-mt-24 { margin-top: 24px; }
.ic-mt-48 { margin-top: 48px; }

/* ===========================
   Mobile (≤ 900px) — header, topbar e nav
   =========================== */
@media (max-width: 900px) {
    /* Topbar: só telefone + e-mail (endereço oculto pra economizar espaço) */
    .ic-topbar { font-size: 0.78rem; }
    .ic-topbar__inner { gap: 10px; padding: 7px 0; justify-content: space-between; }
    .ic-topbar__sep { display: none; }
    .ic-topbar__item:first-child { display: none; } /* oculta o endereço na topbar mobile */

    /* Header compacto — logo centralizado, botão de menu à esquerda */
    .ic-header { position: relative; }
    .ic-header__inner {
        position: relative;
        padding: 12px 0;
        gap: 10px;
        flex-wrap: nowrap;
        min-height: 58px;
    }
    .ic-header .ic-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    .ic-header .ic-brand__img { height: 34px; }

    /* Esconde o CTA do topo no mobile — o Siscontrol fica acessível pelo menu */
    .ic-header__cta { display: none; }

    /* Botão de menu à esquerda */
    .ic-menu-toggle { display: inline-grid; z-index: 2; }

    /* Nav: sai do fluxo e ancora logo abaixo da header, com fade + slide */
    .ic-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 14px 24px 20px;
        flex-direction: column; align-items: stretch; gap: 4px;
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
        z-index: 40;
        border-top: 1px solid var(--ic-line);
        box-shadow: 0 16px 32px rgba(0,0,0,0.10);
    }
    .ic-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .ic-nav ul { flex-direction: column; gap: 2px; width: 100%; }
    .ic-nav a { padding: 14px 12px; font-size: 1rem; }
}

/* ===========================
   Mobile pequeno (≤ 600px) — ajustes finos de tipografia e espaçamento
   =========================== */
@media (max-width: 600px) {
    .ic-topbar__item svg { display: none; }
    .ic-topbar__inner { justify-content: center; gap: 12px; }

    .ic-hero { padding: 56px 0 64px; }
    .ic-hero__inner { gap: 28px; }
    .ic-hero__ctas { flex-direction: column; align-items: stretch; }
    .ic-hero__ctas .ic-btn { width: 100%; justify-content: center; }
    .ic-hero__meta { gap: 18px; }
    .ic-hero__meta strong { font-size: 1.3rem; }

    .ic-section { padding: 56px 0; }
    .ic-page-hero { padding: 40px 0 36px; }
    .ic-page-hero + .ic-section { padding-top: 48px; }

    .ic-cta { padding: 32px 22px; text-align: center; }
    .ic-cta .ic-btn { width: 100%; justify-content: center; }

    .ic-feature { gap: 28px; }
    .ic-feature__media { max-height: 320px; }

    .ic-pullquote { padding: 40px 22px 28px; }
    .ic-pullquote__mark { font-size: 5.2rem; left: 14px; }
    .ic-pullquote figcaption { flex-direction: column; gap: 10px; }
    .ic-pullquote__person { text-align: center; align-items: center; }

    .ic-stats { margin-top: -36px; padding: 20px; }
    .ic-stat strong { font-size: 1.6rem; }

    .ic-footer { padding: 48px 0 20px; }

    /* Landing hero — tipografia compacta */
    .ic-landing-hero { min-height: auto; padding: 72px 0 60px; }
    .ic-landing-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
    .ic-video-placeholder { margin-top: 32px; }
}
