.ip-kids-hero,
.ip-kids-hero *,
.ip-kids-hero *::before,
.ip-kids-hero *::after {
    box-sizing: border-box;
}

.ip-kids-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 48px 24px 0;
    background-color: #eee8ff;
    background-image: url("https://ianarapinho.odo.br/wp-content/uploads/2026/07/odontopediatria-background-1.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.ip-kids-hero__container {
    width: 100%;
    max-width: 1500px;
    min-height: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(350px, 43%) minmax(560px, 57%);
    align-items: end;
    gap: 55px;
}

.ip-kids-hero__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ip-kids-hero__image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 680px;
    margin: 0 auto !important;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 24px rgba(70, 50, 100, 0.12));
}

.ip-kids-hero__card {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: auto 0;
    padding: 54px 58px 44px;
    color: #27324a;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid rgba(112, 70, 173, 0.15);
    border-radius: 42px;
    box-shadow: 0 24px 48px rgba(65, 43, 95, 0.18);
}

.ip-kids-hero__card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px dashed rgba(112, 70, 173, 0.2);
    border-radius: 31px;
    pointer-events: none;
}

.ip-kids-hero__card > * {
    position: relative;
    z-index: 1;
}

.ip-kids-hero__tag {
    display: inline-block;
    margin: 0 0 15px;
    padding: 7px 14px;
    color: #238f99;
    background: rgba(61, 197, 200, 0.13);
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.ip-kids-hero__card h1 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #7046ad !important;
    font-family: inherit;
    font-size: 42px !important;
    line-height: 1.09 !important;
    font-style: normal;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    text-align: left;
}

.ip-kids-hero__card h1 span {
    color: #ef70a9 !important;
}

.ip-kids-hero__card p {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #27324a !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

.ip-kids-hero__card .ip-kids-hero__subtitle {
    margin-bottom: 25px !important;
    color: #5b3a91 !important;
    font-size: clamp(17px, 1.15vw, 20px) !important;
    font-weight: 700 !important;
}

.ip-kids-hero__cta {
    appearance: none;
    width: 100% !important;
    min-height: 68px;
    margin: 10px 0 0 !important;
    padding: 16px 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #42c9cb, #2cafba) !important;
    box-shadow: 0 10px 22px rgba(44, 175, 186, 0.3);
    font-family: inherit;
    font-size: clamp(15px, 1.1vw, 19px) !important;
    line-height: 1.3;
    font-weight: 700 !important;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ip-kids-hero__cta:hover,
.ip-kids-hero__cta:focus {
    color: #ffffff !important;
    background: linear-gradient(135deg, #35bdc1, #249fa9) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 27px rgba(44, 175, 186, 0.38);
}

.ip-kids-hero__locations {
    margin-top: 23px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ip-kids-hero__locations .ip-kids-hero__pin {
    flex: 0 0 auto;
    margin-top: 6px;
    color: #ef70a9;
    font-size: 15px;
    line-height: 1;
}

.ip-kids-hero__locations p {
    margin: 0 !important;
    color: #5b3a91 !important;
    font-size: clamp(14px, 0.95vw, 17px) !important;
    line-height: 1.55 !important;
    font-weight: 600;
}

.ip-kids-hero__locations a {
    color: #5b3a91 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(91, 58, 145, 0.28);
}

.ip-kids-hero__locations a:hover,
.ip-kids-hero__locations a:focus {
    color: #ef70a9 !important;
    border-color: #ef70a9;
}

.ip-kids-hero__locations p > span {
    margin: 0 5px;
    color: #ef70a9;
}

@media (max-width: 1200px) {
    .ip-kids-hero__container {
        min-height: 630px;
        grid-template-columns: minmax(300px, 39%) minmax(500px, 61%);
        gap: 28px;
    }

    .ip-kids-hero__card {
        padding: 44px 42px 36px;
    }

    .ip-kids-hero__image img {
        max-height: 610px;
    }
}

@media (max-width: 960px) {
    .ip-kids-hero {
        padding: 28px 18px 0;
        background-position: center top;
    }

    .ip-kids-hero__container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ip-kids-hero__card {
        order: 1;
        max-width: 760px;
        margin: 0 auto;
    }

    .ip-kids-hero__image {
        order: 2;
    }

    .ip-kids-hero__image img {
        max-width: 500px !important;
        max-height: 530px;
    }
}

@media (max-width: 600px) {
    .ip-kids-hero {
        padding: 14px 12px 0;
    }

    .ip-kids-hero__card {
        padding: 33px 22px 27px;
        border-radius: 27px;
    }

    .ip-kids-hero__card::before {
        inset: 8px;
        border-radius: 20px;
    }

    .ip-kids-hero__card h1 {
        font-size: 33px !important;
        line-height: 1.12 !important;
    }

    .ip-kids-hero__card p {
        font-size: 16px !important;
    }

    .ip-kids-hero__cta {
        min-height: 60px;
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .ip-kids-hero__locations {
        gap: 7px;
    }

    .ip-kids-hero__locations p {
        font-size: 14px !important;
    }

    .ip-kids-hero__image img {
        max-width: 360px !important;

      /* Ajuste de proporção e espaçamento para desktop */
@media (min-width: 961px) {

    .ip-kids-hero {
        padding-top: clamp(42px, 3vw, 60px);
    }

    .ip-kids-hero__container {
        min-height: clamp(690px, 40vw, 760px);
        align-items: end;
    }

    .ip-kids-hero__card {
        align-self: center;
        margin: clamp(36px, 3vw, 52px) 0;
        padding: 48px 56px 40px;
    }

    .ip-kids-hero__card h1 {
        max-width: 780px;
        font-size: clamp(42px, 2.55vw, 50px) !important;
        line-height: 1.08 !important;
        text-wrap: balance;
    }
}

/* Aproveita melhor o espaço em monitores largos */
@media (min-width: 1500px) {

    .ip-kids-hero__container {
        max-width: 1600px;
        grid-template-columns:
            minmax(470px, 42%)
            minmax(720px, 58%);
        gap: clamp(56px, 4vw, 76px);
    }

    .ip-kids-hero__card {
        max-width: 880px;
    }

    .ip-kids-hero__image img {
        max-height: 700px;
    }
}
    }
}