/* ============================================================
   Edson Santiago, Fisioterapeuta (espaço Core Health)
   Landing page: Terapia por Ondas de Choque (/ondasdechoque)
   Reaproveita os tokens e componentes de css/index.css
   (--navy #172756 / --turq #228fa9 / --aqua #97c3c7). Este
   arquivo carrega DEPOIS do index.css e só adiciona o que é
   específico desta página. v2.0.0 (hero + ícones de dor + fotos)
   ============================================================ */

/* ==================== HEADER ====================
   Reaproveita o .main-nav da home (css/index.css) para dar
   continuidade visual entre a página principal e esta landing.
   Aqui só ajustamos o respiro do hero sob o nav fixo. */

/* ==================== HERO ==================== */
.oc-hero {
    /* Fundo chapado na MESMA cor de fundo da ilustração (#eef8fa), para não
       haver diferença perceptível quando ela sangra no hero. Glow turquesa
       sutil no canto superior-esquerdo (longe da imagem) só para dar leveza. */
    background:
        radial-gradient(70% 70% at 12% 8%, rgba(34, 143, 169, 0.08), transparent 55%),
        #eef8fa;
    color: var(--text);
    /* topo maior para compensar o .main-nav fixo (mesmo padrão da home) */
    padding: clamp(96px, 7vw, 128px) 0 clamp(44px, 6vw, 80px);
    position: relative;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
}
.oc-hero > .container { width: 100%; }
.oc-hero__grid { display: block; }
.oc-hero__content { position: relative; z-index: 2; max-width: 460px; }
.oc-hero__local {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
}
.oc-hero__local .icon { color: var(--turq-dark); width: 1.2em; height: 1.2em; flex-shrink: 0; margin-top: 2px; }
.oc-hero__local span { flex: 1; }
.oc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(151, 195, 199, 0.16);
    border: 1px solid rgba(151, 195, 199, 0.34);
    color: var(--aqua);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.oc-hero h1 {
    font-size: clamp(1.9rem, 4.4vw, 2.95rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    color: var(--navy);
}
.oc-hero h1 span { color: var(--turq-dark); }
.oc-hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.14rem);
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 26px;
}
.oc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.oc-hero__cta .btn-accent { box-shadow: 0 12px 30px rgba(34, 143, 169, 0.35); }
.oc-hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 16px;
    border-radius: 50px;
}
.oc-hero__rating .stars { color: #ffc23d; display: inline-flex; }
.oc-hero__rating .stars .icon { width: 1em; height: 1em; }
.oc-hero__rating strong { font-size: 1.05rem; }
.oc-hero__rating span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.oc-hero__trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.oc-hero__trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.oc-hero__trust .icon { color: var(--aqua); width: 1.2em; height: 1.2em; }
.oc-hero__trust strong { color: var(--white); }

/* Ilustração do hero: sangra até a borda direita e inferior da seção.
   Posicionada de forma absoluta em relação a .oc-hero (largura total). */
.oc-hero__mediawrap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(50%, 680px);
    z-index: 1;
}
.oc-hero__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef8fa;
    border-radius: 0;
    box-shadow: none;
    /* Dissolve as bordas superior e esquerda (as que ficam "retas" dentro do
       hero) para a ilustração se fundir ao fundo sem linha de corte. */
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0, #000 5%),
        linear-gradient(to right, transparent 0, #000 4%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, transparent 0, #000 5%),
        linear-gradient(to right, transparent 0, #000 4%);
    mask-composite: intersect;
}
.oc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Selo sobreposto na foto: reforço de confiança */
.oc-hero__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(23, 39, 86, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.35;
}
.oc-hero__badge .icon { color: var(--aqua); width: 1.5em; height: 1.5em; flex-shrink: 0; }
.oc-hero__badge strong { display: block; }

/* ==================== PROBLEMAS QUE RESOLVE (com ícones de dor) ==================== */
.oc-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.oc-problem {
    background: var(--white);
    border: 1px solid var(--tint-border);
    border-radius: var(--radius);
    padding: 26px 24px 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.oc-problem::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 3px; width: 56px;
    background: linear-gradient(90deg, var(--turq), transparent);
    transition: width 0.35s ease;
}
.oc-problem:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 57, 82, 0.13);
    border-color: var(--turq-line);
}
.oc-problem:hover::before { width: 100%; }
/* Ícone anatômico de dor num círculo claro: ajuda o paciente a se reconhecer */
.oc-problem__ico {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: var(--tint);
    border: 1px solid var(--tint-border);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.oc-problem__ico img { width: 42px; height: 42px; }
.oc-problem h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 8px;
}
.oc-problem p {
    color: var(--text-soft);
    font-size: 0.93rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.oc-problem__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--turq-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}
.oc-problem__link:hover { gap: 12px; color: var(--turq); }

.oc-note {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
    max-width: 720px;
    margin: 34px auto 0;
    padding: 15px 22px;
    background: var(--tint);
    border-radius: 12px;
    border: 1px solid var(--tint-border);
}

/* ==================== TAMBÉM TRATAMOS (por região) ==================== */
.oc-more { margin-top: 44px; }
.oc-more__title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
}
.oc-more__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.oc-more__group {
    background: var(--tint);
    border: 1px solid var(--tint-border);
    border-radius: 14px;
    padding: 20px 22px;
}
.oc-more__group h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.oc-more__group h4 img { width: 30px; height: 30px; flex-shrink: 0; }
.oc-more__group ul { list-style: none; }
.oc-more__group li {
    position: relative;
    padding: 4px 0 4px 16px;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.45;
}
.oc-more__group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--turq);
}
@media (max-width: 940px) { .oc-more__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .oc-more__grid { grid-template-columns: 1fr; } }

/* ==================== COMO FUNCIONA (foto + passos) ==================== */
.oc-how {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}
.oc-how__photo {
    border-radius: var(--radius-photo);
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(0, 20, 40, 0.4);
    aspect-ratio: 4 / 3;
}
.oc-how__photo img { width: 100%; height: 100%; object-fit: cover; }
.oc-how__steps { display: flex; flex-direction: column; gap: 18px; counter-reset: ocstep; }
.oc-how__step { display: flex; gap: 16px; align-items: flex-start; }
.oc-how__step::before {
    counter-increment: ocstep;
    content: counter(ocstep);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--turq);
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
}
.oc-how__step h3 { font-size: 1.04rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.oc-how__step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }

/* ==================== COMO É O TRATAMENTO ==================== */
.oc-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.oc-feature {
    text-align: center;
    padding: 26px 20px;
    background: var(--white);
    border: 1px solid var(--tint-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.oc-feature__ico {
    width: 50px; height: 50px;
    margin: 0 auto 14px;
    border-radius: 13px;
    background: var(--tint);
    color: var(--turq-dark);
    display: grid;
    place-items: center;
}
.oc-feature__ico .icon { width: 25px; height: 25px; }
.oc-feature h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.oc-feature p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.5; }

/* ==================== INDICAÇÕES / CONTRAINDICAÇÕES ==================== */
.oc-indic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}
.oc-indic__card {
    background: var(--white);
    border: 1px solid var(--tint-border);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
    height: 100%;
}
.oc-indic__card--yes { border-top: 4px solid var(--success); }
.oc-indic__card--no { border-top: 4px solid var(--turq); }
.oc-indic__card h3 {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.oc-indic__list { list-style: none; }
.oc-indic__list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 7px 0;
    font-size: 0.94rem;
    color: var(--text);
    line-height: 1.5;
}
.oc-indic__list .icon { margin-top: 3px; width: 19px; height: 19px; flex-shrink: 0; }
.oc-indic__card--yes .icon { color: var(--success); }
.oc-indic__card--no .icon { color: var(--turq-dark); }
.oc-indic__foot {
    margin-top: 20px;
    padding: 15px 18px;
    background: var(--tint);
    border-radius: 12px;
    font-size: 0.89rem;
    color: var(--text-soft);
    line-height: 1.55;
}

/* ==================== SOBRE ==================== */
.oc-about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.oc-about__photo {
    border-radius: var(--radius-photo);
    overflow: hidden;
    max-width: 380px;
    box-shadow: var(--shadow-soft);
}
.oc-about__photo img { width: 100%; height: auto; }
.oc-about h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.oc-about .oc-crefito { color: var(--turq-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; display: block; }
.oc-about p { color: var(--text-soft); margin-bottom: 14px; }
.oc-about .check-list { margin-top: 16px; }
/* Kicker alinhado a esquerda (o padrao do .section-kicker e centralizado).
   Mantem as linhas decorativas ::before/::after como na home. */
.oc-about__kicker { justify-content: flex-start; text-align: left; }

/* ==================== DEPOIMENTOS ====================
   Reusa .testimonial-card do index.css e troca so o que diferencia
   aqui: card branco (a home usa --tint) com sombra, sobre secao clara.
   Breakpoints iguais aos do .services-grid do index.css (1024/760),
   que era a grade usada antes. */
.oc-depos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.oc-depo {
    background: var(--white);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
}
@media (max-width: 1024px) { .oc-depos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .oc-depos { grid-template-columns: 1fr; gap: 18px; } }

/* ==================== CTA FINAL ==================== */
.oc-finalcta { text-align: center; }
.oc-finalcta h2 { color: var(--white); }
.oc-finalcta .section-sub { margin-bottom: 28px; }
.oc-finalcta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* Linha de endereco abaixo dos botoes */
.oc-finalcta__addr { margin-top: 24px; font-size: 0.9rem; }
.oc-finalcta__addr .icon { vertical-align: -0.2em; }

/* ==================== BARRA FIXA MOBILE ==================== */
.oc-sticky {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--white);
    border-top: 1px solid var(--tint-border);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 22px rgba(0, 42, 61, 0.12);
}
.oc-sticky .btn { width: 100%; }

/* ==================== RESPONSIVO ==================== */
/* Notebooks/tablets: hero empilha (imagem no topo, em fluxo) para o
   sangramento lateral nunca colidir com o texto. */
@media (max-width: 1080px) {
    .oc-hero { min-height: 0; display: block; }
    .oc-hero__grid { display: flex; flex-direction: column; }
    .oc-hero__content { max-width: none; z-index: auto; }
    .oc-hero__mediawrap {
        position: static;
        width: auto;
        order: -1;
        margin: 0 0 28px;
    }
    .oc-hero__media {
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        border: 1px solid var(--tint-border);
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 940px) {
    .oc-problems-grid { grid-template-columns: repeat(2, 1fr); }
    .oc-features { grid-template-columns: repeat(2, 1fr); }
    .oc-how { grid-template-columns: 1fr; gap: 26px; }
    .oc-how__photo { max-height: 300px; }
    .oc-about { grid-template-columns: 1fr; gap: 26px; }
    .oc-about__photo { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 640px) {
    /* Ritmo vertical mais compacto no celular (só na landing) */
    .section { padding: 54px 0; }
    .oc-hero { padding-top: 88px; }
    .oc-hero__sub { font-size: 1rem; }
    .oc-problems-grid { grid-template-columns: 1fr; }
    .oc-features { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .oc-feature { padding: 22px 16px; }
    .oc-indic { grid-template-columns: 1fr; }
    .oc-indic__card { padding: 26px 22px; }
    .oc-hero__cta .btn { width: 100%; }
    .oc-hero__cta { gap: 12px; }
    .footer { padding-bottom: 84px; }
    .oc-sticky { display: block; }
    .whatsapp-float { display: none; }
}

@media (max-width: 400px) {
    .oc-features { grid-template-columns: 1fr; }
}
