/* Página inicial INVESTIA (issue #94). Tokens: k3ntinhu/investia (07_Graphic_System, 09_Web). */
.investia-home { --ih-gap: clamp(48px, 7vw, 96px); }
/* Temas clássicos envolvem o conteúdo dos grupos em .wp-block-group__inner-container */
.investia-home > * + *,
.investia-home > .wp-block-group__inner-container > * + * { margin-top: var(--ih-gap) !important; }
.investia-home .wp-block-buttons { margin-top: 24px; }
.investia-home .investia-over { font-family: var(--investia-font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #0e7490; margin: 0 0 12px; }
.investia-home .investia-dot { color: #0891b2; }
.investia-home h2 { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.125rem); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 16px; }

/* Hero */
.investia-home .investia-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; background: #080f19; color: #f8fafc;
	padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); }
.investia-home .investia-hero::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -12%; height: 128%; aspect-ratio: 730 / 745;
	background: url("../images/graphics/linha-lambda-ciano.svg") no-repeat center bottom / contain; opacity: .9; }
.investia-home .investia-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(#39404b 1.2px, transparent 1.3px);
	background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 85% 70%, #000, transparent 60%); mask-image: radial-gradient(circle at 85% 70%, #000, transparent 60%); }
.investia-home .investia-hero > * { max-width: 680px; position: relative; }
.investia-home .investia-hero .investia-over { color: #06b6d4; }
.investia-home .investia-hero h1 { color: #f8fafc !important; font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 20px; }
.investia-home .investia-hero .investia-dot { color: #06b6d4; }
.investia-home .investia-hero p { color: #a1a1aa !important; font-size: clamp(1.05rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; margin: 0 0 32px; }
.investia-home .investia-hero .wp-block-button .wp-block-button__link { background: #06b6d4; color: #080f19; }
.investia-home .investia-hero .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #f8fafc; box-shadow: inset 0 0 0 1px #6e757f; border: 0; }
/* Em mobile o hero não tem espaço livre: sem Linha Λ (Sistema Gráfico §3, regra 2) */
@media (max-width: 720px) { .investia-home .investia-hero::before { display: none; } }

/* Áreas */
.investia-home .investia-areas .wp-block-columns { gap: 20px; margin: 24px 0 0; }
.investia-home .investia-area { position: relative; background: #fff; border-radius: 16px; padding: 28px 24px 24px !important; height: 100%;
	box-shadow: 0 2px 4px rgb(8 15 25 / .04), 0 6px 16px -4px rgb(8 15 25 / .10); border-top: 4px solid var(--area, #06b6d4); }
.investia-home .investia-area::before { content: ""; display: block; width: 32px; height: 32px; margin-bottom: 16px; background: var(--area-text, #0e7490);
	-webkit-mask: var(--icon) no-repeat center / contain; mask: var(--icon) no-repeat center / contain; }
.investia-home .investia-area h3 { font-size: 1.25rem; margin: 0 0 8px; }
.investia-home .investia-area h3 a { color: #080f19; text-decoration: none; }
.investia-home .investia-area h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.investia-home .investia-area h3 a:focus-visible::after { outline: 2px solid #2563eb; outline-offset: 3px; }
.investia-home .investia-area p { color: #52525b !important; font-size: .9375rem; line-height: 1.55; margin: 0; }
.investia-home .investia-area--financas { --area: #2563eb; --area-text: #1d4ed8; --icon: url("../images/icons/financas.svg"); }
.investia-home .investia-area--gestao { --area: #7c3aed; --area-text: #6d28d9; --icon: url("../images/icons/gestao.svg"); }
.investia-home .investia-area--inovacao { --area: #06b6d4; --area-text: #0e7490; --icon: url("../images/icons/inovacao.svg"); }
.investia-home .investia-area--formacao { --area: #f59e0b; --area-text: #b45309; --icon: url("../images/icons/academia.svg"); }

/* Artigos */
.investia-home .investia-news .wp-block-post-template { gap: 20px; margin-top: 24px; }
.investia-home .investia-news .wp-block-post { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 4px rgb(8 15 25 / .04), 0 6px 16px -4px rgb(8 15 25 / .10); }
.investia-home .investia-news .wp-block-post-featured-image { margin: 0; border-top: 4px solid #2563eb; }
.investia-home .investia-news .wp-block-post-title { font-size: 1.15rem !important; line-height: 1.3 !important; letter-spacing: -0.01em; margin: 18px 20px 8px !important; }
.investia-home .investia-news .wp-block-post-title a { color: #080f19; text-decoration: none; }
.investia-home .investia-news .wp-block-post-excerpt { margin: 0 20px 20px; font-size: .9rem; line-height: 1.55; color: #52525b; }
.investia-home .investia-news .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 8px; }
.investia-home .investia-news .wp-block-post-excerpt__more-link { font-weight: 600; color: #2563eb; }

/* Academia */
.investia-home .investia-academia { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; background: #080f19; color: #f8fafc;
	padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); border-top: 4px solid #f59e0b; }
.investia-home .investia-academia::after { content: ""; position: absolute; z-index: -1; right: clamp(16px, 4vw, 56px); bottom: clamp(16px, 4vw, 48px);
	width: min(38%, 300px); aspect-ratio: 2730 / 745; background: url("../images/graphics/progressao-ciano.svg") no-repeat right bottom / contain; }
.investia-home .investia-academia > * { max-width: 600px; position: relative; }
.investia-home .investia-academia .investia-over { color: #fbbf24; }
.investia-home .investia-academia h2 { color: #f8fafc !important; }
.investia-home .investia-academia h2 .investia-dot { color: #06b6d4; }
.investia-home .investia-academia p { color: #a1a1aa !important; margin: 0 0 28px; }
.investia-home .investia-academia .wp-block-button__link { background: #06b6d4; color: #080f19; }
@media (max-width: 720px) { .investia-home .investia-academia { padding-bottom: 110px; } .investia-home .investia-academia::after { width: 55%; } }

/* Newsletter */
.investia-home .investia-newsletter { background: #fff; border-radius: 16px; padding: clamp(28px, 5vw, 56px) !important;
	box-shadow: 0 2px 4px rgb(8 15 25 / .04), 0 6px 16px -4px rgb(8 15 25 / .10); }
.investia-home .investia-newsletter > * { max-width: 640px; }
.investia-home .investia-newsletter p { color: #52525b !important; }
.investia-home .investia-newsletter .mailpoet_form { padding: 0 !important; }
.investia-home .investia-newsletter .mailpoet_text, .investia-home .investia-newsletter .mailpoet_email { border: 1.5px solid #71717a !important; border-radius: 6px !important; padding: 12px 14px !important; font-family: var(--investia-font-body) !important; }
.investia-home .investia-newsletter .mailpoet_submit { background: #2563eb !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 12px 24px !important; font-weight: 600 !important; font-family: var(--investia-font-display) !important; }
