/* EncerArt Center — estilo principal (migração PHP puro) */

@font-face {
    font-family: 'crunchy';
    src: url('../fonts/crunchy.woff2') format('woff2'),
         url('../fonts/crunchy.woff') format('woff');
    font-display: auto;
}

@font-face {
    font-family: 'NTR';
    src: url('../fonts/NTR.ttf') format('truetype');
    font-display: auto;
}

:root {
    --pink: #d682bb;
    --magenta: #d62ca0;
    --text-body: #54595f;
    --text-infobox: #4d4d4d;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --boxed-width: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Bad Script', cursive;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.center {
    text-align: center;
}

/* ---------- helpers de breakpoint ---------- */
@media (min-width: 768px) {
    .only-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .only-desktop {
        display: none !important;
    }
}

/* ---------- header fixo ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    pointer-events: none;
}

.site-header > * {
    pointer-events: auto;
}

.header-logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    max-width: 100%;
    text-align: left;
    background-color: var(--white);
    border-bottom: 1px solid var(--pink);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    padding: 6px 0 6px 10px;
}

.header-logo img {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
}

.header-logo.is-scrolled {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.35);
}

.header-social {
    position: fixed;
    top: 10px;
    right: 17px;
    z-index: 501;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0.3em;
    box-sizing: content-box;
    background-color: var(--pink);
    color: var(--white);
    border-radius: 425px;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-icon i {
    font-size: 1em;
    color: var(--white);
}

.social-icon:hover {
    opacity: 0.85;
}

.header-phone {
    position: fixed;
    top: 54px;
    right: 17px;
    z-index: 501;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-family: 'ABeeZee', sans-serif;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.header-phone__icon {
    color: var(--pink);
    font-size: 18px;
    margin-right: 8px;
}

.header-phone__text {
    color: var(--text-muted);
    font-family: 'ABeeZee', sans-serif;
    font-size: 18px;
}

.header-phone__ddd {
    font-size: 12px;
}

@media (max-width: 767px) {
    .header-logo {
        padding: 6px 0 6px 8px;
    }

    .header-social {
        top: 3px;
        right: 10px;
        margin-top: 3px;
    }

    .header-phone {
        top: 37px;
        right: 10px;
        font-size: 16px;
        margin-top: 2px;
    }

    .header-phone__icon {
        font-size: 26px;
        margin-right: 4px;
    }

    .header-phone__text {
        font-size: 16px;
        padding-left: 4px;
    }
}

/* ---------- espaçadores / seções ---------- */
.top-gap {
    height: 15px;
}

.spacer {
    display: block;
    width: 100%;
}

.section {
    display: block;
    width: 100%;
}

.section--boxed {
    max-width: var(--boxed-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .section--boxed {
        max-width: 1024px;
    }
}

@media (max-width: 767px) {
    .section--boxed {
        max-width: 767px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .spacer--after-pros {
        height: 50px !important;
        padding-bottom: 10px;
    }
}

/* ---------- slider (desktop/tablet) ---------- */
.slider-section {
    position: relative;
}

.slider {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    min-height: 300px;
    overflow: hidden;
    perspective: 1500px;
}

.slider__track {
    position: relative;
    width: 100%;
    height: 360px;
}

.slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.slider__slide.is-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slider__slide.is-exit {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 18;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 0;
}

.slider__arrow:hover,
.slider__arrow:focus-visible {
    opacity: 1;
}

.slider__arrow--prev {
    left: 15px;
}

.slider__arrow--next {
    right: 15px;
}

.slider__arrow svg {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

@media (max-width: 700px) {
    .slider__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .slider__track {
        height: 229px;
    }
}

/* ---------- carrossel (celular) ---------- */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel__track {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 38.5%;
}

.carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 500ms ease;
    z-index: 1;
}

.carousel__slide.is-active {
    opacity: 1;
    z-index: 2;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ---------- título Dra. ---------- */
.title-dra {
    margin-top: 0;
    margin-bottom: -10px;
    text-align: right;
}

.title-dra__heading {
    margin: 2px 30px 0 0;
    padding: 0;
    color: var(--pink);
    font-family: 'crunchy', sans-serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    text-align: right;
}

@media (max-width: 767px) {
    .title-dra__heading {
        font-size: 18px;
    }
}

/* ---------- infoboxes / serviços ---------- */
.services {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.services__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 27px 0;
}

.infobox {
    flex: 1 1 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
    text-align: center;
    box-sizing: border-box;
}

.infobox__content {
    text-align: center;
}

.infobox__title {
    margin: 0 0 10px;
    color: var(--pink);
    font-family: 'Bad Script', cursive;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 0.6px;
}

.infobox__text {
    margin: 0 0 15px;
    color: var(--text-infobox);
    font-family: 'Bad Script', cursive;
    font-size: 18px;
    font-weight: normal;
    line-height: 24px;
}

@media (max-width: 767px) {
    .services__row {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .infobox {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
}

/* ---------- parágrafos de conteúdo ---------- */
.section--para {
    max-width: var(--boxed-width);
    margin-left: auto;
    margin-right: auto;
    padding: 44px 10px;
    box-sizing: border-box;
}

.content-p {
    margin: 0;
    padding: 0 56px;
    text-align: center;
    color: var(--text-body);
    font-family: 'Bad Script', cursive;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.6em;
}

@media (max-width: 767px) {
    .section--para {
        padding: 20px 10px;
    }

    .content-p {
        padding: 0 14px;
        font-size: 16px;
    }
}

/* ---------- banner parallax ---------- */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../img/banner-parallax.jpeg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner--mobile {
    height: auto;
    min-height: 400px;
    background-position: center center;
}

.banner__inner {
    width: 100%;
    max-width: var(--boxed-width);
    margin: 0 auto;
    text-align: center;
    padding: 40px 15px;
    box-sizing: border-box;
}

.banner__heading {
    margin: 0;
    padding: 0;
    color: var(--magenta);
    font-family: 'crunchy', sans-serif;
    font-size: 54px;
    font-weight: normal;
    line-height: 1.6em;
    text-shadow: 0 0 7px #ffffff;
    text-align: center;
}

.banner__heading--mobile {
    font-family: 'NTR', sans-serif;
    font-size: 42px;
    line-height: 1.6em;
}

@media (min-width: 1025px) {
    .banner {
        background-attachment: fixed;
    }
}

@media (max-width: 767px) {
    .banner__inner {
        padding: 20px 10px;
    }

    .banner:not(.banner--mobile) .banner__heading {
        font-size: 24px;
    }

    .banner--mobile .banner__heading--mobile {
        font-size: 42px;
        font-family: 'NTR', sans-serif;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .banner__heading {
        font-size: 36px;
    }
}

/* ---------- profissionais ---------- */
.professional {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: var(--boxed-width);
    margin-left: auto;
    margin-right: auto;
}

.professional__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.professional__col {
    flex: 0 0 10%;
    max-width: 10%;
    padding: 0;
    box-sizing: border-box;
}

.professional__col--main {
    flex: 0 0 49.3%;
    max-width: 49.3%;
    padding: 0 10px;
    text-align: left;
}

.professional__col:last-child {
    flex: 0 0 40.7%;
    max-width: 40.7%;
}

.professional__name {
    margin: 0;
    padding: 0;
    color: var(--pink);
    font-family: 'crunchy', sans-serif;
    font-size: 48px;
    font-weight: normal;
    line-height: 1;
}

.professional__divider {
    width: 100%;
    border-top: 1px solid var(--pink);
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.professional__crosp {
    margin-top: 4px;
    text-align: right;
    color: var(--pink);
    font-family: 'Carrois Gothic SC', sans-serif;
    font-size: 16px;
    line-height: 1px;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .professional {
        padding-left: 10px;
        padding-right: 10px;
    }

    .professional__grid {
        display: block;
    }

    .professional__col {
        display: none;
    }

    .professional__col--main {
        display: block;
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .professional__name {
        font-family: 'NTR', sans-serif;
        font-size: 34px;
    }

    .professional__crosp {
        font-size: 12px;
        line-height: 1px;
        letter-spacing: 1px;
        margin-top: 4px;
        text-align: right;
    }
}

/* ---------- mapa ---------- */
.map-section {
    width: 100%;
    border-top: 15px solid var(--pink);
    line-height: 0;
    background: var(--white);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
    margin: 0;
    padding: 0;
}

/* ---------- rodapé rosa ---------- */
.footer-pink {
    width: 100%;
    background-color: var(--pink);
    color: var(--white);
}

.footer-pink__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: var(--boxed-width);
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-pink__col {
    flex: 1 1 50%;
    max-width: 50%;
    box-sizing: border-box;
    padding: 0 15px;
}

.footer-pink__col--schedule {
    text-align: right;
    padding-right: 15px;
}

.footer-pink__col--schedule .icon-list {
    justify-content: flex-end;
}

.footer-pink__col--address {
    text-align: left;
    padding-left: 15px;
}

.icon-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.footer-pink__col--schedule .icon-list {
    flex-direction: row;
}

.icon-list__icon {
    flex: 0 0 auto;
    line-height: 1;
}

.icon-list__icon i {
    color: var(--white);
    font-size: 55px;
    width: 55px;
    text-align: center;
    display: inline-block;
}

.icon-list__text {
    color: var(--white);
    font-family: 'Bad Script', cursive;
    font-size: 24px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0;
    padding-left: 15px;
}

.footer-pink__col--address .icon-list__text {
    padding-left: 20px;
    line-height: 26px;
}

.footer-pink__district {
    font-size: 14px;
}

.footer-pink__credit {
    text-align: right;
    padding: 0 10px 5px 0;
    color: var(--white);
    font-family: 'ABeeZee', sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .footer-pink__grid {
        flex-direction: column;
        padding: 0 10px;
    }

    .footer-pink__col {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .footer-pink__col--schedule {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-pink__col--schedule .icon-list {
        justify-content: center;
    }

    .footer-pink__col--address {
        text-align: center;
    }

    .icon-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .icon-list__icon i {
        font-size: 40px;
        width: 40px;
    }

    .icon-list__text {
        font-size: 14px;
        padding-left: 10px;
        line-height: 18px;
    }

    .footer-pink__col--address .icon-list__text {
        font-size: 15px;
        padding-left: 10px;
        line-height: 22px;
    }

    .footer-pink__district {
        font-size: 13px;
    }
}

/* ---------- acessibilidade ---------- */
:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    .slider__slide,
    .carousel__slide {
        transition: none;
    }
}
