/* =========================================
   PRISMA WEB — FOLHA DE ESTILOS CONSOLIDADA
   ========================================= */

/* 1. Variáveis e base */
:root {
    --background: #080b14;
    --background-soft: #0d1220;
    --surface: #111827;
    --surface-hover: #172033;
    --text: #f4f6fc;
    --text-muted: #a3aec2;
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #38bdf8;
    --pink: #f472b6;
    --green: #34d399;
    --border: rgba(255, 255, 255, .09);
    --border-hover: rgba(139, 92, 246, .5);
    --container: 1160px;
    --radius: 18px;
    --transition: .25s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

::selection {
    background: var(--primary);
    color: #fff;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-light);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(100deg, var(--primary-light), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(52, 211, 153, .5);
}

/* 2. Cabeçalho e navegação */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 11, 20, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.8px;
}

.logo-icon {
    display: inline-block;
    width: 22px;
    height: 28px;
    flex-shrink: 0;
    margin-right: 10px;
    background: linear-gradient(135deg, #a78bfa 0%, #7657f5 48%, #38bdf8 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, .4));
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    color: var(--text-muted);
    font-size: .92rem;
    font-weight: 500;
    transition: color var(--transition);
}

.navigation a:hover {
    color: #fff;
}

.navigation .nav-cta {
    padding: 11px 19px;
    border: 1px solid rgba(167, 139, 250, .35);
    border-radius: 10px;
    background: rgba(139, 92, 246, .12);
    color: var(--primary-light);
    font-weight: 700;
    transition: background var(--transition), border-color var(--transition);
}

.navigation .nav-cta:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, .22);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* 3. Botões */
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 23px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(110deg, #7c3aed, #6366f1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, .22);
}

.button-primary:hover {
    box-shadow: 0 12px 32px rgba(124, 58, 237, .36);
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, .025);
    color: var(--text);
}

.button-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, .08);
}

.button-light {
    background: #fff;
    color: #171126;
}

.button-light:hover {
    background: #e9e3ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

/* 4. Seção inicial */
.hero {
    position: relative;
    isolation: isolate;
    padding: 95px 0 105px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero::before {
    top: -220px;
    right: -130px;
    width: 620px;
    height: 620px;
    background: rgba(99, 102, 241, .12);
    filter: blur(100px);
}

.hero::after {
    bottom: -250px;
    left: -200px;
    width: 520px;
    height: 520px;
    background: rgba(139, 92, 246, .09);
    filter: blur(110px);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    align-items: center;
    gap: 65px;
}

.hero-copy,
.hero-showcase {
    min-width: 0;
}

.hero-copy h1 {
    max-width: 650px;
    margin: 22px 0;
    font-size: clamp(2.7rem, 5.1vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -2.8px;
}

.hero-description {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7cfdd;
    font-size: .83rem;
}

.hero-points span::before {
    content: "✓";
    color: var(--green);
    font-weight: 800;
}

/* 5. Janela de demonstração no hero */
.hero-showcase {
    position: relative;
    padding: 12px 0 35px;
}

.showcase-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: 18px;
    background: #101626;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35), 0 0 70px rgba(99, 102, 241, .09);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.window-bar {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    background: #151c2d;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f87171;
}

.window-controls span:nth-child(2) { background: #fbbf24; }
.window-controls span:nth-child(3) { background: #34d399; }

.window-title {
    color: #8995ac;
    font-size: .7rem;
}

.showcase-content {
    min-width: 0;
    padding: 25px;
    overflow: hidden;
}

.showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.showcase-brand {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.5px;
    white-space: nowrap;
}

.showcase-brand > span { color: var(--primary-light); }

.showcase-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #aab4ca;
    font-size: 10px;
}

.showcase-menu {
    color: #cbd5e1;
    font-size: 17px;
}

.showcase-banner {
    position: relative;
    isolation: isolate;
    min-height: 190px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .24);
    border-radius: 15px;
    background: radial-gradient(circle at 90% 20%, rgba(56, 189, 248, .18), transparent 38%), linear-gradient(125deg, #211b40, #151d31 75%);
}

.showcase-label {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 220px;
    margin-bottom: 12px;
    color: #a78bfa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.showcase-label p {
    margin-bottom: 12px;
    color: #c4b5fd;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.showcase-label h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -.7px;
}

.showcase-label small {
    display: inline-block;
    margin-top: 15px;
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
}

.showcase-copy {
    position: relative;
    z-index: 2;
    max-width: 76%;
}

.showcase-copy h2 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: clamp(19px, 2.2vw, 27px);
    line-height: 1.2;
    letter-spacing: -.7px;
}

.showcase-copy h2 span {
    display: block;
    color: #60c7f5;
}

.showcase-copy p {
    max-width: 280px;
    margin: 0 0 16px;
    color: #c1cbe0;
    font-size: 11px;
    line-height: 1.6;
}

.showcase-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 7px;
    background: linear-gradient(100deg, #7657f5, #5269ee);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.showcase-decoration {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    top: 25px;
    right: 23px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(196, 181, 253, .5);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, .5), rgba(56, 189, 248, .1));
    box-shadow: inset 0 0 35px rgba(56, 189, 248, .16);
    animation: showcase-float 5s ease-in-out infinite;
}

.decoration-square {
    position: absolute;
    right: 85px;
    bottom: -40px;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(56, 189, 248, .45);
    border-radius: 15px;
    background: rgba(56, 189, 248, .12);
    transform: rotate(35deg);
}

.showcase-orbit {
    position: absolute;
    z-index: 0;
    right: -55px;
    bottom: -105px;
    width: 210px;
    height: 150px;
    border: 1px solid rgba(167, 139, 250, .2);
    border-radius: 50%;
    transform: rotate(-25deg);
}

.showcase-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 12px;
}

.showcase-section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showcase-section-heading small {
    color: #8b96b0;
    font-size: 8px;
    letter-spacing: 1.2px;
}

.showcase-section-heading strong {
    color: #f1f5f9;
    font-size: 13px;
}

.showcase-section-link {
    color: var(--primary-light);
    font-size: 10px;
    white-space: nowrap;
}

.showcase-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.showcase-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.showcase-service:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, .4);
    background: rgba(139, 92, 246, .09);
}

.showcase-icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
}

.icon-purple { background: rgba(139, 92, 246, .17); color: #c4b5fd; }
.icon-blue { background: rgba(56, 189, 248, .15); color: #7dd3fc; }
.icon-pink { background: rgba(244, 114, 182, .14); color: #f9a8d4; }
.icon-green { background: rgba(52, 211, 153, .14); color: #6ee7b7; }

.showcase-service strong {
    display: block;
    margin-top: 2px;
    color: #e5eaf5;
    font-size: 10px;
    line-height: 1.4;
}

.showcase-service small,
.showcase-service p {
    margin-top: 3px;
    color: #aab4ca;
    font-size: 9px;
    line-height: 1.5;
}

.showcase-caption {
    margin: 14px 0 0;
    color: #77839e;
    font-size: 9px;
    text-align: center;
}

.floating-note {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.floating-note-icon {
    width: 38px;
    height: 38px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(52, 211, 153, .12);
    color: var(--green);
    font-size: 1.1rem;
}

.floating-note strong {
    display: block;
    font-size: .78rem;
}

.floating-note p {
    color: var(--text-muted);
    font-size: .7rem;
}

/* 6. Serviços da Prisma Web */
.services-section {
    border-top: 1px solid var(--border);
    background: var(--background-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-width: 0;
    padding: 27px 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .025);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .045), transparent);
    content: "";
    pointer-events: none;
    transform: skewX(-20deg);
    transition: left .65s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(79, 110, 255, .16);
}

.service-card:hover::before { left: 150%; }

.service-icon {
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    transition: transform .35s ease, filter .35s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.08);
    filter: brightness(1.2);
}

.service-category {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-light);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.service-card > p {
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-size: .87rem;
    font-weight: 700;
    transition: color var(--transition);
}

.text-link:hover { color: var(--secondary); }

/* 7. Processo de trabalho */
.process-section { background: var(--background); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
}

.process-step {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: 13px;
    background: rgba(139, 92, 246, .12);
    color: var(--primary-light);
    font-size: .9rem;
    font-weight: 800;
}

.process-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.process-card p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.8;
}

/* 8. Chamada para ação */
.cta-section { padding: 20px 0 100px; }

.cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 52px;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: 24px;
    background: radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .2), transparent 35%), linear-gradient(115deg, #20173d, #111b30);
}

.cta-panel::after {
    position: absolute;
    right: 18%;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(167, 139, 250, .13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.cta-panel > div {
    position: relative;
    z-index: 1;
    max-width: 670px;
}

.cta-panel h2 {
    margin: 13px 0;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -1px;
}

.cta-panel p {
    color: #c0c8d8;
    line-height: 1.8;
}

.cta-panel > a {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* 9. Contato e formulário */
.contact-section {
    border-top: 1px solid var(--border);
    background: var(--background-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 75px;
}

.contact-copy h2 {
    margin: 15px 0 20px;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -1.6px;
}

.contact-copy > p {
    color: var(--text-muted);
    line-height: 1.85;
}

.contact-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 27px;
}

.contact-benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 139, 250, .2);
    border-radius: 11px;
    background: rgba(139, 92, 246, .1);
    color: var(--primary-light);
    font-weight: 800;
}

.contact-benefit h3 {
    margin-bottom: 3px;
    font-size: .98rem;
}

.contact-benefit p {
    color: var(--text-muted);
    font-size: .87rem;
    line-height: 1.7;
}

.contact-form {
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .16);
}

.form-header { margin-bottom: 26px; }

.form-header h3 {
    margin-bottom: 7px;
    font-size: 1.4rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: .9rem;
}

.form-group {
    min-width: 0;
    margin-bottom: 21px;
    border: 0;
}

.form-group > label,
.form-group legend {
    display: block;
    margin-bottom: 9px;
    color: #e7eaf3;
    font-size: .88rem;
    font-weight: 700;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    display: block;
    padding: 13px 15px;
    border: 1px solid #30394c;
    border-radius: 10px;
    background: #0c1220;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:not([type="checkbox"]) { min-height: 49px; }

.form-group textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.65;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #69758b; }

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .12);
}

.field-hint {
    display: block;
    margin: -2px 0 12px;
    color: var(--text-muted);
    font-size: .8rem;
}

.checkbox-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-option {
    min-width: 0;
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #30394c;
    border-radius: 10px;
    background: #0c1220;
    color: #dbe1ed;
    font-size: .84rem;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.checkbox-option:hover {
    border-color: var(--border-hover);
    background: #131b2c;
}

.checkbox-option input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-option:has(input:checked) {
    border-color: rgba(139, 92, 246, .65);
    background: rgba(139, 92, 246, .09);
}

.submit-button {
    width: 100%;
    min-height: 56px;
    margin-top: 3px;
    justify-content: space-between;
    padding-inline: 20px;
    font-size: .95rem;
}

.submit-arrow {
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.submit-button:hover .submit-arrow { transform: translate(3px, -3px); }

.form-note {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.7;
    text-align: center;
}

/* 10. Rodapé */
.site-footer {
    padding: 27px 0;
    border-top: 1px solid var(--border);
    background: var(--background);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: .82rem;
}

/* 11. Prévia ilustrativa de site médico */
.doctor-preview {
    padding: 20px;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background: #f8fbf9;
    color: #183b3a;
    font-family: Arial, Helvetica, sans-serif;
}

.doctor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3ece8;
}

.doctor-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-brand-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #237b70;
    color: #fff;
    font-size: 23px;
    font-weight: 400;
}

.doctor-brand div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.doctor-brand strong {
    color: #183b3a;
    font-size: 12px;
}

.doctor-brand small {
    color: #718783;
    font-size: 7px;
    letter-spacing: .7px;
}

.doctor-menu {
    color: #315b56;
    font-size: 17px;
}

.doctor-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    min-height: 220px;
    margin-top: 16px;
    padding: 20px 14px;
    overflow: hidden;
    border-radius: 12px;
    background: #eaf4ef;
}

.doctor-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.doctor-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #237b70;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.doctor-copy h2 {
    margin: 0 0 10px;
    color: #183b3a;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.2;
    letter-spacing: -.6px;
}

.doctor-copy h2 span {
    display: block;
    color: #237b70;
}

.doctor-copy p {
    max-width: 230px;
    margin: 0 0 13px;
    color: #58716c;
    font-size: 10px;
    line-height: 1.6;
}

.doctor-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #237b70;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.doctor-registration {
    display: block;
    margin-top: 12px;
    color: #6d8580;
    font-size: 8px;
}

.doctor-portrait {
    position: relative;
    align-self: stretch;
    min-width: 0;
    overflow: hidden;
}

.doctor-portrait-circle {
    position: absolute;
    top: 12px;
    right: -22px;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background: #d0e7dc;
}

.doctor-person { position: absolute; inset: 0; }

.doctor-head {
    position: absolute;
    z-index: 2;
    top: 34px;
    left: 50%;
    width: 52px;
    height: 65px;
    transform: translateX(-50%);
    border-radius: 45% 45% 42% 42%;
    background: #bd8b70;
}

.doctor-neck {
    position: absolute;
    z-index: 1;
    top: 87px;
    left: 50%;
    width: 23px;
    height: 31px;
    transform: translateX(-50%);
    background: #bd8b70;
}

.doctor-coat {
    position: absolute;
    z-index: 3;
    bottom: -40px;
    left: 50%;
    width: 125px;
    height: 115px;
    transform: translateX(-50%);
    border: 1px solid #dce7e2;
    border-radius: 45px 45px 0 0;
    background: #fff;
}

.doctor-shirt {
    position: absolute;
    z-index: 4;
    bottom: 0;
    left: 50%;
    width: 35px;
    height: 66px;
    transform: translateX(-50%);
    background: #237b70;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.doctor-cross {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 17px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #237b70;
    color: #fff;
    font-size: 20px;
}

.doctor-services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 12px;
}

.doctor-services-heading > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.doctor-services-heading small {
    color: #718783;
    font-size: 7px;
    letter-spacing: .8px;
}

.doctor-services-heading strong {
    color: #183b3a;
    font-size: 13px;
}

.doctor-services-heading > span {
    color: #237b70;
    font-size: 9px;
    white-space: nowrap;
}

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

.doctor-service {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 10px;
    border: 1px solid #e2ece7;
    border-radius: 9px;
    background: #fff;
    transition: transform var(--transition);
}

.doctor-service:hover { transform: translateY(-4px); }

.doctor-service > span {
    color: #237b70;
    font-size: 20px;
}

.doctor-service strong {
    color: #234b45;
    font-size: 9px;
    line-height: 1.4;
}

.doctor-service small {
    color: #718783;
    font-size: 8px;
    line-height: 1.4;
}

.doctor-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
    color: #718783;
    font-size: 8px;
}

/* 12. Animações e acessibilidade */
@keyframes showcase-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .service-card:nth-child(2) { transition-delay: .1s; }
.services-grid .service-card:nth-child(3) { transition-delay: .2s; }
.services-grid .service-card:nth-child(4) { transition-delay: .3s; }

/* 13. Responsividade: notebooks e tablets */
@media (max-width: 1050px) {
    .navigation { gap: 20px; }

    .hero-layout { gap: 35px; }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 5vw, 3.6rem);
    }

    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .contact-layout { gap: 40px; }

    .cta-panel { padding: 40px; }

    .floating-note { right: -5px; }
}

/* 14. Responsividade: celulares */
@media (max-width: 760px) {
    .container { width: calc(100% - 36px); }

    .section { padding: 75px 0; }

    .section-heading { margin-bottom: 35px; }

    .header-inner { min-height: 72px; }

    .logo { font-size: 1.2rem; }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #101626;
        box-shadow: 0 20px 45px rgba(0, 0, 0, .4);
    }

    .navigation.active { display: flex; }

    .navigation a {
        padding: 13px 12px;
        border-radius: 8px;
    }

    .navigation a:hover { background: rgba(255, 255, 255, .04); }

    .navigation .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero { padding: 65px 0 80px; }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
        position: relative;
    }

    .hero-copy h1 {
        max-width: 600px;
        font-size: clamp(2.5rem, 9vw, 3.7rem);
        letter-spacing: -1.8px;
    }

    .hero-description { font-size: 1rem; }

    .hero-showcase {
        width: 100%;
        max-width: 570px;
        margin-inline: auto;
    }

    .showcase-window { transform: none; }

    .floating-note { right: 5px; }

    .process-grid { grid-template-columns: minmax(0, 1fr); }

    .process-card { padding: 25px; }

    .cta-section { padding: 0 0 75px; }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        padding: 32px 25px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .contact-copy h2 { font-size: 2.4rem; }

    .contact-form { padding: 25px 20px; }

    .doctor-preview { padding: 16px; }
}

/* 15. Responsividade: celulares pequenos */
@media (max-width: 520px) {
    .container { width: calc(100% - 30px); }

    .section { padding: 62px 0; }

    .hero { padding-top: 52px; }

    .hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 2.7rem);
        letter-spacing: -1.5px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .button { width: 100%; }

    .hero-points {
        flex-direction: column;
        gap: 10px;
    }

    .showcase-content { padding: 15px; }

    .showcase-nav { display: none; }

    .showcase-banner { min-height: 185px; padding: 20px 16px; }

    .showcase-copy { max-width: 90%; }

    .showcase-label { max-width: 175px; }

    .decoration-circle {
        top: 35px;
        right: -20px;
        width: 95px;
        height: 95px;
    }

    .decoration-square {
        right: 25px;
        width: 75px;
        height: 75px;
    }

    .showcase-decoration {
        right: -35px;
        opacity: .75;
    }

    .showcase-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .showcase-service { padding: 10px; }

    .showcase-service-extra { display: none; }

    .floating-note {
        right: 0;
        bottom: -12px;
        padding: 10px 12px;
    }

    .services-grid { grid-template-columns: minmax(0, 1fr); }

    .service-card { padding: 24px; }

    .section-heading h2 { letter-spacing: -.8px; }

    .cta-panel { padding: 27px 20px; }

    .cta-panel .button { width: 100%; }

    .checkbox-list { grid-template-columns: minmax(0, 1fr); }

    .contact-form { padding: 22px 16px; }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .doctor-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
        min-height: 205px;
        padding: 16px 10px;
    }

    .doctor-copy h2 { font-size: 17px; }

    .doctor-portrait-circle {
        right: -48px;
        width: 125px;
        height: 125px;
    }

    .doctor-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .doctor-service:last-child { display: none; }

    .doctor-services-heading > span { font-size: 8px; }
}

/* 16. Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal,
    .reveal.reveal-visible {
        opacity: 1;
        transform: none;
    }

    .service-card:hover,
    .doctor-service:hover {
        transform: none;
    }
}
