.wave {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}

.wave-top {
  top: 0;
}

.wave-bottom {
  bottom: 0;
}

.wave svg {
  width: 100%;
  height: 60px;
}

.decor-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.decor-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.value-card,
.info-card,
.soft-card {
  position: relative;
  overflow: hidden;
  background: var(--branco);
  border: 1.5px solid rgba(var(--terracota-rgb), 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover,
.info-card:hover,
.soft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.gradient-border-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--terracota), var(--laranja-vivo), var(--laranja-suave), var(--laranja-vivo), var(--terracota));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.gradient-border-hover:hover::before {
  opacity: 1;
  animation: border-spin 3s linear infinite;
}

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .gradient-border-hover:hover {
    border-color: var(--laranja-vivo);
  }

  .gradient-border-hover::before {
    display: none;
  }
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(var(--terracota-rgb), 0.09);
  color: var(--terracota);
  transition: transform var(--transition);
}

.value-card:hover .card-icon,
.info-card:hover .card-icon,
.soft-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon i,
.card-icon .material-symbols-rounded {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.organic-frame {
  position: relative;
  display: grid;
  place-items: center;
}

.organic-frame::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  background: linear-gradient(135deg, rgba(var(--terracota-rgb), 0.16), rgba(var(--laranja-suave-rgb), 0.12));
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}

.organic-frame img {
  position: relative;
  z-index: 1;
  width: 78%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
  box-shadow: var(--shadow-strong);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: var(--branco);
  box-shadow: var(--shadow-card);
  padding: 12px 16px;
  animation: float 3.5s ease-in-out infinite;
}

.badge-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: var(--branco);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.floating-circle {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--branco-rgb), 0.28);
  background:
    radial-gradient(circle at 30% 24%, rgba(var(--branco-rgb), 0.34), transparent 30%),
    linear-gradient(135deg, rgba(var(--terracota-rgb), 0.92), rgba(var(--laranja-vivo-rgb), 0.74));
  color: var(--branco);
  box-shadow: 0 10px 22px rgba(var(--laranja-vivo-rgb), 0.28);
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out 1s infinite;
}

.floating-circle i,
.floating-circle .material-symbols-rounded {
  display: block;
  line-height: 1;
}

.speaker-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.speaker-photo-wrap {
  position: relative;
  width: clamp(120px, 34vw, 200px);
  max-width: 200px;
  aspect-ratio: 1;
}

.speaker-photo-wrap.large {
  width: min(var(--speaker-photo-size, 350px), 100%, 78vw);
  max-width: none;
}

.speaker-photo-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.speaker-photo-wrap circle {
  transition: stroke-dasharray 0.6s ease, stroke-width 0.3s ease;
}

.speaker-circle:hover circle {
  stroke-dasharray: 446 0;
}

.speaker-photo {
  position: absolute;
  inset: 9%;
  overflow: hidden;
  border: 3px solid var(--branco);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(var(--preto-rgb), 0.2);
  transition: transform var(--transition-slow);
}

.speaker-circle:hover .speaker-photo {
  transform: scale(1.05);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.speaker-name {
  margin-top: 16px;
  color: var(--marrom-escuro);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
}

.speaker-role {
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--terracota);
  font-size: 0.75rem;
  line-height: 1rem;
}

.speaker-meta {
  color: var(--marrom-claro);
  font-size: 0.75rem;
}

.speaker-social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--terracota);
  font-size: 0.75rem;
  transition: color var(--transition);
}

.speaker-social:hover {
  color: var(--terracota-escuro);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: var(--bege-claro);
  box-shadow: 0 2px 12px rgba(var(--preto-rgb), 0.08);
}

.gallery-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-thumb.is-portrait > img {
  object-fit: contain;
  background: var(--bege-claro);
}

.gallery-thumb:hover > img,
.gallery-thumb:focus-visible > img {
  transform: scale(1.1);
}

.gallery-thumb.is-portrait:hover > img,
.gallery-thumb.is-portrait:focus-visible > img {
  transform: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(var(--marrom-escuro-rgb), 0.75) 100%);
  transition: opacity var(--transition);
}

.gallery-thumb:hover .gallery-overlay,
.gallery-thumb:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  color: var(--branco);
  font-size: 0.8rem;
  font-weight: 800;
}

.zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(var(--branco-rgb), 0.9);
  color: var(--terracota);
  transition: opacity var(--transition);
}

.gallery-thumb:hover .zoom-badge,
.gallery-thumb:focus-visible .zoom-badge {
  opacity: 1;
}

.gallery-watermark {
  --gallery-watermark-gap: clamp(8px, 1vw, 14px);
  position: absolute;
  right: var(--gallery-watermark-gap);
  bottom: var(--gallery-watermark-gap);
  z-index: 2;
  width: clamp(46px, 8vw, 78px);
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: clamp(5px, 0.7vw, 9px);
  border: 1px solid rgba(var(--branco-rgb), 0.18);
  border-radius: 10px;
  opacity: 0.56;
  background: rgba(var(--branco-rgb), 0.22);
  box-shadow: 0 4px 12px rgba(var(--preto-rgb), 0.06);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.gallery-watermark img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  display: block;
  object-fit: contain;
  opacity: 0.64;
  filter: drop-shadow(0 1px 3px rgba(var(--preto-rgb), 0.08));
  transform: none !important;
}

.gallery-watermark-text {
  color: var(--terracota);
  font-size: 1rem;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(var(--overlay-escuro-rgb), 0.92);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  position: relative;
  width: min(100% - 128px, 920px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.lightbox-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.lightbox-frame img {
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-watermark {
  --gallery-watermark-gap: clamp(14px, 1.4vw, 26px);
  bottom: var(--gallery-watermark-gap);
  width: clamp(64px, 8vw, 112px);
}

.lightbox-watermark[hidden] {
  display: none;
}

.lightbox-title {
  margin-top: 16px;
  color: rgba(var(--branco-rgb), 0.82);
  font-size: 0.92rem;
}

.lightbox-count {
  margin-top: 4px;
  color: rgba(var(--branco-rgb), 0.42);
  font-size: 0.75rem;
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(var(--branco-rgb), 0.12);
  color: var(--branco);
  transition: transform var(--transition), background var(--transition);
}

.lightbox-btn:hover {
  transform: scale(1.1);
  background: rgba(var(--branco-rgb), 0.2);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.form-card {
  overflow: hidden;
  border: 1.5px solid rgba(var(--terracota-rgb), 0.1);
  border-radius: var(--radius-xl);
  background: var(--bege-claro);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-label {
  color: var(--marrom-medio);
  font-size: 0.78rem;
  font-weight: 800;
}

.field-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1.5px solid rgba(var(--terracota-rgb), 0.15);
  border-radius: 16px;
  background: var(--branco);
  padding: 12px 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.field-shell:focus-within {
  border-color: var(--terracota);
  transform: scale(1.01);
}

.field-shell.has-error {
  border-color: rgba(var(--vermelho-rgb), 0.45);
}

.field-shell .icon {
  color: var(--terracota);
}

.field-shell.has-error .icon {
  color: var(--vermelho);
}

.field-shell input,
.field-shell select,
.field-shell textarea,
.form-control {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--marrom-escuro);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-control {
  border: 1.5px solid rgba(var(--terracota-rgb), 0.15);
  border-radius: 16px;
  background: var(--branco);
  padding: 12px 16px;
}

.form-control:focus {
  border-color: var(--terracota);
}

.field-error {
  min-height: 16px;
  color: var(--vermelho);
  font-size: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn {
  border: 1.5px solid rgba(var(--terracota-rgb), 0.2);
  border-radius: 14px;
  background: var(--branco);
  color: var(--marrom-medio);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 16px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.option-btn:hover {
  transform: scale(1.04);
}

.option-btn.is-active {
  border-color: transparent;
  background: var(--gradient-brand);
  color: var(--branco);
  box-shadow: 0 4px 14px rgba(var(--terracota-rgb), 0.3);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(var(--terracota-rgb), 0.15);
  border-radius: 18px;
  background: var(--branco);
  padding: 16px;
}

.switch-row.is-active {
  border-color: rgba(var(--terracota-rgb), 0.3);
  background: rgba(var(--terracota-rgb), 0.06);
}

.switch-control {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--cinza-quente);
  transition: background var(--transition);
}

.switch-control::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--branco);
  transition: left var(--transition);
}

.switch-row.is-active .switch-control {
  background: var(--terracota);
}

.switch-row.is-active .switch-control::after {
  left: 22px;
}

.status-message {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.86rem;
}

.status-message.error {
  background: rgba(var(--vermelho-rgb), 0.08);
  color: var(--vermelho);
}

.status-message.success {
  background: rgba(var(--verde-rgb), 0.1);
  color: var(--verde);
}

.empty-state {
  border-radius: var(--radius-xl);
  background: rgba(var(--terracota-rgb), 0.06);
  padding: 72px 24px;
  text-align: center;
}

.empty-state .emoji {
  margin-bottom: 16px;
  font-size: 3rem;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(var(--overlay-escuro-rgb), 0.72);
  backdrop-filter: blur(8px);
}

.site-modal.is-open {
  display: flex;
}

.site-modal-dialog {
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  position: relative;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--creme);
  box-shadow: var(--shadow-strong);
}

.site-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(var(--marrom-escuro-rgb), 0.12);
  color: var(--marrom-escuro);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.site-modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
  background: var(--branco);
}

.site-modal-body {
  padding: 28px;
}

.site-modal-body h2 {
  margin-bottom: 10px;
  color: var(--marrom-escuro);
  font-family: var(--font-heading);
}

.site-modal-body p {
  color: var(--marrom-medio);
  line-height: 1.7;
}

.site-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
