/* ========================================================================
   SERVEMPLAC LANDING PAGE
   Design System: Cores azuis institucionais, tipografia Inter, 
   espaçamento em múltiplos de 8px, mobile-first
======================================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Brand colors */
    --color-primary: #005db5;
    --color-primary-dark: #003d7a;
    --color-primary-light: #e6f0fa;
    --color-credenciado: #16a34a;
    --color-credenciado-dark: #15803d;
    --color-credenciado-light: #dcfce7;
    --color-whatsapp: #25d366;
    --color-whatsapp-dark: #1da851;
    --color-aviso: #dc2626;
    --color-aviso-light: #fef2f2;

    /* Neutrals */
    --color-bg: #ffffff;
    --color-bg-alt: #eaf0f7;
    --color-bg-deep: #0f1e3a;

    /* Gradients */
    --gradient-hero: linear-gradient(165deg, #eef5fd 0%, #d7e7f9 55%, #bfd6f2 100%);
    --gradient-blue: linear-gradient(135deg, #0067c9 0%, #005db5 45%, #003d7a 100%);
    --gradient-blue-deep: linear-gradient(150deg, #00386f 0%, #002a55 100%);
    --gradient-alt: linear-gradient(180deg, #eef3fa 0%, #f6f9fc 100%);
    --color-text: #1a202c;
    --color-text-muted: #4a5568;
    --color-text-subtle: #718096;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e0;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --line-height-tight: 1.15;
    --line-height-snug: 1.35;
    --line-height-normal: 1.55;
    --line-height-relaxed: 1.7;

    /* Sizing */
    --container-max: 1200px;
    --container-pad: 16px;

    /* Spacing scale (8px-based) */
    --s-1: 8px;
    --s-2: 16px;
    --s-3: 24px;
    --s-4: 32px;
    --s-5: 40px;
    --s-6: 48px;
    --s-8: 64px;
    --s-10: 80px;
    --s-12: 96px;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 30, 58, 0.06);
    --shadow-md: 0 2px 8px rgba(15, 30, 58, 0.08);
    --shadow-lg: 0 8px 24px rgba(15, 30, 58, 0.10);
    --shadow-xl: 0 20px 40px -8px rgba(15, 30, 58, 0.16);
    --shadow-blue: 0 8px 24px rgba(0, 93, 181, 0.18);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.15s;
    --t-base: 0.25s;
}

@media (min-width: 768px) {
    :root {
        --container-pad: 24px;
    }
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.625rem, 3vw + 0.5rem, 2.25rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);
}

h4 {
    font-size: 1.0625rem;
}

p {
    line-height: var(--line-height-normal);
}

strong {
    font-weight: 600;
    color: var(--color-text);
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding-top: var(--s-10);
    padding-bottom: var(--s-10);
}

@media (min-width: 768px) {
    .section {
        padding-top: var(--s-12);
        padding-bottom: var(--s-12);
    }
}

.section-alt {
    background: var(--gradient-alt);
    border-top: 1px solid rgba(0, 93, 181, 0.06);
    border-bottom: 1px solid rgba(0, 93, 181, 0.06);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--s-6);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgba(0, 93, 181, 0.14);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--s-2);
}

.section-lead {
    margin-top: var(--s-2);
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: var(--s-2);
    background: var(--color-primary);
    color: #fff;
    padding: var(--s-1) var(--s-2);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
    top: var(--s-1);
    color: #fff;
}

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-1);
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--t-base) var(--ease);
    min-height: 44px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn:focus-visible {
    outline-offset: 3px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 52px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #0067c9 0%, #005db5 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(0, 93, 181, 0.97) 0%, rgba(0, 61, 122, 0.97) 100%);
    backdrop-filter: saturate(140%) blur(8px);
    box-shadow: 0 4px 20px rgba(0, 61, 122, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 4px;
}

.brand-mark img {
    height: 100%;
    width: 100%;
    max-width: none;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.brand-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    letter-spacing: 0.01em;
}

.primary-nav {
    display: none;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    list-style: none;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 0;
    position: relative;
}

.primary-nav a:hover {
    color: #fff;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease);
}

.primary-nav a:hover::after {
    transform: scaleX(1);
}

.btn-header {
    display: none;
    padding: 10px 16px;
    font-size: 0.875rem;
    min-height: 40px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: background var(--t-fast) var(--ease);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 1023px) {
    .primary-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-primary);
        border-bottom: 1px solid var(--color-primary-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--t-base) var(--ease);
    }

    .primary-nav.is-open {
        display: block;
        max-height: 500px;
        box-shadow: var(--shadow-lg);
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--s-2) 0;
    }

    .primary-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .primary-nav li:last-child {
        border-bottom: none;
    }

    .primary-nav a {
        display: block;
        padding: 14px var(--container-pad);
        font-size: 1rem;
    }

    .primary-nav a::after {
        display: none;
    }
}

@media (min-width: 1024px) {
    .primary-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .btn-header {
        display: inline-flex;
    }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding-top: var(--s-8);
    padding-bottom: 0;
    background: var(--gradient-hero);
    overflow: hidden;
    /* Sombra inferior marca claramente a mudança de tom para a seção branca seguinte */
    box-shadow: inset 0 -1px 0 rgba(0, 61, 122, 0.12), 0 14px 30px -14px rgba(0, 61, 122, 0.25);
}

/* Brilho decorativo atrás do conteúdo */
.hero::before {
    content: "";
    position: absolute;
    top: -240px;
    right: -180px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(0, 93, 181, 0.16) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    align-items: start;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: var(--s-10);
        padding-bottom: 0;
    }
    .hero-grid {
        grid-template-columns: 1.25fr 1fr;
        gap: var(--s-6);
        align-items: end;
        min-height: 540px;
    }
    /* Conteúdo centralizado verticalmente; imagem ancorada na base */
    .hero-content {
        align-self: center;
        padding-bottom: var(--s-10);
    }
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-1);
    padding: 6px 14px;
    background: var(--color-credenciado-light);
    color: var(--color-credenciado-dark);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: var(--s-3);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.hero h1 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--s-2);
    color: var(--color-text);
}

/* Linha 1: marca em destaque, maior, com gradiente azul */
.hero-title-lead {
    font-size: clamp(1.875rem, 5vw + 0.5rem, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    /* respiro para o recorte do gradiente não cortar descendentes (g, p) */
    padding-bottom: 0.08em;
    background: linear-gradient(100deg, #0067c9 0%, #005db5 45%, #003d7a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary);
}

/* Linha 2: frase de apoio, menor, mais leve, em tom escuro */
.hero-title-sub {
    font-size: clamp(1.25rem, 1.6vw + 0.75rem, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.hero h1 strong {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 1vw + 0.75rem, 1.1875rem);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--s-4);
    max-width: 640px;
}

.credenciamento-card {
    background: #fff;
    border: 1px solid var(--color-credenciado);
    border-left-width: 4px;
    border-radius: var(--radius-lg);
    padding: var(--s-3);
    margin-bottom: var(--s-4);
    box-shadow: var(--shadow-md);
}

.credenciamento-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-credenciado-dark);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: var(--s-2);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.credenciamento-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: var(--s-2);
}

@media (min-width: 540px) {
    .credenciamento-card-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.credenciamento-card-list > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credenciamento-card-list dt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.credenciamento-card-list dd {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.credenciamento-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

.credenciamento-card-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    margin-bottom: var(--s-3);
}

@media (min-width: 540px) {
    .hero-ctas {
        flex-direction: row;
    }
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
}

.hero-trust svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

/* Hero image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding-top: var(--s-3);
}

/* Disco em gradiente azul atrás da pessoa */
.hero-image-glow {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 86%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    background: var(--gradient-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    pointer-events: none;
}

.hero-image-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28) 0%, transparent 55%);
}

.hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 40px rgba(15, 30, 58, 0.28));
}

/* Cartões flutuantes sobre a imagem */
.hero-badge {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: hero-badge-float 5s ease-in-out infinite;
}

.hero-badge-top {
    top: 12%;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
}

.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: var(--color-credenciado-light);
    color: var(--color-credenciado-dark);
    flex-shrink: 0;
}

.hero-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.hero-badge-text strong {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.hero-badge-bottom {
    bottom: 8%;
    right: 6px;
    padding: 11px 15px;
    text-align: right;
    border-left: 3px solid var(--color-primary);
    animation-delay: 1.2s;
}

.hero-badge-value {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-badge-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.35;
    margin-top: 2px;
}

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

/* Em telas estreitas a coluna é apertada: mantém só o selo superior */
@media (max-width: 699px) {
    .hero-badge-bottom { display: none; }
}

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

@media (min-width: 1024px) {
    .hero-image {
        justify-content: center;
        padding-top: 0;
        max-width: 470px;
    }
    .hero-image img {
        max-width: 470px;
    }
    .hero-image-glow {
        max-width: 540px;
    }
    .hero-badge-top { left: -24px; }
    .hero-badge-bottom { right: -24px; }
}

/* ---------- SOBRE ---------- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
}

@media (min-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--s-6);
        align-items: start;
    }
}

.sobre-text p + p {
    margin-top: var(--s-2);
}

.sobre-text p {
    font-size: 1.0625rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-text-muted);
}

/* Authority stats (sobre) */
.authority-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: start;
}

.sobre-team {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--s-3);
    box-shadow: var(--shadow-sm);
}

.credenciamento-team {
    margin-top: var(--s-5);
}

@media (min-width: 700px) {
    .team-list-cols {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.sobre-team h3 {
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.sobre-team-intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--s-2);
}

.team-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.team-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.team-role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---------- COMO FUNCIONA (STEPS) ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
    list-style: none;
    margin-bottom: var(--s-5);
}

@media (min-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--s-3);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--s-2);
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.0625rem;
    color: var(--color-text);
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
}

/* Transparency notice */
.transparency-notice {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    padding: var(--s-3);
    background: #fff;
    border: 1px solid var(--color-aviso);
    border-left-width: 4px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (min-width: 600px) {
    .transparency-notice {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--s-3);
        padding: var(--s-4);
    }
}

.transparency-notice-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-aviso-light);
    color: var(--color-aviso);
}

.transparency-notice-body h3 {
    color: var(--color-aviso);
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.transparency-notice-body p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: var(--line-height-relaxed);
}

.transparency-notice-body p + p {
    margin-top: 10px;
}

.transparency-notice-body a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- SERVICOS ---------- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--s-3);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--s-2);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #fff;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-card > p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: var(--line-height-normal);
    margin-bottom: var(--s-2);
    flex-grow: 1;
}

.service-details {
    margin-bottom: var(--s-2);
    border-top: 1px solid var(--color-border);
    padding-top: var(--s-2);
}

.service-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.service-details summary::-webkit-details-marker {
    display: none;
}

.service-details summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform var(--t-base) var(--ease);
}

.service-details[open] summary::before {
    content: "−";
    transform: rotate(0deg);
}

.service-details ul {
    list-style: none;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-details li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.service-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-credenciado);
    border-radius: 50%;
    opacity: 0.6;
}

.service-meta {
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    font-style: italic;
    margin-bottom: var(--s-2);
    line-height: 1.5;
}

/* ---------- CREDENCIAMENTO BLOCK ---------- */
.credenciamento-block {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-credenciado);
    border-radius: var(--radius-lg);
    padding: var(--s-4);
    margin-bottom: var(--s-5);
    box-shadow: var(--shadow-md);
}

.credenciamento-block > p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--s-3);
}

.credenciamento-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
}

@media (min-width: 600px) {
    .credenciamento-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .credenciamento-block-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.credenciamento-block-item {
    padding: 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.credenciamento-block-item dt {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.credenciamento-block-item dd {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.verify-title {
    text-align: center;
    margin-bottom: var(--s-3);
    color: var(--color-text);
}

.verify-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}

@media (min-width: 700px) {
    .verify-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.verify-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--s-3);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.verify-card:hover {
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.verify-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

.verify-card h4 {
    color: var(--color-text);
    font-size: 1.125rem;
}

.verify-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    flex-grow: 1;
    line-height: var(--line-height-normal);
}

.verify-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: var(--s-1);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    transition: background var(--t-fast) var(--ease);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--color-bg-alt);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    font-size: 0.9375rem;
}

/* ---------- CONTATO ---------- */
.section-contact {
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

@media (min-width: 700px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--s-3);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 1.0625rem;
}

.contact-card-address {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: var(--s-2);
}

.contact-card-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-card-phone svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-card-phone a {
    color: var(--color-text);
}

.contact-card-phone a:hover {
    color: var(--color-primary);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-4);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-xl);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-blue);
}

@media (min-width: 768px) {
    .contact-cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: var(--s-4) var(--s-5);
    }
}

.contact-cta-text h3 {
    color: #fff;
    margin-bottom: 6px;
}

.contact-cta-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
}

.contact-cta-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.contact-cta-text a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.contact-cta .btn-whatsapp {
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-bg-deep);
    color: rgba(255, 255, 255, 0.85);
    padding-top: var(--s-6);
    padding-bottom: var(--s-3);
}

.footer-disclaimer {
    font-size: 0.875rem;
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.75);
    padding-bottom: var(--s-3);
    margin-bottom: var(--s-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer strong {
    color: #fff;
    font-weight: 700;
}

.footer-disclaimer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-disclaimer a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

@media (min-width: 600px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-2);
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8125rem;
}

.footer-links a:hover {
    color: #fff;
}

/* ---------- TAXAS DETRAN-MA ---------- */
.honorario-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    max-width: 640px;
    margin: 0 auto var(--s-5);
    padding: var(--s-4) var(--s-3);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #00264d 0%, var(--color-primary-dark) 45%, var(--color-primary) 100%);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.honorario-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.honorario-card-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.honorario-card-value small {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.honorario-card-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 360px;
}

.taxas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 760px) {
    .taxas-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

.taxa-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.taxa-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--color-text);
}

.taxa-item summary::-webkit-details-marker {
    display: none;
}

.taxa-item summary:hover {
    background: var(--color-bg-alt);
}

.taxa-name {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.taxa-total {
    font-weight: 800;
    color: var(--color-primary);
    white-space: nowrap;
}

.taxa-chevron {
    display: inline-flex;
    color: var(--color-text-muted);
    transition: transform var(--t-base) var(--ease);
}

.taxa-item[open] .taxa-chevron {
    transform: rotate(180deg);
}

.taxa-body {
    padding: 0 18px 16px;
}

.taxa-rows {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
}

.taxa-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.taxa-row span:last-child {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.taxa-row-total {
    border-bottom: none;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 2px solid var(--color-primary-light);
    font-weight: 700;
    color: var(--color-text);
}

.taxas-disclaimer {
    margin-top: var(--s-4);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
    background: var(--color-whatsapp-dark);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

@media (min-width: 768px) {
    .whatsapp-float {
        right: 28px;
        bottom: 28px;
        width: 64px;
        height: 64px;
    }
}

/* ========================================================================
   VISUAL REFRESH 2026 — momentos azuis, gradientes e refino de cards
======================================================================== */

/* ---------- SEÇÃO AZUL (Como funciona) ---------- */
.section-blue {
    position: relative;
    background: var(--gradient-blue-deep);
    color: #fff;
    overflow: hidden;
}

.section-blue::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.35) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.section-blue::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -160px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-blue .container {
    position: relative;
    z-index: 1;
}

.section-blue h2 {
    color: #fff;
}

.section-blue .section-lead {
    color: rgba(255, 255, 255, 0.85);
}

.section-blue .section-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Cards de passo dentro da seção azul */
.section-blue .step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
}

.section-blue .step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 20, 45, 0.4);
}

.section-blue .step-card h3 {
    color: #fff;
}

.section-blue .step-card p {
    color: rgba(255, 255, 255, 0.8);
}

.section-blue .step-number {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 6px 16px rgba(0, 20, 45, 0.35);
}

/* ---------- REFINO DE CARDS ---------- */
.service-card,
.step-card,
.verify-card,
.contact-card {
    box-shadow: var(--shadow-md);
}

/* Faixa de destaque no topo do card de serviço ao passar o mouse */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon,
.verify-card-icon {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #d2e4f8 100%);
}

/* Ícone de serviço com gradiente azul ao passar o mouse */
.service-card:hover .service-icon {
    background: var(--gradient-blue);
}

/* ---------- SOBRE: stat cards com leve gradiente ---------- */
.stat-card {
    background: linear-gradient(160deg, #ffffff 0%, #f3f7fc 100%);
}

/* ---------- CONTATO: card com selo de destaque ---------- */
.contact-card {
    border-top: 3px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--gradient-blue) border-box;
    border: 1px solid transparent;
    border-top-width: 3px;
}
