/* ==============================================
   Andrezza Tavernard — Custom Styles
   Design System: The Poetic Curator
   ============================================== */

/* --- Smooth Scroll Global --- */
html {
  scroll-behavior: smooth;
}

/* --- Display Typography --- */
.text-display-lg {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .text-display-lg {
    font-size: 2.25rem;
  }
}

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ================================================
   GRAIN OVERLAY — textura de impressão premium
   ================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ================================================
   PAGE LOAD — staggered reveal
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.25s; }
.delay-300 { animation-delay: 0.4s; }
.delay-400 { animation-delay: 0.55s; }
.delay-500 { animation-delay: 0.7s; }

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ================================================
   KEN BURNS — hero image (legacy)
   ================================================ */
@keyframes kenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}

.hero-image {
  animation: kenBurns 14s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ================================================
   QUIET LUXURY HERO
   ================================================ */
@keyframes monogramReveal {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(1.04);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes tagLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes scrollLineFloat {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50%       { transform: scaleY(0.5) translateY(8px); opacity: 0.4; }
}

/* Section */
.hero-ql {
  min-height: 100svh;
}

/* Monograma — absolute, overflows à direita */
.hero-monogram-img {
  position: absolute;
  top: 50%;
  /* começa em ~38% da largura → extravasa à direita */
  left: 30%;
  transform: translateY(-50%);
  height: 88vh;
  width: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: monogramReveal 2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Tag editorial */
.hero-tag-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b83555;
  white-space: nowrap;
}

.hero-tag-line {
  display: block;
  height: 1px;
  width: 4rem;
  background-color: #b83555;
  transform-origin: left center;
  animation: tagLineGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Headline */
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-headline-em {
  font-style: italic;
  font-weight: 400;
  color: #b83555;
}

/* Body */
.hero-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #574144;
}

/* Scroll hint — canto inferior esquerdo */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, #b83555);
  transform-origin: top center;
  animation: scrollLineFloat 2.4s ease-in-out 1.2s infinite;
}

.hero-scroll-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b7073;
  writing-mode: vertical-lr;
}

@media (max-width: 768px) {
  /* Hero: conteúdo centralizado — mesmo eixo do monograma */
  .hero-ql {
    align-items: center !important;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  /* Monograma: centralizado na seção (top/bottom: 0 + margin: auto) */
  .hero-monogram-img {
    top: 0;
    bottom: 0;
    left: auto;
    right: -30%;
    transform: none;
    margin-top: auto;
    margin-bottom: auto;
    height: 45vh;
    animation: none;
    opacity: 0.08;
  }

  .hero-headline {
    font-size: clamp(1.875rem, 8vw, 2.375rem);
  }

  .hero-scroll-hint {
    display: none;
  }

  /* CTA: garante que não estica full-width */
  .hero-ql .btn-primary {
    width: auto;
    display: inline-flex;
  }
}

/* ================================================
   GLASSMORPHISM
   ================================================ */
.glass-nav {
  background: rgba(255, 248, 246, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 40px rgba(39, 24, 17, 0.04);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav-logo {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-link {
  font-family: 'Noto Serif', serif;
  color: #426278;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #b83555;
}

/* Indicador de link ativo: ponto abaixo, sem reflow */
.nav-link-active {
  font-family: 'Noto Serif', serif;
  color: #b83555;
  font-weight: 700;
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #b83555;
}

/* ================================================
   MOBILE MENU
   ================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(255, 248, 246, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Noto Serif', serif;
  font-size: 2rem;
  color: #271811;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #b83555;
}

/* Hamburger icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: #b83555;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #b83555;
  color: #ffffff;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 40px rgba(39, 24, 17, 0.05);
  will-change: transform;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 60px rgba(184, 53, 85, 0.15), 0 10px 40px rgba(39, 24, 17, 0.07);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* Floating CTA */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #b83555;
  color: #ffffff;
  padding: 1.375rem 3rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 10px 40px rgba(39, 24, 17, 0.05),
    0 4px 16px rgba(39, 24, 17, 0.08);
  will-change: transform;
}

.btn-cta:hover {
  transform: scale(1.04);
  box-shadow:
    0 20px 60px rgba(39, 24, 17, 0.10),
    0 8px 30px rgba(184, 53, 85, 0.20);
}

.btn-cta:active {
  transform: scale(0.97);
}

.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #b83555;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  padding: 0.5rem 0;
  transition: gap 0.3s ease;
}

.btn-text-arrow:hover { gap: 1rem; }

.btn-text-arrow .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-text-arrow:hover .arrow-icon {
  transform: translateX(4px);
}

/* ================================================
   EDITORIAL CANVAS — service cards
   ================================================ */
.editorial-card {
  isolation: isolate;
}

/* Selos sobre fundo escuro: line-art branco */
.service-seal {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.group:hover .service-seal {
  opacity: 1;
}

/* Reveal suave sem reflow */
.reveal-content {
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease-out 0.08s;
}

/* ================================================
   PORTFOLIO — hover overlay
   ================================================ */
.portfolio-overlay {
  background: linear-gradient(to top, rgba(39,24,17,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.group:hover .portfolio-overlay {
  opacity: 1;
}

/* ================================================
   WATERMARK LOGO — authority section
   ================================================ */
.watermark-logo {
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

/* ================================================
   FOOTER — Colophon
   ================================================ */
.footer-colophon {
  background-color: #fff1eb;
  padding: 4rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-top-rule {
  width: 3rem;
  height: 1px;
  background-color: rgba(184, 53, 85, 0.25);
}

.footer-signature {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #b83555;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-signature:hover {
  opacity: 0.7;
}

/* Nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #574144;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #b83555;
}

.footer-nav span {
  color: rgba(184, 53, 85, 0.3);
  font-size: 0.625rem;
  line-height: 1;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 53, 85, 0.2);
  color: #574144;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s ease,
              color 0.3s ease,
              background-color 0.3s ease,
              transform 0.3s ease;
}

.footer-social-btn:hover {
  border-color: #b83555;
  color: #b83555;
  background-color: rgba(184, 53, 85, 0.05);
  transform: translateY(-2px);
}

/* Copyright */
.footer-copyright {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7073;
  text-align: center;
}

/* ================================================
   ASSESSORIA STAGE — Editorial Slideshow
   ================================================ */

/* Container */
.assessoria-stage {
  border-radius: 1rem;
  overflow: hidden;
}

/* Slides wrapper — altura fixa, slides empilhados */
.assessoria-slides {
  position: relative;
  height: 68vh;
  min-height: 480px;
  max-height: 680px;
}

/* Cada slide */
.assessoria-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.assessoria-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Imagem do slide */
.assessoria-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Conteúdo: sempre visível no rodapé do slide */
.assessoria-slide-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.5rem 2rem;
}

.assessoria-slide-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b83555;
  margin-bottom: 0.5rem;
}

.assessoria-slide-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.assessoria-slide-tagline {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
}

.assessoria-slide-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.assessoria-slide-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

.assessoria-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #b83555;
  flex-shrink: 0;
}

/* ── Navegação ── */
.assessoria-nav {
  display: flex;
  background: rgba(28, 17, 12, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.assessoria-tab {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.125rem 1.25rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

.assessoria-tab:last-child {
  border-right: none;
}

.assessoria-tab:hover {
  background: rgba(255,255,255,0.04);
}

.assessoria-tab-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s ease;
}

.assessoria-tab-label {
  font-family: 'Noto Serif', serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.assessoria-tab.is-active .assessoria-tab-num {
  color: #b83555;
}

.assessoria-tab.is-active .assessoria-tab-label {
  color: #ffffff;
}

/* Barra de progresso — topo do tab ativo */
.assessoria-tab-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #b83555;
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes assessoriaProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.assessoria-tab-progress.is-running {
  animation: assessoriaProgress 5s linear forwards;
}

/* Mobile */
@media (max-width: 640px) {
  .assessoria-slides {
    height: 72vh;
    min-height: 420px;
  }

  .assessoria-slide-content {
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .assessoria-tab-label {
    font-size: 0.75rem;
  }

  .assessoria-tab {
    padding: 1rem 0.875rem 0.875rem;
  }
}

/* ================================================
   TYPEWRITER — hero italic line
   ================================================ */
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes cursorFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.typewriter-cursor {
  display: inline-block;
  font-style: italic;
  font-family: 'Noto Serif', serif;
  font-weight: 400;
  color: #b83555;
  margin-left: 1px;
  animation: cursorBlink 0.85s step-start infinite;
  /* font-size herda do .hero-headline-em via parent */
  font-size: inherit;
  line-height: inherit;
}

.typewriter-cursor.is-done {
  animation: cursorFadeOut 0.6s ease-out 0.8s forwards;
}

/* Garante que o <em> preserve quebras intencionais em md+ */
#typewriter-target {
  display: inline;
}

/* ================================================
   CTA FINAL — The Invitation
   ================================================ */

/* Monograma de fundo */
.cta-bg-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 115%;
  max-height: 80vh;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* Tag editorial */
.cta-tag-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.cta-tag-line-left {
  display: block;
  width: 2.5rem;
  height: 1px;
  background-color: #b83555;
}

.cta-tag-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b83555;
}

/* Headline */
.cta-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(3.25rem, 7.5vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #271811;
}

.cta-headline-em {
  font-style: italic;
  font-weight: 400;
  color: #b83555;
}

/* Rodapé da seção */
.cta-footer-accent {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
}

.cta-footer-line {
  display: block;
  flex: 1;
  height: 1px;
  background-color: rgba(184, 53, 85, 0.15);
}

.cta-footer-year {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b7073;
  white-space: nowrap;
}

/* ================================================
   GOOGLE BADGE
   ================================================ */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.375rem;
  border-radius: 9999px;
  border: 1px solid rgba(184, 53, 85, 0.15);
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(39, 24, 17, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.google-badge:hover {
  border-color: rgba(184, 53, 85, 0.35);
  box-shadow: 0 6px 24px rgba(39, 24, 17, 0.08);
  transform: translateY(-2px);
}

.google-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.google-badge-stars {
  color: #b83555;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.google-badge-rating {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #271811;
  letter-spacing: -0.01em;
}

.google-badge-divider {
  width: 1px;
  height: 14px;
  background: rgba(184, 53, 85, 0.2);
  flex-shrink: 0;
}

.google-badge-count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  color: #574144;
  white-space: nowrap;
}

.google-badge-arrow {
  width: 14px;
  height: 14px;
  color: #8b7073;
  flex-shrink: 0;
}

/* ================================================
   TESTIMONIALS — Editorial Letters
   ================================================ */
.testimonials-section {
  isolation: isolate;
}

.testimonials-stamp {
  position: absolute;
  right: -4rem;
  bottom: 2rem;
  width: 18rem;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Wrapper */
.t-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

/* Carousel layout: prev | stage | next */
.t-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

/* Stage stacks all cards in the same grid cell */
.t-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  outline: none;
  border-radius: 1.75rem;
}

.t-stage:focus-visible {
  outline: 2px solid rgba(184, 53, 85, 0.4);
  outline-offset: 6px;
}

.t-stage > .t-card {
  grid-area: 1 / 1; /* stack */
}

/* Card */
.t-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(184, 53, 85, 0.06);
  border-radius: 1.75rem;
  padding: 3.25rem 3.5rem 2.75rem;
  box-shadow:
    0 1px 0 rgba(184, 53, 85, 0.04),
    0 12px 40px -16px rgba(39, 24, 17, 0.10),
    0 4px 18px -8px rgba(184, 53, 85, 0.06);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.55s;
  will-change: opacity, transform;
}

.t-card.is-active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
    visibility 0s linear;
}

/* Decorative oversized quote glyph */
.t-glyph {
  position: absolute;
  top: -1.25rem;
  left: 1.75rem;
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: 11rem;
  line-height: 1;
  color: rgba(184, 53, 85, 0.10);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* Quote */
.t-quote {
  position: relative;
  z-index: 1;
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.75;
  color: #271811;
  font-weight: 400;
  margin: 0 0 2rem;
  padding: 0;
  quotes: none;
  text-wrap: pretty;
}

/* Signature row */
.t-signature {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 53, 85, 0.10);
}

.t-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd9dd 0%, #ffb2bc 100%);
  font-family: 'Noto Serif', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #b83555;
  border: 1.5px solid rgba(184, 53, 85, 0.18);
}

.t-meta { min-width: 0; flex: 1; }

.t-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #271811;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}

.t-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b7073;
  line-height: 1;
  margin: 0;
}

.t-stars {
  color: #b83555;
  font-size: 0.8125rem;
  letter-spacing: 0.10em;
  line-height: 1;
}

.t-sep {
  width: 1px;
  height: 0.7rem;
  background: rgba(139, 112, 115, 0.4);
  display: inline-block;
}

.t-via {
  color: #426278;
  font-weight: 600;
}

/* Corner monogram stamp */
.t-monogram {
  position: absolute;
  bottom: 0.85rem;
  right: 1.1rem;
  width: 3rem;
  height: 3rem;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

/* Progress at bottom of card */
.t-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(184, 53, 85, 0.06);
  overflow: hidden;
}

.t-progress-fill {
  position: absolute;
  inset: 0;
  background: #b83555;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@keyframes tProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.t-progress-fill.is-running {
  animation: tProgress 8s linear forwards;
}

/* Navigation buttons */
.t-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(184, 53, 85, 0.18);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #b83555;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

.t-nav:hover {
  background: #ffffff;
  border-color: rgba(184, 53, 85, 0.45);
  box-shadow: 0 6px 18px -8px rgba(184, 53, 85, 0.35);
}

.t-nav:active { transform: scale(0.95); }

.t-nav:focus-visible {
  outline: 2px solid #b83555;
  outline-offset: 3px;
}

.t-nav svg {
  width: 18px;
  height: 18px;
}

/* Strip below carousel: counter + dots */
.t-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.t-counter {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: 'Noto Serif', serif;
  color: #574144;
  letter-spacing: 0.05em;
  user-select: none;
}

.t-counter-current {
  font-size: 1.5rem;
  color: #b83555;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 1.4ch;
  display: inline-block;
  text-align: right;
  transition: color 0.3s ease;
}

.t-counter-sep {
  font-size: 0.75rem;
  color: rgba(87, 65, 68, 0.4);
}

.t-counter-total {
  font-size: 0.875rem;
  color: rgba(87, 65, 68, 0.65);
  font-variant-numeric: tabular-nums;
}

.t-dots {
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: rgba(184, 53, 85, 0.18);
  cursor: pointer;
  transition: background 0.35s ease,
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  flex-shrink: 0;
}

.t-dot:hover { background: rgba(184, 53, 85, 0.4); }

.t-dot.is-active {
  background: #b83555;
  width: 22px;
}

.t-dot:focus-visible {
  outline: 2px solid #b83555;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .t-carousel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .t-nav { display: none; }

  .t-card {
    padding: 2.5rem 1.75rem 2rem;
    border-radius: 1.25rem;
  }
  .t-glyph {
    font-size: 7rem;
    top: -0.75rem;
    left: 0.75rem;
  }
  .t-quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  .t-signature { gap: 0.85rem; padding-top: 1.25rem; }
  .t-avatar {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }
  .t-name { font-size: 0.875rem; }
  .t-detail {
    font-size: 0.625rem;
    gap: 0.4rem;
  }
  .t-monogram {
    width: 2.25rem;
    height: 2.25rem;
    bottom: 0.65rem;
    right: 0.75rem;
  }
  .t-strip {
    margin-top: 1.5rem;
    gap: 1rem;
  }
  .google-badge-count { display: none; }
}

/* ================================================
   PREFERS REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .animate-in,
  .reveal,
  .hero-image,
  .btn-primary,
  .btn-cta,
  .btn-text-arrow,
  .reveal-content,
  .portfolio-overlay,
  .hamburger span,
  .mobile-menu,
  .service-seal,
  .nav-link,
  .t-card,
  .t-progress-fill,
  .google-badge,
  img {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .animate-in,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
