/* Aube Odontologia – Bootstrap brand theme overrides */

:root {
  --aube-navy: #1a2980;
  --aube-navy-dark: #131f63;
  --aube-navy-deep: #0f1844;
  --aube-teal: #38c5d4;
  --aube-teal-dark: #1ca5b5;
  --aube-gold: #38c5d4;
  --aube-whatsapp: #25d366;
  --aube-whatsapp-hover: #1faa54;

  --bs-primary: var(--aube-navy);
  --bs-primary-rgb: 26, 41, 128;
  --bs-secondary: var(--aube-teal);
  --bs-secondary-rgb: 56, 197, 212;
  --bs-link-color: var(--aube-navy);
  --bs-link-hover-color: var(--aube-teal-dark);
  --bs-border-radius: 0.75rem;
  --bs-body-font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
}
h1, h2, h3, .font-display {
  font-family: 'Roboto', sans-serif;
}
.font-body { font-family: 'Inter', sans-serif; }

/* Brand color utilities (Bootstrap-style) */
.bg-navy { background-color: var(--aube-navy-deep) !important; }
.bg-navy-700 { background-color: var(--aube-navy) !important; }
.text-gold { color: var(--aube-gold) !important; }
.bg-gold { background-color: var(--aube-gold) !important; color: #131f63 !important; }
.bg-gold-soft { background-color: rgba(56, 197, 212, 0.2) !important; }
.border-gold { border-color: rgba(56, 197, 212, 0.4) !important; }
.text-on-navy { color: rgba(255, 255, 255, 0.7); }
.text-on-navy-strong { color: #fff; }

.btn-aube-gold {
  background: linear-gradient(135deg, #38c5d4, #1ca5b5);
  color: #131f63;
  font-weight: 700;
  border: 0;
}
.btn-aube-gold:hover { opacity: 0.9; color: #131f63; }

.btn-aube-whatsapp {
  background-color: var(--aube-whatsapp);
  color: #fff;
  font-weight: 600;
  border: 0;
}
.btn-aube-whatsapp:hover { background-color: var(--aube-whatsapp-hover); color: #fff; }

.btn-aube-primary {
  background: linear-gradient(135deg, var(--aube-navy), var(--aube-navy-dark));
  color: #fff;
  font-weight: 600;
  border: 0;
}
.btn-aube-primary:hover { opacity: 0.92; color: #fff; }

/* Hero gradient overlay */
.aube-hero-overlay {
  background: linear-gradient(to right,
    rgba(15, 24, 68, 0.95) 35%,
    rgba(15, 24, 68, 0.55) 65%,
    rgba(15, 24, 68, 0.10) 100%);
}

/* WhatsApp floating button pulse */
@keyframes aube-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
.aube-whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--aube-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
  animation: aube-pulse-glow 2.4s infinite;
}
.aube-whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Top bar */
.aube-topbar {
  background-color: var(--aube-navy-deep);
  color: #fff;
  font-size: 0.875rem;
}
.aube-topbar a { color: #fff; text-decoration: none; }
.aube-topbar a:hover { color: var(--aube-gold); }

/* Header link active */
.aube-nav-link {
  color: #15233f;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.25rem;
  transition: color .2s;
}
.aube-nav-link:hover, .aube-nav-link.active {
  color: var(--aube-navy);
  font-weight: 600;
}

/* Footer */
.aube-footer {
  background-color: var(--aube-navy-deep);
  color: rgba(255,255,255,0.7);
}
.aube-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
.aube-footer a:hover { color: var(--aube-gold); }
.aube-footer h4 { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .875rem; }
.aube-social {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: all .2s;
}
.aube-social:hover { background: var(--aube-gold); color: #131f63; }

/* Hero dot */
.aube-hero-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,0.4); border: 0;
  transition: all .2s;
}
.aube-hero-dot:hover { background: rgba(255,255,255,0.6); }
.aube-hero-dot.active { width: 24px; background: var(--aube-gold); }

.aube-hero-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.aube-hero-arrow:hover { background: rgba(255,255,255,0.4); }

@keyframes aube-pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.aube-pulse { animation: aube-pulse-soft 2s infinite; }

/* Section utilities */
.aube-section { padding: 5rem 0; }
.bg-aube-light { background-color: #f1f5f9; }

/* Pill label */
.aube-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(56, 197, 212, 0.12);
  color: var(--aube-navy);
  font-weight: 600; font-size: .875rem;
  padding: .5rem 1rem; border-radius: 999px;
}
.aube-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--aube-teal); }

/* Heading accent */
.text-aube-primary { color: var(--aube-navy) !important; }
.text-muted-aube { color: #64748b !important; }

/* Card with hover lift */
.aube-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px -4px rgba(15, 24, 68, 0.08);
  transition: transform .3s, box-shadow .3s;
}
.aube-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px rgba(15, 24, 68, 0.18);
}
.aube-card-img { position: relative; height: 192px; overflow: hidden; }
.aube-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.aube-card:hover .aube-card-img img { transform: scale(1.05); }
.aube-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,24,68,.3), transparent);
}
.aube-tag {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: rgba(56, 197, 212, 0.95);
  color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: 999px;
  backdrop-filter: blur(4px);
  text-transform: uppercase; letter-spacing: .05em;
}

/* Icon chip */
.aube-icon-chip {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(56, 197, 212, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aube-icon-chip-lg {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(56, 197, 212, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--aube-teal);
}

/* Contact strip */
.aube-strip { background-color: var(--aube-navy-deep); position: relative; z-index: 10; }
.aube-strip-cell {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(26, 41, 128, 0.15);
  transition: background .2s;
}
.aube-strip-cell:hover { background: rgba(26, 41, 128, 0.3); }
.aube-strip-eyebrow {
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgba(56, 197, 212, 0.8);
  margin-bottom: .15rem;
}
.aube-strip-value {
  font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 1.25rem;
  color: #fff; text-decoration: none; display: block;
  transition: color .2s;
}
a.aube-strip-value:hover { color: var(--aube-teal); }
.aube-strip-sub { font-size: .875rem; color: rgba(255,255,255,0.6); margin: .15rem 0 0; }
.aube-strip-divider-h { border-bottom: 1px solid rgba(26, 41, 128, 0.3); }
@media (min-width: 768px) {
  .aube-strip-divider-h { border-bottom: 0; border-right: 1px solid rgba(26, 41, 128, 0.3); }
}

/* Floating badges (About / Differentials) */
@keyframes aube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.aube-float { animation: aube-float 4s ease-in-out infinite; }

.aube-image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 40px -8px rgba(15, 24, 68, 0.20);
}
.aube-image-frame img { width: 100%; object-fit: cover; display: block; }
.aube-image-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,41,128,0.2), transparent);
}

.aube-badge-floating {
  position: absolute;
  background: var(--aube-gold);
  color: #131f63;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.aube-badge-navy {
  position: absolute;
  background: var(--aube-navy);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Highlight check list */
.aube-check {
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(56, 197, 212, 0.18);
  color: var(--aube-navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Internal page hero */
.aube-page-hero {
  background-color: var(--aube-navy-deep);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.aube-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}
.aube-blob-teal { background: var(--aube-teal); }
.aube-blob-navy { background: var(--aube-navy); }
.aube-blob-gold { background: var(--aube-gold); }

.aube-pill-on-navy {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(56, 197, 212, 0.2);
  color: var(--aube-teal);
  font-weight: 600; font-size: .875rem;
  padding: .5rem 1rem; border-radius: 999px;
}
.aube-pill-on-navy .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--aube-teal); }

/* Timeline */
.aube-timeline { position: relative; }
.aube-timeline-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.aube-timeline-year {
  flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 1rem;
  background: linear-gradient(135deg, var(--aube-navy), var(--aube-navy-dark));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: .875rem;
  box-shadow: 0 8px 24px -8px rgba(15,24,68,.3);
}

/* Step number */
.aube-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 1rem;
  background: linear-gradient(135deg, var(--aube-navy), var(--aube-navy-dark));
  color: #fff;
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 24px -8px rgba(15,24,68,.3);
}

/* Highlight quote/info box */
.aube-info-box {
  background: #f1f5f9;
  border-left: 4px solid var(--aube-teal);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
}

/* Convenio logo card */
.aube-logo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.aube-logo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(15,24,68,.15); }
.aube-logo-card img { max-height: 48px; max-width: 140px; object-fit: contain; }

/* Cartão Aube visual card */
.aube-credit-card {
  background: linear-gradient(135deg, #38c5d4, #1ca5b5);
  color: #131f63;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}
.aube-credit-card::before {
  content: ''; position: absolute; top: -50%; right: -25%;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.aube-credit-card::after {
  content: ''; position: absolute; bottom: -50%; left: -25%;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(0,0,0,.08);
}


/* === WordPress-specific overrides === */

/* admin bar offset for sticky-top */
@media screen and (min-width: 783px) {
  .admin-bar .sticky-top { top: 32px; }
}
@media screen and (max-width: 782px) {
  .admin-bar .sticky-top { top: 46px; }
}

/* Accordion theming for FAQ */
.aube-faq .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.aube-faq .accordion-button {
  font-weight: 600;
  color: var(--aube-navy);
  padding: 1.25rem 1.5rem;
}
.aube-faq .accordion-button:not(.collapsed) {
  background-color: rgba(56, 197, 212, 0.08);
  color: var(--aube-navy);
  box-shadow: none;
}
.aube-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.aube-faq .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: #64748b;
}

/* Carousel hero customization */
.aube-hero-carousel { min-height: 92vh; }
.aube-hero-carousel .carousel-item {
  min-height: 92vh;
  background-size: cover;
  background-position: center;
}
.aube-hero-carousel .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  text-align: left;
}

/* Insurance section navy background */
.aube-bg-insurance {
  background: var(--aube-navy-deep);
  position: relative;
  overflow: hidden;
}
.aube-bg-insurance::before,
.aube-bg-insurance::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18; pointer-events: none;
}
.aube-bg-insurance::before { background: var(--aube-teal); width: 320px; height: 320px; top: -80px; right: -80px; }
.aube-bg-insurance::after  { background: var(--aube-navy); width: 320px; height: 320px; bottom: -80px; left: -80px; }

/* Ícone padrão */
.aube-icon { display: inline-block; vertical-align: middle; }

/* Form labels e inputs ajustados pra marca */
.aube-form .form-control,
.aube-form .form-select {
  border-radius: 0.5rem;
  border-color: #e2e8f0;
  padding: 0.65rem 0.85rem;
}
.aube-form .form-control:focus,
.aube-form .form-select:focus {
  border-color: var(--aube-teal);
  box-shadow: 0 0 0 .2rem rgba(56, 197, 212, .15);
}

/* Site logo no header */
.wp-block-site-logo img { max-height: 48px; width: auto; }

/* Navegação principal ajustada à marca */
.aube-nav .wp-block-navigation-item__content {
  color: #15233f;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
}
.aube-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
  color: var(--aube-navy);
  font-weight: 600;
}

/* Site editor visual fixes */
.editor-styles-wrapper { background: #fff; }
