/* ===========================
   Tesla Tech IT — style.css
   Dark: #0d0d0d | Orange: #f26522
   =========================== */

:root {
    --clr-bg:        #0d0d0d;
    --clr-bg2:       #111111;
    --clr-bg3:       #181818;
    --clr-surface:   #1c1c1c;
    --clr-border:    #2a2a2a;
    --clr-accent:    #f26522;
    --clr-accent-h:  #ff7a30;
    --clr-text:      #e8e8e8;
    --clr-muted:     #888888;
    --clr-white:     #ffffff;
    --radius:        10px;
    --radius-lg:     16px;
    --shadow:        0 4px 24px rgba(0,0,0,.5);
    --shadow-accent: 0 4px 30px rgba(242,101,34,.25);
    --transition:    .25s ease;
    --container:     1200px;
    --font:          'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--clr-white); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.text-accent { color: var(--clr-accent); }

/* ---- BADGE ---- */
.badge {
    display: inline-block;
    padding: .3rem .9rem;
    border-radius: 100px;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    padding: .6rem 1.4rem;
    font-size: .9rem;
}
.btn--sm   { padding: .45rem 1rem; font-size: .82rem; }
.btn--lg   { padding: .85rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
    background: var(--clr-accent-h);
    border-color: var(--clr-accent-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(242,101,34,.35);
}

.btn--outline {
    background: transparent;
    border-color: var(--clr-border);
    color: var(--clr-text);
}
.btn--outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: .5rem 0;
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    background: rgba(13,13,13,.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar__logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--clr-white);
    letter-spacing: -.02em;
}
.navbar__logo-img {
    height: 100px;
    width: auto;
    transition: filter var(--transition), transform var(--transition);
}
.navbar__logo:hover .navbar__logo-img {
    filter: drop-shadow(0 0 10px rgba(242,101,34,.5));
    transform: scale(1.03);
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar__nav a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--clr-muted);
    transition: color var(--transition);
}
.navbar__nav a:hover { color: var(--clr-white); }
.navbar__nav .btn { margin-left: .5rem; }

/* Fale Conosco — destaque minimalista */
.navbar__nav .btn--fale {
    background: transparent;
    border: none;
    color: var(--clr-white);
    font-weight: 600;
    padding: .45rem 0;
    position: relative;
    letter-spacing: .02em;
}
.navbar__nav .btn--fale::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--clr-accent);
    transition: width .35s ease;
}
.navbar__nav .btn--fale:hover {
    color: var(--clr-white);
    transform: none;
}
.navbar__nav .btn--fale:hover::after { width: 100%; }

/* Guia Chamados — destacada */
.nav-chamados {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--clr-accent);
    background: rgba(242,101,34,.1);
    color: var(--clr-accent) !important;
    font-weight: 600 !important;
    transition: var(--transition);
}
.nav-chamados svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.nav-chamados:hover {
    background: var(--clr-accent);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.navbar__toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(242,101,34,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(242,101,34,.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-block: 6rem 4rem;
}
.hero__title {
    margin-bottom: 1.25rem;
}
.hero__subtitle {
    font-size: 1.1rem;
    color: var(--clr-muted);
    max-width: 560px;
    margin-bottom: 2.25rem;
    line-height: 1.8;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero__stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.stat strong {
    font-size: 2rem;
    font-weight: 900;
    color: var(--clr-accent);
    line-height: 1;
}
.stat span {
    font-size: .8rem;
    color: var(--clr-muted);
}
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}
.hero__scroll-indicator span {
    display: block;
    width: 24px; height: 40px;
    border: 2px solid var(--clr-border);
    border-radius: 100px;
    position: relative;
}
.hero__scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--clr-accent);
    border-radius: 100px;
    animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
    0%, 100% { opacity: 1; top: 6px; }
    50%       { opacity: .3; top: 20px; }
}

/* ===========================
   SECTION BASE
   =========================== */
.section { padding-block: 6rem; }
.section--dark { background: var(--clr-bg2); }

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section__header p {
    color: var(--clr-muted);
    max-width: 520px;
    margin: .75rem auto 0;
    font-size: 1.05rem;
}

/* ===========================
   MISSÃO E VISÃO
   =========================== */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.mv-card {
    padding: 3rem 2.5rem;
}
.mv-card__icon {
    width: 52px; height: 52px;
    background: rgba(242,101,34,.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.mv-card__icon svg {
    width: 26px; height: 26px;
    stroke: var(--clr-accent);
}
.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: .85rem;
}
.mv-card p {
    color: var(--clr-muted);
    line-height: 1.8;
    font-size: .95rem;
}
.mv-divider {
    width: 1px;
    background: var(--clr-border);
    position: relative;
}
.mv-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    background: var(--clr-accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 20px rgba(242,101,34,.4);
}

@media (max-width: 700px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .mv-divider {
        width: 100%;
        height: 1px;
    }
    .mv-divider::before {
        top: 0; left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* ===========================
   CARDS — SERVICOS
   =========================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
    border-color: var(--clr-accent);
}
.card--highlight {
    border-color: var(--clr-accent);
    background: linear-gradient(135deg, #1e1208 0%, var(--clr-surface) 60%);
    box-shadow: var(--shadow-accent);
}
.card__icon {
    width: 52px; height: 52px;
    background: rgba(242,101,34,.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.card__icon svg {
    width: 26px; height: 26px;
    color: var(--clr-accent);
    stroke: var(--clr-accent);
}
.card h3 { margin-bottom: .6rem; }
.card p  { color: var(--clr-muted); font-size: .9rem; margin-bottom: 1rem; }
.card__list { display: flex; flex-direction: column; gap: .4rem; }
.card__list li {
    font-size: .85rem;
    color: var(--clr-muted);
    padding-left: 1.1rem;
    position: relative;
}
.card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: var(--clr-accent);
    border-radius: 50%;
}

/* ===========================
   FEATURES — DIFERENCIAIS
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature {
    padding: 1.75rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    transition: border-color var(--transition), transform var(--transition);
}
.feature:hover {
    border-color: var(--clr-accent);
}
.feature__number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--clr-accent);
    opacity: .25;
    line-height: 1;
    margin-bottom: .5rem;
    font-variant-numeric: tabular-nums;
}
.feature h3  { margin-bottom: .5rem; }
.feature p   { color: var(--clr-muted); font-size: .9rem; }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
    background: linear-gradient(135deg, #1a0c00 0%, #2a1200 100%);
    border-top: 1px solid rgba(242,101,34,.2);
    border-bottom: 1px solid rgba(242,101,34,.2);
    padding-block: 4rem;
}
.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-banner p  { color: var(--clr-muted); margin-top: .4rem; }

/* ===========================
   CONTACT
   =========================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: .5rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
a.contact-item { transition: transform var(--transition); }
a.contact-item:hover { transform: translateX(4px); }
a.contact-item:hover .contact-item__icon { background: var(--clr-accent); color: #fff; }
a.contact-item:hover strong { color: var(--clr-accent); }
.contact-item__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: rgba(242,101,34,.1);
    border: 1px solid rgba(242,101,34,.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item__icon svg {
    width: 20px; height: 20px;
    stroke: var(--clr-accent);
}
.contact-item strong {
    display: block;
    font-size: .85rem;
    color: var(--clr-white);
    margin-bottom: .15rem;
}
.contact-item span {
    font-size: .85rem;
    color: var(--clr-muted);
}

/* FORM */
.contact-form {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--clr-muted);
    letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--clr-bg3);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    color: var(--clr-text);
    font-family: var(--font);
    font-size: .9rem;
    padding: .7rem 1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(242,101,34,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-feedback {
    font-size: .88rem;
    min-height: 1.4rem;
    text-align: center;
}
.form-feedback.success { color: #4caf50; }
.form-feedback.error   { color: #f44336; }

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--clr-bg2);
    border-top: 1px solid var(--clr-border);
    padding-top: 4rem;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer__brand .navbar__logo-img {
    height: 60px;
}
.footer__brand p {
    color: var(--clr-muted);
    font-size: .9rem;
    margin-top: .75rem;
    max-width: 240px;
}
.footer__links h4 {
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 1rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a {
    font-size: .88rem;
    color: var(--clr-muted);
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--clr-accent); }
.footer__bottom {
    border-top: 1px solid var(--clr-border);
    padding-block: 1.25rem;
    text-align: center;
}
.footer__bottom p { font-size: .82rem; color: var(--clr-muted); }

/* ===========================
   WHATSAPP FLUTUANTE
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: .65rem;
    background: #25d366;
    color: #fff;
    border-radius: 100px;
    padding: .75rem 1.1rem .75rem .85rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
    animation: wpp-float 3s ease-in-out infinite;
    transition: padding var(--transition), box-shadow var(--transition);
    overflow: hidden;
    max-width: 54px;
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.whatsapp-float__label {
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width .4s ease, opacity .3s ease;
}
.whatsapp-float:hover {
    max-width: 220px;
    padding: .75rem 1.25rem .75rem .85rem;
    box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.whatsapp-float:hover .whatsapp-float__label {
    max-width: 140px;
    opacity: 1;
}

@keyframes wpp-float {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-8px); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
    .contact-wrapper  { grid-template-columns: 1fr; }
    .footer__inner    { grid-template-columns: 1fr 1fr; }
    .footer__brand    { grid-column: 1 / -1; }
    .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
    .navbar__nav { display: none; flex-direction: column; align-items: flex-start; gap: 1rem; }
    .navbar__nav.open {
        display: flex;
        position: fixed;
        inset: 0;
        background: rgba(13,13,13,.98);
        padding: 6rem 2rem 2rem;
        z-index: 800;
    }
    .navbar__nav.open a { font-size: 1.4rem; color: var(--clr-white); }
    .navbar__toggle { display: flex; z-index: 901; }
    .navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar__toggle.open span:nth-child(2) { opacity: 0; }
    .navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .form-row { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__stats { gap: 1.5rem; }
    .footer__inner { grid-template-columns: 1fr; }
}

/* ===========================
   DIAGNÓSTICO (wizard CIS)
   =========================== */
.diag { padding-top: 8rem; min-height: 100vh; }
.diag__container { max-width: 860px; }

/* Progresso */
.diag-progress { margin-bottom: 2rem; }
.diag-progress__bar {
    height: 8px;
    background: var(--clr-bg3);
    border-radius: 100px;
    overflow: hidden;
}
.diag-progress__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--clr-accent);
    border-radius: 100px;
    transition: width .35s ease;
}
.diag-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--clr-muted);
    margin-top: .5rem;
}
.diag-progress__label span:last-child { color: var(--clr-accent); font-weight: 600; }

/* Card de etapa */
.diag-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}
.diag-intro__text { color: var(--clr-muted); margin: .75rem 0 1.5rem; }
.diag-card h3 { margin-bottom: .5rem; }

/* Card de início (lead) — mais estreito e centralizado */
#diag-intro { max-width: 620px; margin-inline: auto; }
#diag-lead-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
#diag-lead-form .btn--lg { margin-top: .5rem; }

.diag-step__title { font-size: 1.3rem; }
.diag-step__hint { color: var(--clr-muted); font-size: .85rem; margin: .35rem 0 1.75rem; }

/* Pergunta + escala */
.diag-question {
    padding: 1.1rem 0;
    border-top: 1px solid var(--clr-border);
}
.diag-question:first-of-type { border-top: none; padding-top: 0; }
.diag-question__text { font-weight: 500; margin-bottom: .75rem; color: var(--clr-text); }

.diag-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.diag-scale__opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .6rem .3rem;
    background: var(--clr-bg3);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    color: var(--clr-muted);
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
    text-align: center;
}
.diag-scale__opt:hover { border-color: var(--clr-accent); color: var(--clr-text); }
.diag-scale__num { font-size: 1.1rem; font-weight: 700; color: var(--clr-white); }
.diag-scale__lbl { font-size: .62rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
.diag-scale__opt.selected {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.diag-scale__opt.selected .diag-scale__num { color: #fff; }

/* Navegação */
.diag-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.diag-nav .btn { min-width: 140px; }
.diag-step__error { color: #f44336; font-size: .85rem; margin-top: 1rem; text-align: right; }

/* Resultado */
.diag-result {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}
.diag-result__head { text-align: center; margin-bottom: 2rem; }
.diag-result__head h3 { margin: .5rem 0 1.25rem; }
.diag-score { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.diag-score__big {
    font-size: 1.5rem;
    font-weight: 800;
    padding: .6rem 1.5rem;
    border-radius: 100px;
    color: #fff;
}
.diag-score__meta strong { font-size: 2rem; color: var(--clr-white); }
.diag-score__meta span { color: var(--clr-muted); font-size: .9rem; margin-left: .35rem; }

/* Frase chamativa */
.diag-pitch {
    margin: 1.75rem auto 0;
    max-width: 640px;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--clr-bg3);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-accent);
}
.diag-pitch__title { color: var(--clr-white); font-size: 1.05rem; margin-bottom: .4rem; }
.diag-pitch__text { color: var(--clr-muted); font-size: .92rem; line-height: 1.6; }
.diag-pitch--mb { border-left-color: #e53935; }
.diag-pitch--b  { border-left-color: #fb8c00; }
.diag-pitch--m  { border-left-color: #fdd835; }
.diag-pitch--a  { border-left-color: #43a047; }
.diag-pitch--ma { border-left-color: #1e88e5; }

/* Barras por domínio */
.diag-bars { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; margin-top: 2rem; }
.diag-bar__label {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-size: .85rem; margin-bottom: .35rem;
}
.diag-bar__label span { color: var(--clr-text); }
.diag-bar__label em {
    font-style: normal; font-size: .68rem; font-weight: 700;
    padding: .12rem .55rem; border-radius: 100px; color: #fff; white-space: nowrap;
}
.diag-bar__track { height: 10px; background: var(--clr-bg3); border-radius: 100px; overflow: hidden; }
.diag-bar__fill { display: block; height: 100%; border-radius: 100px; transition: width .5s ease; }

/* Cores de classificação */
.diag-badge--mb, .diag-bar__fill--mb { background: #e53935; }
.diag-badge--b,  .diag-bar__fill--b  { background: #fb8c00; }
.diag-badge--m,  .diag-bar__fill--m  { background: #fdd835; color: #1a1a1a !important; }
.diag-badge--a,  .diag-bar__fill--a  { background: #43a047; }
.diag-badge--ma, .diag-bar__fill--ma { background: #1e88e5; }

/* Recomendações */
.diag-recs { border-top: 1px solid var(--clr-border); padding-top: 1.75rem; margin-bottom: 2rem; }
.diag-recs h4 { color: var(--clr-accent); margin-bottom: .35rem; }
.diag-recs__intro { color: var(--clr-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.diag-rec { margin-bottom: 1.25rem; }
.diag-rec h5 { font-size: .95rem; color: var(--clr-white); margin-bottom: .5rem; }
.diag-rec ul { display: flex; flex-direction: column; gap: .4rem; }
.diag-rec li {
    position: relative; padding-left: 1.4rem; font-size: .88rem; color: var(--clr-text);
}
.diag-rec li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--clr-accent);
}

/* CTA final */
.diag-cta { border-top: 1px solid var(--clr-border); padding-top: 1.75rem; text-align: center; }
.diag-cta > p { color: var(--clr-muted); margin-bottom: 1.25rem; }
.diag-cta__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.diag-cta .form-feedback { margin-top: 1rem; }

@media (max-width: 700px) {
    .diag { padding-top: 6.5rem; }
    .diag-card, .diag-result { padding: 1.5rem; }
    .diag-scale { grid-template-columns: repeat(5, 1fr); gap: .3rem; }
    .diag-scale__opt { padding: .5rem .15rem; }
    .diag-scale__lbl { display: none; }
    .diag-nav .btn { min-width: 0; flex: 1; }
    .diag-bar__label { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

