/* ==========================================================================
   Landing Page Modelo — Pediatra Humanizada
   Identidade própria, leve, acolhedora e independente da Jorton Marketing Ads.
   ========================================================================== */

.lp-ped-body {
    margin: 0;
    background: #FFF8F3;
    color: #283047;
    font-family: Arial, Helvetica, sans-serif;
}

.lp-ped-body * {
    box-sizing: border-box;
}

.lp-ped-body html {
    scroll-behavior: smooth;
}

.lp-ped {
    --ink: #283047;
    --muted: #6C7280;
    --rose: #D96C82;
    --rose-dark: #B94F66;
    --sage: #6EA99B;
    --sage-dark: #3E7E72;
    --cream: #FFF8F3;
    --cream-2: #FFF0E6;
    --lavender: #F0E9FF;
    --white: #FFFFFF;
    --line: #F0D9D2;
    --shadow: 0 24px 70px rgba(126, 78, 66, 0.14);
    --radius: 28px;

    min-height: 100vh;
    overflow-x: hidden;
}

.lp-ped a {
    color: inherit;
}

.lp-ped__container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.lp-ped__header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 243, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(240, 217, 210, 0.8);
}

.lp-ped__header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lp-ped__brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.1;
}

.lp-ped__brand span {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.lp-ped__brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

.lp-ped__nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.92rem;
    font-weight: 700;
}

.lp-ped__nav a {
    color: var(--ink);
    text-decoration: none;
}

.lp-ped__nav a:hover {
    color: var(--rose-dark);
}

.lp-ped__nav-button {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--rose);
    color: #FFFFFF !important;
}

.lp-ped__hero {
    position: relative;
    padding: 78px 0 72px;
    background:
        radial-gradient(circle at 82% 16%, rgba(217, 108, 130, 0.22), transparent 28%),
        radial-gradient(circle at 18% 80%, rgba(110, 169, 155, 0.18), transparent 30%),
        linear-gradient(135deg, #FFF8F3 0%, #FFFDFB 50%, #F8F2FF 100%);
}

.lp-ped__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
    gap: 56px;
    align-items: center;
}

.lp-ped__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(217, 108, 130, 0.1);
    color: var(--rose-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-ped__hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
}

.lp-ped__hero-copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.13rem;
    line-height: 1.78;
}

.lp-ped__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.lp-ped__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-ped__btn:hover {
    transform: translateY(-2px);
}

.lp-ped__btn--primary {
    background: var(--rose);
    color: #FFFFFF;
    box-shadow: 0 16px 32px rgba(217, 108, 130, 0.28);
}

.lp-ped__btn--primary:hover {
    background: var(--rose-dark);
}

.lp-ped__btn--ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border: 1px solid var(--line);
}

.lp-ped__btn--light {
    background: #FFFFFF;
    color: var(--sage-dark);
}

.lp-ped__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.lp-ped__credentials span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.lp-ped__doctor-card {
    position: relative;
    padding: 24px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(240, 217, 210, 0.9);
    box-shadow: var(--shadow);
}

.lp-ped__photo-frame {
    position: relative;
    height: 318px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 48% 18%, rgba(255, 255, 255, 0.9), transparent 22%),
        linear-gradient(180deg, #FFE9E0 0%, #F8F2FF 100%);
}



.lp-ped__doctor-info {
    padding: 22px 4px 4px;
    text-align: center;
}

.lp-ped__doctor-info h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.45rem;
}

.lp-ped__doctor-info p {
    margin: 8px 0 0;
    color: var(--muted);
}

.lp-ped__note-card {
    position: absolute;
    right: -18px;
    bottom: 58px;
    width: min(230px, calc(100% - 32px));
    padding: 17px;
    border-radius: 20px;
    background: var(--sage-dark);
    color: #FFFFFF;
    box-shadow: 0 18px 42px rgba(62, 126, 114, 0.26);
}

.lp-ped__note-card strong,
.lp-ped__note-card span {
    display: block;
}

.lp-ped__note-card span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.45;
}

.lp-ped__section {
    padding: 78px 0;
}

.lp-ped__section--white {
    background: #FFFFFF;
}

.lp-ped__section--soft {
    background: #FFF8F3;
}

.lp-ped__section--cream {
    background: #FFF0E6;
}

.lp-ped__split,
.lp-ped__location {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.lp-ped__section h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.lp-ped__rich-text p,
.lp-ped__section-head p,
.lp-ped__location p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.78;
}

.lp-ped__rich-text p:first-child {
    margin-top: 0;
}

.lp-ped__section-head {
    max-width: 780px;
    margin-bottom: 36px;
}

.lp-ped__section-head h2 {
    margin-bottom: 12px;
}

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

.lp-ped__card,
.lp-ped__features > div,
.lp-ped__location-card,
.lp-ped__faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: 0 14px 42px rgba(126, 78, 66, 0.08);
}

.lp-ped__card {
    padding: 24px;
}

.lp-ped__card span {
    color: var(--rose);
    font-weight: 900;
}

.lp-ped__card h3,
.lp-ped__features h3 {
    margin: 14px 0 10px;
    color: var(--ink);
}

.lp-ped__card p,
.lp-ped__features p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.lp-ped__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-ped__features > div {
    padding: 26px;
}

.lp-ped__location-card {
    padding: 28px;
}

.lp-ped__location-card strong {
    color: var(--ink);
}

.lp-ped__location-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.85;
}

.lp-ped__faq {
    display: grid;
    gap: 14px;
}

.lp-ped__faq details {
    padding: 21px 22px;
}

.lp-ped__faq summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
}

.lp-ped__faq p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.68;
}

.lp-ped__final {
    padding: 86px 0;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, var(--sage-dark), var(--sage));
    color: #FFFFFF;
}

.lp-ped__final .lp-ped__label {
    background: rgba(255,255,255,0.16);
    color: #FFFFFF;
}

.lp-ped__final h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.1;
}

.lp-ped__final p {
    max-width: 650px;
    margin: 20px auto 30px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.lp-ped__footer {
    padding: 34px 0;
    background: #2D3142;
    color: rgba(255, 255, 255, 0.78);
}

.lp-ped__footer .lp-ped__container {
    display: grid;
    gap: 8px;
}

.lp-ped__footer strong {
    color: #FFFFFF;
}

.lp-ped__footer small {
    max-width: 920px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.55;
}

@media (max-width: 940px) {
    .lp-ped__header {
        position: relative;
    }

    .lp-ped__header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-ped__nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .lp-ped__hero-grid,
    .lp-ped__split,
    .lp-ped__location {
        grid-template-columns: 1fr;
    }

    .lp-ped__hero {
        padding-top: 52px;
    }

    .lp-ped__cards,
    .lp-ped__features {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-ped__note-card {
        right: 16px;
    }
}

@media (max-width: 640px) {
    .lp-ped__container {
        width: min(100% - 24px, 1120px);
    }

    .lp-ped__nav {
        gap: 14px;
        font-size: 0.86rem;
    }

    .lp-ped__hero h1 {
        font-size: 2.45rem;
    }

    .lp-ped__actions {
        flex-direction: column;
    }

    .lp-ped__btn {
        width: 100%;
    }

    .lp-ped__credentials {
        display: grid;
    }

    .lp-ped__doctor-card {
        padding: 18px;
    }

    .lp-ped__photo-frame {
        height: 250px;
    }

    .lp-ped__cards,
    .lp-ped__features {
        grid-template-columns: 1fr;
    }

    .lp-ped__section {
        padding: 60px 0;
    }
}
/* ==========================================================================
   WhatsApp — CTAs e botão flutuante
   ========================================================================== */

.lp-ped__btn--whatsapp,
.lp-ped__floating-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
}

.lp-ped__btn--whatsapp:hover,
.lp-ped__floating-whatsapp:hover {
    background: #1FB85A;
}

.lp-ped__btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex: 0 0 auto;
}

.lp-ped__floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: lp-ped-pulse 2.4s ease-in-out infinite;
}

.lp-ped__floating-whatsapp img {
    width: 30px;
    height: 30px;
}

@keyframes lp-ped-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.34);
    }

    70% {
        transform: scale(1.04);
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.lp-ped__testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-ped__testimonials article {
    padding: 26px;
    border-radius: var(--radius);
    background: #FFF8F3;
    border: 1px solid var(--line);
    box-shadow: 0 14px 42px rgba(126, 78, 66, 0.08);
}

.lp-ped__testimonials p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.lp-ped__testimonials strong {
    color: var(--ink);
}

@media (max-width: 940px) {
    .lp-ped__testimonials {
        grid-template-columns: 1fr;
    }
}
.lp-ped__gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
    gap: 18px;
}

.lp-ped__gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 16px 44px rgba(126, 78, 66, 0.1);
}

.lp-ped__gallery img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
}

.lp-ped__gallery figure:first-child img {
    height: 360px;
}

.lp-ped__gallery figcaption {
    padding: 14px 16px;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 940px) {
    .lp-ped__gallery {
        grid-template-columns: 1fr;
    }

    .lp-ped__gallery img,
    .lp-ped__gallery figure:first-child img {
        height: 240px;
    }
}


/* Ícone do WhatsApp nos botões principais */
.lp-ped__btn--whatsapp::before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex: 0 0 auto;
    background: url("/modelos/pediatra-humanizada/assets/img/whatsapp.svg") center / contain no-repeat;
}

/* Foto realista da médica no hero */
.lp-ped__doctor-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* ==========================================================
   AJUSTE DA FOTO DA MÉDICA + CARD VERDE
   ========================================================== */

.lp-ped__hero-photo-area {
    position: relative;
    padding-bottom: 5.5rem; /* reserva espaço para o card verde no desktop */
}

.lp-ped__doctor-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2rem;
}

.lp-ped__hero-note {
    position: absolute;
    right: -1.25rem;
    bottom: 1.5rem;
    z-index: 3;
    max-width: 240px;
    padding: 1.25rem 1.25rem 1.1rem;
    border-radius: 1.25rem;
    background: #4b9a8a;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(75, 154, 138, 0.22);
}

.lp-ped__hero-note strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #ffffff;
}

.lp-ped__hero-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .lp-ped__hero-photo-area {
        padding-bottom: 0;
    }

    .lp-ped__hero-note {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
}

/* ==========================================================
   GALERIA DO CONSULTÓRIO
   ========================================================== */

.lp-ped__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lp-ped__gallery figure {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(212, 192, 182, 0.55);
    box-shadow: 0 12px 28px rgba(111, 93, 84, 0.08);
    height: 100%;
}

.lp-ped__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.lp-ped__gallery figcaption {
    padding: 1rem 1rem 1.15rem;
    min-height: 80px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #5f728d;
    background: #ffffff;
}

@media (max-width: 900px) {
    .lp-ped__gallery {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   CORREÇÃO FINAL — CARD VERDE DA MÉDICA
   Usa a estrutura atual do HTML: .lp-ped__doctor-card + .lp-ped__note-card
   ========================================================== */

.lp-ped__doctor-card {
    padding-bottom: 112px;
}

.lp-ped__photo-frame {
    height: 318px;
}

.lp-ped__doctor-photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
}

.lp-ped__note-card {
    right: 24px;
    bottom: 24px;
    max-width: 250px;
    width: auto;
}

@media (max-width: 940px) {
    .lp-ped__doctor-card {
        padding: 18px;
    }

    .lp-ped__note-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }
}

/* ==========================================================
   CORREÇÃO FINAL — GALERIA COM CARDS UNIFORMES
   ========================================================== */

.lp-ped__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lp-ped__gallery figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.lp-ped__gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.lp-ped__gallery figcaption {
    min-height: 72px;
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .lp-ped__gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   CORREÇÃO DEFINITIVA — CARD VERDE SEM SOBREPOSIÇÃO
   ========================================================== */

.lp-ped__doctor-card {
    padding: 24px !important;
}

.lp-ped__doctor-info {
    padding: 22px 4px 0 !important;
}

.lp-ped__note-card {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    margin: 18px auto 0 !important;
    padding: 18px 20px !important;
    border-radius: 22px !important;
    text-align: left;
}

/* ==========================================================
   CORREÇÃO DEFINITIVA — GALERIA COM IMAGENS UNIFORMES
   ========================================================== */

.lp-ped__gallery figure {
    display: grid !important;
    grid-template-rows: 250px 72px !important;
    height: 100% !important;
}

.lp-ped__gallery img,
.lp-ped__gallery figure:first-child img {
    width: 100% !important;
    height: 250px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.lp-ped__gallery figcaption {
    min-height: 72px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 1rem !important;
}

@media (max-width: 900px) {
    .lp-ped__gallery figure {
        grid-template-rows: 240px 68px !important;
    }

    .lp-ped__gallery img,
    .lp-ped__gallery figure:first-child img {
        height: 240px !important;
    }

    .lp-ped__gallery figcaption {
        min-height: 68px !important;
        height: 68px !important;
    }
}
