/* =========================================================
   REABILITESSE — STYLE.CSS FINAL LIMPO
========================================================= */

:root {
    --dark: #1f232b;
    --dark-2: #111827;
    --text: #101828;
    --muted: #667085;
    --orange: #ff6a1a;
    --orange-dark: #e85b10;
    --soft: #f4f5f7;
    --soft-warm: #f7f3ef;
    --white: #ffffff;
    --border: rgba(0,0,0,.10);
    --shadow: 0 14px 40px rgba(0,0,0,.06);
    --shadow-strong: 0 20px 60px rgba(0,0,0,.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

p {
    color: var(--muted);
    line-height: 1.75;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section,
.service-section {
    padding: 110px 0;
    background: #fff;
}

.section-soft,
.service-section-gray { background: var(--soft); }

.section-kicker,
.section-eyebrow {
    display: block;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-heading-center,
.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-heading-center h2,
.section-title h2 {
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--text);
}

.section-heading-center p,
.section-title p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
}

/* BOTÕES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 32px;
    border-radius: 8px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .25s ease;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-full { width: 100%; }

/* HERO HOME */

.hero-home,
.home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-home-bg,
.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-home-bg img,
.home-hero img,
.home-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-home-overlay,
.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(20,24,33,.82) 0%, rgba(20,24,33,.55) 48%, rgba(20,24,33,.20) 100%);
}

.hero-home-content,
.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    color: #fff;
}

.hero-home-content h1,
.home-hero-content h1 {
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    margin: 16px 0 20px;
    color: #fff;
}

.hero-home-content p,
.home-hero-content p {
    max-width: 660px;
    font-size: 20px;
    color: rgba(255,255,255,.9);
    margin: 0 0 32px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,106,26,.18);
    color: var(--orange);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* STATS */

.stats-section {
    position: relative;
    z-index: 4;
    margin-top: -58px;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.stat-card {
    padding: 30px 22px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-card:last-child { border-right: 0; }

.stat-card strong {
    display: block;
    color: var(--orange);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 600;
}

/* CARDS GERAIS */

.services-grid,
.cards-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card,
.info-card,
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .25s ease;
}

.service-card:hover,
.info-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.service-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.service-card:hover .service-image img { transform: scale(1.05); }

.service-content,
.info-card,
.feature-card { padding: 30px; }

.service-content h3,
.info-card h3,
.feature-card h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 22px;
}

.service-content p,
.info-card p,
.feature-card p { margin: 0 0 18px; }

.service-content span {
    color: var(--orange);
    font-weight: 800;
}

/* ESPECIALIDADES */

.specialties-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.specialty-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
}

.specialty-card span {
    color: var(--orange);
    font-weight: 900;
}

.specialty-card p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

/* PROCESSO */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px 24px;
    box-shadow: var(--shadow);
}

.process-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.process-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.process-card p {
    margin: 0;
    font-size: 15px;
}

/* WHY / TESTEMUNHOS / HOME LOCATION */

.why-grid,
.testimonials-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card,
.testimonial-card,
.location-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.why-card {
    display: flex;
    gap: 18px;
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,106,26,.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.why-card h3,
.testimonial-card strong,
.location-card h3 {
    margin: 0 0 8px;
    color: var(--text);
}

.why-card p,
.testimonial-card p,
.location-card p { margin: 0; }

.stars {
    color: var(--orange);
    margin-bottom: 14px;
}

.location-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.location-icon {
    color: var(--orange);
    font-size: 42px;
    margin-bottom: 14px;
}

/* SERVICE LANDING */

.service-landing-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.service-landing-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-landing-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(20,20,20,.58);
}

.service-landing-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
}

.service-landing-content h1 {
    max-width: 760px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;
    margin: 0 0 18px;
    color: #fff;
}

.service-landing-content p {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0 0 32px;
}

.service-text-block {
    max-width: 1180px;
}

.service-text-block h2 {
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.1;
    margin: 0 0 42px;
}

.service-text-block p {
    max-width: 1120px;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 22px;
}

/* SERVICE COMPONENTS */

.check-grid {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.check-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,.035);
}

.check-card span {
    color: var(--orange);
    font-weight: 900;
}

.benefits-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 80px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.benefit-item span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,106,26,.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.benefit-item p {
    margin: 0;
    font-size: 17px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    text-align: center;
}

.step-item > span {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 22px;
}

.step-item h3 {
    font-size: 22px;
    margin: 0 0 12px;
}

.step-item p {
    max-width: 330px;
    margin: 0 auto;
}

/* FAQ */

.faq-section-bg { background: var(--soft-warm) !important; }

.faq-list {
    max-width: 980px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(255,106,26,.25);
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(16,24,40,.06);
}

.faq-item summary {
    cursor: pointer;
    padding: 24px 30px;
    font-weight: 800;
    list-style: none;
    color: var(--text);
    background: #fff;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    float: right;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,106,26,.12);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    padding: 0 30px 26px;
    margin: 0;
    background: #fff;
}

.faq-item[open] {
    border-color: rgba(255,106,26,.45);
    box-shadow: 0 18px 42px rgba(255,106,26,.10);
}

/* TESTEMUNHOS SERVIÇO */

.testimonial-service-grid {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-service-card p {
    font-style: italic;
    margin: 0 0 18px;
}

.testimonial-service-card strong { color: var(--text); }

/* PAGE HERO ANTIGO */

.page-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-2);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(20,24,33,.86) 0%, rgba(20,24,33,.62) 45%, rgba(20,24,33,.18) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    color: #fff;
}

.page-hero-content h1 {
    max-width: 680px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin: 16px 0;
    color: #fff;
}

.page-hero-content p {
    max-width: 660px;
    font-size: 20px;
    color: rgba(255,255,255,.88);
}

/* LOCALIZAÇÕES / CONTACTOS HERO */

.location-hero,
.contact-hero,
.news-hero,
.article-hero {
    padding: 90px 0 50px;
    text-align: center;
    background: #fff;
}

.location-hero h1,
.contact-hero h1,
.news-hero h1,
.article-hero h1 {
    font-size: clamp(46px, 5vw, 66px);
    line-height: 1.05;
    margin: 0 0 20px;
    color: var(--text);
}

.location-hero p,
.contact-hero p,
.news-hero p,
.article-hero p {
    font-size: 20px;
    margin: 0;
}

/* ONDE ESTAMOS */

.locations-section {
    padding: 90px 0;
    background: #fff;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    text-align: center;
}

.location-unit-card {
    max-width: 320px;
    margin: 0 auto;
}

.location-unit-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 900;
}

.location-unit-card h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

.location-subtitle,
.location-address,
.location-phone {
    font-size: 15px;
    margin: 0 0 10px;
}

.location-phone,
.location-map-link { color: var(--orange); }

.location-map-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 800;
}

.map-section {
    padding: 0 0 90px;
    background: #fff;
}

.location-map-large {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
}

/* CONTACTOS */

.contact-section {
    padding: 70px 0 110px;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info-list {
    display: grid;
    gap: 22px;
}

.contact-info-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: var(--soft);
    border-radius: 18px;
}

.contact-dot {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,106,26,.10);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.contact-info-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.contact-info-card p {
    margin: 0 0 6px;
    line-height: 1.55;
}

/* FORMULÁRIOS */

.contact-form,
.appointment-form {
    display: grid;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 9px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,106,26,.10);
}

.form-group textarea { resize: vertical; }

.form-success {
    padding: 16px 18px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

/* MARCAR CONSULTA */

.container-narrow { max-width: 760px; }

.appointment-section { padding: 100px 0; }

.appointment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(255,106,26,.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.appointment-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.form-note {
    text-align: center;
    font-size: 13px;
    margin: 0;
}

/* NOTÍCIAS */

.news-section {
    padding: 30px 0 110px;
    background: #fff;
}

.news-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.news-image {
    height: 230px;
    background: #f0f1f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    color: rgba(255,106,26,.22);
    font-size: 42px;
    font-family: Georgia, serif;
}

.news-content {
    padding: 28px;
}

.news-date {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.news-content h2 {
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 14px;
    color: var(--text);
}

.news-content p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.news-link {
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
}

/* DETALHE NOTÍCIA */

.article-container { max-width: 820px; }

.article-hero { text-align: center; }

.article-date {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 12px;
}

.article-hero h1 {
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.08;
    margin: 0 0 20px;
}

.article-excerpt {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.article-content-section {
    padding: 40px 0 110px;
    background: #fff;
}

.article-image,
.article-placeholder-large {
    height: 280px;
    border-radius: 18px;
    background: #f0f1f3;
    color: rgba(255,106,26,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-family: Georgia, serif;
    margin-bottom: 50px;
}

.article-content p {
    font-size: 19px;
    line-height: 1.9;
    color: #475467;
    margin: 0 0 26px;
}

.article-back { margin-top: 50px; }

/* RESPONSIVO */

@media (max-width: 1000px) {
    .stats-grid,
    .process-grid { grid-template-columns: repeat(2, 1fr); }

    .services-grid,
    .why-grid,
    .testimonials-grid,
    .contact-grid,
    .locations-grid { grid-template-columns: 1fr; }

    .locations-grid { gap: 50px; }
}

@media (max-width: 900px) {
    .hero-home,
    .home-hero,
    .service-landing-hero,
    .page-hero { min-height: 480px; }

    .section,
    .service-section { padding: 80px 0; }

    .check-grid,
    .benefits-grid,
    .steps-grid,
    .testimonial-service-grid,
    .specialties-grid,
    .form-row,
    .news-grid { grid-template-columns: 1fr; }

    .steps-grid { gap: 46px; }

    .hero-home-content h1,
    .home-hero-content h1,
    .service-landing-content h1,
    .page-hero-content h1 { font-size: 42px; }

    .hero-home-content p,
    .home-hero-content p,
    .service-landing-content p,
    .page-hero-content p { font-size: 17px; }

    .stats-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat-card:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
    .container { width: min(100% - 28px, 1180px); }

    .section,
    .service-section { padding: 64px 0; }

    .hero-home,
    .home-hero,
    .service-landing-hero,
    .page-hero { min-height: 520px; }

    .section-heading-center h2,
    .section-title h2,
    .service-text-block h2,
    .location-hero h1,
    .contact-hero h1,
    .news-hero h1,
    .article-hero h1 { font-size: 36px; }

    .stats-grid,
    .process-grid { grid-template-columns: 1fr; }

    .appointment-form { padding: 24px; }
}