/* ==========================================================================
   ODONTO EXCELLENCE CANELA - PAGE STYLES (HOME & INNER PAGES)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (HOME)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.05);
  animation: heroZoom 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(14, 14, 14, 0.96) 0%, rgba(14, 14, 14, 0.86) 34%, rgba(14, 14, 14, 0.42) 62%, rgba(14, 14, 14, 0.05) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-bg-img {
    object-position: center top;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.0) 0%,
      rgba(14, 14, 14, 0.0) 28%,
      rgba(14, 14, 14, 0.35) 42%,
      rgba(14, 14, 14, 0.85) 58%,
      rgba(14, 14, 14, 0.98) 100%
    );
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 2rem;
  margin-top: auto;
}

.hero-text-block {
  max-width: 580px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

/* Animações de entrada com fade + slide up suave (600ms, staggered) */
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards 0.25s;
}

.hero-headline .hero-line {
  display: block;
}

.hero-headline .hero-highlight {
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.15em;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 28px rgba(227, 6, 19, 0.65);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

/* Botão com brilho vermelho igual ao mockup */
.btn-mockup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #E30613 0%, #C4040F 100%);
  color: #FFFFFF;
  padding: 1.05rem 2.4rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.6), 0 0 35px rgba(227, 6, 19, 0.35);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-mockup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.75), 0 0 50px rgba(227, 6, 19, 0.5);
  color: #FFFFFF;
}

.btn-mockup-cta svg {
  transition: transform 0.2s ease;
}

.btn-mockup-cta:hover svg {
  transform: translateX(3px);
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards 0.55s;
}

/* --------------------------------------------------------------------------
   BARRA FLUTUANTE DE VIDRO NA BASE DO HERO (IGUAL AO MOCKUP)
   -------------------------------------------------------------------------- */
.hero-bottom-bar {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 1.25rem 0 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards 0.7s;
}

.hero-capsule-card {
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  padding: 0.85rem 0.5rem;
}

.capsule-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.75rem;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.capsule-col:last-child {
  border-right: none;
}

.capsule-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.capsule-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: #FFFFFF;
  transition: all var(--transition-fast);
}

.capsule-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.capsule-col:hover .capsule-icon-wrap svg {
  stroke: var(--color-primary);
  transform: translateY(-2px);
}

.capsule-col:hover .capsule-label {
  color: var(--color-primary);
}

/* Indicador de rolagem "DESCUBRA MAIS" */
.hero-scroll-discover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.hero-scroll-discover:hover {
  opacity: 0.85;
}

.scroll-mouse-pill {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-mouse-wheel {
  width: 3px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: mouseWheel 1.8s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-discover-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    padding-top: 110px;
  }
  .hero-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem 2rem 1rem;
  }
  .hero-capsule-card {
    width: 100%;
    max-width: 520px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  .capsule-col {
    border-right: none;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    padding-top: 0;
    padding-bottom: 0.5rem;
    margin-top: auto;
  }
  .hero-text-block {
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.45rem;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 6.2vw, 2.35rem);
    line-height: 1.1;
    margin-bottom: 1.15rem;
    gap: 0.15rem;
  }
  .hero-headline .hero-highlight {
    font-size: 1.1em;
  }
  .hero-actions {
    margin-bottom: 0.85rem;
    gap: 0.75rem;
  }
  .btn-mockup-cta {
    padding: 0.85rem 2rem;
    font-size: 0.88rem;
    width: 100%;
    max-width: 320px;
  }
  .hero-description {
    font-size: 0.875rem;
    line-height: 1.45;
    max-width: 360px;
  }
  .hero-bottom-bar {
    padding: 0.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: clamp(1.65rem, 5.8vw, 2rem);
    margin-bottom: 0.9rem;
  }
  .btn-mockup-cta {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    max-width: 100%;
  }
  .hero-description {
    font-size: 0.825rem;
    line-height: 1.4;
  }
  .hero-capsule-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
  }
  .capsule-label {
    font-size: 0.68rem;
  }
  .hero-bottom-bar {
    padding: 0.4rem 0.75rem 1.25rem 0.75rem;
  }
}

/* Prefers-reduced-motion: desativa animações */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img {
    animation: none !important;
    transform: none !important;
  }
  .hero-eyebrow,
  .hero-headline,
  .hero-description,
  .hero-actions,
  .hero-bottom-bar {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-mouse-wheel {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   2. FAIXA DE DIFERENCIAIS TRANSLÚCIDA COLADA NA BASE DO HERO
   -------------------------------------------------------------------------- */
.differentials-strip {
  position: relative;
  z-index: 3;
  width: 100%;
  background: rgba(34, 34, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0;
  color: var(--color-white);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-content-wrapper {
    padding-top: 95px;
    padding-bottom: 2rem;
  }
  .differentials-strip {
    padding: 1.5rem 0;
  }
  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.differential-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.differential-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(227, 6, 19, 0.14);
  border: 1px solid rgba(227, 6, 19, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.differential-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  stroke: var(--color-primary);
}

.differential-card:hover .differential-icon {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.differential-card:hover .differential-icon svg {
  color: var(--color-white);
  stroke: var(--color-white);
}

.differential-text h4 {
  font-size: 0.98rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.differential-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. SEÇÃO SOBRE A CLÍNICA (HOME)
   -------------------------------------------------------------------------- */
.about-home-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4rem;
}

@media (max-width: 992px) {
  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #E2E4E8;
}

.about-image-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-smooth);
}

.about-image-card:hover img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.35);
}

.mini-differentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (max-width: 576px) {
  .about-image-card img {
    height: 460px;
    object-position: center 15%;
  }
  .mini-differentials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.mini-diff-card {
  background-color: var(--color-gray-subtle);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all var(--transition-fast);
}

.mini-diff-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.mini-diff-card svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.mini-diff-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.mini-diff-card p {
  font-size: 0.825rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   4. POR QUE ESCOLHER A ODONTO EXCELLENCE
   -------------------------------------------------------------------------- */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.check-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.check-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.check-icon-circle svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  stroke-width: 2.5;
}

.check-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.check-text p {
  font-size: 0.9rem;
  color: #555555;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. INNER PAGES: BANNER DE PÁGINA & CONTEÚDO
   -------------------------------------------------------------------------- */
.page-header-banner {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2A2A2A 100%);
  color: var(--color-white);
  padding: 4.5rem 0;
  position: relative;
  border-bottom: 4px solid var(--color-primary);
}

.page-header-content {
  max-width: 820px;
}

.page-header-banner h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-header-banner p.lead {
  color: #D1D5DB;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
  color: #E5E7EB;
}

.breadcrumb-nav a:hover {
  color: var(--color-primary);
}

.treatment-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .treatment-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.treatment-sidebar-card {
  position: sticky;
  top: 104px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.sidebar-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem 0;
}

.sidebar-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--color-dark);
  font-weight: 500;
}

.sidebar-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. CONTATO & LOCALIZAÇÃO CANELA
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-card-info {
  background-color: var(--color-gray-subtle);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
}

.contact-detail-content h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-detail-content p, .contact-detail-content a {
  font-size: 0.925rem;
  color: #555555;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-border);
  background-color: #E5E7EB;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   7. 404 PAGE
   -------------------------------------------------------------------------- */
.error-page-wrap {
  text-align: center;
  padding: 7rem 1.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page-wrap h2 {
  margin-bottom: 1rem;
}

.error-page-wrap p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}
