/* ===========================================================
   Delfins Azuis — Escola de Natação
   Tema: aquático, moderno, elegante
   =========================================================== */

/* ---------- Loader de página (golfinho a mergulhar) ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foam, #f0f9ff);
  transition: opacity .4s ease;
}
.page-loader-hidden { opacity: 0; pointer-events: none; }
.page-loader-stage {
  width: 280px;
  height: 200px;
  position: relative;
}
.page-loader-water {
  position: absolute;
  inset: 0;
  width: 280px;
  height: 200px;
}
.page-loader-abovewater {
  position: absolute;
  inset: 0;
  height: 140px;
  overflow: hidden;
}
.page-loader-dolphin {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 122px;
}
.page-loader-dolphin svg { width: 100%; height: 100%; display: block; }
@media (max-width: 360px) {
  .page-loader-stage { transform: scale(.8); }
}

:root {
  --deep: #032b4a;
  --deep-2: #04395f;
  --blue: #0284c7;
  --blue-light: #38bdf8;
  --cyan: #22d3ee;
  --foam: #f0f9ff;
  --white: #ffffff;
  --ink: #0b2338;
  --muted: #5a7184;
  --sand: #fef9f2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(3, 43, 74, 0.12);
  --shadow-lg: 0 20px 50px rgba(3, 43, 74, 0.18);
  --font-heading: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--deep);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 10px 25px rgba(2,132,199,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(2,132,199,.45); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(37,211,102,.35); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(3, 43, 74, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; }
.brand span {
  font-family: var(--font-heading);
  color: var(--deep);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: .93rem;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--foam);
  color: var(--blue);
}
.main-nav li { position: relative; }
.main-nav .nav-parent { display: flex; align-items: center; }
.main-nav .nav-caret {
  background: none;
  border: none;
  color: var(--muted);
  font-size: .7rem;
  padding: 4px 6px;
  cursor: pointer;
  line-height: 1;
}
.main-nav .submenu {
  list-style: none;
  margin: 6px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(3,43,74,.12);
  z-index: 40;
}
.main-nav .submenu a { display: block; }
.main-nav li.has-children:hover > .submenu,
.main-nav li.has-children.open > .submenu { display: flex; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--deep);
  font-size: 1.6rem;
  cursor: pointer;
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(3,43,74,.08);
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .header-inner { position: relative; }
  .main-nav .submenu {
    position: static;
    box-shadow: none;
    padding-left: 14px;
    min-width: 0;
  }
  .main-nav li.has-children:hover > .submenu { display: none; }
  .main-nav li.has-children.open > .submenu { display: flex; }
}
@media (max-width: 480px) {
  .brand img { height: 48px; }
  .header-inner { padding-left: 28px; padding-right: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 170px;
  overflow: hidden;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(3,43,74,.94) 0%, rgba(3,43,74,.88) 30%, rgba(4,57,95,.62) 55%, rgba(2,132,199,.28) 78%, rgba(2,132,199,.15) 100%);
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  z-index: 2;
  display: block;
}
.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 620px; }
.hero .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.14);
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; }
.hero p.lead { color: #d8ecfa; font-size: 1.1rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .hero { padding: 110px 0 140px; min-height: 480px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(3,43,74,.92) 0%, rgba(3,43,74,.88) 60%, rgba(4,57,95,.75) 100%); }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--foam); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .82rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid #eef3f7;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  font-size: 2rem;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .95rem; }

.card-modalidade { padding: 0 0 26px; overflow: hidden; }
.card-modalidade .card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 18px;
}
.card-modalidade .card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.card-modalidade:hover .card-photo img { transform: scale(1.06); }
.card-modalidade h3, .card-modalidade p { padding: 0 26px; }

.value-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 800px) { .value-list { grid-template-columns: repeat(2,1fr); } }
.value-item {
  text-align: center;
  padding: 34px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #eef3f7;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-top: 3px solid var(--value-accent, var(--blue));
}
.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-item .icon {
  margin: 0 auto 16px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: color-mix(in srgb, var(--value-accent, var(--blue)) 12%, white);
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { font-size: .88rem; margin: 0; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 4px solid var(--foam);
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; font-weight: 700;
}
.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-card .role { color: var(--blue); font-weight: 600; font-size: .88rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.lightbox {
  position: fixed; inset: 0; background: rgba(3,20,35,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 999; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 2.2rem; cursor: pointer; background: none; border: none; }

/* ---------- Schedule ---------- */
:root {
  --schedule-min-px: 1.15px; /* pixels per minute of the shared timeline — controls the grid's overall height */
}

.schedule-container { max-width: 1300px; }

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-bottom: 30px;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--muted); }
.legend-dot { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }

/* Grelha semanal única: todos os dias lado a lado, sem scroll horizontal.
   As aulas em simultâneo (lanes) dividem a largura da própria coluna do dia
   em vez de acrescentarem colunas à grelha, por isso a largura total nunca
   excede o contentor, seja qual for o ecrã. */
.schedule-timeline-wrap {
  background: #fff;
  border: 1px solid #eef3f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
}

.schedule-header-row { display: flex; }
.schedule-time-spacer { flex: 0 0 46px; }
.schedule-day-head {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--deep);
  padding-bottom: 10px;
}
.schedule-day-head-short { display: none; }

.schedule-body-row { display: flex; }

.schedule-time-col {
  flex: 0 0 46px;
  position: relative;
  height: calc(var(--schedule-total-min, 750) * var(--schedule-min-px));
}
.schedule-time-mark {
  position: absolute;
  left: 0;
  right: 8px;
  transform: translateY(-50%);
  font-size: .66rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.schedule-days { flex: 1; display: flex; position: relative; }
.schedule-hourlines { position: absolute; inset: 0; pointer-events: none; }
.schedule-hourline { position: absolute; left: 0; right: 0; height: 1px; background: #eef3f7; }

.schedule-day-col {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: calc(var(--schedule-total-min, 750) * var(--schedule-min-px));
  border-left: 1px solid #f4f7f9;
}
.schedule-day-col:first-child { border-left: none; }

.schedule-group-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--deep);
  margin: 0 0 12px;
}
.schedule-group-title--sat { margin-top: 30px; }

.schedule-block {
  position: absolute;
  box-sizing: border-box;
  min-height: 15px;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 3px 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 1px 3px rgba(3, 43, 74, .12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  container-type: inline-size;
  container-name: scheduleblock;
}
.schedule-block:hover,
.schedule-block:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 6px 14px rgba(3, 43, 74, .25);
  z-index: 5;
  outline: none;
}
.schedule-block-title {
  font-size: .66rem;
  font-weight: 700;
  color: #233240;
  line-height: 1.15;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.schedule-block-time { font-size: .58rem; color: #46586a; line-height: 1; }

/* A largura de cada bloco varia com o nº de aulas em simultâneo E com o ecrã —
   em vez de decidir no servidor, o CSS reage à largura real da caixa: com pouco
   espaço (tipo em mobile) reduz o texto e, no limite, mostra só um ponto clicável
   (o pormenor completo aparece sempre ao clicar, no modal). */
@container scheduleblock (max-width: 110px) {
  .schedule-block-time { display: none; }
  .schedule-block-title { font-size: .6rem; -webkit-line-clamp: 2; }
}
@container scheduleblock (max-width: 60px) {
  .schedule-block {
    align-items: center;
    justify-content: center;
    padding: 2px;
  }
  .schedule-block-title { display: none; }
  .schedule-block::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(35, 50, 64, .45);
    flex-shrink: 0;
  }
}

@media (max-width: 900px) {
  :root { --schedule-min-px: .95px; }
  .schedule-day-head-full { display: none; }
  .schedule-day-head-short { display: inline; }
  .schedule-block-time { display: none; }
}
@media (max-width: 640px) {
  :root { --schedule-min-px: .8px; }
  .schedule-time-col, .schedule-time-spacer { flex-basis: 32px; }
  .schedule-time-mark { font-size: .55rem; right: 3px; }
  .schedule-block-title { font-size: .55rem; -webkit-line-clamp: 2; }
  .schedule-block { padding: 2px 3px; border-width: 1px; }
}

/* ---------- Schedule: modal de detalhe (ao clicar num bloco) ---------- */
.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.schedule-modal[hidden] { display: none; }
.schedule-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 35, .55);
  opacity: 0;
  transition: opacity .2s ease;
}
.schedule-modal.open .schedule-modal-backdrop { opacity: 1; }
.schedule-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.97);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.schedule-modal.open .schedule-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.schedule-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--foam);
  color: var(--deep);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.schedule-modal-close:hover { background: #e3f1fa; }
.schedule-modal-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  color: #233240;
  margin-bottom: 14px;
}
.schedule-modal-box h3 { margin: 0 0 8px; font-size: 1.2rem; }
.schedule-modal-meta { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { border-top: 1px solid #eef2f5; margin-top: 6px; }
.info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid #eef2f5;
}
.info-row .info-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  font-weight: 700;
}
.info-row .info-value { margin: 0; font-size: 1rem; color: var(--ink); }
.info-row .info-value a { color: var(--ink); }
.info-row .info-value a:hover { color: var(--blue); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; aspect-ratio: 1 / 1; background: var(--foam); }

/* ---------- WhatsApp community CTA ---------- */
.whatsapp-cta {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) { .whatsapp-cta { grid-template-columns: 1fr; text-align: center; padding: 32px; } }
.whatsapp-cta-text .kicker { color: #1fae5a; }
.whatsapp-cta-text h2 { margin-bottom: 10px; }
.whatsapp-cta-qr { display: flex; justify-content: center; }
.whatsapp-cta-qr img {
  width: 170px; height: 170px;
}
.map-tooltip {
  background: var(--deep);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow);
}
.map-tooltip::before { border-top-color: var(--deep); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--foam);
  color: var(--deep);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.social-row a svg { width: 18px; height: 18px; }
.social-row a:hover { background: var(--blue); color: #fff; }

/* Ícones sociais sobre fundo escuro (footer): mais contraste que a versão clara acima */
.site-footer .social-row a {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.site-footer .social-row a:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  color: #fff;
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: #cfe6f7;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-links-group { display: flex; justify-content: flex-end; gap: 48px; }
.footer-legal { display: flex; flex-direction: column; height: 100%; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links-group { justify-content: flex-start; flex-wrap: wrap; gap: 32px; }
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #b9d9ec; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 58px; border-radius: 50%; background: #fff; padding: 4px; }
.footer-brand span { color: #fff; font-weight: 700; font-family: var(--font-heading); font-size: 1.05rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: #92b6cc;
}
.footer-badge { display: inline-flex; margin-top: 50px; line-height: 0; }
.footer-badge img { height: 40px; width: auto; }

/* ---------- Generic page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--deep), var(--blue));
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #d8ecfa; max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: #9fc4de; margin-bottom: 10px; }
.breadcrumb a { color: #9fc4de; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h1, .prose h2, .prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px 0; }
.prose blockquote {
  margin: 20px 0;
  padding: 4px 20px;
  border-left: 4px solid var(--blue-light);
  color: var(--muted);
  font-style: italic;
}
.prose a { color: var(--blue); text-decoration: underline; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

.badge {
  display: inline-block;
  background: var(--foam);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Simple form styling used by contact/admin pages */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d7e4ec;
  font-family: inherit;
  font-size: .95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,132,199,.15);
}

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Livro de Reclamações badge ---------- */
.reclamacoes-badge { display: inline-block; transition: transform .2s ease; }
.reclamacoes-badge:hover { transform: translateY(-3px); }
.reclamacoes-badge img { max-height: 90px; margin: 0 auto; }
.reclamacoes-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px; border: 2px dashed #cbd8e1; border-radius: var(--radius);
  color: var(--muted); max-width: 420px; margin: 0 auto;
}
.reclamacoes-placeholder code { background: var(--foam); padding: 2px 8px; border-radius: 6px; font-size: .85rem; }
