/* Títulos longos — reduz o vw para caber na viewport */
.hero-title span { line-height: 1; }
.scrolling-element p { font-size: 18px; line-height: 1.8; color: #666; margin-bottom: 30px; text-align: justify; }
.dark-section .scrolling-element p { color: #ccc; }
/* Justificado nos parágrafos de conteúdo */
.one_half p { text-align: justify; }
.authority-box p { text-align: justify; }
.warning-box p { text-align: justify; }
.scrolling-element h4 { font-family: 'Six Caps', sans-serif; font-size: 4rem; line-height: 1.05; text-transform: uppercase; color: #8c6144; margin-bottom: 18px; letter-spacing: 2px; }
@media (max-width: 1100px) { .scrolling-element h4 { font-size: 3rem; } }
@media (max-width: 600px) { .scrolling-element h4 { font-size: 2.4rem; } }
.dark-section .scrolling-element h4 { color: #fff; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }
.highlight-text { font-weight: 700; color: #8c6144; }
.dark-section .highlight-text { color: #fff; }

.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(140,97,68,0.12); color: #8c6144; margin-bottom: 20px; }
.icon-circle .material-symbols-outlined { font-size: 32px; }
.dark-section .icon-circle { background: rgba(255,255,255,0.08); color: #fff; }

/* Cards dos pilares — grid 2x2 fixo */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 40px auto 0; max-width: 880px; }
@media (max-width: 768px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-card { padding: 36px 32px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1); }
.pillar-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.06); border-color: rgba(201,164,122,0.4); box-shadow: 0 24px 50px rgba(0,0,0,0.3); }
.pillar-card .material-symbols-outlined { font-size: 40px; color: #c9a47a; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.pillar-card:hover .material-symbols-outlined { transform: scale(1.12) rotate(-5deg); }
.pillar-card h5 { font-family: 'Six Caps', sans-serif; font-size: 2.6rem; color: #fff; margin: 16px 0 12px; letter-spacing: 2px; }
.pillar-card p { color: #aaa; font-size: 15px; line-height: 1.75; margin: 0; }

/* Cards de estatísticas — grid 2x2 fixo */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 30px auto 0; gap: 24px; }
@media (max-width: 600px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card { padding: 32px 28px; border-radius: 12px; background: #f7f4f0; border-bottom: 3px solid transparent; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1); }
.stat-card:hover { transform: translateY(-6px); border-color: #8c6144; box-shadow: 0 20px 40px rgba(140,97,68,0.12); }
.stat-card .stat-number { font-family: 'Six Caps', sans-serif; font-size: 4.5rem; color: #8c6144; line-height: 1; letter-spacing: 2px; }
.stat-card h5 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: #1a1a1a; margin: 10px 0 8px; }
.stat-card p { color: #666; font-size: 14px; line-height: 1.65; margin: 0; }

/* Cards de dicas práticas — grid 2x2 fixo */
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 30px auto 0; gap: 24px; }
@media (max-width: 600px) { .tip-grid { grid-template-columns: 1fr; } }
.tip-card { padding: 32px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s ease, background 0.4s ease; }
.tip-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #8c6144, #c9a47a); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.tip-card:hover { transform: translateY(-6px); border-color: rgba(201,164,122,0.3); background: rgba(255,255,255,0.06); }
.tip-card:hover::before { transform: scaleX(1); }
.tip-card .material-symbols-outlined { font-size: 36px; color: #c9a47a; }
.tip-card h5 { font-family: 'Six Caps', sans-serif; font-size: 2rem; color: #fff; margin: 14px 0 10px; letter-spacing: 1.5px; }
.tip-card p { color: #aaa; font-size: 14px; line-height: 1.7; margin: 0; }

/* Cards de design contra o crime — grid 2x2 fixo */
.design-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 30px auto 0; gap: 24px; }
@media (max-width: 600px) { .design-grid { grid-template-columns: 1fr; } }
.design-card { padding: 32px 28px; border-radius: 12px; background: #f7f4f0; border-left: 4px solid transparent; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1); }
.design-card:hover { transform: translateX(6px); border-color: #8c6144; box-shadow: 0 16px 36px rgba(140,97,68,0.10); }
.design-card .material-symbols-outlined { font-size: 36px; color: #8c6144; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.design-card:hover .material-symbols-outlined { transform: scale(1.14) rotate(6deg); }
.design-card h5 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: #1a1a1a; margin: 14px 0 8px; }
.design-card p { color: #666; font-size: 14px; line-height: 1.65; margin: 0; }

/* Glossário */
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 30px auto 0; gap: 20px; }
@media (max-width: 600px) { .gloss-grid { grid-template-columns: 1fr; } }
.gloss-item { padding: 24px; border-left: 3px solid #8c6144; background: #faf7f3; transition: border-left-width 0.3s ease, background 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.gloss-item:hover { border-left-width: 6px; background: #f3ebe1; transform: translateX(4px); }
.gloss-item dt { font-family: 'Six Caps', sans-serif; font-size: 1.8rem; color: #8c6144; letter-spacing: 1.5px; margin-bottom: 8px; }
.gloss-item dd { margin: 0; font-size: 14px; color: #555; line-height: 1.65; }

/* Warning box — WCAG AA+ sobre fundo escuro */
.warning-box { padding: 40px; border-radius: 12px; background: linear-gradient(135deg, #1a1a1a 0%, #2a1f17 100%); color: #fff; margin-top: 40px; }
.warning-box .material-symbols-outlined { color: #e8c89a !important; font-size: 48px; margin-bottom: 16px; }
.light-section .warning-box h4,
.warning-box h4 { font-family: 'Six Caps', sans-serif; font-size: 3rem; color: #fff !important; letter-spacing: 2px; margin: 0 0 16px; line-height: 1.1; }
.light-section .warning-box p,
.warning-box p { color: #f0f0f0 !important; font-size: 16px; line-height: 1.7; margin: 0; }
.warning-box strong { color: #e8c89a !important; }
.warning-box .highlight-text { color: #e8c89a !important; }

/* Authority box */
.authority-box { padding: 36px 40px; border-left: 4px solid #8c6144; background: #faf7f3; border-radius: 0 12px 12px 0; margin-top: 40px; }
.authority-box .material-symbols-outlined { font-size: 28px; color: #8c6144; margin-bottom: 12px; }
.authority-box h5 { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #8c6144; margin: 0 0 12px; }
.authority-box p { color: #444; font-size: 15px; line-height: 1.75; margin: 0; }
.authority-box strong { color: #1a1a1a; font-weight: 600; }

/* Imagem de seção */
.section-img { width: 100%; border-radius: 12px; display: block; margin-top: 30px; }
.section-img-wrap { position: relative; overflow: hidden; border-radius: 12px; }
.section-img-wrap img { transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); display: block; width: 100%; border-radius: 12px; }
.section-img-wrap:hover img { transform: scale(1.03); }
figcaption { font-size: 13px; color: #999; margin-top: 12px; font-style: italic; line-height: 1.5; }

/* Lista de dicas residenciais */
.dicas-list { list-style: none; padding: 0; margin: 30px 0 0; }
.dicas-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: padding-left 0.3s ease; }
.dicas-list li:hover { padding-left: 8px; }
.dicas-list li .material-symbols-outlined { color: #c9a47a; font-size: 26px; flex-shrink: 0; margin-top: 2px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.dicas-list li:hover .material-symbols-outlined { transform: scale(1.15); }
.dicas-list li strong { display: block; font-weight: 600; color: #fff; margin-bottom: 4px; font-size: 15px; }
.dicas-list li span.desc { color: #aaa; font-size: 14px; line-height: 1.6; }

/* Pinned: hover no icon-circle */
.feature-block .icon-circle { transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), background 0.5s ease, box-shadow 0.5s ease; }
.feature-block:hover .icon-circle { transform: scale(1.08) rotate(-6deg); background: rgba(201,164,122,0.22); box-shadow: 0 12px 30px rgba(201,164,122,0.18); }

/* Warning box: pulso no ícone */
.warning-box { transition: box-shadow 0.5s ease; }
.warning-box:hover { box-shadow: 0 30px 70px rgba(140,97,68,0.25); }
.warning-box .material-symbols-outlined { animation: warnPulse 2.8s cubic-bezier(0.4,0,0.6,1) infinite; }
@keyframes warnPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(1.06); }
}

/* Blocos de citação */
blockquote { font-size: 22px; font-style: italic; border-left: 4px solid #8c6144; padding-left: 28px; margin: 40px 0; color: #444; line-height: 1.6; }
.dark-section blockquote { color: #ddd; border-left-color: #c9a47a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
