/* =========================================================================
   HOME — CINCARE  ·  Layout Premium
   Tokens base + premium vêm de /src/shared/styles/base.css
   ========================================================================= */

/* ========================================================= BASE PÁGINA ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
}

.layout-container {
  width: var(--shell);
  margin: 0 auto;
}

/* Eyebrow em pílula premium (tags/labels de seção) */
.component-tag,
.component-section-header span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(0, 101, 78, 0.07);
  border: 1px solid rgba(0, 101, 78, 0.14);
  color: var(--brand-teal-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.component-tag::before,
.component-section-header span::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--grad-gold);
}

/* ========================================================= HEADER (glass premium) ========================================================= */

.layout-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(15, 35, 66, 0.06);
}

/* Fio dourado-teal sutil sob o header */
.layout-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 101, 78, 0.25), rgba(217, 163, 33, 0.3), transparent);
}

.layout-container.layout-nav {
  min-height: 5.375rem;
}

.component-menu a {
  position: relative;
  font-weight: 600;
  color: #55657c;
  transition: color 0.25s ease;
}

.component-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4375rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-line);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.component-menu a:hover {
  color: var(--brand-navy);
}

.component-menu a:hover::after {
  width: 100%;
}

.button-club {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  color: #b9860f;
  line-height: 1;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(217, 163, 33, 0.4);
  border-radius: var(--r-pill);
  background: rgba(217, 163, 33, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button-club:hover {
  background: rgba(217, 163, 33, 0.14);
  border-color: rgba(217, 163, 33, 0.7);
  transform: translateY(-1px);
}

.layout-header-actions .button-secondary {
  background: var(--grad-navy);
}

/* ========================================================= HEADER USER LOGADO ========================================================= */

.header-user-button {
  min-height: 3.125rem;
  max-width: 13.125rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.header-user-button:hover {
  border-color: rgba(0, 101, 78, 0.3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header-user-avatar {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.6875rem;
  background: var(--grad-teal);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 35, 66, 0.12);
}

.header-user-avatar i,
.header-user-avatar svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.2;
  color: #ffffff;
  stroke: #ffffff;
}

.header-user-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  min-width: 0;
}

.header-user-text strong {
  max-width: 7.375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.header-user-text small {
  margin-top: 0.18rem;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ========================================================= HERO (cinematográfico premium) ========================================================= */

.layout-hero {
  position: relative;
  /* Altura proporcional à tela: ocupa ~82% da dobra em qualquer resolução,
     com piso (telas baixas) e teto (monitores muito altos). */
  min-height: 45rem;
  min-height: clamp(38rem, 82svh, 60rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("/public/assets/images/cincare-imagem.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layout-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(103deg,
      rgba(8, 42, 33, 0.96) 0%,
      rgba(0, 101, 78, 0.88) 36%,
      rgba(0, 101, 78, 0.5) 64%,
      rgba(8, 40, 32, 0.34) 100%);
}

/* Textura fina + vinheta + fade para a próxima seção */
.layout-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    inset 0 -150px 130px -80px rgba(6, 26, 20, 0.55),
    inset 0 90px 90px -80px rgba(6, 26, 20, 0.28);
}

.layout-container.layout-hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
}

.layout-hero-text {
  max-width: 47.5rem;
  padding: 4rem 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.layout-hero .component-tag {
  margin-bottom: 1.6rem;
  background: rgba(217, 163, 33, 0.14);
  border: 1px solid rgba(230, 185, 63, 0.45);
  color: #f2cd6a;
  backdrop-filter: blur(6px);
}

.layout-hero .component-tag::before {
  box-shadow: none;
}

.layout-hero h1 {
  margin: 0 0 1.9rem;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
  color: #ffffff;
  max-width: 57.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(6, 26, 20, 0.4);
}

.layout-hero h1 span {
  background: linear-gradient(120deg, var(--brand-gold-soft), #f4d27a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-gold-soft);
}

.component-benefits-list {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.component-benefits-list li {
  position: relative;
  padding-left: 2.6rem;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.component-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  color: #052a20;
  background: var(--grad-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.layout-hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.layout-hero-buttons .button-primary {
  min-height: 3.5rem;
  height: 3.5rem;
  padding: 0 2.1rem;
  border-radius: 0.9375rem;
  background: linear-gradient(180deg, #ffffff, #f2f6f5);
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  box-shadow: 0 12px 28px rgba(8, 30, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layout-hero-buttons .button-primary i,
.layout-hero-buttons .button-primary svg {
  width: 1.1875rem;
  height: 1.1875rem;
  flex-shrink: 0;
  color: var(--brand-teal);
}

.layout-hero-buttons .button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(8, 30, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layout-hero-buttons .button-ghost {
  min-height: 3.5rem;
  height: 3.5rem;
  padding: 0 1.9rem;
  border-radius: 0.9375rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.layout-hero-buttons .button-ghost i,
.layout-hero-buttons .button-ghost svg {
  width: 1.1875rem;
  height: 1.1875rem;
  flex-shrink: 0;
}

.layout-hero-buttons .button-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* ========================================================= SECTION HEADER ========================================================= */

.component-section-header {
  max-width: 45rem;
  margin: 0 auto 3.8rem;
  text-align: center;
}

.component-section-header span {
  margin-bottom: 1.3rem;
}

.component-section-header h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
}

.component-section-header p {
  margin: 0 auto;
  max-width: 38.75rem;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ========================================================= SERVICES ========================================================= */

.layout-section-services {
  position: relative;
  padding: 8rem 0 8.5rem;
  background: var(--bg-page);
  background-image: var(--mesh-teal);
}

.layout-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7rem;
}

.component-service-card {
  position: relative;
  background: var(--grad-surface);
  border-radius: var(--r-xl);
  padding: 2.6rem 2rem 2.3rem;
  box-shadow: var(--shadow-md), var(--card-highlight);
  border: 1px solid var(--border-color);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Fio teal→dourado no topo — sempre sutil, acende no hover */
.component-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-line);
  opacity: 0.45;
  transition: opacity 0.5s ease;
}

/* Brilho radial teal que surge do canto no hover (profundidade premium) */
.component-service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -30%;
  width: 16.25rem;
  height: 16.25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 101, 78, 0.1), transparent 68%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.component-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--card-highlight);
  border-color: rgba(0, 101, 78, 0.22);
}

.component-service-card:hover::before {
  opacity: 1;
}

.component-service-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.component-service-icon {
  position: relative;
  width: 4.125rem;
  height: 4.125rem;
  border-radius: 1.25rem;
  background: var(--grad-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.7rem;
  box-shadow: var(--tile-shadow);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

/* Anel de luz fino ao redor do tile */
.component-service-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.component-service-icon i,
.component-service-icon svg {
  width: 1.8125rem;
  height: 1.8125rem;
  stroke-width: 2;
}

.component-service-card:hover .component-service-icon {
  transform: translateY(-4px) scale(1.06) rotate(-4deg);
  box-shadow: 0 14px 26px rgba(15, 35, 66, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.component-service-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.24rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
}

.component-service-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* Afordância "descubra" que aparece no hover */
.component-service-card h3::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--brand-teal-500);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.component-service-card:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================================= ABOUT ========================================================= */

.layout-section-about {
  padding: 8rem 0;
  background: var(--surface);
}

.layout-about-container {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 5.5rem;
}

.component-about-image {
  position: relative;
  isolation: isolate;
}

/* Bloco em gradiente deslocado + moldura dourada */
.component-about-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translate(1.5rem, 1.5rem);
  border-radius: var(--r-xl);
  background: var(--grad-teal);
  opacity: 0.92;
}

.component-about-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.component-about-image img {
  width: 100%;
  max-width: 32.5rem;
  height: 27.5rem;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2xl);
}

.component-about-text {
  max-width: 38.75rem;
}

.component-about-text .component-tag {
  margin-bottom: 1.3rem;
}

.component-about-text h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  max-width: 38.75rem;
}

.component-about-text p {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.layout-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
  max-width: 37.5rem;
}

.component-stat-item {
  position: relative;
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #ffffff, #f6faf9);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.component-stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-teal);
  opacity: 0.55;
  transition: opacity 0.45s ease;
}

.component-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 101, 78, 0.2);
}

.component-stat-item:hover::before {
  opacity: 1;
}

.component-stat-item h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-teal-400), var(--brand-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-teal);
}

.component-stat-item span {
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

/* ========================================================= HOW IT WORKS ========================================================= */

.layout-section-how-it-works {
  padding: 8rem 0;
  background: var(--bg-page);
  background-image: var(--mesh-soft);
}

.layout-how-container {
  width: var(--shell);
  margin: 0 auto;
}

.layout-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

/* Linha conectora com gradiente */
.layout-steps-grid::before {
  content: "";
  position: absolute;
  top: 3.125rem;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 101, 78, 0.1), rgba(0, 101, 78, 0.4), rgba(217, 163, 33, 0.4), rgba(0, 101, 78, 0.1));
  z-index: 0;
}

.component-step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.8rem 1.8rem 2.3rem;
  background: var(--grad-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md), var(--card-highlight);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.component-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--card-highlight);
  border-color: rgba(0, 101, 78, 0.2);
}

.component-step-icon {
  position: relative;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(15, 35, 66, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.2);
  border: 6px solid var(--surface);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Halo teal sutil ao redor do ícone */
.component-step-icon::before {
  content: "";
  position: absolute;
  inset: -0.875rem;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 101, 78, 0.18);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.component-step-card:hover .component-step-icon {
  transform: scale(1.05);
}

.component-step-card:hover .component-step-icon::before {
  opacity: 1;
  transform: scale(1);
}

.component-step-icon i,
.component-step-icon svg {
  width: 2.1875rem;
  height: 2.1875rem;
  stroke-width: 2;
}

.component-step-number {
  position: absolute;
  top: 1.7rem;
  right: calc(50% - 3.75rem);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #3a2a05;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(217, 163, 33, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.component-step-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.24rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

.component-step-card p {
  margin: 0 auto;
  max-width: 18.75rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* ========================================================= CTA ========================================================= */

.layout-section-cta {
  padding: 7rem 0 8rem;
  background: var(--surface);
}

.layout-cta-container {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.component-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--grad-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: 3.6rem 3rem 3.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--card-highlight);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fio teal→dourado no topo do card claro */
.component-cta-card:nth-child(1)::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-line);
  opacity: 0.6;
  z-index: 2;
}

/* Card claro: brilho radial teal sutil */
.component-cta-card:nth-child(1)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 50% 120%, rgba(0, 101, 78, 0.07), transparent 60%);
  pointer-events: none;
}

/* Card escuro premium (profissionais) */
.component-cta-card:nth-child(2) {
  background:
    radial-gradient(680px 340px at 100% 0%, rgba(0, 101, 78, 0.42), transparent 58%),
    linear-gradient(150deg, #17324a 0%, var(--brand-ink-deep) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-2xl);
}

.component-cta-card > * {
  position: relative;
  z-index: 1;
}

.component-cta-card .component-tag {
  margin-bottom: 1.1rem;
}

.component-cta-card:nth-child(2) .component-tag {
  background: rgba(217, 163, 33, 0.16);
  border-color: rgba(230, 185, 63, 0.4);
  color: var(--brand-gold-soft);
}

.component-cta-card h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}

.component-cta-card:nth-child(2) h2 {
  color: #ffffff;
}

.component-cta-card p {
  max-width: 28.75rem;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-secondary);
  flex-grow: 1;
}

.component-cta-card:nth-child(2) p {
  color: rgba(226, 234, 240, 0.84);
}

.component-cta-card .button-primary {
  min-height: 3.375rem;
  height: 3.375rem;
  padding: 0 2.1rem;
  border-radius: 0.875rem;
  background: var(--grad-navy);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 12px 26px rgba(15, 35, 66, 0.2);
  margin-top: auto;
}

.component-cta-card .button-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 36px rgba(15, 35, 66, 0.3);
}

/* Botão dourado no card escuro */
.component-cta-card:nth-child(2) .button-primary {
  background: var(--grad-gold);
  color: #3a2a05;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--shadow-gold);
}

.component-cta-card:nth-child(2) .button-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px rgba(15, 35, 66, 0.16);
}

.component-cta-card .button-primary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.component-cta-card .button-primary i,
.component-cta-card .button-primary svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* ========================================================= FOOTER ========================================================= */

.layout-footer {
  position: relative;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(0, 101, 78, 0.28), transparent 55%),
    linear-gradient(180deg, #1d2f42 0%, var(--brand-ink-deep) 100%);
  color: #d7e0ea;
  padding: 5.5rem 0 2.2rem;
}

.layout-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-gold), var(--brand-teal));
}

.layout-footer-container {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 3rem;
}

.component-footer-col h3 {
  margin: 0 0 1.2rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.component-footer-col h4 {
  margin: 0 0 1.35rem;
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold-soft);
}

.component-footer-col p {
  margin: 0;
  max-width: 20rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #a3b3c6;
}

.component-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.component-footer-col ul li {
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #a3b3c6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.component-footer-col ul li:last-child {
  margin-bottom: 0;
}

.component-footer-col ul li i,
.component-footer-col ul li svg {
  width: 1.0625rem;
  height: 1.0625rem;
  flex-shrink: 0;
  color: var(--brand-teal-400);
}

.component-footer-col a {
  text-decoration: none;
  color: #a3b3c6;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.component-footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.layout-footer-bottom {
  width: var(--shell);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #8195a9;
}

.layout-footer-bottom a {
  color: #8195a9;
  text-decoration: none;
  margin-left: 1.3rem;
  font-size: 0.92rem;
  opacity: 0.85;
  transition: color 0.25s ease, opacity 0.25s;
}

.layout-footer-bottom a:hover {
  opacity: 1;
  color: var(--brand-gold-soft);
}

/* ========================================================= BOTÃO PRIMARY GLOBAL ========================================================= */

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ========================================================= RESPONSIVO ========================================================= */

@media (max-width: 1200px) {
  .component-menu {
    gap: 2rem;
  }

  .layout-header-actions {
    gap: 1.2rem;
    margin-left: 1.4rem;
  }

  .layout-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .layout-about-container {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .component-about-image img {
    max-width: 100%;
    height: 23.75rem;
  }

  .component-about-text h2 {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
  }
}

@media (max-width: 992px) {
  .layout-container.layout-nav {
    min-height: 5rem;
  }

  .component-logo img {
    width: 8.25rem;
  }

  .component-menu {
    gap: 1.4rem;
  }

  .component-menu a {
    font-size: 0.93rem;
  }

  .layout-hero {
    min-height: 37.5rem;
    background-position: 62% center;
  }

  .layout-hero-text {
    max-width: 40rem;
  }

  .component-benefits-list li {
    font-size: 1.05rem;
  }

  .layout-section-services {
    padding: 6rem 0;
  }

  .component-section-header {
    margin-bottom: 3rem;
  }

  .component-service-card {
    padding: 2rem 1.6rem;
  }

  .layout-section-about {
    padding: 6rem 0;
  }

  .layout-section-how-it-works {
    padding: 6rem 0;
  }

  .layout-steps-grid {
    gap: 2rem;
  }

  .layout-steps-grid::before {
    left: 14%;
    right: 14%;
  }

  .layout-section-cta {
    padding: 5.5rem 0 6rem;
  }

  .layout-cta-container {
    gap: 1.4rem;
  }

  .component-cta-card {
    padding: 2.6rem 2rem 2.4rem;
  }

  .component-cta-card h2 {
    font-size: clamp(1.7rem, 4vw, 2.1rem);
  }

  .layout-footer {
    padding: 4.5rem 0 1.9rem;
  }

  .layout-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .layout-footer-bottom {
    margin-top: 2.8rem;
  }
}

@media (max-width: 900px) {
  .layout-nav-menu {
    display: none;
  }

  .layout-container.layout-nav {
    justify-content: space-between;
  }

  .layout-header-actions {
    margin-left: auto;
  }

  .layout-about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .component-about-image {
    order: 1;
    max-width: 35rem;
    margin: 0 auto;
    width: 100%;
  }

  .component-about-image::before {
    transform: translate(1rem, 1rem);
  }

  .component-about-text {
    order: 2;
    max-width: 100%;
  }

  .component-about-image img {
    height: 22.5rem;
  }

  .layout-about-stats {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .button-club {
    display: none;
  }

  .layout-header-actions {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .layout-container {
    width: min(calc(100% - 2rem), var(--container-width));
  }

  .layout-hero {
    min-height: auto;
    padding: 3.6rem 0 4rem;
    background-position: 68% center;
  }

  .layout-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 42, 33, 0.95) 0%, rgba(0, 101, 78, 0.82) 45%, rgba(8, 40, 32, 0.92) 100%);
  }

  .layout-container.layout-hero-content {
    width: min(calc(100% - 2rem), var(--container-width));
  }

  .layout-hero-text {
    max-width: 100%;
    padding: 0;
  }

  .layout-hero h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
    margin-bottom: 1.3rem;
  }

  .component-benefits-list {
    margin-bottom: 1.8rem;
    gap: 0.85rem;
  }

  .component-benefits-list li {
    padding-left: 2.2rem;
    font-size: 0.98rem;
  }

  .component-benefits-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.78rem;
  }

  .layout-hero-buttons {
    gap: 0.8rem;
  }

  .layout-hero-buttons .button-primary,
  .layout-hero-buttons .button-ghost {
    min-height: 3.125rem;
    height: 3.125rem;
    padding: 0 1.5rem;
    border-radius: 0.8125rem;
    font-size: 0.95rem;
  }

  .layout-section-services {
    padding: 4.5rem 0;
  }

  .component-section-header {
    margin-bottom: 2.4rem;
  }

  .component-section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .layout-services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .component-service-card {
    padding: 1.8rem 1.5rem;
  }

  .layout-section-about {
    padding: 4.5rem 0;
  }

  .component-about-image img {
    height: 18.75rem;
  }

  .component-about-text h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    margin-bottom: 1.2rem;
  }

  .component-about-text p {
    font-size: 0.97rem;
    margin-bottom: 1.3rem;
  }

  .layout-about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 1.9rem;
  }

  .component-stat-item h3 {
    font-size: 1.9rem;
  }

  .component-stat-item span {
    font-size: 0.76rem;
  }

  .layout-section-how-it-works {
    padding: 4.5rem 0;
  }

  .layout-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .layout-steps-grid::before {
    display: none;
  }

  .component-step-card {
    padding: 2rem 1.5rem 1.8rem;
  }

  .component-step-number {
    right: calc(50% - 3.25rem);
  }

  .layout-section-cta {
    padding: 4.5rem 0;
  }

  .layout-cta-container {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .component-cta-card {
    padding: 2.4rem 1.7rem 2.2rem;
  }

  .component-cta-card h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .layout-footer {
    padding: 3.6rem 0 1.7rem;
  }

  .layout-footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .component-footer-col h3 {
    font-size: 1.3rem;
  }

  .layout-footer-bottom {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    font-size: 0.88rem;
  }

  .layout-footer-bottom a {
    display: inline-block;
    margin: 0.35rem 0.6rem 0;
  }
}

@media (max-width: 640px) {
  .header-user-button {
    min-height: 2.875rem;
    max-width: 3.25rem;
    padding: 0.3rem;
    gap: 0;
  }

  .header-user-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .layout-container.layout-nav {
    min-height: 4.5rem;
  }

  .component-logo img {
    width: 7.25rem;
  }

  .layout-header-actions .button-secondary {
    min-height: 2.5rem;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    gap: 0.45rem;
  }

  .layout-header-actions .button-secondary i,
  .layout-header-actions .button-secondary svg {
    width: 0.9375rem;
    height: 0.9375rem;
  }
}

@media (max-width: 420px) {
  .layout-hero {
    padding: 3rem 0 3.4rem;
  }

  .layout-hero h1 {
    font-size: 1.85rem;
  }

  .layout-hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .layout-hero-buttons .button-primary,
  .layout-hero-buttons .button-ghost {
    width: 100%;
  }

  .layout-about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .component-stat-item h3 {
    font-size: 2.1rem;
  }

  .component-cta-card h2 {
    font-size: 1.4rem;
  }
}
