:root {
    --color-primary: #0d2b45;
    --color-primary-deep: #0a2135;
    --color-accent: #47a8e5;
    --color-accent-hover: #2f95d5;
    --color-bg: #f7f8fa;
    --color-bg-soft: #f1eee6;
    --color-bg-alt-start: #fbfcfd;
    --color-card: #ffffff;
    --color-text: #1d2a38;
    --color-heading: #0d2b45;
    --color-muted: #576577;
    --color-border: #dbe2ea;
    --color-navbar-bg: rgba(255, 255, 255, 0.96);
    --color-cta-box-bg: #ffffff;
    --color-footer-bg: #0d2b45;
    --color-footer-text: #e8eff5;
    --color-footer-link: #c8e9ff;
    --color-chip-bg: rgba(13, 43, 69, 0.08);
    --color-eyebrow-bg: rgba(71, 168, 229, 0.14);
    --shadow-soft: 0 10px 30px rgba(13, 43, 69, 0.08);
    --shadow-hover: 0 14px 34px rgba(13, 43, 69, 0.14);
    --radius-lg: 18px;
    --radius-md: 12px;
    --transition: all 0.28s ease;
}



html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

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

.section {
    padding: 5.5rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--color-bg-alt-start) 0%, var(--color-bg-soft) 100%);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.18;
    color: var(--color-heading);
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2.05rem, 3.6vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.7rem, 2.85vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

p {
    margin-top: 0;
}

.eyebrow {
    display: inline-block;
    background: var(--color-eyebrow-bg);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.74rem;
}

.section-intro {
    margin-bottom: 2.4rem;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Navbar / Header */
.site-header {
    z-index: 30;
}

.site-header .navbar {
    backdrop-filter: blur(10px);
    background: var(--color-navbar-bg) !important;
    border-bottom-color: var(--color-border) !important;
    min-height: 84px;
}

.brand img {
    height: 70px;
    width: auto;
    border-radius: 0;
    transform-origin: left center;
    transition: transform 0.2s ease;
}

@media (min-width: 992px) {
    .site-header .navbar {
        min-height: 110px;
    }
    .brand img {
        transform: scale(1.55);
    }
    .site-nav-list {
        gap: 0.7rem;
    }
    .site-nav-list .nav-link {
        font-size: 1.05rem;
        padding: 0.6rem 0.95rem;
    }
    .site-header .btn-primary {
        font-size: 1.05rem;
        padding: 0.85rem 1.6rem;
    }
}

@media (min-width: 1400px) {
    .site-header .navbar {
        min-height: 125px;
    }
    .brand img {
        transform: scale(1.75);
    }
    .site-nav-list {
        gap: 0.9rem;
    }
    .site-nav-list .nav-link {
        font-size: 1.15rem;
        padding: 0.7rem 1.1rem;
    }
    .site-header .btn-primary {
        font-size: 1.15rem;
        padding: 0.75rem 1.8rem;
    }
}

.site-nav-list {
    gap: 0.4rem;
}

.site-nav-list .nav-link {
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

.site-nav-list .nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.25rem;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--color-accent);
    transition: transform 0.25s ease;
}

.site-nav-list .nav-link:hover,
.site-nav-list .nav-link:focus-visible {
    color: var(--color-accent);
}

.site-nav-list .nav-link:hover::after,
.site-nav-list .nav-link:focus-visible::after {
    transform: scaleX(1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 1.25rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #16466f);
    box-shadow: 0 8px 18px rgba(13, 43, 69, 0.22);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-bg: #16466f;
    --bs-btn-hover-border-color: #16466f;
    --bs-btn-active-bg: #16466f;
    --bs-btn-active-border-color: #16466f;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, #16466f, var(--color-accent-hover));
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(13, 43, 69, 0.3);
    color: #fff;
}

.btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
}

.hero-content p {
    color: var(--color-muted);
    margin-bottom: 1.4rem;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    display: grid;
    gap: 0.55rem;
}

.hero-checklist li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.hero-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(71, 168, 229, 0.35);
}

.card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(71, 168, 229, 0.35);
}

.problem-card {
    border-top: 4px solid var(--color-accent);
}

.service-card {
    border-top: 4px solid var(--color-primary);
}

.service-card p {
    color: var(--color-muted);
}

.problem-card p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.solution-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.solution-content li {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
}

.step {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(71, 168, 229, 0.35);
}

.step p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.highlights span {
    background: rgba(13, 43, 69, 0.08);
    color: var(--color-primary);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
    font-size: 0.89rem;
}

.credibility-content p {
    color: var(--color-muted);
}

.cta-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.cta-content p {
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.site-footer {
    background: var(--color-primary);
    color: #e8eff5;
    padding-top: 3rem;
}

.footer-grid {
    padding-bottom: 1.4rem;
}

.site-footer h2,
.site-footer h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-size: 1.25rem;
}

.site-footer a {
    color: #c8e9ff;
    transition: var(--transition);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0 1.2rem;
    font-size: 0.9rem;
    color: #d6e2ea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

.footer-social-icon {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: cover;
    display: block !important;
    border-radius: 6px;
    flex-shrink: 0;
}

.footer-social-text {
    color: #4fa8e8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* Crédito de desenvolvimento — Sytrion (selo em destaque) */
.dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.9rem;
    background: #ffffff;
    border-radius: var(--radius-md); /* ecoa o raio das pílulas sociais */
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    transition: var(--transition);
}
.dev-credit:hover,
.dev-credit:focus-visible {
    transform: scale(1.04); /* mesmo gesto de hover dos botões sociais */
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30);
}
.dev-credit__text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted); /* tom escuro legível sobre o fundo branco do selo */
    white-space: nowrap;
}
.dev-credit__logo {
    height: 22px; /* presença de selo, não de banner */
    width: auto;
    display: block;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 70px;
    }

    .site-header .navbar > .container {
        position: relative;
        justify-content: center;
    }

    .brand {
        margin: 0 auto;
    }

    .brand img {
        height: 90px;
    }

    .navbar-toggler {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .site-nav-list {
        padding: 0.75rem 0;
        gap: 0.2rem;
        text-align: center;
        align-items: center;
    }

    .site-nav-list .nav-link::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .cta-box {
        padding: 1.3rem;
    }

    .brand img {
        height: 75px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================
   Página Sobre (sobre.html)
   ========================================================== */

.site-nav-list .nav-link.active {
    color: var(--color-accent);
}

.site-nav-list .nav-link.active::after {
    transform: scaleX(1);
}

.page-hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, var(--color-bg-alt-start) 0%, var(--color-bg-soft) 100%);
}

.page-hero-content {
    max-width: 760px;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero-lead {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.about-story .about-text p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.about-story .section-intro {
    margin-bottom: 0;
}

.about-pillars {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.7rem;
}

.about-pillars li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    color: var(--color-muted);
    transition: var(--transition);
}

.about-pillars li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(71, 168, 229, 0.18);
}

.about-pillars li strong {
    color: var(--color-primary);
}

.about-pillars li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.about-closing {
    color: var(--color-text);
    font-size: 1.02rem;
    margin-bottom: 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 2.4rem;
}

.section-heading .section-intro {
    margin-bottom: 0;
}

.purpose-card {
    border-top: 4px solid var(--color-primary);
    text-align: left;
}

.purpose-card p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.purpose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--color-eyebrow-bg);
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.values-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-muted);
}

.values-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.institutional-box {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.4rem;
}

.institutional-content p {
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.institutional-cta {
    display: flex;
    justify-content: flex-start;
}

.institutional-cta .btn-large {
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .institutional-cta {
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .page-hero {
        padding: 3rem 0 2.2rem;
    }

    .institutional-box {
        padding: 1.4rem;
    }

    .about-pillars li {
        padding: 0.9rem 0.9rem 0.9rem 2.6rem;
    }
}

.team-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-photo {
    position: relative !important;
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 50% !important;
    background: var(--color-eyebrow-bg);
    border: 4px solid var(--color-primary);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.team-photo:hover img {
    transform: scale(1.06);
}

.team-expand {
    position: absolute !important;
    bottom: 4px !important;
    right: 4px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 2px solid #fff;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    padding: 0;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
}

.team-expand svg {
    width: 14px;
    height: 14px;
}

.team-expand:hover,
.team-expand:focus-visible {
    background: var(--color-accent, #128C7E);
    transform: scale(1.1);
    outline: none;
}

.team-name {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.team-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    display: grid;
    gap: 0.35rem;
    width: 100%;
}

.team-contact a {
    color: var(--color-muted);
    text-decoration: none;
    word-break: break-word;
    font-size: 0.92rem;
}

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

.team-modal[hidden] {
    display: none !important;
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(2px);
}

.team-modal-dialog {
    position: relative;
    background: var(--color-card, #fff);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    max-width: 880px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    animation: teamModalIn 0.25s ease-out;
}

@keyframes teamModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.team-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,0.08);
    color: var(--color-text, #1f2937);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.team-modal-close:hover {
    background: rgba(0,0,0,0.15);
}

.team-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 0;
    align-items: stretch;
}

.team-modal-photo {
    background: var(--color-eyebrow-bg, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.team-modal-photo img {
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.team-modal-info {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-modal-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.team-modal-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.team-modal-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.team-modal-contact li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.team-modal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    font-weight: 600;
}

.team-modal-contact a {
    color: var(--color-text, #1f2937);
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
}

.team-modal-contact a:hover {
    color: var(--color-primary);
}

body.team-modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .team-modal-content {
        grid-template-columns: 1fr;
    }
    .team-modal-photo {
        padding: 1.2rem;
    }
    .team-modal-photo img {
        max-width: 240px;
    }
    .team-modal-info {
        padding: 1.4rem 1.4rem 1.8rem;
    }
}

/* ==========================================================
   Modal de Contato (popup do botão "Contato" da navbar)
   ========================================================== */

.contact-modal[hidden] {
    display: none !important;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(2px);
}

.contact-modal-dialog {
    position: relative;
    background: var(--color-card, #fff);
    border-radius: var(--radius-lg, 18px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 980px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: teamModalIn 0.25s ease-out;
    padding: 2.4rem 2rem 2rem;
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.08);
    color: var(--color-text, #1f2937);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.contact-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.contact-modal-header .eyebrow {
    margin-bottom: 0.7rem;
}

.contact-modal-header h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.contact-modal-header p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.98rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1rem 1.2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.contact-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-eyebrow-bg);
    border: 3px solid var(--color-primary);
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

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

.contact-card .contact-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.contact-card .contact-role {
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.contact-card a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.92rem;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

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

.contact-card .contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    font-weight: 700;
    margin-top: 0.3rem;
}

.contact-modal-dialog {
    position: relative;
    background: var(--color-card, #fff);
    border-radius: var(--radius-lg, 18px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 1180px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: teamModalIn 0.25s ease-out;
    padding: 2.4rem 2rem 2rem;
}

body.contact-modal-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .contact-modal-dialog {
        padding: 2rem 1.2rem 1.4rem;
    }
}

/* ==========================================================
   Seção e Página de Clientes
   ========================================================== */

.client-logo-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem 1.4rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    text-align: center;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    min-height: 170px;
}

.client-logo-card:hover {
    background: var(--color-card);
    border-color: var(--color-border);
    box-shadow: 0 10px 26px rgba(13, 43, 69, 0.08);
    transform: translateY(-3px);
}

.client-logo-placeholder {
    width: 100%;
    max-width: 130px;
    height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.client-logo-placeholder svg {
    width: 18px;
    height: 18px;
    opacity: 0.3;
}

.client-logo-card img.client-logo-img {
    width: 100%;
    max-width: 130px;
    height: 64px;
    object-fit: contain;
    border-radius: 0;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: opacity 0.35s ease;
}

.client-logo-card:hover img.client-logo-img {
    opacity: 1;
}

.client-name {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.client-segment-tag {
    font-size: 0.66rem;
    color: var(--color-muted);
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.clients-view-all {
    text-align: center;
    margin-top: 2rem;
}

.btn-ghost {
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-border);
    box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--color-primary);
    background: var(--color-eyebrow-bg);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Barra de estatísticas */
.stats-bar {
    background: var(--color-primary);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1rem 1.5rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.4rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #c8e9ff;
    font-weight: 500;
    display: block;
}

.stats-bar .col-6:not(:last-child) .stat-item,
.stats-bar .col-md-3:not(:last-child) .stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 767.98px) {
    .stats-bar .col-6:nth-child(odd) .stat-item {
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }
    .stats-bar .col-6:not(:last-child):not(:nth-last-child(2)) .stat-item,
    .stats-bar .col-6:nth-child(odd):not(:last-child) .stat-item {
        border-bottom: none;
    }
    .stats-bar .col-6:nth-child(1) .stat-item,
    .stats-bar .col-6:nth-child(2) .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        padding-bottom: 1.5rem;
    }
    .stats-bar .col-6:nth-child(3) .stat-item,
    .stats-bar .col-6:nth-child(4) .stat-item {
        padding-top: 1.5rem;
    }
    .stats-bar .col-6:nth-child(even) .stat-item {
        border-right: none;
    }
}

/* Cards de segmentos */
.segment-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.segment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.segment-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.92rem;
    margin: 0;
}

/* ==========================================================
   Refinamentos mobile (review v3)
   - Hero mais compacto no celular
   - Tipografia maior nos cards
   - Mais respiro entre cards
   ========================================================== */

@media (max-width: 575.98px) {
    .hero.section {
        padding: 2.25rem 0 2.75rem;
    }
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    .hero-image img {
        max-height: 280px;
        width: 100%;
        object-fit: cover;
        border-radius: 14px;
    }
    .hero-checklist li {
        font-size: 0.98rem;
    }

    /* Cards: tipografia mais legível no celular */
    .card,
    .step {
        padding: 1.5rem 1.25rem;
    }
    .card p,
    .step p,
    .problem-card p,
    .service-card p {
        font-size: 0.98rem;
        line-height: 1.55;
    }
    .card h3,
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    /* Mais respiro entre os cards de "Como Trabalhamos" */
    .process .row.g-3 {
        --bs-gutter-y: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .process .step {
        padding: 1.6rem 1.4rem;
    }
}

/* ==========================================================
   Refinamento PREMIUM (review v4)
   - Tratamento consistente de imagens
   - Animações on-scroll
   - Espaçamento mobile refinado
   - Hierarquia tipográfica
   ========================================================== */

/* --- Tratamento consistente de imagens institucionais --- */
.hero-image,
.solution-image,
.credibility-image,
.cta-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(13, 43, 69, 0.15);
    isolation: isolate;
}

.hero-image img,
.solution-image img,
.credibility-image img,
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.6s ease;
    display: block;
}

.hero-image::after,
.solution-image::after,
.credibility-image::after,
.cta-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 43, 69, 0.05) 0%, rgba(13, 43, 69, 0) 50%, rgba(71, 168, 229, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-lg);
}

.hero-image:hover img,
.solution-image:hover img,
.credibility-image:hover img,
.cta-image:hover img {
    transform: scale(1.03);
}

@media (min-width: 992px) {
    .hero-image,
    .solution-image,
    .credibility-image,
    .cta-image {
        aspect-ratio: 4 / 3;
    }
}

/* --- Hero refinado --- */
.hero.section {
    padding-top: 5rem;
    padding-bottom: 5.5rem;
}

.hero-content p {
    font-size: 1.08rem;
    line-height: 1.65;
}

@media (min-width: 992px) {
    .hero-content h1 {
        font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    }
}

/* --- Cards: hierarquia mais clara --- */
.card h3,
.step h3 {
    color: var(--color-primary);
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}

.card p,
.step p {
    font-size: 0.97rem;
    line-height: 1.6;
}

.service-card p strong,
.problem-card p strong {
    color: var(--color-primary);
}

/* Acento sutil no top dos cards */
.problem-card,
.service-card {
    overflow: hidden;
}

.problem-card::before,
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--color-accent);
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.problem-card:hover::before,
.service-card:hover::before {
    width: 100%;
}

/* --- Step number premium --- */
.step-number {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    box-shadow: 0 6px 14px rgba(71, 168, 229, 0.4);
    margin-bottom: 1rem;
}

/* --- Eyebrow refinado --- */
.eyebrow {
    background: rgba(71, 168, 229, 0.12);
    color: var(--color-accent-hover);
}

.section-heading .eyebrow,
.page-hero-content .eyebrow,
.hero-content .eyebrow {
    margin-bottom: 1.1rem;
}

/* --- Highlights pill mais premium --- */
.highlights span {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.highlights span:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    color: var(--color-accent-hover);
    box-shadow: 0 6px 14px rgba(71, 168, 229, 0.18);
}

/* --- Animações on-scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-image img,
    .solution-image img,
    .credibility-image img,
    .cta-image img {
        transition: none;
    }
}

/* --- Indicadores no index (mesma família visual da stats-bar) --- */
.indicators-bar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.indicators-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(71, 168, 229, 0.09) 0%, transparent 65%);
    pointer-events: none;
}

.indicators-bar .container {
    position: relative;
    z-index: 1;
}

.indicator-item {
    text-align: center;
    color: #fff;
    padding: 0.5rem 1.2rem;
}

.indicator-number {
    font-size: clamp(2.2rem, 4.2vw, 3rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: -0.025em;
}

.indicator-label {
    font-size: 0.92rem;
    color: #c8e9ff;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: block;
    line-height: 1.4;
}

.indicators-bar .col-6:not(:last-child) .indicator-item,
.indicators-bar .col-md-3:not(:last-child) .indicator-item {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 767.98px) {
    .indicators-bar {
        padding: 2.5rem 0;
    }
    .indicators-bar .col-6:nth-child(odd) .indicator-item {
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }
    .indicators-bar .col-6:nth-child(1) .indicator-item,
    .indicators-bar .col-6:nth-child(2) .indicator-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        padding-bottom: 1.4rem;
    }
    .indicators-bar .col-6:nth-child(3) .indicator-item,
    .indicators-bar .col-6:nth-child(4) .indicator-item {
        padding-top: 1.4rem;
    }
    .indicators-bar .col-6:nth-child(even) .indicator-item {
        border-right: none;
    }
}

/* --- Espaçamento mobile premium (refino executivo) --- */
@media (max-width: 575.98px) {
    .section {
        padding: 4rem 0;
    }

    .section-heading {
        margin-bottom: 2.2rem;
    }

    .section-intro {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
    }

    h1 {
        letter-spacing: -0.02em;
    }

    h2 {
        font-size: clamp(1.55rem, 6.5vw, 1.95rem);
    }

    /* Cards: mais respiro vertical no celular */
    .card,
    .step {
        padding: 1.75rem 1.4rem;
    }
    .card p,
    .step p {
        font-size: 1rem;
        line-height: 1.65;
    }
    .card p + p,
    .step p + p {
        margin-top: 0.6rem;
    }

    .institutional-box {
        padding: 1.8rem 1.4rem;
    }

    .cta-box {
        padding: 1.8rem 1.4rem;
    }

    .highlights {
        gap: 0.5rem;
    }

    .highlights span {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
}

/* --- Footer mobile centralizado --- */
@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-social-links {
        margin-left: 0 !important;
        justify-content: center;
    }
}

/* --- Brand logo presença --- */
@media (min-width: 992px) {
    .brand img {
        transform: scale(1.65);
    }
}

/* ==========================================================
   Transformações (review v5)
   - Cases antes/depois
   - Estilo institucional sóbrio
   ========================================================== */

.transformation-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.transformation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(71, 168, 229, 0.3);
}

.transformation-label {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.24rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.55rem;
    align-self: flex-start;
}

.transformation-label--before {
    background: rgba(160, 30, 30, 0.07);
    color: #9a2a2a;
}

.transformation-label--after {
    background: rgba(34, 110, 70, 0.08);
    color: #1f6e44;
}

.transformation-text {
    color: var(--color-muted);
    margin: 0 0 1rem;
    font-size: 0.97rem;
    line-height: 1.6;
}

.transformation-text--after {
    color: var(--color-text);
    font-weight: 500;
}

.transformation-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-eyebrow-bg);
    color: var(--color-accent-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    margin: 0.1rem 0 0.85rem;
    font-weight: 700;
}

.transformation-tools {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--color-border);
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.transformation-tools strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ==========================================================
   Página Reforma Tributária (reformatributaria.html)
   ========================================================== */

/* --- Diagrama "antes → depois" dos impostos --- */
.tax-transition {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        "title-left .     title-right"
        "col-left   arrow col-right";
    column-gap: 1.5rem;
    row-gap: 0.7rem;
    align-items: center;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2rem 1.8rem;
}

.tax-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tax-column--left  { grid-area: col-left; }
.tax-column--right { grid-area: col-right; }

.tax-column-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-align: center;
    margin: 0;
}

.tax-column-title--left  { grid-area: title-left; }
.tax-column-title--right { grid-area: title-right; }

.tax-chip {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.tax-chip:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.tax-chip--new {
    background: linear-gradient(135deg, var(--color-primary), #16466f);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(13, 43, 69, 0.22);
}

.tax-chip--new:hover {
    background: linear-gradient(135deg, #16466f, var(--color-accent-hover));
    color: #fff;
}

.tax-arrow {
    grid-area: arrow;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-eyebrow-bg);
    color: var(--color-accent-hover);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .tax-transition {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title-left"
            "col-left"
            "arrow"
            "title-right"
            "col-right";
        padding: 1.6rem 1.2rem;
        row-gap: 0.8rem;
    }
    .tax-arrow {
        transform: rotate(90deg);
        margin: 0.4rem auto;
    }
}

/* --- Cards de impacto (com ícone numerado) --- */
.impact-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(71, 168, 229, 0.35);
}

.impact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 6px 14px rgba(71, 168, 229, 0.35);
}

.impact-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.55rem;
}

.impact-card p {
    color: var(--color-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Cards de segmento (quem é mais impactado) --- */
.segment-grid-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.1rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.segment-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--color-accent);
}

.segment-grid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-eyebrow-bg);
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease;
}

.segment-grid-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.segment-grid-card:hover .segment-grid-icon {
    background: var(--color-accent);
    color: #fff;
}

.segment-grid-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
}

/* --- Timeline da Reforma --- */
.reform-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reform-timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 0 0 1.8rem 4.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #16466f);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(13, 43, 69, 0.25);
    border: 3px solid #fff;
    line-height: 1.15;
    text-align: center;
}

.timeline-content {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.timeline-badge {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    line-height: 1.2;
}

.timeline-badge--current {
    background: rgba(34, 110, 70, 0.12);
    color: #1f6e44;
}

.timeline-badge--next {
    background: rgba(71, 168, 229, 0.16);
    color: var(--color-accent-hover);
}

.timeline-badge--future {
    background: rgba(13, 43, 69, 0.08);
    color: var(--color-muted);
}

.timeline-badge--done {
    background: rgba(34, 110, 70, 0.08);
    color: #1f6e44;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.timeline-badge--done::before {
    content: "\2713";
    font-weight: 800;
    font-size: 0.78rem;
    line-height: 1;
}

.timeline-phase {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
}

.timeline-content h3 {
    margin: 0.1rem 0 0.4rem;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-impact {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--color-border);
    font-size: 0.83rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.timeline-impact strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Marcador da fase atual: pulso luminoso --- */
.timeline-item--active .timeline-marker {
    animation: timelineMarkerPulse 2.4s ease-in-out infinite;
}

.timeline-item--active .timeline-content {
    border-left-color: #1f6e44;
}

/* --- Fase já concluída: sutil, com marcador esmaecido --- */
.timeline-item--done .timeline-content {
    opacity: 0.85;
    border-left-color: rgba(34, 110, 70, 0.4);
}

.timeline-item--done .timeline-marker {
    background: linear-gradient(135deg, #6b7785, #8a96a4);
    box-shadow: 0 4px 10px rgba(13, 43, 69, 0.15);
}

@keyframes timelineMarkerPulse {
    0%, 100% {
        box-shadow: 0 6px 14px rgba(13, 43, 69, 0.25), 0 0 0 0 rgba(34, 110, 70, 0.5);
    }
    50% {
        box-shadow: 0 6px 14px rgba(13, 43, 69, 0.25), 0 0 0 14px rgba(34, 110, 70, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-item--active .timeline-marker {
        animation: none;
    }
}

/* --- Barra de progresso "Você está aqui" --- */
.reform-progress {
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 1.6rem 1.5rem 1.8rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.reform-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}

.reform-progress-title {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin: 0;
}

.reform-progress-now {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f6e44;
}

.reform-progress-now::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f6e44;
    box-shadow: 0 0 0 4px rgba(34, 110, 70, 0.15);
    animation: progressDotPulse 2s ease-in-out infinite;
}

@keyframes progressDotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 110, 70, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(34, 110, 70, 0); }
}

.reform-progress-track {
    position: relative;
    height: 8px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    margin: 0 8px;
}

.reform-progress-fill {
    position: absolute;
    left: 0;
    top: -1px;
    height: calc(100% + 2px);
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(71, 168, 229, 0.4);
}

.reform-progress-cursor {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-accent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(71, 168, 229, 0.18), 0 4px 10px rgba(13, 43, 69, 0.2);
    animation: cursorPulse 2.2s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(71, 168, 229, 0.18), 0 4px 10px rgba(13, 43, 69, 0.2); }
    50% { box-shadow: 0 0 0 12px rgba(71, 168, 229, 0), 0 4px 10px rgba(13, 43, 69, 0.2); }
}

.reform-progress-ticks {
    position: relative;
    height: 1.4rem;
    margin-top: 0.7rem;
}

.reform-progress-tick {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.reform-progress-tick--active {
    color: var(--color-accent-hover);
}

@media (prefers-reduced-motion: reduce) {
    .reform-progress-cursor,
    .reform-progress-now::before {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .reform-progress {
        padding: 1.3rem 1rem 1.5rem;
    }
    .reform-progress-tick {
        font-size: 0.68rem;
    }
}

@media (max-width: 575.98px) {
    .reform-timeline::before {
        left: 23px;
    }
    .timeline-item {
        padding-left: 3.8rem;
    }
    .timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 0.62rem;
    }
}

/* --- FAQ (accordion) --- */
.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
    border-color: rgba(71, 168, 229, 0.45);
    box-shadow: var(--shadow-hover);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.4;
    transition: background 0.2s ease;
}

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

.faq-item summary:hover {
    background: rgba(71, 168, 229, 0.05);
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-eyebrow-bg);
    color: var(--color-accent-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item[open] summary::after {
    content: "\2212";
    background: var(--color-accent);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.faq-answer p {
    margin: 0;
}

/* --- CTA final escuro (Reforma) --- */
.reform-final-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reform-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(71, 168, 229, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.reform-final-cta > * {
    position: relative;
    z-index: 1;
}

.reform-final-cta h2 {
    color: #fff;
    margin-bottom: 0.8rem;
}

.reform-final-cta p {
    color: #c8e9ff;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 1.6rem;
}

.reform-final-cta .cta-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.reform-final-cta .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
}

.reform-final-cta .btn-ghost:hover,
.reform-final-cta .btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 575.98px) {
    .reform-final-cta {
        padding: 2.2rem 1.4rem;
    }
}
