/* ===== Ninu — estilos do tema (cores e fontes vêm do theme.json) ===== */
:root{--ninu-r:14px;--ninu-shadow:0 10px 30px rgba(46,38,32,.10)}
body{-webkit-font-smoothing:antialiased}
img{height:auto}

/* ---------- Cabeçalho ---------- */
.ninu-header{position:sticky;top:0;z-index:50;background:rgba(247,241,232,.94);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--wp--preset--color--linha);padding-top:.7rem;padding-bottom:.7rem}
.admin-bar .ninu-header{top:32px}
@media (max-width:782px){.admin-bar .ninu-header{top:46px}}
.ninu-brand img{display:block;width:132px;height:auto}
.ninu-nav{font-weight:600;font-size:.98rem}
.ninu-nav a{color:var(--wp--preset--color--tinta);text-decoration:none}
.ninu-nav a:hover{color:var(--wp--preset--color--primaria)}
.ninu-nav .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--creme);padding:1.5rem}
.ninu-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{font-size:1.35rem;font-family:var(--wp--preset--font-family--titulo)}
@media (max-width:600px){.ninu-brand img{width:108px}.ninu-header-cta .wp-block-button__link{padding:.5rem .9rem!important;font-size:.92rem}}

/* ---------- Rodapé ---------- */
.ninu-footer a{color:var(--wp--preset--color--creme);text-decoration:none}
.ninu-footer a:hover{color:var(--wp--preset--color--destaque)}
.ninu-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:2.5rem}
.ninu-footer-grid img{width:150px;margin-bottom:1rem}
.ninu-footer-grid p{opacity:.85;max-width:34ch}
.ninu-footer h4{font-family:var(--wp--preset--font-family--corpo);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--wp--preset--color--destaque);margin:0 0 1rem}
.ninu-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.ninu-footer-legal{border-top:1px solid rgba(247,241,232,.15);margin-top:2.5rem!important;padding-top:1.25rem;font-size:.85rem;opacity:.7}
@media (max-width:782px){.ninu-footer-grid{grid-template-columns:1fr;gap:1.75rem}}

/* ---------- Blocos de página ---------- */
.ninu-eyebrow{font-size:.78rem!important;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--wp--preset--color--primaria)}
.ninu-hero .ninu-eyebrow{color:var(--wp--preset--color--destaque)}
.ninu-hero{min-height:min(88vh,760px)!important}
.ninu-hero h1{color:#fff;max-width:14ch}
.ninu-hero p{max-width:46ch;font-size:1.15rem}
.ninu-hero .wp-block-button.is-style-outline .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.8);background:transparent}
.ninu-hero .wp-block-button.is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.12)}
.ninu-lead{font-size:1.15rem;color:var(--wp--preset--color--cinza);max-width:60ch}
.ninu-card{background:#fff;border:1px solid var(--wp--preset--color--linha);border-radius:var(--ninu-r);padding:1.6rem!important;height:100%}
.ninu-card h3{margin-top:.25rem}
.ninu-card p{color:var(--wp--preset--color--cinza);margin-bottom:0}
.ninu-icon{width:44px;height:44px;border-radius:12px;background:var(--wp--preset--color--creme);display:grid;place-items:center;color:var(--wp--preset--color--primaria);font-size:1.35rem}
.ninu-rounded img,.ninu-rounded{border-radius:var(--ninu-r);overflow:hidden}
.ninu-shadow{box-shadow:var(--ninu-shadow)}
.ninu-apt{background:#fff;border-radius:var(--ninu-r);overflow:hidden;border:1px solid var(--wp--preset--color--linha);height:100%;display:flex;flex-direction:column}
.ninu-apt figure{margin:0!important}
.ninu-apt img{aspect-ratio:4/3;object-fit:cover;width:100%}
.ninu-apt .ninu-apt-body{padding:1.25rem 1.4rem 1.5rem!important;flex:1;display:flex;flex-direction:column}
.ninu-apt .ninu-apt-body .wp-block-buttons{margin-top:auto}
.ninu-apt h3{margin:0}
.ninu-tag{display:inline-block;font-size:.78rem;font-weight:700;background:var(--wp--preset--color--creme);color:var(--wp--preset--color--secundaria);border-radius:999px;padding:.2rem .7rem}
.ninu-tag.is-soon{background:var(--wp--preset--color--destaque);color:var(--wp--preset--color--tinta)}
.ninu-steps{counter-reset:s}
.ninu-step{position:relative;padding-left:3.4rem!important}
.ninu-step:before{counter-increment:s;content:counter(s);position:absolute;left:0;top:.1rem;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--wp--preset--color--primaria);color:#fff;font-family:var(--wp--preset--font-family--titulo);font-weight:600;display:grid;place-items:center}
.ninu-step h3{font-size:1.15rem;margin:0 0 .3rem}
.ninu-step p{margin:0;color:var(--wp--preset--color--cinza)}
.ninu-band-dark{color:var(--wp--preset--color--creme)}
.ninu-band-dark h2,.ninu-band-dark h3{color:var(--wp--preset--color--creme)}
.ninu-band-dark p{opacity:.88}
.ninu-gallery .wp-block-image img{border-radius:10px;aspect-ratio:3/4;object-fit:cover}
.ninu-gallery.is-landscape .wp-block-image img{aspect-ratio:4/3}
.ninu-check li{list-style:none;position:relative;padding-left:1.6rem;margin:.45rem 0}
.ninu-check{padding-left:0}
.ninu-check li:before{content:"";position:absolute;left:0;top:.55em;width:.75rem;height:.4rem;border-left:2px solid var(--wp--preset--color--primaria);border-bottom:2px solid var(--wp--preset--color--primaria);transform:rotate(-45deg)}

/* ---------- Busca de disponibilidade (MotoPress) ---------- */
.ninu-search{background:#fff;border-radius:18px;box-shadow:var(--ninu-shadow);padding:1.25rem 1.5rem!important;position:relative;z-index:3}
.ninu-search-overlap{margin-top:-4.5rem!important}
.ninu-search .mphb_sc_search-form,.ninu-search form.mphb_widget_search-form{display:flex;flex-wrap:wrap;gap:.9rem 1rem;align-items:flex-end;margin:0}
.ninu-search .mphb_sc_search-form > p,.ninu-search .mphb_sc_search-form > div{margin:0;flex:1 1 150px}
.ninu-search .mphb-required-fields-tip{display:none}
.ninu-search .mphb_sc_search-submit-button-wrapper{flex:0 0 auto!important}

/* ---------- Formulários e botões do MotoPress ---------- */
[class*="mphb"] label{font-weight:700;font-size:.88rem;color:var(--wp--preset--color--tinta)}
[class*="mphb"] input[type=text],[class*="mphb"] input[type=email],[class*="mphb"] input[type=tel],[class*="mphb"] input[type=number],[class*="mphb"] select,[class*="mphb"] textarea,
.ninu-mr input{width:100%;padding:.8rem .9rem;border:1px solid var(--wp--preset--color--linha);border-radius:10px;background:#fff;font:inherit;font-size:1rem;color:var(--wp--preset--color--tinta);box-sizing:border-box}
[class*="mphb"] input:focus,[class*="mphb"] select:focus,[class*="mphb"] textarea:focus{outline:2px solid var(--wp--preset--color--primaria);outline-offset:1px;border-color:transparent}
.mphb-view-details-button,.mphb-book-button,.mphb-confirm-reservation,[class*="mphb"] input[type=submit],[class*="mphb"] button.button,[class*="mphb"] a.button,.mphb_sc_checkout-submit-wrapper .button,.mphb-reserve-btn{display:inline-block;background:var(--wp--preset--color--primaria)!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:.85rem 1.5rem!important;font:700 1rem var(--wp--preset--font-family--corpo)!important;cursor:pointer;text-decoration:none!important;line-height:1.2}
.mphb-view-details-button:hover,.mphb-book-button:hover,[class*="mphb"] input[type=submit]:hover,[class*="mphb"] .button:hover{background:var(--wp--preset--color--secundaria)!important}
.mphb-view-details-button{background:transparent!important;color:var(--wp--preset--color--primaria)!important;border:2px solid var(--wp--preset--color--primaria)!important}
.mphb-view-details-button:hover{color:#fff!important}

/* Lista de apartamentos */
.mphb_sc_rooms-wrapper .mphb-room-type,.mphb_sc_search_results-wrapper .mphb-room-type{background:#fff;border:1px solid var(--wp--preset--color--linha);border-radius:var(--ninu-r);padding:1.5rem;margin:0 0 1.75rem;box-shadow:0 2px 0 rgba(46,38,32,.02)}
.mphb-room-type-title,.mphb-room-type-title a{font-family:var(--wp--preset--font-family--titulo);color:var(--wp--preset--color--tinta);text-decoration:none}
.mphb-room-type .mphb-room-type-images img,.mphb-room-type .post-thumbnail img,.mphb-flexslider img{border-radius:10px}
.mphb-regular-price,.mphb-price{font-weight:700;color:var(--wp--preset--color--tinta)}
.mphb-price-period{color:var(--wp--preset--color--cinza)}
.mphb-loop-room-type-attributes,.mphb-single-room-type-attributes{list-style:none;padding-left:0}
.mphb-loop-room-type-attributes li,.mphb-single-room-type-attributes li{padding:.15rem 0}
.mphb-loop-room-type-attributes .mphb-attribute-title,.mphb-single-room-type-attributes .mphb-attribute-title{color:var(--wp--preset--color--cinza)}

/* Calendário */
.mphb-calendar .datepick,.datepick-popup .datepick{border-radius:12px;border:1px solid var(--wp--preset--color--linha);font-family:var(--wp--preset--font-family--corpo)}
.datepick-popup{z-index:100!important}

/* Checkout */
.mphb_sc_checkout-form .mphb-checkout-section,.mphb-checkout-section{background:#fff;border:1px solid var(--wp--preset--color--linha);border-radius:var(--ninu-r);padding:1.4rem 1.5rem;margin-bottom:1.5rem}
.mphb_sc_checkout-form h3,.mphb-checkout-section h3,.mphb-checkout-section .mphb-checkout-section-title{font-family:var(--wp--preset--font-family--titulo);font-size:1.3rem}
.mphb-price-breakdown{width:100%;border-collapse:collapse}
.mphb-price-breakdown th,.mphb-price-breakdown td{padding:.55rem .4rem;border-bottom:1px solid var(--wp--preset--color--areia);text-align:left}
.mphb-price-breakdown .mphb-price-breakdown-total th,.mphb-price-breakdown .mphb-price-breakdown-total td{font-size:1.1rem;font-weight:800;border-bottom:0}
.mphb-gateways-list{list-style:none;padding:0}
.mphb-gateways-list li{background:var(--wp--preset--color--creme);border-radius:10px;padding:.8rem 1rem;margin:.5rem 0}

/* Página Minha reserva (plugin Ninu Setup) */
.ninu-mr{max-width:560px}

/* ---------- Ajustes 1.0.1 ---------- */
.wp-site-blocks > *{margin-block-start:0}
.ninu-hero .wp-block-cover__inner-container{padding-bottom:6.5rem}
.ninu-card h3{font-size:1.2rem}
.ninu-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ninu-steps > .wp-block-column{counter-increment:none}
@media (max-width:781px){.ninu-search-overlap{margin-top:-3rem!important}.ninu-hero .wp-block-cover__inner-container{padding-bottom:4.5rem}}
/* Galeria das acomodações (MotoPress usa a galeria clássica do WP) */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0}
.gallery .gallery-item{margin:0!important;width:auto!important;max-width:none!important}
.gallery .gallery-icon{margin:0}
.gallery img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;border:0!important}
.gallery br{display:none}
@media (max-width:600px){.gallery{grid-template-columns:repeat(2,1fr)}}
body.single-mphb_room_type .wp-block-post-content{display:flex;flex-direction:column}
body.single-mphb_room_type .wp-block-post-content > *{width:100%}
body.single-mphb_room_type .mphb-room-type-gallery-wrapper{order:-1;margin:0 0 1.75rem!important}
.mphb-details-title,.mphb-calendar-title,.mphb-reservation-form-title{font-size:1.5rem;margin-top:2rem!important}
.mphb-booking-form{background:#fff;border:1px solid var(--wp--preset--color--linha);border-radius:var(--ninu-r);padding:1.4rem 1.5rem}

/* ---------- Ajustes 1.0.2 ---------- */
.ninu-hero .wp-block-cover__inner-container{max-width:var(--wp--style--global--wide-size)!important;margin-left:auto!important;margin-right:auto!important;width:100%}
.ninu-wide .wp-block-group.alignfull.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.ninu-lead)){max-width:var(--wp--style--global--wide-size)}
.ninu-page .ninu-lead:not(.has-text-align-center){margin-left:0!important}
.ninu-apt h3 a{color:var(--wp--preset--color--tinta);text-decoration:none}
.ninu-apt h3{font-size:1.3rem}
.ninu-apt h3 a:hover{color:var(--wp--preset--color--primaria)}
.wp-block-button.is-style-outline .wp-block-button__link{color:var(--wp--preset--color--primaria);border:2px solid var(--wp--preset--color--primaria);background:transparent}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--primaria);color:#fff}
.ninu-footer ul{font-weight:400}
.ninu-rounded img{max-height:640px;width:100%;object-fit:cover}
/* Lista de apartamentos e resultados da busca (MotoPress) */
.mphb-room-type img{max-width:100%;height:auto}
.mphb_sc_rooms-wrapper .mphb-room-type,.mphb_sc_search_results-wrapper .mphb-room-type{display:grid;grid-template-columns:minmax(0,360px) 1fr;column-gap:1.75rem;align-items:start}
.mphb-room-type > *{grid-column:2;margin-top:0}
.mphb-room-type > .post-thumbnail,.mphb-room-type > .mphb-room-type-images,.mphb-room-type > .mphb-loop-room-thumbnail{grid-column:1;grid-row:1 / span 30;margin:0}
.mphb-room-type > .post-thumbnail img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.mphb-room-type .mphb-room-type-title{font-size:1.6rem;margin:0 0 .5rem}
.mphb-room-type-details-title{font-size:1rem;font-family:var(--wp--preset--font-family--corpo);text-transform:uppercase;letter-spacing:.12em;color:var(--wp--preset--color--cinza)}
.mphb-view-details-button-wrapper,.mphb-to-book-btn-wrapper{display:inline-block;margin-right:.6rem}
@media (max-width:781px){.mphb_sc_rooms-wrapper .mphb-room-type,.mphb_sc_search_results-wrapper .mphb-room-type{display:block}.mphb-room-type > .post-thumbnail{margin-bottom:1rem}}

/* ---------- Institucional B2B (1.1.0) ---------- */
html{scroll-behavior:smooth}
[id]{scroll-margin-top:90px}
.ninu-b2b-hero h1{max-width:18ch}
.ninu-num{font-family:var(--wp--preset--font-family--titulo);font-size:2.6rem;line-height:1;color:var(--wp--preset--color--primaria);font-weight:600}
.ninu-mcpf .ninu-card{border-top:4px solid var(--wp--preset--color--primaria)}
.ninu-mcpf .ninu-card .ninu-num{margin-bottom:.4rem}
.ninu-band-dark .ninu-card{background:rgba(247,241,232,.06);border-color:rgba(247,241,232,.14)}
.ninu-band-dark .ninu-card p{color:var(--wp--preset--color--creme);opacity:.85}
.ninu-band-dark .ninu-card h3{color:var(--wp--preset--color--creme)}
.ninu-band-dark .ninu-check li:before{border-color:var(--wp--preset--color--destaque)}
.ninu-sol .ninu-card ul{margin:.6rem 0 0;padding-left:1.1rem;color:var(--wp--preset--color--cinza);font-size:.95rem}
.ninu-quote{font-family:var(--wp--preset--font-family--titulo);font-size:1.5rem;line-height:1.35}
.ninu-hero .wp-block-cover__inner-container > *{margin-left:0!important;margin-right:auto!important}
@media (min-width:782px){
 .ninu-hero-right .wp-block-cover__inner-container > *{margin-left:auto!important;margin-right:0!important;max-width:540px!important}
 .ninu-hero-right .wp-block-buttons{justify-content:flex-start}
}
.ninu-card p.ninu-num{color:var(--wp--preset--color--primaria);margin-bottom:.3rem}
.ninu-hero .wp-block-cover__inner-container{width:100%!important}
@media (min-width:782px){.ninu-hero.ninu-hero-right .wp-block-cover__inner-container > *{margin-left:auto!important;margin-right:0!important}}
