@import url("style.6da5360a9f55.css");

/* * {
    border: 1px dashed red;
} */

.home-carousel {
    border-top: 2px solid var(--noir);
    border-bottom: 2px solid var(--noir);
}

.carousel-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.warnings-div {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    overflow: hidden; 
}

.warning-img {
    width: 15%;
    height: 100%; 
    overflow: hidden;
    z-index: 10;
    transition: 0.2s ease-in-out;
}

.warning-img#middle-warn {
    z-index: 100;
}

.warning-img:hover {
    cursor: pointer;
    transform: scale(1.06);
    box-shadow: 0 0 2px 0 var(--shadow);
}

.warning-img:first-child:hover {
    margin-right: 10px;
}

.warning-img:last-child:hover {
    margin-left: 10px;
}

.warning-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* preenche recortando */
    object-position: center;
    display: block;        /* tira espacinho embaixo do img */
}

.floating-highlights {
    width: 80%;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    user-select: none;
}

body[data-is-admin="true"] .floating-highlights { overflow: visible; }
.btn-edit {
  position: absolute;
  top: 8px;
  right: 8px;
}

body[data-is-admin="false"] .floating-highlights {
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
}

.highlights-wrapper {
    display: flex;
    justify-content: flex-start;
}

.empty-for {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    padding: 10px 120px !important;
    margin: 40px auto;
    width: fit-content;
}

.empty-for#highlights {
    padding: 60px 120px !important;
}

body[data-is-admin="false"] .highlights-wrapper {
    animation: scroll 20s linear infinite;
}

body[data-is-admin="true"] .highlights-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}


.highlight-item {
    width: 150px;
    height: 170px;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    object-fit: cover;
}


.highlight-item button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: none;
}

.highlight-item img {
    border: thin solid black;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transition: 0.2s ease-in-out;
    object-fit: cover;
}

.highlight-item img:hover {
    transform: scale(0.9);
}

.highlight-item span {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
}

.btn-edit {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.2s ease-in-out;
    font-size: 20px;
    z-index: 1;
}

.btn-edit-small {
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 20px
}

.btn-edit-small i {
    margin: -8px -12px;
}

.btn-edit:hover {
    background-color: lightgray;
    transform: scale(1.1);
}

.section-card:not(:first-child) {
    margin-top: 40px;
}

.section-card { border-radius: 12px; }
.section-card .d-flex { min-height: 140px; }

/* Card do “+ Adicionar Seção” */
.section-card.add-card {
  min-height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.section-card.add-card .add-inner{
  display: inline-flex; gap: .5rem; align-items: center;
  font-weight: 600;
}
.section-card.add-card .bi-plus-lg{ font-size: 1.2rem; }

.editable-block {
    position: relative;
    outline: 2px dashed color-mix(in oklab, gray 30%, transparent);
    outline-offset: 6px;
    background-image: repeating-linear-gradient(
        135deg,
        color-mix(in oklab, gray 8%, transparent) 0 8px,
        transparent 8px 16px
    );
    background-color: color-mix(in oklab, #fff 92%, gray 8%);
    transition: 
    box-shadow 0.3s ease,
    outline-color 0.3s ease,
    background-image 0.3s ease,
    transform 0.2s ease;
}
.editable-block:not(.add-card):not(.carousel-inner) {
    border-radius: 12px;
}

.editable-block#btn-logo {
    margin: 0;
}

.editable-block:not(.carousel-inner):hover,
.editable-block:not(.carousel-inner):focus-within {
    outline-color: color-mix(in oklab, darkgray 50%, transparent);
    background-image: repeating-linear-gradient(
        135deg,
        color-mix(in oklab, gray 12%, transparent) 0 6px,
        transparent 6px 12px
    );
    box-shadow: 0 0 0 6px color-mix(in oklab, gray 10%, transparent);
    transform: scale(1.01);
}

.editable-block:not(.add-card):not(.carousel-inner)::before {
    content: "✎ Editar";
    position: absolute;
    top: -12px;
    left: 12px;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: gray;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    z-index: 100;
}

.editable-block .edit-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 5;
}

.edit-badge {
  position: absolute; top: -10px; right: -10px;
  background: #fff; border: 1px solid #ddd; border-radius: 999px;
  width: 28px; height: 28px; display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  pointer-events: none; 
  color: #6c757d;
}
.edit-badge .bi { 
    font-size: 14px; 
}

/* container do “hero” */
.slide-hero {
  position: relative;
  width: 100%;
  height: 700px; /* ajuste se usa outro valor */
}

.slide-hero .section-card {
  height: 100%;
  border-radius: 12px;
}

/* fundo borrado que preenche toda a largura */
.slide-bg{
  position: absolute;
  inset: 0;                    /* top/right/bottom/left: 0 */
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  transform: scale(1.08);      /* evita bordas duras após o blur */
  will-change: transform, filter;
}

/* opção: escurecer leve para dar contraste ao centro */
.slide-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.25), transparent 20%,
    transparent 80%, rgba(0,0,0,.25)
  );
  pointer-events:none;
}

/* imagem nítida central */
.slide-img{
  position: relative; /* fica acima do bg */
  display: block;
  margin: 0 auto;
  max-height: 100%;
  width: auto;
  object-fit: cover; /* respeita proporção sem cortar */
}

.carousel-inner.editable-block:hover,
.carousel-inner.editable-block:focus-within {
  outline: none;
  background-image: none;
  box-shadow: none;
  transform: none;
}

.carousel-item.active .slide-img { transition: transform 0.3s ease; }
.carousel-item.active:hover .slide-img { transform: scale(1.04); z-index: 1; }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200%);
    }
}

.whats-btn {
  position: fixed;
  z-index: 999;
  bottom: 20px;
  right: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  background-color: #25D366;
  font-size: 40px;

  width: 6vw;
  height: 6vw;
  min-width: 40px;
  min-height: 40px;
  max-width: 80px;
  max-height: 80px;
  border-radius: 50%;

  text-decoration: none;
  transition: background-color 0.2s ease;
}

.whats-btn:hover {
  background-color: #128C7E;
  color: white;
  text-decoration: none;
}
