/* ==========================================================
   IACOMOUSAR.COM.BR — HOME.CSS
   Estilos exclusivos da página inicial (index.php).
   Depende de common.css (variáveis, header, footer).
   ========================================================== */

/* ==========================================
   FUNDO — ORBS E GRID DE PONTOS
========================================== */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(rgba(123, 44, 191, 0.02) 1px, transparent 0),
        radial-gradient(rgba(0, 180, 216, 0.02) 1px, transparent 0);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    z-index: -2; pointer-events: none;
}

.blur-orb {
    position: fixed; border-radius: 50%;
    filter: blur(120px); z-index: -1;
    pointer-events: none; opacity: 0.5;
    animation: float 12s infinite alternate ease-in-out;
}
.orb-1 { width: min(500px, 80vw); height: min(500px, 80vw); background: rgba(0, 180, 216, 0.2); top: -150px; right: -100px; }
.orb-2 { width: min(600px, 90vw); height: min(600px, 90vw); background: rgba(123, 44, 191, 0.15); top: 500px; left: -200px; animation-delay: 2s; }

@keyframes float { 0% { transform: translateY(0px) scale(1) rotate(0deg); } 100% { transform: translateY(40px) scale(1.08) rotate(15deg); } }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes flow { from{left:-100%} to{left:100%} }
@keyframes countup { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@keyframes cardEntrada { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   HERO & TERMINAL
========================================== */
.hero {
    padding: clamp(8rem, 15vw, 11rem) 5% clamp(3rem, 6vw, 4rem);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-logo { width: clamp(240px, 60vw, 400px); margin-bottom: 2rem; }
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700; line-height: 1.15;
    max-width: 950px; margin-bottom: 1.25rem; letter-spacing: -1.5px;
}
.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero > p {
    font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-muted);
    max-width: 700px; line-height: 1.65; margin-bottom: 3.5rem;
}

.terminal {
    background: var(--terminal-bg); width: 100%; max-width: 800px;
    border-radius: 18px; padding: clamp(1.2rem, 4vw, 1.8rem);
    text-align: left; box-shadow: 0 30px 60px rgba(9, 13, 22, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 2rem;
    height: 380px; display: flex; flex-direction: column;
}
.terminal-header {
    display: flex; gap: 8px; margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem; align-items: center; flex-shrink: 0;
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-red { background: #EF4444; }
.t-yellow { background: #F59E0B; }
.t-green { background: #10B981; }

.terminal-body {
    font-family: 'Space Grotesk', monospace; color: #E2E8F0;
    font-size: clamp(0.9rem, 2.5vw, 1.01rem); line-height: 1.6;
    flex: 1; overflow-y: auto; padding-right: 5px;
}
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.t-user { color: #10B981; font-weight: bold; }
.terminal-print-line { color: #FFFFFF; margin-bottom: 12px; }
.ai-local-response {
    color: var(--cyan-ai); margin-bottom: 10px; line-height: 1.6;
    padding-left: 12px; border-left: 2px solid var(--purple-ai); white-space: pre-wrap;
}

/* ==========================================
   TICKER
========================================== */
.ticker-wrap {
    width: 100%; background: #090D16;
    border-top: 1px solid rgba(0, 180, 216, 0.2);
    border-bottom: 1px solid rgba(123, 44, 191, 0.2);
    overflow: hidden; padding: 0.8rem 0;
    box-shadow: inset 0 0 20px rgba(0,180,216,0.05);
}
.ticker { display: flex; white-space: nowrap; padding-left: 100%; animation: ticker-move 28s linear infinite; }
.ticker-item {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 0 2.5rem; font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem; font-weight: 700; color: #F1F5F9; letter-spacing: 0.5px;
}
.ticker-item span.data-highlight {
    color: var(--cyan-ai); background: rgba(0, 180, 216, 0.1);
    padding: 2px 7px; border-radius: 4px; font-family: monospace;
}
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-ai); box-shadow: 0 0 8px var(--purple-ai); }
@keyframes ticker-move { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* ==========================================
   FAIXA DE ESTATÍSTICAS VIVAS
========================================== */
.stats-strip { background: var(--card-bg); border-bottom: 1px solid var(--border-color); padding: 2.5rem 5%; }
.stats-inner {
    max-width: 1100px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(5, 1fr); gap: 1px;
    background: var(--border-color); border: 1px solid var(--border-color);
    border-radius: 20px; overflow: hidden;
}
.stat-cell {
    background: var(--card-bg); padding: 1.75rem 1rem;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px;
    transition: background 0.3s;
}
.stat-cell:hover { background: rgba(123,44,191,0.02); }
.stat-icon { font-size: 1.4rem; margin-bottom: 4px; }
.stat-value {
    font-family: 'Space Grotesk', monospace; font-size: 2rem; font-weight: 700;
    color: var(--purple-ai); line-height: 1; letter-spacing: -1px;
    font-variant-numeric: tabular-nums; animation: countup 0.5s ease both;
}
.stat-value.cyan { color: var(--cyan-ai); }
.stat-label { font-size: 0.7rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stats-strip .stat-cell .stat-sub { font-size: 0.67rem; color: #94A3B8; margin-top: 2px; }
.stat-live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--success); margin-right: 3px; animation: pulse-ring 1.5s infinite; }

/* ==========================================
   NOTÍCIAS & PAGINAÇÃO
========================================== */
.news-section { padding: clamp(4rem, 8vw, 6rem) 5% clamp(2rem, 4vw, 3rem); width: 100%; max-width: 1300px; margin: 0 auto; scroll-margin-top: 5rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.5px; }
.section-title p { color: var(--text-muted); margin-top: 0.5rem; font-size: clamp(0.95rem, 2vw, 1.1rem); }

.ai-section-indicator {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 180, 216, 0.07); border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 100px; padding: 0.5rem 1.2rem; font-size: 0.8rem;
    font-weight: 700; color: var(--cyan-ai); letter-spacing: 0.3px; margin-top: 1rem;
}

.news-grid-wrapper { display: flex; justify-content: center; width: 100%; }
.news-grid {
    display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1.5rem; min-height: 400px; max-width: 1200px; margin: 0 auto; justify-content: center;
}

.news-skeleton {
    background: linear-gradient(100deg, var(--border-color) 30%, #EEF2F7 50%, var(--border-color) 70%);
    background-size: 200% 100%; animation: skeleton-shine 1.4s infinite;
    border-radius: 20px; min-height: 340px;
}
@keyframes skeleton-shine { to { background-position: -200% 0; } }

.news-card-container {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    display: flex; flex-direction: column; height: 100%; position: relative; width: 100%;
    max-width: 380px; margin: 0 auto;
    animation: cardEntrada 0.45s ease both; animation-delay: calc(var(--card-index, 0) * 65ms);
}
.news-card-container:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(123, 44, 191, 0.09); border-color: var(--cyan-ai); }

.card-ai-strip {
    position: absolute; top: 12px; right: 12px;
    background: rgba(9, 13, 22, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--cyan-ai); font-size: 0.65rem; font-weight: 800;
    letter-spacing: 0.8px; padding: 0.3rem 0.7rem; border-radius: 100px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    display: flex; align-items: center; gap: 5px; z-index: 2;
}
.card-ai-strip-dot { width: 5px; height: 5px; background: var(--cyan-ai); border-radius: 50%; animation: pulse-ring 1.5s infinite; }

.news-card-img-link { display: block; overflow: hidden; background: var(--border-color); }
.news-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.news-card-container:hover .news-card-img { transform: scale(1.04); }

.news-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-meta-tag {
    background: rgba(123, 44, 191, 0.06); color: var(--purple-ai);
    padding: 0.3rem 0.7rem; border-radius: 100px; font-size: 0.68rem;
    font-weight: 800; display: inline-block; margin-bottom: 0.75rem; align-self: flex-start;
}
.news-title-link { text-decoration: none; color: inherit; transition: color 0.2s ease; }
.news-title-link:hover { color: var(--purple-ai); text-decoration: underline; text-decoration-color: rgba(123, 44, 191, 0.3); text-underline-offset: 3px; }
.news-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0.6rem; line-height: 1.4; font-weight: 700; }
.news-excerpt { color: var(--text-muted); line-height: 1.6; font-size: 0.88rem; margin-bottom: 1.25rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-read-link { color: var(--purple-ai); text-decoration: none; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 4px; transition: all 0.2s; }
.news-read-link:hover { color: var(--cyan-ai); gap: 8px; }

/* PAGINAÇÃO — antes ausente do CSS, botões saíam sem estilo */
.pagination-container { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.page-btn {
    min-width: 40px; height: 40px; padding: 0 0.85rem;
    border-radius: 100px; border: 1px solid var(--border-color);
    background: var(--card-bg); color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem;
    cursor: pointer; transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--purple-ai); color: var(--purple-ai); transform: translateY(-1px); }
.page-btn.active { background: var(--primary-gradient); color: #FFFFFF; border-color: transparent; box-shadow: 0 6px 14px rgba(123, 44, 191, 0.25); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-ellipsis { color: var(--text-muted); font-weight: 700; padding: 0 0.3rem; }

/* ==========================================
   PIPELINE AUTOMÁTICO
========================================== */
.how-ai-works { background: var(--bg-clean); padding: clamp(4rem, 8vw, 6rem) 5%; position: relative; scroll-margin-top: 4rem; }
.how-ai-works-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.how-ai-title { text-align: center; margin-bottom: 4rem; }
.how-ai-title h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.how-ai-title p { color: var(--text-muted); font-size: clamp(0.95rem, 2vw, 1.1rem); max-width: 650px; margin: 0 auto; }

.pipeline-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; align-items: center; margin-bottom: 2rem; }
.pl-node { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; position: relative; }
.pl-node-box {
    width: 100%; max-width: 180px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 18px; padding: 1.4rem 0.8rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.pl-node-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--primary-gradient); opacity: 0; transition: opacity 0.3s; }
.pl-node.active .pl-node-box { background: #FFFFFF; border-color: var(--purple-ai); box-shadow: 0 10px 25px rgba(123, 44, 191, 0.08); transform: translateY(-4px); }
.pl-node.active .pl-node-box::before { opacity: 1; }
.pl-node-emoji { font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }
.pl-node-num { font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; color: var(--purple-ai); margin-bottom: 0.3rem; }
.pl-node-title { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; line-height: 1.3; }
.pl-node-stat { font-size: 0.72rem; color: var(--text-muted); font-family: monospace; transition: color 0.3s; min-height: 16px; }
.pl-node.active .pl-node-stat { color: var(--cyan-ai); font-weight: 700; }

.pl-connector { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); width: 36px; display: flex; align-items: center; z-index: 2; }
.pl-connector-line { height: 2px; flex: 1; background: var(--border-color); position: relative; overflow: hidden; }
.pl-connector-flow { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan-ai), transparent); animation: flow 1.6s linear infinite; opacity: 0; transition: opacity 0.4s; }
.pl-connector-flow.running { opacity: 1; }
.pl-connector-arrow { color: var(--border-color); font-size: 0.9rem; transition: color 0.3s; }
.pl-node.active .pl-connector-arrow { color: var(--cyan-ai); }

.pipeline-console {
    background: #F1F5F9; border: 1px solid var(--border-color); border-radius: 14px; padding: 1rem 1.25rem; font-family: monospace; font-size: 0.78rem;
    color: var(--text-muted); min-height: 54px; display: flex; align-items: center; gap: 10px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
.console-prompt { color: #94A3B8; flex-shrink: 0; font-weight: bold; }
.console-text { color: var(--purple-ai); font-weight: 600; animation: fadein 0.3s ease; }

.ai-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.ai-step-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 1.75rem 1.5rem; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-sm);
}
.ai-step-card:hover { background: #FFFFFF; border-color: var(--purple-ai); transform: translateY(-5px); box-shadow: 0 16px 32px rgba(123, 44, 191, 0.06); }
.ai-step-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--primary-gradient); opacity: 0; transition: opacity 0.3s; }
.ai-step-card:hover::before { opacity: 1; }
.ai-step-num { font-family: 'Space Grotesk', monospace; font-size: 0.75rem; font-weight: 700; color: var(--purple-ai); letter-spacing: 2px; margin-bottom: 1rem; }
.ai-step-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.ai-step-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.ai-step-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.ai-step-data-board { background: var(--bg-clean); border: 1px solid var(--border-color); border-radius: 10px; padding: 0.75rem; font-family: monospace; font-size: 0.72rem; color: var(--purple-ai); font-weight: 600; }
.data-board-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.data-board-row:last-child { margin-bottom: 0; }
.data-board-label { color: #94A3B8; font-weight: normal; }

/* ==========================================
   ACADEMIA DE CURSOS
========================================== */
.courses-section { padding: clamp(4rem, 8vw, 6rem) 5%; width: 100%; max-width: 1300px; margin: 0 auto; scroll-margin-top: 5rem; border-top: 1px solid var(--border-color); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; justify-content: center; }
.course-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden;
    position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 180, 216, 0.08); border-color: var(--purple-ai); }
.course-badge {
    position: absolute; top: 14px; left: 14px; z-index: 5;
    background: #10B981; color: #FFFFFF; font-size: 0.7rem;
    font-weight: 800; letter-spacing: 1px; padding: 0.35rem 0.8rem;
    border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.course-badge.cyan { background: var(--cyan-ai); }
.course-badge.purple { background: var(--purple-ai); }
.course-cover-wrap { width: 100%; overflow: hidden; aspect-ratio: 16 / 9; background: #E2E8F0; }
.course-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-img { transform: scale(1.03); }
.course-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course-meta { display: flex; gap: 12px; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.8rem; }
.course-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; color: var(--text-dark); font-weight: 700; line-height: 1.3; margin-bottom: 0.6rem; }
.course-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.5rem; flex: 1; text-align: justify; }
.course-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: auto; }
.course-price { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--cyan-ai); }
.course-btn {
    background: var(--primary-gradient); color: #FFFFFF; text-decoration: none;
    padding: 0.6rem 1.2rem; border-radius: 12px; font-size: 0.85rem; font-weight: 700;
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.15); transition: opacity 0.2s, transform 0.2s;
}
.course-btn:hover { opacity: 0.95; transform: translateY(-1px); }

/* ==========================================
   OS TRÊS PILARES
========================================== */
.features { padding: clamp(4rem, 8vw, 6rem) 5%; background: var(--card-bg); border-top: 1px solid var(--border-color); scroll-margin-top: 4rem; }
.grid-pilares { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.card { background: var(--bg-clean); border: 1px solid var(--border-color); padding: clamp(2rem, 4vw, 2.5rem); border-radius: var(--radius-lg); position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.card:hover { transform: translateY(-8px); border-color: var(--purple-ai); box-shadow: var(--shadow-lg); }
.card-num { font-family: 'Space Grotesk', sans-serif; font-size: 4rem; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.12; position: absolute; top: 1rem; right: 1.5rem; line-height: 1; }
.card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin-bottom: 0.9rem; font-weight: 700; color: var(--text-dark); }
.card p { color: var(--text-muted); line-height: 1.65; font-size: 0.95rem; margin-bottom: 1.5rem; }
.card-graphic { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; gap: 10px; }
.graphic-bar-container { width: 100%; }
.graphic-bar-info { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.graphic-bar-w { width: 100%; height: 6px; background: #E2E8F0; border-radius: 100px; overflow: hidden; }
.graphic-bar-fill { height: 100%; background: var(--purple-ai); border-radius: 100px; transition: width 1s ease; }
.fill-cyan { background: var(--cyan-ai); }
.fill-mix { background: var(--primary-gradient); }

/* ==========================================
   FORMULÁRIO DE CONTATO
========================================== */
.contact-section { padding: clamp(4rem, 8vw, 6rem) 5%; display: flex; justify-content: center; scroll-margin-top: 4rem; }
.contact-container { background: var(--card-bg); border: 1px solid var(--border-color); padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem); border-radius: 32px; max-width: 800px; width: 100%; text-align: center; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.02); }
.contact-container h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; margin-bottom: 0.9rem; letter-spacing: -0.5px; }
.contact-container > p { color: var(--text-muted); margin-bottom: 2rem; font-size: clamp(0.95rem, 2vw, 1.1rem); max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.form-grid-clean { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; max-width: 700px; margin: 0 auto; }
.form-group { background: #F1F5F9; border: 1px solid transparent; border-radius: 14px; padding: 2px; transition: all 0.3s; }
.form-group:focus-within { border-color: var(--cyan-ai); background: var(--card-bg); box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.08); }
.form-group input { width: 100%; border: none; padding: 0.85rem 1rem; font-size: 0.95rem; outline: none; background: transparent; color: var(--text-dark); font-family: inherit; }
.form-group.full-width { grid-column: span 2; }
.form-submit-clean-btn { grid-column: span 2; background: var(--primary-gradient); color: #FFFFFF; border: none; padding: 1rem; border-radius: 14px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s, opacity 0.2s; font-family: inherit; margin-top: 6px; }
.form-submit-clean-btn:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.95; }
.form-submit-clean-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-response-msg { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; text-align: center; display: none; }
.form-response-msg.success { color: var(--success); }
.form-response-msg.error { color: var(--danger); }

/* ==========================================
   RESPONSIVIDADE ESPECÍFICA DA HOME
========================================== */
@media (max-width: 900px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .pipeline-visual { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ai-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-inner .stat-cell:nth-child(5) { grid-column: span 2 !important; border-top: 1px solid var(--border-color); }
}

@media (max-width: 580px) {
    .news-grid { grid-template-columns: 1fr !important; }
    .pipeline-visual { grid-template-columns: 1fr; }
    .ai-steps-grid { grid-template-columns: 1fr; }
    .pl-connector { display: none; }
    .form-grid-clean { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-submit-clean-btn { grid-column: span 1; }
    .stats-inner { grid-template-columns: 1fr !important; }
    .stats-inner .stat-cell:nth-child(5) { grid-column: span 1 !important; }
}
