/* Extensões da identidade MagShield. Layout das seções prontas preservado. */
.hidden { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 2000; padding: 1rem; background: white; color: var(--primary); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #2789dc; outline-offset: 5px; }
.fade-up { opacity: 1; transform: none; }
.fade-up.ms-reveal:not(.visible) { opacity: 0; transform: translateY(20px); }
.nav-links { gap: 1rem; }
.nav-links a { font-size: 15px; letter-spacing: .5; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { max-width: 220px; object-fit: contain; }
.nav-cta { padding: .75rem 1rem; }
.mobile-contact { display: none; }
.footer-brand img { filter: none; height: auto; max-width: 240px; }
.footer-location { font-size: 12px; }
.footer .fcc-value { overflow-wrap: anywhere; }
.floating-whatsapp i { font-size: 30px; }
.page-hero-title { max-width: 900px; }
img.page-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-breadcrumb, .page-breadcrumb a { color: #cbd9e8; }
.page-hero-tag { color: #91caff; }
.page-hero-tag::before { background: #91caff; }
.ms-intro { max-width: 740px; margin-bottom: 2.5rem; }
.ms-intro p { color: var(--on-surface-v); margin-top: 1rem; font-size: 18px; line-height: 1.75; }
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ms-card { background: #fff; border: 1px solid #e0e5eb; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 250px}
.ms-card-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #ecf1f5; max-height: 380px; }
.ms-card-body { padding: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; flex: 1; }
.ms-card h2,.ms-card h3 { font: 700 21px/1.3 'Manrope',sans-serif; }
.ms-card p { color: var(--on-surface-v); line-height: 1.75; }
.ms-card .ms-link { margin-top: auto; padding-top: .6rem; }
.ms-testimonial-gallery { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ms-testimonial-gallery a { display: block; overflow: hidden; background: #edf1f4; border: 1px solid #dbe3ec; border-radius: 6px; cursor: zoom-in; }
.ms-testimonial-gallery a:only-child { grid-column: 1 / -1; }
.ms-testimonial-gallery img { display: block; width: 100%; height: 320px; object-fit: contain; }
.ms-kicker { color: var(--primary); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.ms-link { display: inline-flex; gap: .6rem; color: var(--primary); font-weight: 700; font-size: 14px; }
.ms-link:hover { text-decoration: underline; }
.ms-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.ms-detail--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.ms-detail-copy { padding-top: 1rem; }
.ms-detail-copy h2 { margin: .7rem 0 1rem; }
.ms-detail-copy p { line-height: 1.8; color: var(--on-surface-v); }
.ms-features { padding-left: 1.2rem; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.ms-gallery-main { width: 100%; height: 450px; object-fit: contain; background: #edf1f4; border-radius: 12px; }
.ms-gallery-caption { font-size: 12px; color: var(--on-surface-v); margin: .7rem 0 1rem; min-height: 2.5em; }
.ms-thumbs { display: flex; gap: .75rem; }
.ms-thumbs a { display: block; border: 2px solid transparent; border-radius: 6px; overflow: hidden; }
.ms-thumbs a[aria-current] { border-color: var(--primary); }
.ms-thumbs img { width: 100px; height: 76px; object-fit: cover; }
.ms-gallery-note { color: var(--on-surface-v); font-size: 12px; margin-top: 1rem; }
.ms-soft { background: #eef3f8; }
.ms-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ms-split > img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; }
.ms-split p { margin-top: 1.2rem; line-height: 1.8; color: var(--on-surface-v); }
.ms-split .ms-link { margin-top: 1.5rem; }
.ms-video-preview { background: var(--primary-container); color: #fff; }
.ms-video-preview .headline-lg, .ms-video-preview .ms-split p { color: #fff; }
.ms-video-preview .section-tag { color: #50A9E3; }
.ms-video-preview .section-tag::before { background: #50A9E3; }
.ms-video-preview .btn { margin-top: 1.5rem; }
.ms-cta { padding: 3.5rem 0; background: #eaf1f8; border-top: 1px solid #dbe6f1; }
.ms-cta-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.ms-cta p { margin-top: .8rem; color: var(--on-surface-v); }
.ms-empty { padding: 3rem; border: 1px solid #d5e1eb; border-left: 4px solid var(--primary); border-radius: 12px; background: #fff; max-width: 850px; }
.ms-empty p { max-width: 650px; margin: 1rem 0 1.6rem; color: var(--on-surface-v); line-height: 1.8; }
.ms-quote { font: 500 21px/1.6 'Manrope', sans-serif; }
.ms-video { width: 100%; aspect-ratio: 16/9; background: #070d35; }
.ms-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.ms-contact-info p { margin: 1rem 0 1.5rem; line-height: 1.8; color: var(--on-surface-v); }
.ms-contact-info > a { display: block; margin: 1rem 0; font-weight: 600; color: var(--primary); overflow-wrap: anywhere; }
.ms-form { padding: 2rem; border: 1px solid #dbe3ec; border-radius: 16px; background: #fff; }
.ms-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ms-field { display: flex; flex-direction: column; gap: .45rem; font-size: 14px; font-weight: 600; }
.ms-field-wide { grid-column: 1 / -1; }
.ms-field input,.ms-field textarea { font: 400 16px/1.5 'Inter', sans-serif; width: 100%; border: 1px solid #aebbc9; border-radius: 7px; padding: .8rem; background: #fff; color: #1b1b1d; }
.ms-field textarea { resize: vertical; min-height: 130px; }
.ms-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 13px; line-height: 1.6; margin: 1.4rem 0; }
.ms-consent input { margin-top: .3rem; flex-shrink: 0; }
.ms-consent a { color: var(--primary); text-decoration: underline; }
.ms-form-note { color: var(--on-surface-v); font-size: 13px; margin: 0 0 1.5rem; }
.ms-form-status { font-size: 14px; line-height: 1.6; margin: 1rem 0; color: #8b2626; }
.ms-alert { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 1px solid #e4b7b7; background: #fff2f2; border-radius: 8px; }
.ms-alert-success { background: #edf8f1; border-color: #b5d7c1; color: #215b36; }
.ms-form button:disabled { opacity: .7; cursor: wait; }
.ms-prose { max-width: 800px; line-height: 1.85; }
.ms-prose h2 { margin: 2rem 0 .75rem; font-family: 'Manrope',sans-serif; }
.ms-prose a { color: var(--primary); text-decoration: underline; }
.ms-logo { width: 180px; height: 100px; object-fit: contain; margin: 1.5rem; }
.ms-card--client .ms-logo { width: calc(100% - 3rem); height: 200px; margin: 1.5rem 1.5rem 0; }
[id] { scroll-margin-top: 100px; }
@media (max-width: 1150px) {
 .nav-links { display: none; }
 .nav-toggle { display: flex; }
 .nav-cta { margin-left: auto; margin-right: 1.5rem; }
 .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 1.25rem; background: white; gap: .4rem; max-height: calc(100dvh - 85px); overflow-y: auto; box-shadow: var(--shadow-nav); }
 .nav-links.open a { display: block; padding: .55rem; font-size: 16px; }
 .mobile-contact { display: block; }
 .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
 .ms-detail,.ms-split,.ms-contact { grid-template-columns: 1fr; gap: 2rem; }
 .ms-grid { grid-template-columns: 1fr; }
 .ms-cta-inner { flex-direction: column; align-items: flex-start; }
 .ms-fields { grid-template-columns: 1fr; }
 .ms-form { padding: 1.2rem; }
 .ms-empty { padding: 1.5rem; }
 .ms-gallery-main { height: 310px; }
 .nav-logo img { max-width: 195px; }
 .ms-contact .headline-lg { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
 .fade-up.ms-reveal:not(.visible) { opacity: 1; transform: none; }
}
/* Turnstile flexible widgets require at least 300px, including on 320px screens. */
@media (max-width: 480px) {
 .ms-contact.container { padding-inline: 10px; }
 .ms-form {  }
}
