/* --- Global Styles & Variables --- */
:root {
    --primary-color: #00529B; /* Azul principal */
    --secondary-color: #c91525; /* Vermelho da marca */
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #333;
    --white-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden;
    overflow-x: clip;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--dark-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

/* Entradas suaves quando o conteúdo chega à tela. Sem JavaScript, tudo fica visível. */
.motion-ready .reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 650ms ease, translate 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready .reveal {
        opacity: 1;
        translate: none;
        transition: none;
    }
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #003d73;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #9f1020;
}

/* --- Header & Navbar --- */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.header .container {
    max-width: 1400px;
}

.navbar {
    display: grid;
    grid-template-columns: minmax(230px, auto) minmax(0, 1fr) 174px;
    align-items: center;
    min-height: 102px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    line-height: 1;
    transition: filter 180ms ease;
}

.logo:hover,
.logo:focus-visible {
    filter: brightness(1.18);
}

.logo img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-wordmark {
    color: #064c85;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.logo-wordmark span {
    color: var(--secondary-color);
}

.logo-tagline {
    color: #65778b;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.19em;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.8vw, 30px);
}

.nav-menu li {
    flex: 0 0 auto;
}

.nav-menu .nav-label {
    display: inline-block;
    padding: 9px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.16rem;
    color: var(--text-color);
    white-space: nowrap;
    box-shadow: inset 0 -3px 0 transparent;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav-menu .nav-label:hover,
.nav-menu .nav-label:focus-visible,
.nav-menu .nav-label[aria-current="page"] {
    color: var(--primary-color);
    background: #e6f1fb;
    box-shadow: inset 0 -3px 0 var(--primary-color);
}

.nav-menu .nav-label:hover,
.nav-menu .nav-label:focus-visible {
    background: #dcecff;
    box-shadow: inset 0 -3px 0 var(--primary-color);
}

.nav-menu .nav-label:focus-visible,
.nav-assinante:focus-visible,
.logo:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

.nav-assinante {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 174px;
    min-height: 70px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #084d86;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
    line-height: 1.25;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.nav-assinante:hover,
.nav-assinante:focus-visible {
    background: #063c68;
    color: #fff;
    box-shadow: 0 0 0 3px #b7d8f2;
}

/* --- Hero Section --- */
.hero-carousel {
    position: relative;
    height: clamp(430px, 36vw, 520px);
    overflow: hidden;
    background: #07365d;
    color: #fff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 650ms ease, visibility 650ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.hero-slide--right::after {
    background: linear-gradient(90deg, transparent 20%, rgba(2, 25, 55, .26) 50%, rgba(2, 21, 48, .64) 100%);
}

.hero-slide--left::after {
    background: linear-gradient(90deg, rgba(2, 21, 48, .62), rgba(2, 25, 55, .25) 55%, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
}

.hero-slide--right .hero-content { justify-content: flex-end; }
.hero-slide--left .hero-content { justify-content: flex-start; }

.hero-copy {
    width: min(49%, 555px);
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffb8c0;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-title {
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 4vw, 3.65rem);
    line-height: 1.1;
}

.hero-copy p {
    max-width: 500px;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.hero-copy .btn { text-shadow: none; }

.hero-controls {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-carousel.is-ready .hero-controls { display: block; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(3, 31, 61, .38);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    pointer-events: auto;
}

.hero-arrow:hover,
.hero-arrow:focus-visible { background: rgba(3, 31, 61, .8); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero-dot.is-active { background: #fff; }

.hero-dot:focus-visible,
.hero-arrow:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Plans Section --- */
.plans {
    padding: 80px 0;
    background: radial-gradient(circle at 85% 15%, #442c57 0%, #281f3e 50%, #211a35 100%);
    color: #f7f6ff;
}

.plans .section-title h2 {
    color: #f9d447;
}

.plans .section-title p {
    color: #e8e2f2;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 276px;
    background: linear-gradient(155deg, #1766b8, #0c4b93);
    color: #fff;
    border: 2px solid #f9d447;
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(7, 11, 39, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.plan-card:hover,
.plan-card:focus-visible {
    color: #fff;
    border-color: #fff0a0;
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(7, 11, 39, 0.42), 0 0 0 4px rgba(249, 212, 71, 0.2);
}

.plan-card:focus-visible {
    outline: 3px solid #fff0a0;
    outline-offset: 4px;
}

.plan-card__speed {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 8px 12px;
    line-height: 0.95;
}

.plan-card__speed strong {
    color: #f6f7ff;
    font-size: clamp(3.4rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.07em;
}

.plan-card__speed span {
    color: #ffe262;
    font-size: clamp(1.15rem, 2.3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.plan-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    background: #f9d447;
    color: #172145;
    font-size: clamp(1.4rem, 2.8vw, 2.25rem);
    font-weight: 800;
}

.plan-card__price strong {
    font-weight: 800;
}

.plans-note {
    max-width: none;
    margin: 24px auto 0;
    color: #e8e2f2;
    text-align: center;
    font-size: 0.95rem;
}

.page-content--plans {
    background: #281f3e;
    color: #f7f6ff;
}

.page-content--plans .plans-grid {
    margin: 34px auto;
}

.page-content--plans .info-card {
    background: linear-gradient(155deg, #1766b8, #0c4b93);
    border: 2px solid #f9d447;
    color: #fff;
    box-shadow: 0 16px 32px rgba(7, 11, 39, 0.28);
}

.page-content--plans .info-card h2,
.page-content--plans .page-callout h2 {
    color: #ffe262;
}

.page-content--plans .page-callout {
    background: #123c76;
    border: 1px solid #f9d447;
}

.page-content--plans .page-callout .btn {
    background: #f9d447;
    border-color: #f9d447;
    color: #123c76;
}

/* --- Contact Section --- */
.page-header {
    padding: 76px 0 64px;
    background: linear-gradient(135deg, #063a71, #0765a9);
    color: #fff;
}

.page-header h1 {
    max-width: 850px;
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-header p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: 1.16rem;
}

.page-content {
    padding: 72px 0 88px;
}

.page-content > .container > p {
    max-width: 800px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 34px 0;
}

.info-card {
    padding: 28px;
    border: 1px solid #e2e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 59, 113, 0.06);
}

.info-card h2 {
    color: var(--primary-color);
    font-size: 1.35rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.page-callout {
    padding: 28px;
    border-radius: 14px;
    background: #eff6fc;
}

.page-callout p:last-child {
    margin-bottom: 0;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.page-actions .btn {
    text-align: center;
}

.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0.2rem;
    color: #555;
}

/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Design --- */
@media(max-width: 1240px) {
    .navbar { grid-template-columns: 1fr auto; padding: 12px 0; gap: 12px; }
    .nav-menu { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
}

@media(max-width: 768px) {
    .header { position: relative; }
    h2 { font-size: 2rem; }

    .logo img { width: 56px; height: 56px; }
    .logo-wordmark { font-size: 1.55rem; }
    .nav-menu .nav-label { font-size: 1rem; }
    .nav-menu { gap: 10px 18px; }
    .nav-assinante { width: auto; min-height: 48px; font-size: 0.72rem; }

    .hero-carousel { height: 530px; }
    .hero-copy { width: min(80%, 560px); }

    .services-grid, .contact-info, .info-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; }

    .page-header { padding: 58px 0 52px; }
    .page-content { padding: 52px 0 64px; }
    .info-grid { gap: 18px; }

}

@media(max-width: 600px) {
    .container { padding: 0 16px; }

    .header .container { padding: 0 12px; }
    .navbar { min-height: 0; gap: 6px; padding: 6px 0; }
    .logo { gap: 6px; min-width: 0; }
    .logo img { width: 38px; height: 38px; }
    .logo-wordmark { font-size: 1.12rem; }
    .logo-tagline { display: none; }
    .nav-assinante {
        max-width: 100px;
        min-height: 36px;
        padding: 4px 7px;
        border-radius: 8px;
        font-size: 0.6rem;
        line-height: 1.2;
    }
    .nav-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2px 4px;
        width: 100%;
        text-align: center;
    }
    .nav-menu .nav-label { display: block; padding: 4px 2px; font-size: 0.78rem; line-height: 1.25; }

    .hero-carousel { height: 570px; }
    .hero-slide { align-items: flex-end; }
    .hero-slide--right .hero-image { object-position: 20% center; }
    .hero-slide--left .hero-image { object-position: 78% center; }
    .hero-slide::after {
        background: linear-gradient(0deg, rgba(2, 22, 47, .96), rgba(2, 22, 47, .72) 45%, rgba(2, 22, 47, .12) 100%);
    }
    .hero-content { justify-content: center !important; padding-bottom: 88px; }
    .hero-copy { width: 100%; text-align: center; }
    .hero-title { font-size: clamp(2rem, 8vw, 2.7rem); }
    .hero-copy p { font-size: 1rem; }
    .hero-arrow { display: none; }
    .btn { padding: 11px 20px; }

    .services, .plans, .contact { padding: 56px 0; }
    .section-title { margin-bottom: 2rem; }
    .service-card { padding: 24px; }
    .plans-grid { gap: 12px; }
    .plan-card { min-height: 185px; border-radius: 14px; }
    .plan-card__speed { padding: 12px 4px 8px; }
    .plan-card__speed strong { font-size: clamp(3rem, 13vw, 4.2rem); }
    .plan-card__speed span { font-size: 1rem; }
    .plan-card__price { padding: 10px 3px; font-size: clamp(1rem, 4.5vw, 1.45rem); gap: 2px; }
    .contact-info { gap: 28px; }
}

@media(max-width: 360px) {
    .logo img { width: 34px; height: 34px; }
    .logo-wordmark { font-size: 1rem; }
    .nav-assinante { max-width: 90px; font-size: 0.57rem; }
    .nav-menu .nav-label { font-size: 0.72rem; }
}

/* Categorias e opções de planos */
.plans-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; }
.plan-card__badge { background: #ffe262; color: #172145; padding: 9px 12px; font-size: .85rem; font-weight: 800; }
.plan-card--featured { border-color: #fff0a0; box-shadow: 0 16px 32px rgba(7,11,39,.28), 0 0 0 3px rgba(249,212,71,.2); }
.plan-card__action { padding: 12px 8px; font-size: .8rem; font-weight: 600; }
.plan-card__price--consult { font-size: 1.35rem; }
.plans-more { text-align: center; margin-top: 32px; }
.plan-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.plan-categories a { color: #fff; padding: 12px 20px; border: 1px solid #ffe262; border-radius: 28px; font-weight: 600; }
.plan-categories a:hover, .plan-categories a[aria-current="page"] { background: #ffe262; color: #172145; }
.plan-categories a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.plan-category-section { margin-bottom: 58px; scroll-margin-top: 120px; }
.plan-category-section h2 { color: #ffe262; font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 10px; }
@media (max-width: 1000px) { .plans-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .plans-grid--four { grid-template-columns: 1fr; max-width: 360px; } .plan-categories a { font-size: .85rem; padding: 10px 14px; } }

/* Páginas de planos: continuidade visual com os banners da página inicial. */
.plan-page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 100px 0 90px; background: #07365d; }
.plan-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--plan-banner); background-size: cover; background-position: center; }
.plan-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(2,21,48,.9),rgba(2,21,48,.65) 52%,rgba(2,21,48,.15)); }
.plan-page-hero h1 { max-width: 700px; }
.plan-page-hero p { max-width: 570px; }
.page-content--plans { background: radial-gradient(circle at 85% 15%, #442c57 0%, #281f3e 50%, #211a35 100%); }
.page-content--plans .plan-categories { justify-content: flex-start; gap: 10px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.page-content--plans .plan-categories a { padding: 10px 18px; border-color: rgba(255,255,255,.2); font-size: .9rem; }
.page-content--plans .plan-categories a[aria-current="page"], .page-content--plans .plan-categories a:hover { border-color: #ffe262; }
.page-content--plans .plan-category-section { margin-bottom: 64px; }
.page-content--plans .plan-category-section h2 { color: #fff; }
.page-content--plans .plan-category-section > p { color: #d4cde3; }
.page-content--plans .plans-grid { margin-top: 28px; gap: 20px; }
.page-content--plans .plan-card { position: relative; min-height: 320px; border: 1px solid rgba(144,195,255,.3); border-radius: 30px; padding: 40px 20px 22px; background: linear-gradient(145deg,#1666b3,#0b407e); box-shadow: 0 14px 30px rgba(5,13,35,.2); }
.page-content--plans .plan-card:hover { transform: translateY(-5px); border-color: #ffe262; }
.page-content--plans .plan-card--featured { border: 2px solid #ffe262; box-shadow: 0 14px 30px rgba(5,13,35,.2); }
.page-content--plans .plan-card__badge { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); border-radius: 50px; padding: 4px 14px; font-size: .72rem; white-space: nowrap; }
.page-content--plans .plan-card__speed { flex: 1; gap: 9px; padding: 16px 0 22px; }
.page-content--plans .plan-card__speed strong { font-size: clamp(3.8rem,5vw,5.5rem); }
.page-content--plans .plan-card__speed span { font-size: 1.15rem; letter-spacing: .14em; }
.page-content--plans .plan-card__price { background: transparent; color: #fff; padding: 0 0 20px; font-size: 1.15rem; gap: 6px; }
.page-content--plans .plan-card__price strong { font-size: 2rem; letter-spacing: -.04em; }
.page-content--plans .plan-card__price--consult strong { font-size: 1.4rem; letter-spacing: 0; }
.page-content--plans .plan-card__action { border-radius: 50px; background: #ffe262; color: #172145; padding: 11px 8px; font-size: .75rem; font-weight: 700; }
.page-content--plans .page-callout { border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.045); padding: 32px; }
.page-content--plans .page-callout h2 { color: #fff; }
@media (max-width: 768px) { .plan-page-hero { padding: 70px 0; } .plan-page-hero::before { background-position: 70% center; } .plan-page-hero::after { background: rgba(2,21,48,.72); } }
@media (max-width: 520px) { .page-content--plans { padding: 40px 0 56px; } .page-content--plans .plan-categories { justify-content: center; } .page-content--plans .plan-categories a { font-size: .8rem; padding: 9px 13px; } .page-content--plans .plan-card { min-height: 310px; } .page-content--plans .plan-category-section h2, .page-content--plans .plan-category-section > p { text-align: center; } .page-content--plans .page-callout { padding: 26px 22px; } }

/* Fundo branco nas áreas de planos. */
.plans, .page-content--plans { background: #fff; color: #333; }
.plans .section-title h2, .page-content--plans .plan-category-section h2 { color: #00529b; }
.plans .section-title p, .plans-note, .page-content--plans .plan-category-section > p { color: #666; }
.page-content--plans .plan-categories { border-bottom-color: #e4eaf0; }
.page-content--plans .plan-categories a { color: #00529b; border-color: #d4e0eb; }
.page-content--plans .plan-categories a:hover, .page-content--plans .plan-categories a[aria-current="page"] { color: #172145; }
.page-content--plans .plan-categories a:focus-visible { outline-color: #00529b; }
.page-content--plans .page-callout { background: #f4f8fc; border-color: #dce7f1; color: #333; }
.page-content--plans .page-callout h2 { color: #00529b; }

/* Apresentação institucional da MACNET. */
.company-about { background: #fff; }
.company-intro { max-width: 850px; }
.company-intro h2, .company-details h2 { color: #00529b; font-size: clamp(1.65rem,3vw,2.4rem); }
.company-eyebrow { display: block; color: #c91525; font-size: .8rem; letter-spacing: .14em; font-weight: 700; margin-bottom: 14px; }
.company-highlights { margin: 40px 0 54px; }
.company-highlights .info-card { border-radius: 24px; padding: 30px; box-shadow: none; background: #fff; }
.company-number { display: block; color: #00529b; font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.company-highlights .info-card h2 { font-size: 1.1rem; color: #333; }
.company-details { margin-bottom: 44px; }
.company-details dl { margin-top: 24px; border-top: 1px solid #e2e8ef; }
.company-details dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid #e2e8ef; }
.company-details dt { font-weight: 600; color: #00529b; }
.company-details dd { margin: 0; overflow-wrap: anywhere; }
.company-about .page-callout { border-radius: 24px; }
@media(max-width: 600px) { .company-details dl > div { grid-template-columns: 1fr; gap: 6px; } .company-number { font-size: 1.8rem; } }

/* Conteúdo institucional fornecido pela MACNET. */
.company-banner { background: #fff; }
.company-banner img { display: block; width: 100%; height: auto; }
.company-welcome { padding: 54px 0 0; background: #fff; }
.company-welcome h1 { color: #00529b; max-width: 920px; font-size: clamp(1.9rem,3.5vw,3rem); }
.company-welcome p { max-width: 850px; font-size: 1.1rem; color: #555; margin-bottom: 0; }
.company-welcome + .company-about { padding-top: 48px; }
.company-story-grid, .company-purpose, .company-location { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.company-about h2 { color: #00529b; font-size: clamp(1.5rem,2.4vw,2rem); }
.company-purpose { margin: 44px 0 56px; padding: 32px 0; border-top: 1px solid #e2e8ef; border-bottom: 1px solid #e2e8ef; }
.company-section { margin-bottom: 56px; }
.company-values { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 26px; }
.company-values .info-card { border-radius: 24px; box-shadow: none; padding: 26px; }
.company-values h3 { color: #00529b; font-size: 1.15rem; }
.company-location { align-items: center; }
.company-location address { font-style: normal; margin: 20px 0; }
.company-location iframe { width: 100%; height: 300px; border: 1px solid #e2e8ef; border-radius: 24px; }
.company-final { border-top: 1px solid #e2e8ef; padding-top: 36px; background: #fff; }
@media(max-width: 1000px) { .company-values { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 700px) { .company-story-grid, .company-purpose, .company-location { grid-template-columns: 1fr; gap: 26px; } .company-welcome { padding-top: 32px; } .company-section { margin-bottom: 40px; } }
@media(max-width: 450px) { .company-values { grid-template-columns: 1fr; gap: 14px; } }

.company-location--bottom { grid-template-columns: 1fr; gap: 24px; border-top: 1px solid #e2e8ef; padding-top: 36px; }
.company-location--bottom iframe { height: 380px; }
@media(max-width: 600px) { .company-location--bottom iframe { height: 300px; } }

/* WhatsApp permanece visível durante toda a rolagem. */
body { position: relative; }
.whatsapp-follow { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); z-index: 50; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #128c4a; border: 2px solid #fff; box-shadow: 0 4px 18px rgba(0,0,0,.2); transition: background 180ms ease; transform: none !important; }
.whatsapp-follow:hover { background: #0b7039; }
.whatsapp-follow:focus-visible { outline: 3px solid #00529b; outline-offset: 4px; }
.whatsapp-follow img { display: block; }
@media(max-width: 600px) { .whatsapp-follow { right: 16px; width: 56px; height: 56px; } }

/* Banners das categorias ocupam toda a largura da janela. */
.plan-category-banner {
    display: block;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    height: auto;
    margin: 0 0 32px -50vw;
}

/* Os cards usam imagens com nomes fixos para permitir a troca direta dos arquivos. */
.plan-card.plan-card--image,
.page-content--plans .plan-card.plan-card--image {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.plan-card.plan-card--image:hover,
.page-content--plans .plan-card.plan-card--image:hover {
    border: 0;
    box-shadow: none;
}

.plan-card__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.plans-catalog {
    padding-top: 0;
}

@media(max-width: 600px) {
    .plan-category-banner { margin-bottom: 24px; }
    .page-content--plans .plans-grid { gap: 14px; }
    .plan-card.plan-card--image { width: 100%; max-width: 280px; margin-inline: auto; }
    .page-content--plans .plan-category-section { margin-bottom: 42px; }
}
