/* ======================================
   AQUAKIDS — AQUATIC THEME
   ====================================== */

/* ── Variables ── */
:root {
  --ocean-deep: #023E8A;
  --ocean:      #0077B6;
  --sky:        #00B4D8;
  --foam:       #90E0EF;
  --mist:       #CAF0F8;
  --sand:       #F0F9FF;

  --coral:  #FF6B6B;
  --sun:    #FFB703;
  --mint:   #06D6A0;
  --wa:     #25D366;

  --dark:   #03045E;
  --text:   #1E3A5F;
  --muted:  #5B7FA6;
  --white:  #FFFFFF;

  --s1: 0 2px 8px  rgba(0,100,180,0.08);
  --s2: 0 8px 24px rgba(0,100,180,0.14);
  --s3: 0 20px 48px rgba(0,100,180,0.2);

  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-full: 999px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography helpers ── */
h1, h2, h3 { line-height: 1.2; color: var(--dark); }

.section-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.85rem;
}
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--r-full);
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 0.97rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(255,107,107,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,107,107,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--r-full);
  border: 2px solid rgba(255,255,255,0.65);
  color: var(--white);
  font-weight: 700;
  font-size: 0.97rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: 0 2px 20px rgba(0,100,180,0.1);
}
#header nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 44px;
  width: auto;
  transition: filter 0.3s ease;
}

/* Logo clara → escurece para ser legível no fundo branco */
#header.scrolled .logo img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(80%) saturate(600%) hue-rotate(195deg) brightness(90%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  transition: color 0.2s;
  position: relative;
}
#header.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--sky);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--sky) !important; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}
.mobile-menu span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
#header.scrolled .mobile-menu span { background: var(--dark); }

@media (max-width: 768px) {
  .mobile-menu { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--ocean-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.5rem; color: var(--white) !important; }
  .nav-links a::after { display: none; }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(145deg, var(--ocean-deep) 0%, var(--ocean) 55%, var(--sky) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

/* Bolhas */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -10%;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  animation: rise linear infinite;
}
.bubble:nth-child(1) { width:32px; height:32px; left:5%;  animation-duration:10s; animation-delay:0s;   }
.bubble:nth-child(2) { width:18px; height:18px; left:15%; animation-duration:14s; animation-delay:2s;   }
.bubble:nth-child(3) { width:48px; height:48px; left:25%; animation-duration:11s; animation-delay:1s;   }
.bubble:nth-child(4) { width:12px; height:12px; left:40%; animation-duration:16s; animation-delay:4s;   }
.bubble:nth-child(5) { width:24px; height:24px; left:55%; animation-duration:12s; animation-delay:0.5s; }
.bubble:nth-child(6) { width:40px; height:40px; left:67%; animation-duration:9s;  animation-delay:3s;   }
.bubble:nth-child(7) { width:16px; height:16px; left:78%; animation-duration:15s; animation-delay:6s;   }
.bubble:nth-child(8) { width:54px; height:54px; left:88%; animation-duration:13s; animation-delay:1.5s; }

@keyframes rise {
  0%   { transform: translateY(0) scale(0.8); opacity: 0; }
  5%   { opacity: 0.9; }
  95%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-full);
  padding: 0.4rem 1.1rem;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-left h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hero-accent { color: var(--sun); }

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 440px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero image */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; }

.hero-img-blob {
  width: clamp(260px, 38vw, 400px);
  height: clamp(260px, 38vw, 400px);
  position: relative;
}
.hero-img-blob::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 60% 40% 70% 30% / 45% 60% 40% 55%;
  background: rgba(255,255,255,0.12);
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 60% 40% 70% 30% / 45% 60% 40% 55%; }
  33%     { border-radius: 45% 55% 35% 65% / 60% 40% 60% 40%; }
  66%     { border-radius: 70% 30% 50% 50% / 30% 65% 35% 70%; }
}
.hero-img-blob img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

/* Float cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  box-shadow: var(--s2);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
  white-space: nowrap;
}
.float-card i { color: var(--sky); font-size: 0.95rem; }
.float-card.fc-top    { top: 5%; right: -6%; animation: floaty 3s ease-in-out infinite; }
.float-card.fc-bottom { bottom: 10%; left: -8%; animation: floaty 3.5s ease-in-out infinite reverse; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.hero-stat { flex: 1; text-align: center; padding: 1.2rem 1rem; }
.stat-sep  { width: 1px; height: 48px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.stat-num  { display: block; font-weight: 900; font-size: 1.9rem; color: var(--sun); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.82); font-weight: 600; margin-top: 0.2rem; }

/* Hero wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-right { display: none; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .hero-stat { padding: 0.8rem 0.5rem; }
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.about { padding: 5rem 0 6rem; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--s3);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.about-visual:hover .about-img { transform: scale(1.02); }

.a-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--s2);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.a-badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.a-badge-icon.blue  { background: linear-gradient(135deg, var(--ocean), var(--sky)); }
.a-badge-icon.coral { background: linear-gradient(135deg, var(--coral), #ff8e53); }
.a-badge-num   { display: block; font-weight: 900; color: var(--dark); font-size: 1.15rem; line-height: 1; }
.a-badge-label { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.a-badge.ab-1 { bottom: 8%; left: -8%;  animation: floaty 3.2s ease-in-out infinite; }
.a-badge.ab-2 { top: 10%;  right: -6%; animation: floaty 3.8s ease-in-out infinite reverse; }

.about-text h2 { margin-bottom: 1rem; }
.about-text p  { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.about-text strong { color: var(--text); }

.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.feat-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-feats { grid-template-columns: 1fr; }
  .a-badge { display: none; }
}

/* ── Wave Dividers ── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.services { padding: 5rem 0 6rem; background: var(--sand); }
.services-header { text-align: center; margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--s1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--sky));
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--s3); }

.svc-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.service-card:nth-child(1) .svc-icon { background: linear-gradient(135deg,#0077B6,#00B4D8); }
.service-card:nth-child(2) .svc-icon { background: linear-gradient(135deg,#FF6B6B,#FF8E53); }
.service-card:nth-child(3) .svc-icon { background: linear-gradient(135deg,#06D6A0,#0BDB8A); }
.service-card:nth-child(4) .svc-icon { background: linear-gradient(135deg,#FFB703,#FF9F1C); }
.service-card:nth-child(5) .svc-icon { background: linear-gradient(135deg,#7B2FBE,#9C45DF); }
.service-card:nth-child(6) .svc-icon { background: linear-gradient(135deg,#F72585,#FF5BA8); }

.service-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--dark); }
.service-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   GALLERY
   ══════════════════════════════════════ */
.gallery { padding: 5rem 0; background: var(--white); }
.gallery-header { text-align: center; margin-bottom: 3rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.g-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--s1);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.g-item:hover { box-shadow: var(--s3); }
.g-item:hover img { transform: scale(1.08); }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact {
  padding: 5rem 0 6rem;
  background: linear-gradient(145deg, var(--ocean-deep) 0%, var(--ocean) 60%, var(--sky) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -120px; right: -80px;
  pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.contact-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 1; }
.contact-header .section-eyebrow { color: var(--foam); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative; z-index: 1;
}
.contact-glass,
.contact-wa-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  padding: 2.25rem;
}
.contact-glass h3, .contact-wa-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.c-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.c-item:last-child { border-bottom: none; padding-bottom: 0; }
.c-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--foam);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.c-item strong { display: block; color: var(--white); font-weight: 700; font-size: 0.82rem; margin-bottom: 0.2rem; }
.c-item span, .c-item a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.c-item a:hover { color: var(--foam); }

.contact-wa-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.contact-wa-card p { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 0.92rem; }

.whatsapp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--wa);
  color: var(--white);
  font-weight: 800;
  font-size: 0.97rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--r-full);
  width: fit-content;
  margin-top: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.whatsapp-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.5);
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.87rem;
}
footer strong { color: var(--white); }
footer p + p { margin-top: 0.35rem; }

/* ── WhatsApp float ── */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 10px 28px rgba(37,211,102,0.6); }

/* ── Redes sociais no contato ── */
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.35rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.social-links a:hover { background: var(--sky); transform: translateY(-2px); }

/* ── Link admin no footer ── */
.footer-admin-link {
  margin-top: 0.75rem;
}
.footer-admin-link a {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.footer-admin-link a:hover { color: rgba(255,255,255,0.55); }
.footer-admin-link i { font-size: 0.7rem; margin-right: 0.2rem; }

/* ── Botão Admin no header ── */
.btn-admin-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1.5px solid rgba(255,255,255,0.35);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-admin-login:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}
.btn-admin-login i { font-size: 0.75rem; }

/* quando o header fica com fundo branco (scroll) */
header.scrolled .btn-admin-login {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
}
header.scrolled .btn-admin-login:hover {
  background: var(--ocean-deep);
  border-color: var(--ocean-deep);
}

@media (max-width: 600px) {
  .btn-admin-login span { display: none; }
  .btn-admin-login { padding: 0.45rem 0.7rem; }
}

/* ══════════════════════════════════════
   AGENDAMENTO
   ══════════════════════════════════════ */
.appointment-section {
  background: linear-gradient(180deg, #EFF8FF 0%, #DBEAFE 100%);
  padding: 5rem 0;
  border-top: 3px solid #BAE6FD;
}
.appointment-header { text-align: center; margin-bottom: 2.5rem; }

.appointment-form { max-width: 700px; margin: 0 auto; }
.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.appt-full { grid-column: 1 / -1; }
.appt-field { display: flex; flex-direction: column; gap: 0.4rem; }
.appt-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.appt-field .req { color: var(--coral); }
.appt-field .opt { color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.appt-field input,
.appt-field select,
.appt-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.12);
}
.appt-field input.appt-error,
.appt-field select.appt-error,
.appt-field textarea.appt-error {
  border-color: var(--coral);
}
.appt-msg-error { font-size: 0.78rem; color: var(--coral); font-weight: 600; }
.appt-field textarea { resize: vertical; min-height: 80px; }
.appt-submit { margin-top: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.appt-note { font-size: 0.8rem; color: var(--muted); }

/* Sucesso */
.appointment-success {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--s2);
}
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.appointment-success h3 { font-size: 1.6rem; color: var(--ocean-deep); margin-bottom: 0.5rem; }
.appointment-success p { color: var(--muted); }

@media (max-width: 600px) { .appt-grid { grid-template-columns: 1fr; } }

/* ── Botão Login no header (sem ícone) ── */
.btn-admin-login i { display: none; }

/* ── Botões de horário ── */
.appt-time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.appt-time-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--r-full);
  border: 1.5px solid #CBD5E1;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}
.appt-time-btn:hover { border-color: var(--ocean); color: var(--ocean); }
.appt-time-btn.active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
}

/* ── Spinner loading ── */
.appt-btn-loading { opacity: 0.7; cursor: not-allowed; }

/* ── Fallback: garante que .reveal fique visível mesmo sem JS de scroll ── */
/* Elementos dentro do formulário de agendamento nunca ficam invisíveis */
.appointment-section .reveal,
.appointment-form,
.appointment-success,
.appt-grid,
.appt-field {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Horário indisponível ── */
.appt-time-unavailable {
  opacity: 0.38;
  cursor: not-allowed !important;
  border-color: #E2E8F0 !important;
  color: #94A3B8 !important;
  background: #F8FAFC !important;
  text-decoration: line-through;
}
.appt-time-unavailable small { font-size: 0.65rem; display: block; }
