/* ============================================================
   SIRIGUELA DIGITAL — Style Sheet
   Agência de Marketing Digital e Tecnologia
   ============================================================ */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #faf7fb;
  /*--bg-dark: #1b1a13;*/
  --bg-dark: #1b1620;
  --primary: #FCA502;
  --primary-dark: #ffa600b9;
  --accent: #04934F;
  --accent2: #00bb61;
  --accent-soft: #f7c8de;
  --gold: #d9a441;
  --text: #201526;
  --text-muted: #6b5c6e;
  --line: #ece5ec;
  --marron: #572302;
  --marron-claro:#6F3410;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .98, .36, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(110, 30, 82, 0.55);
  --shadow-lg: 0 20px 40px -18px rgba(110, 30, 82, 0.25);
  --shadow-hover: 0 20px 50px -12px rgba(110, 30, 82, 0.35);
  --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent2));
  --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--accent));
  --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent));
  --gradient-marron: linear-gradient(135deg, var(--marron), var(--marron-claro));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .display { font-family: 'Sora', sans-serif; }



/* Espaçamento para parágrafos e outros elementos (sem centralização) */
.esp-details, .esp-features, .esp-process, .faq-section, .cta-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

img { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { position: relative; }

.sec { padding: 60px 0; }

.sec-head { max-width: 640px; margin-bottom: 64px; }

.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;

}

.sec-head p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.05rem;
  text-align: left;
  line-height: 1.6;
}
.sec-text-center{
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.6;
}



.sec-alt { background: var(--bg-alt); }
.fonte-branca { color: var(--bg-alt); }

/* ============================================================
   3. COMPONENTS
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
  border-radius: 2px;
}

/* Chip-balloon (like float-chip from 01/index.html) */
.chip-balloon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: default;
  margin-bottom: 20px;
}

.chip-balloon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.chip-balloon:hover {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(252, 165, 2, 0.12);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -8px rgba(110, 30, 82, 0.6);
  background: var(--primary-dark);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover { transform: translateY(-3px); }

/* Badge / Tag component */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-plataformas { background: #e8f0fe; color: #1a73e8; }
.badge-aquisicao { background: #e6f7ed; color: #0d9f4e; }
.badge-autoridade { background: #fef3e2; color: #d98c00; }
.badge-ia { background: #f0e6ff; color: #7c3aed; }
.badge-infra { background: #e6edf5; color: #2c5282; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.stagger .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.15s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.25s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.35s; }
.stagger .reveal:nth-child(5) { transition-delay: 0.45s; }
.stagger .reveal:nth-child(6) { transition-delay: 0.55s; }
.stagger .reveal:nth-child(7) { transition-delay: 0.65s; }
.stagger .reveal:nth-child(8) { transition-delay: 0.75s; }
.stagger .reveal:nth-child(9) { transition-delay: 0.85s; }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   4. HEADER / NAV
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  transition: opacity 0.35s var(--ease);
}

/* White logo — visible on transparent header (before scroll) */
.logo .logo-white {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 1;
}

/* Default/color logo — hidden until scroll */
.logo .logo-default {
  opacity: 0;
  z-index: 0;
}

/* On scroll: swap visibility */
header.scrolled .logo .logo-white {
  opacity: 0;
  z-index: 0;
}
header.scrolled .logo .logo-default {
  opacity: 1;
  z-index: 1;
}

nav.desktop-nav { display: flex; gap: 34px; }

nav.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

nav.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

nav.desktop-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav a {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 14px 0;
 
}

.mobile-nav .close-x {
  position: absolute;
  top: 26px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============================================================
   5. HERO (estrutura visual = Palma Web)
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
  background: var(--primary);
  position: relative;
}

/* Stars canvas */
#stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(233, 78, 146, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 78, 146, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Hero background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-dark);
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Hero background — photo (existing) */
.hero-bg .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
}

/* Hero background — pattern (xadrez) */
.hero-bg .pattern {
    position: absolute;
    top: -240px;
    right: -350px;
    width: auto;
    height: 130%;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
    /* opacity: 0.8; */
    pointer-events: none;
}

/* Tint overlay — orange-to-green soft-light */
.hero-bg .tint {
  position: absolute;
  inset: 0;
  z-index: 2;
      background: linear-gradient(115deg, #ffa600, #764d00);
  mix-blend-mode: soft-light;
}

/* Veil overlay — dark vignette edges */
.hero-bg .veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, #3a2600 0%, #8f5d00 30%, #fca50266 56%, #201a0f00 100%), linear-gradient(0deg, #fca502 0%, #522f028f 14%, #fda60066 34%), linear-gradient(180deg, #784300 0%, rgb(141 89 0 / 83%) 18%, transparent 36%);
         }

/* Glow overlay — pink radial screen */
.hero-bg .glowR {
  position: absolute;
  inset: 0;
  z-index: 4;
    /*background: radial-gradient(52% 68% at 76% 38%, #6e4800, #ffa600 68%);*/
      background: radial-gradient(80% 90% at 76% 50%, #020100, #d38b1f 87%);

  mix-blend-mode: screen;
}

/* ============================================================
   CHESS PIECES (hero decoration — right side march)
   ============================================================ */
.chess-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  transform: translateX(130px);
}

.chess-stage .piece {
  position: absolute;
  bottom: 21%;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  opacity: 0;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5));
}

.chess-stage .piece img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ground shadow */
.chess-stage .ground-shadow {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 120%;
  height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 72%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

/* Dust puff */
.chess-stage .dust {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: 60%;
  height: 20%;
  transform: translate(-50%, 0) scale(0.2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 190, 120, 0.5), rgba(233, 190, 120, 0) 75%);
  opacity: 0;
  pointer-events: none;
}

/* Piece positions — right side (60-92%) */
.chess-stage .p-king     { left: 53%;   width: 14%;   z-index: 15; bottom: 23%;}
.chess-stage .p-bishop-l { left: 49%;  width: 10%;    z-index: 24; bottom: 19%; }
.chess-stage .p-bishop-r { left: 64%;  width: 10%;    z-index: 26; bottom: 18%;}
.chess-stage .p-pawn-l   { left: 45%;  width: 7.5%;  z-index: 20; bottom: 23%; }
.chess-stage .p-pawn-r   { left: 74%;  width: 8.5%;  z-index: 15; bottom: 23%; }



/* Walking animations */
@keyframes walkKing {
  0%   { opacity: 0; transform: translate(0, 8%) scale(0.6); filter: blur(4px); }
  12%  { opacity: 1; filter: blur(2px); }
  50%  { transform: translate(0.3%, -1.2%) scale(1.03); filter: blur(0.3px); }
  75%  { transform: translate(-0.15%, 0.5%) scale(0.99); }
  90%  { transform: translate(0.08%, -0.15%) scale(1.005); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); filter: blur(0); }
}

@keyframes walkFromLeft {
  0%   { opacity: 0; transform: translate(-35vw, 1%) rotate(0deg); }
  8%   { opacity: 1; }
  20%  { transform: translate(-26vw, -1.4%) rotate(-3.5deg); }
  35%  { transform: translate(-17vw, 0.7%) rotate(2.5deg); }
  50%  { transform: translate(-9vw, -1.2%) rotate(-3deg); }
  65%  { transform: translate(-4vw, 0.5%) rotate(1.5deg); }
  80%  { transform: translate(-1.2vw, -0.4%) rotate(-0.8deg); }
  92%  { transform: translate(-0.3vw, 0.1%) rotate(0.3deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes walkFromRight {
  0%   { opacity: 0; transform: translate(35vw, 1%) rotate(0deg); }
  8%   { opacity: 1; }
  20%  { transform: translate(26vw, -1.4%) rotate(3.5deg); }
  35%  { transform: translate(17vw, 0.7%) rotate(-2.5deg); }
  50%  { transform: translate(9vw, -1.2%) rotate(3deg); }
  65%  { transform: translate(4vw, 0.5%) rotate(-1.5deg); }
  80%  { transform: translate(1.2vw, -0.4%) rotate(0.8deg); }
  92%  { transform: translate(0.3vw, 0.1%) rotate(-0.3deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes walkShortLeft {
  0%   { opacity: 0; transform: translate(-25vw, 1%) rotate(0deg); }
  10%  { opacity: 1; }
  25%  { transform: translate(-18vw, -1.6%) rotate(-4deg); }
  42%  { transform: translate(-10vw, 0.8%) rotate(3deg); }
  60%  { transform: translate(-4.5vw, -1.2%) rotate(-2.5deg); }
  78%  { transform: translate(-1.2vw, 0.4%) rotate(1.2deg); }
  92%  { transform: translate(-0.3vw, -0.2%) rotate(-0.4deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes walkShortRight {
  0%   { opacity: 0; transform: translate(25vw, 1%) rotate(0deg); }
  10%  { opacity: 1; }
  25%  { transform: translate(18vw, -1.6%) rotate(4deg); }
  42%  { transform: translate(10vw, 0.8%) rotate(-3deg); }
  60%  { transform: translate(4.5vw, -1.2%) rotate(2.5deg); }
  78%  { transform: translate(1.2vw, 0.4%) rotate(-1.2deg); }
  92%  { transform: translate(0.3vw, -0.2%) rotate(0.4deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes puff {
  0%   { opacity: 0.5; transform: translate(-50%, 0) scale(0.15); }
  100% { opacity: 0;   transform: translate(-50%, 0) scale(2); }
}

/* Animation triggers via JS-added class */
.chess-stage.playing .p-king     { animation: walkKing 1.6s cubic-bezier(.32,.72,.28,1) 0.3s both; }
.chess-stage.playing .p-bishop-l { animation: walkFromLeft 1.3s cubic-bezier(.36,.66,.24,1) 1.2s both; }
.chess-stage.playing .p-bishop-r { animation: walkFromRight 1.3s cubic-bezier(.36,.66,.24,1) 1.5s both; }
.chess-stage.playing .p-pawn-l   { animation: walkShortLeft 1.0s cubic-bezier(.36,.66,.24,1) 2.2s both; }
.chess-stage.playing .p-pawn-r   { animation: walkShortRight 1.0s cubic-bezier(.36,.66,.24,1) 2.6s both; }

.chess-stage.playing .ground-shadow {
  opacity: 1;
}
.chess-stage.playing .p-king     .ground-shadow { transition-delay: 1.8s; }
.chess-stage.playing .p-bishop-l .ground-shadow { transition-delay: 2.4s; }
.chess-stage.playing .p-bishop-r .ground-shadow { transition-delay: 2.7s; }
.chess-stage.playing .p-pawn-l   .ground-shadow { transition-delay: 3.1s; }
.chess-stage.playing .p-pawn-r   .ground-shadow { transition-delay: 3.5s; }

.chess-stage.playing .p-king     .dust { animation: puff 0.6s ease-out 1.9s both; }
.chess-stage.playing .p-bishop-l .dust { animation: puff 0.5s ease-out 2.5s both; }
.chess-stage.playing .p-bishop-r .dust { animation: puff 0.5s ease-out 2.8s both; }
.chess-stage.playing .p-pawn-l   .dust { animation: puff 0.4s ease-out 3.2s both; }
.chess-stage.playing .p-pawn-r   .dust { animation: puff 0.4s ease-out 3.6s both; }

@media (prefers-reduced-motion: reduce) {
  .chess-stage { display: none; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy {
  max-width: 700px;
}

/* Hero kicker (eyebrow badge) */
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 26px;
  letter-spacing: 0.24em;
  background: linear-gradient(110deg, #04934f 0%, #00b75f 38%, #f7c8de 50%, #04934f 62%, #04934f 100%);
  background-size: 260% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(-22px);
  transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}
body.loaded .hero-kicker {
  opacity: 1;
  transform: none;
  animation: kickerSheen 6s ease-in-out 1.9s infinite;
}
@keyframes kickerSheen {
  0% { background-position: 120% 0; }
  20% { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}
@media (max-width: 640px) { .hero-kicker { font-size: 0.66rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-kicker { opacity: 1; transform: none; animation: none; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; }
}

/* Heading animation (phrase/line structure) */
.hero h1 {
  font-size: clamp(2rem, 3.9vw, 3.45rem);
  line-height: 1.09;
  font-weight: 600;
  display: grid;
}
.hero h1 .phrase {
  grid-area: 1/1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero h1 .line > span {
  display: inline-block;
  text-wrap: balance;
  transform: translateY(125%);
  transition: transform 1.05s var(--ease);
}
body.loaded .hero h1 .phrase.active .line > span { transform: translateY(0); }
body.loaded .hero h1 .phrase.active .line:nth-child(2) > span { transition-delay: 0.1s; }
body.loaded .hero h1 .phrase.active .line:nth-child(3) > span { transition-delay: 0.2s; }
body.loaded .hero h1 .phrase.active .line:nth-child(4) > span { transition-delay: 0.3s; }

/* Shimmer effect on gradient text */
.shimmer {
  background: linear-gradient(110deg, #e94e92 0%, #6e1e52 22%, #f7c8de 40%, #e94e92 52%, #6e1e52 66%, #e94e92 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; }
}

/* Subtitle */
.hero .sub {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 50ch;
  margin-top: 22px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(24px);
  transition: 1s var(--ease) 0.5s;
}
body.loaded .hero .sub { opacity: 1; transform: none; }

/* Hero actions (buttons) */
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: nowrap;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: 1s var(--ease) 0.7s;
}
.hero-actions .btn { white-space: nowrap; font-size: 0.92rem; padding: 14px 8px 14px 26px; }
.hero-actions .btn .arr { width: 31px; height: 31px; }
@media (max-width: 640px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
}
body.loaded .hero-actions { opacity: 1; transform: none; }

/* Button styles (solid + line) */
.btn-solid {
  background: var(--gradient-primary);
  color: #fff;
  border: 1px solid var(--accent2);
  box-shadow: 0 16px 44px rgba(110, 30, 82, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-solid .arr { background: rgba(255, 255, 255, 0.15); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 22px 56px #241a2e59; }

.btn-line {
  background: rgba(233, 78, 146, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-line .arr { background: rgba(233, 78, 146, 0.1); }
.btn-line:hover { transform: translateY(-3px); border-color: rgba(233, 78, 146, 0.45); background: rgba(233, 78, 146, 0.09); }

/* Button arr icon */
.btn .arr {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}
.btn .arr svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn:hover .arr { transform: translate(2px, -2px) scale(1.08); }
.btn:active { transform: scale(0.98); }

/* Hero meta (stats row) */
.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  flex-wrap: wrap;
  opacity: 0;
  transition: 1s var(--ease) 0.95s;
}
body.loaded .hero-meta { opacity: 1; }
.hero-meta div {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-meta div::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Scroll cue (mouse icon) */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 1s var(--ease) 1.4s;
}
body.loaded .scroll-cue { opacity: 1; }

.scroll-cue .mouse {
  width: 26px;
  height: 42px;
  border-radius: 100px;
  border: 1.5px solid rgba(233, 78, 146, 0.45);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  background: rgba(63, 16, 48, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transition: 0.4s var(--ease);
}
.scroll-cue .mouse i {
  width: 3.5px;
  height: 8px;
  border-radius: 100px;
  background: var(--gradient-primary);
  box-shadow: 0 0 8px rgba(233, 78, 146, 0.8);
  animation: wheel 1.9s var(--ease) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  71% { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}
.scroll-cue .lbl {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s;
}
.scroll-cue:hover .mouse { border-color: var(--accent); transform: translateY(3px); }
.scroll-cue:hover .lbl { color: var(--accent); }

@media (max-width: 640px) {
  .hero-meta { display: none; }
  .hero-bg {
    background-position: center;
  }
  .hero-bg .photo {
    object-position: center;
    opacity: 0.3;
  }
  .hero-bg .pattern {
    opacity: 0.3;
  }
  .hero-bg .glowR {
    opacity: 0.6;
  }
}
@media (max-height: 600px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .mouse i { animation: none; }
  .hero h1 .line > span { transform: none; }
  .hero .sub, .hero-actions, .hero-meta, .hero-kicker { opacity: 1; transform: none; }
}

/* ============================================================
   6. MARQUEE (Clientes)
   ============================================================ */
.marquee-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.marquee-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 22px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 26s linear infinite;
  gap: 64px;
}

.marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track img {
  height: 60px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.4s, filter 0.4s;
}

.marquee-outer:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-outer:hover .marquee-track img {
  opacity: 0.85;
  filter: grayscale(0) brightness(1);
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   7. ESPECIALIDADES — Páginas Individuais
   ============================================================ */
.esp-content {
  margin-top: 40px;
}

.esp-details {
  max-width: 900px;
  margin: 0 auto;
}

.esp-details h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  color: var(--text);
}

.esp-details > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 40px;
}

.esp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  margin-bottom: 40px;
}

.feature-item {
  position: relative;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FDFCFF, #F6F3FE);
  border-radius: 26px;
  padding: clamp(28px, 3vw, 34px);
  border: 1px solid rgba(139, 92, 246, 0.13);
  box-shadow: 0 1px 2px rgba(20, 10, 50, 0.05), 0 24px 48px -30px rgba(55, 36, 152, 0.35);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow: 0 1px 2px rgba(20, 10, 50, 0.06), 0 34px 64px -28px rgba(55, 36, 152, 0.42);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h4 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  color: #170F2E;
  letter-spacing: -0.02em;
}

.feature-item p {
  font-size: 0.95rem;
  color: #6C6488;
  line-height: 1.55;
  margin: 0;
  margin-top: auto;
  min-width: 0;
  text-align: left;
}

.cta-section {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 60px 0;
  width: 100%;
}

.cta-section h4 {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-solid {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cta-section .btn-solid:hover {
  background: #e89400;
}

.esp-process {
  margin-top: 60px;
}

.esp-process h4 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step {
  text-align: left;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FDFCFF, #F6F3FE);
  border: 1px solid rgba(139, 92, 246, 0.13);
  box-shadow: 0 1px 2px rgba(20, 10, 50, 0.05), 0 24px 48px -30px rgba(55, 36, 152, 0.35);
  transition: all 0.3s ease;
  position: relative;
  min-height: 180px;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow: 0 1px 2px rgba(20, 10, 50, 0.06), 0 34px 64px -28px rgba(55, 36, 152, 0.42);
}

.step-num {
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.3s ease;
}

.step h5 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #170F2E;
  margin-left: 48px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step p {
  font-size: 0.95rem;
  color: #6C6488;
  line-height: 1.55;
  margin: 0;
  margin-left: 48px;
}

.cta-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.faq-section {
  margin-top: 60px;
}

.faq-section .faq-item {
  margin-bottom: 0;
  padding: 24px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease);
}

.faq-section .faq-item:last-child {
  border-bottom: none;
}

.faq-section .faq-item h5 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
  transition: color 0.3s var(--ease);
}

.faq-section .faq-item:hover h5 {
  color: var(--primary);
}

.faq-section .faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.esp-details h4 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

@media (max-width: 1080px) {
  .esp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .esp-features {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  
  .feature-item {
    padding: 26px 22px;
    height: auto;
  }
  
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  
  .step {
    padding: 24px;
    min-height: auto;
  }
  
  .step h5 {
    margin-left: 48px;
  }
  
  .step p {
    margin-left: 48px;
  }
  
  .cta-section {
    margin: 60px 0;
    padding: 60px 24px;
  }
  
  .cta-wrapper {
    flex-direction: column;
  }
  
  .cta-wrapper .btn {
    width: 100%;
  }
  
  .faq-item {
    padding: 20px;
  }
}

/* ============================================================
   8. SOLUÇÕES — Service Cards (estilo Palma Web)
   ============================================================ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}

/* Category colors */
.sol-card[data-category="construir"] { --cat-color: var(--primary); }
.sol-card[data-category="atrair"]    { --cat-color: var(--accent); }
.sol-card[data-category="fortalecer"]{ --cat-color: var(--gold); }
.sol-card[data-category="automatizar"]{ --cat-color: rgba(252,165,2,0.75); }
.sol-card[data-category="sustentar"] { --cat-color: rgba(4,147,79,0.75); }

.sol-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 28px);
  cursor: pointer;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sol-card:hover {
  transform: translateY(-6px);
  border-color: var(--cat-color, var(--line));
  box-shadow: 0 1px 2px rgba(20,10,50,.06), 0 34px 64px -28px rgba(55,36,152,.42);
}

/* Top row: badge + number */
.sol-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.sol-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  background: var(--cat-color, var(--primary));
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.sol-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sol-num {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--cat-color, var(--primary));
  opacity: .5;
}

/* Card title */
.sol-card h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

/* Card description */
.sol-card > p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Delivery wrapper */
.sol-deliver {
  min-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.sol-card:hover .sol-deliver {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.sol-dl {
  display: block;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Chips list — wrapping, no scrollbar */
.sol-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.sol-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 6px;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  flex: 0 0 auto;
  animation: solFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

.sol-chips li:nth-child(1) { animation-delay: 0s; }
.sol-chips li:nth-child(2) { animation-delay: .15s; }
.sol-chips li:nth-child(3) { animation-delay: .3s; }
.sol-chips li:nth-child(4) { animation-delay: .45s; }
.sol-chips li:nth-child(5) { animation-delay: .6s; }
.sol-chips li:nth-child(6) { animation-delay: .75s; }
.sol-chips li:nth-child(7) { animation-delay: .9s; }
.sol-chips li:nth-child(8) { animation-delay: 1.05s; }

/* Chip icon circle */
.sol-chip-ic {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cat-color, var(--primary));
}

.sol-chip-ic svg {
  width: 9px;
  height: 9px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes solFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

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

@media (max-width: 640px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { padding: 20px 18px; }
}

/* Reduce heading spacing for the solutions section */
#solucoes .sec-head { margin-bottom: 40px; }

/* ============================================================
   8. ESPECIALIDADES (índice editorial — cópia exata Palma Web)
   ============================================================ */
.esp {
  position: relative;
  overflow: hidden;
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(90px, 10vw, 150px);
  background: var(--bg-dark);
}
.esp::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, #63400045, transparent 65%);
}
.esp .wrap { position: relative; }

.esp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.esp-head .sec-head { margin-bottom: 0; }

/* Cores de heading no fundo escuro */
.esp .eyebrow { color: var(--accent); }
.esp .eyebrow::before { background: var(--accent); }
.esp .sec-head h2 { color: #fff; }
.esp .sec-head p { color: rgba(255, 255, 255, 0.6); }

.grad-text {
  background: var(--primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.texto-seg {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.esp-count {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 6px;
  white-space: nowrap;
}
.esp-count b {
  color: var(--accent);
  font-weight: 700;
}

.esp-list { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.esp-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 150px 56px;
  align-items: center;
  gap: 24px;
  padding: 26px 10px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding 0.45s var(--ease), opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.esp-row::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(233 207 78 / 0%), #ffad1438 55%, #ffa60000);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.esp-row:hover::before { transform: scaleX(1); }

.esp-row .idx {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
  transition: color 0.4s;
}
.esp-row .name {
  position: relative;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.15;
  transition: transform 0.5s var(--ease);
}
.esp-row .desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  transition: color 0.45s;
  opacity: 0.85;
}
.esp-row .cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  transition: color 0.4s;
}
.esp-row .go {
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.45s var(--ease);
}
.esp-row .go svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease);
}

/* Efeitos de hover (cópia exata Palma Web) */
.esp-row:hover .idx { color: var(--primary-dark); }
.esp-row:hover .name {
  transform: translateX(10px);
  background: var(--primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.esp-row:hover .desc { color: rgba(255, 255, 255, 0.7); }
.esp-row:hover .cat { color: var(--primary-dark); }
.esp-row:hover .go {
  opacity: 1;
  transform: none;
  border-color: rgba(241, 177, 0, 0.63);
  background: #fca502ab;
}
.esp-row:hover .go svg { transform: rotate(0deg); }
.esp-row:focus-visible { outline: none; }
.esp-row:focus-visible .name {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   9. METODOLOGIA
   ============================================================ */
/* Step accent colors */
.method-step[data-step="1"] { --step-color: var(--primary); }
.method-step[data-step="2"] { --step-color: var(--accent); }
.method-step[data-step="3"] { --step-color: var(--gold); }
.method-step[data-step="4"] { --step-color: #8b5cf6; }

/* Grid container — 4 equal columns, no more staircase */
.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  align-items: stretch;
  margin: 0;
  padding: 0;
}

/* Each card */
.method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(110,30,82,0.05);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), border-top-color 0.5s var(--ease);
  overflow: hidden;
  margin: 0;
  height: 100%;
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -16px rgba(110,30,82,0.3);
  border-top: 4px solid var(--step-color, var(--primary));
}

/* Step label - small text above icon */
.step-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--step-color, var(--primary));
  margin-bottom: 12px;
  margin-top: 0;
  opacity: 0.8;
  line-height: 1;
  height: auto;
}

/* Icon — colored squircle */
.method-step .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--step-color, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.method-step .step-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  max-width: 22px;
  max-height: 22px;
  overflow: visible;
  display: block;
}

.method-step:hover .step-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px -6px var(--step-color, var(--primary));
}

/* Title */
.method-step h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
  height: auto;
}

/* Description */
.method-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
  flex-grow: 1;
}

/* ============================================================
   10. CASES
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.case-list { border-top: 1px solid var(--line); }

.case-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: padding 0.3s, background 0.3s;
}

.case-row .ccount {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.75;
  white-space: nowrap;
}

.case-row .ctitle {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
}

.case-row .ctag {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.case-row.active,
.case-row:hover {
  padding-left: 14px;
  background: rgba(252, 165, 2, 0.05);
}

.case-row.active .ctitle,
.case-row:hover .ctitle {
  color: var(--primary);
  transform: translateX(4px);
}

.case-visual {
  position: sticky;
  top: 100px;
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}

.case-visual .cv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
  transition: opacity 0.3s var(--ease);
}

.case-visual .cv-img.swap { opacity: 0; }

.cv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

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

.cv-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.06);
}

.cv-prev { left: 14px; }
.cv-next { right: 14px; }

.cv-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.cv-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s;
}

.cv-dot.on { width: 22px; background: var(--primary); }

/* ============================================================
   11. SOBRE / COUNTERS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.03rem;
  margin-bottom: 16px;
}

.counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.counter-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.counter-card .cnum {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.counter-card .clabel {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ============================================================
   12. FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 800px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  cursor: pointer;
  gap: 20px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--primary); }

.faq-q h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-q .plus {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}

.faq-q .plus::before {
  width: 100%;
  height: 2px;
  top: 12px;
  left: 0;
}

.faq-q .plus::after {
  width: 2px;
  height: 100%;
  left: 12px;
  top: 0;
}

.faq-item.open .plus::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a p {
  padding: 0 4px 26px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
}

/* FAQ — centralizar heading e lista */
#faq .sec-head {
  text-align: center;
  margin: 0 auto;
}

#faq .faq-list {
  margin: 0 auto;
}

/* ============================================================
   13. CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--gradient-dark);
  border-radius: 28px;
  padding: 80px 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  max-width: 680px;
  margin: 0 auto 18px;
}

.cta-final p {
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 34px;
}

.cta-final::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -120px;
  right: -80px;
}

.cta-final::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -60px;
  left: -40px;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
footer { padding: 70px 0 30px; border-top: 1px solid var(--line); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-top h5 {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
  text-align: left;
}

.footer-top li { margin-bottom: 10px; }

.footer-top a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s;
}

.footer-top a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   15. WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: waAppear 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes waAppear {
  to { opacity: 1; transform: translateY(0); }
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.45);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* WhatsApp pulse ring */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* WhatsApp tooltip */
.wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-50%) translateX(8px);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */

/* Fade in up (used by JS) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero title entrance */
.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line span {
  display: block;
  animation: fadeInUp 0.8s var(--ease) forwards;
  opacity: 0;
}

.hero-title-line:nth-child(1) span { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) span { animation-delay: 0.3s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.5s; }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  nav.desktop-nav,
  .header-actions .btn { display: none; }

  .burger { display: flex; }

  .cases,
  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  .case-visual { height: 340px; order: -1; position: relative; top: auto; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .method { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 900px) {
  /* Especialidades — layout responsivo igual Palma Web */
  .esp-row {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 16px;
    padding: 22px 4px;
  }
  .esp-row .desc {
    grid-column: 2;
    grid-row: 2;
    margin-top: 4px;
  }
  .esp-row .cat { display: none; }
  .esp-row .go {
    width: 38px;
    height: 38px;
    grid-column: 3;
    grid-row: 1 / 3;
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }

  .sec { padding: 80px 0; }

  .counters { grid-template-columns: 1fr; }

  .cta-final { padding: 56px 26px; }

  .footer-top { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  .method { grid-template-columns: 1fr; }
  .method-step { padding: 28px 22px 24px; }
}

/* Small mobile */
@media (max-width: 400px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { padding: 22px 18px; }
}

/* Dispositivos sem hover (touch) — mostra a seta sempre */
@media (hover: none) {
  .esp-row .go { opacity: 1; transform: none; }
}

/* ============================================================
   18. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .wa-float {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   CONTACT / CTA SECTION (form section)
   ============================================================ */
.contact-section {
  background: var(--bg-dark);
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 8rem 0;
  }
}

.contact-grid {
  display: grid;
  gap: 3.5rem;
}

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

.contact-section h2.reveal.delay-1 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
  color: #fff;
}

.contact-section p.reveal.delay-2 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Dark theme — chip balloon */
.contact-section .chip-balloon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: var(--primary);
}

.contact-section .chip-balloon:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary);
}

/* Dark theme — bullets */
.contact-bullets {
  margin-top: 2.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(252, 165, 2, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-bullet-item {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.contact-bullet-item strong {
  color: rgba(255, 255, 255, 0.85);
}

/* Dark theme — form card */
.contact-card-box {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Dark theme — form labels */
.contact-card-box .form-label {
  color: rgba(255, 255, 255, 0.75);
}

/* Dark theme — form inputs */
.contact-card-box .form-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.85);
}

.contact-card-box .form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-card-box .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 165, 2, 0.15);
}

/* Dark theme — service buttons */
.contact-card-box .service-select-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.7);
}

.contact-card-box .service-select-btn:hover {
  border-color: var(--primary);
}

.contact-card-box .service-select-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Dark theme — success box */
.contact-card-box .success-title {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card-box .success-desc {
  color: rgba(255, 255, 255, 0.55);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-input {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 165, 2, 0.15);
}

textarea.form-input {
  resize: none;
}

.service-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.service-select-btn {
  padding: 0.375rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.service-select-btn:hover {
  border-color: var(--primary);
}

.service-select-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px -6px rgba(252, 165, 2, 0.5);
}

.btn-submit svg {
  transition: transform 0.3s;
}

.btn-submit:hover svg {
  transform: translate(2px, -2px);
}

.success-box {
  display: none;
  min-height: 24rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-box.show {
  display: flex;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(252, 165, 2, 0.1);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.success-desc {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   ESPECIALIDADES - Header Styles (exclusivo)
   ============================================================ */

/* Container exclusivo para header das especialidades */
.esp-header {
  max-width: 720px;
  margin: 0 auto 48px auto;
  text-align: center;
}

/* Chip/balão exclusivo para especialidades */
.esp-header .esp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.esp-header .esp-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

/* Título exclusivo - mesma formatação da index */
.esp-header .esp-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}

/* Subtítulo exclusivo */
.esp-header .esp-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}


/* ============================================================
   ESPECIALIDADES - Títulos e Subtítulos (classes exclusivas)
   ============================================================ */

/* Container do header das especialidades - centralizado */
.esp-header-center {
  max-width: 720px;
  margin: 0 auto 48px auto;
  text-align: center;
}

/* Título principal das especialidades - mesma fonte/formato da index */
.esp-title-center {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Subtítulo das especialidades - formato igual à index */
.esp-subtitle-center {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Títulos H3 dentro do conteúdo das especialidades - centralizados */
.esp-content h3 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  margin: 48px 0 20px 0;
}

/* Títulos H4 dentro do conteúdo das especialidades - centralizados */
.esp-content h4 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  margin: 32px 0 12px 0;
}

/* Parágrafos dentro do conteúdo - centralizados */
.esp-content > p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   ESPECIALIDADES - Formatação de Textos (classes exclusivas)
   ============================================================ */

/* Container do header - centralizado e com largura máxima */
.esp-header-center {
  max-width: 800px;
  margin: 0 auto 48px auto;
  text-align: center;
}

/* Título principal - mesma formatação da index (Sora, peso 800, etc) */
.esp-title-center {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Subtítulo - centralizado e com formatação igual à index */
.esp-subtitle-center {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Títulos H3 dentro do conteúdo - CENTRALIZADOS */
.esp-content h3 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  margin: 48px 0 20px 0;
}

/* Títulos H4 dentro do conteúdo - CENTRALIZADOS */
.esp-content h4 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  margin: 32px 0 12px 0;
}

/* Parágrafos dentro do conteúdo - CENTRALIZADOS */
.esp-content > p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   ESPECIALIDADES - Classes Exclusivas para Títulos e Textos
   ============================================================ */

/* Container do header - centralizado */
.esp-header-center {
  max-width: 800px;
  margin: 0 auto 48px auto;
  text-align: center;
}

/* Título principal - mesma formatação da index (Sora 800) */
.esp-title-center {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Subtítulo - centralizado */
.esp-subtitle-center {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Títulos H3 no conteúdo - CENTRALIZADOS */
.esp-content h3 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  margin: 48px 0 20px 0;
}

/* Títulos H4 no conteúdo - CENTRALIZADOS */
.esp-content h4 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  margin: 32px 0 12px 0;
}

/* Parágrafos no conteúdo - CENTRALIZADOS */
.esp-content > p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   ESPECIALIDADES - Classes Exclusivas para Substituir Index
   ============================================================ */

/* Seção - substitui .sec */
.esp-sec {
  padding: 60px 0;
}

/* Container - substitui .wrap */
.esp-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Cabeçalho da seção - substitui .sec-head */
.esp-sec-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.esp-sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.esp-sec-head p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Animação de revelação - substitui .reveal */
.esp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22, .98, .36, 1), transform 0.8s cubic-bezier(.22, .98, .36, 1);
}

.esp-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Chip balloon - substitui .chip-balloon */
.esp-chip-balloon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: default;
  margin-bottom: 20px;
}

.esp-chip-balloon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.esp-chip-balloon:hover {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(252, 165, 2, 0.12);
  transform: translateY(-1px);
}

/* Botão base - substitui .btn */
.esp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.22, .98, .36, 1), box-shadow 0.35s cubic-bezier(.22, .98, .36, 1), background 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.esp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.esp-btn:hover::after {
  opacity: 1;
}

/* Botão sólido - substitui .btn-solid */
.esp-btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(110, 30, 82, 0.55);
}

.esp-btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -8px rgba(110, 30, 82, 0.6);
  background: var(--primary-dark);
}

/* Efeito magnético - substitui .magnetic */
.esp-magnetic {
  position: relative;
}

.esp-magnetic .arr {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(.22, .98, .36, 1);
  background: rgba(255, 255, 255, 0.15);
}

.esp-magnetic .arr svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.esp-magnetic:hover .arr {
  transform: translate(2px, -2px) scale(1.08);
}

/* ============================================================
   reCAPTCHA — selo oculto + aviso legal (uso permitido pelo Google
   quando a informação de proteção é exibida no formulário)
   ============================================================ */
.grecaptcha-badge { visibility: hidden !important; }

.recaptcha-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 14px 0 0;
}

.recaptcha-note a {
  color: inherit;
  text-decoration: underline;
}

/* Espaço do widget de checkbox (aparece só quando a chave exigir clique) */
.recaptcha-holder:not(:empty) {
  margin: 14px 0 4px;
}

/* ============================================================
   PÁGINAS LEGAIS (Privacidade / Termos de Serviço)
   ============================================================ */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
}

.legal-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  margin: 36px 0 12px;
}

.legal-content h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
}

.legal-content p { margin-bottom: 14px; }

.legal-content ul,
.legal-content ol {
  margin: 12px 0 18px;
  padding-left: 24px;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
