/* ======================================================================
   RS DIGITAL — STYLESHEET
   Estrutura deste arquivo:
   1. Reset & Base
   2. Variáveis (Design Tokens)
   3. Tipografia
   4. Utilitários (container, grid, seções)
   5. Botões e Badges
   6. Header e Navegação
   7. Hero
   8. Seção "Por que escolher"
   9. Seção "Como funciona"
   10. Seção "Planos"
   11. Seção "Portfólio"
   12. Seção "Depoimentos"
   13. Seção "Automações"
   14. Seção "FAQ"
   15. CTA Final
   16. Footer
   17. Responsivo — Tablet
   18. Responsivo — Mobile
   ====================================================================== */


/* ======================================================================
   1. RESET & BASE
   ====================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* compensa o header fixo ao navegar por âncoras */
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ======================================================================
   2. VARIÁVEIS (DESIGN TOKENS)
   ====================================================================== */
:root {
  /* Paleta principal — preto, branco e azul (usado como destaque, não como base) */
  --bg: #08090C;              /* preto quase absoluto, sem tingimento azul */
  --bg-alt: #0E0F13;          /* variação sutil para alternar seções */
  --card: #131418;            /* grafite neutro — não é mais um azul-marinho */
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(61, 107, 255, 0.45);

  --primary: #3D6BFF;         /* azul de destaque — usado com intenção, não como fundo */
  --primary-dark: #0C1E80;
  --primary-glow: rgba(61, 107, 255, 0.28);

  --secondary: #EEF2FF;       /* quase-branco com um leve frio de azul — usado só em "brilhos" de gradiente */
  --secondary-glow: rgba(238, 242, 255, 0.14);

  --gold: #C9A96E;            /* dourado suave — usado só em pequenos selos de confiança */
  --gold-neon: #FFCB3D;        /* dourado vibrante com brilho — destaque dos depoimentos */

  --text: #FFFFFF;
  --text-secondary: #A3A7B3;  /* cinza neutro, sem viés azul, para não competir com o azul de destaque */
  --text-muted: #63666F;

  --border: rgba(255, 255, 255, 0.08);

  /* Tipografia */
  --font-body: 'Sora', sans-serif;
  --font-heading: 'Sora', sans-serif;

  /* Espaçamento */
  --space-section: 120px;
  --space-section-mobile: 72px;
  --container-max: 1200px;
  --container-padding: 40px;

  /* Bordas */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-card: 0 20px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 12px 32px rgba(61, 107, 255, 0.3);
  --shadow-glow-secondary: 0 12px 32px rgba(255, 255, 255, 0.1);
}


/* ======================================================================
   3. TIPOGRAFIA
   ====================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}


/* ======================================================================
   4. UTILITÁRIOS
   ====================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--bg-alt);
  position: relative;
}

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

.section-head .section-lead {
  font-size: 17px;
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 22px; height: 22px; }

.icon-check {
  width: 18px;
  height: 18px;
  color: var(--text);
  flex-shrink: 0;
  stroke-width: 2.4;
}


/* ======================================================================
   5. BOTÕES E BADGES
   ====================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-primary);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Ícone do WhatsApp (logo oficial, preenchido) em verde, mantendo o fundo azul do botão */
.btn-whatsapp-icon .icon-whatsapp-logo {
  fill: #25D366;
  stroke: none;
}

.btn-header {
  margin-left: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(61, 107, 255, 0.1);
  border: 1px solid rgba(61, 107, 255, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.badge svg { width: 14px; height: 14px; }


/* ======================================================================
   6. HEADER E NAVEGAÇÃO
   ====================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo-text strong {
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
}

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

/* Menu mobile — construído com truque de checkbox (sem JavaScript) */
.menu-toggle-checkbox {
  display: none;
}

.menu-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.menu-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  transition: max-height 0.35s ease;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--container-padding) 24px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a.btn {
  border-bottom: none;
  margin-top: 12px;
  text-align: center;
  color: #FFFFFF;
}


/* ======================================================================
   7. HERO
   ====================================================================== */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 40%, #C9D3E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

.hero-badge .icon-check {
  color: var(--gold);
}

/* --- Mockup de notebook em CSS puro --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.laptop {
  width: 100%;
  max-width: 520px;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.laptop-screen {
  background: #060A13;
  border: 10px solid #1A2436;
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #202B40 0%, #141C2C 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
}

.laptop-base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 22%;
  height: 8px;
  background: #0B111C;
  border-radius: 0 0 6px 6px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0E1626;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.browser-url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.browser-content {
  padding: 24px;
  background:
    radial-gradient(ellipse at top right, rgba(61, 107, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(238, 242, 255, 0.06) 0%, transparent 55%);
}

.bc-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.bc-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bc-link {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.bc-btn {
  margin-left: auto;
  width: 60px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  opacity: 0.85;
}

.bc-hero {
  margin-bottom: 28px;
}

.bc-line {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 10px;
}

.bc-line-lg { width: 80%; height: 16px; background: rgba(255, 255, 255, 0.25); }
.bc-line-md { width: 55%; }

.bc-cta {
  display: block;
  width: 90px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-top: 16px;
}

.bc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bc-card {
  height: 50px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Tela do notebook: leve inclinação e sombra no hover --- */
.laptop {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.laptop-screen {
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover .laptop {
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

.hero-visual:hover .laptop-screen {
  box-shadow:
    0 55px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Showcase de projetos dentro da tela do notebook --- */
.browser-content-showcase {
  padding: 0;
  background: #060A13;
}

.project-slideshow {
  position: relative;
  width: 100%;
  /* Mantém a mesma proporção de conteúdo que o mockup ilustrativo ocupava */
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.project-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: slideShow 12s infinite;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: kenBurns 12s infinite;
}

.project-slide-1 { animation-delay: 0s; }
.project-slide-1 img { animation-delay: 0s; }

.project-slide-2 { animation-delay: -4s; }
.project-slide-2 img { animation-delay: -4s; }

.project-slide-3 { animation-delay: -8s; }
.project-slide-3 img { animation-delay: -8s; }

/* Fade alternado: cada slide fica ~4s visível, com transição suave entre os dois */
@keyframes slideShow {
  0%     { opacity: 0; }
  3%     { opacity: 1; }
  30%    { opacity: 1; }
  33.33%    { opacity: 0; }
  100%   { opacity: 0; }
}

/* Ken Burns: zoom extremamente suave, sem exageros */
@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Reflexo de vidro sutil sobre a tela, reforçando a sensação premium */
.screen-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 18%,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Badge discreto indicando o projeto em exibição, sincronizado com o slide */
.project-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(6, 10, 19, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  opacity: 0;
  animation: slideShow 12s infinite;
}

.project-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 6px rgba(40, 200, 64, 0.7);
  flex-shrink: 0;
}

.project-badge-1 { animation-delay: 0s; }
.project-badge-2 { animation-delay: -4s; }
.project-badge-3 { animation-delay: -8s; }
/* Cards flutuantes sobre o mockup */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 28, 46, 0.9);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
}

.floating-card svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
  flex-shrink: 0;
}

.floating-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.floating-card span {
  font-size: 12px;
  color: var(--text-secondary);
}

.floating-card-1 {
  top: 8%;
  left: -8%;
}

.floating-card-2 {
  bottom: 6%;
  right: -6%;
}

.floating-card-2 svg { color: var(--secondary); }


/* ======================================================================
   8. SEÇÃO "POR QUE ESCOLHER"
   ====================================================================== */
.feature-card {
  text-align: left;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(61, 107, 255, 0.12);
  border: 1px solid rgba(61, 107, 255, 0.3);
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

.feature-card:hover,
.testimonial-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
}

/* --- Variação "cromada": fundo claro só nesta seção, para dar respiro visual --- */
.section-chrome {
  background: linear-gradient(120deg, #F4F5F7 0%, #E6E8EC 45%, #F7F8FA 100%);
  position: relative;
}

.section-chrome .eyebrow {
  color: var(--primary-dark);
}

.section-chrome h2 {
  color: #101218;
}

.section-chrome .section-lead {
  color: #565B66;
}

.section-chrome .feature-card {
  background: #0B0C10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(15, 20, 34, 0.18);
}

.section-chrome .feature-card h3 {
  color: #FFFFFF;
}

.section-chrome .feature-card p {
  color: var(--text-secondary);
}

.section-chrome .feature-card:hover {
  border-color: rgba(255, 203, 61, 0.5);
}

.section-chrome .feature-icon {
  background: rgba(255, 203, 61, 0.12);
  border: 1px solid rgba(255, 203, 61, 0.35);
  color: var(--gold-neon);
  box-shadow: 0 0 18px rgba(255, 203, 61, 0.25);
}

.section-chrome .automation-list li {
  color: #4B4F58;
}


/* ======================================================================
   9. SEÇÃO "COMO FUNCIONA"
   ====================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  column-gap: 28px;
  align-items: start;
}

.step {
  position: relative;
}

.step-number {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(61, 107, 255, 0.1);
  border: 1px solid rgba(61, 107, 255, 0.3);
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step h3 { margin-bottom: 8px; font-size: 18px; }
.step p { font-size: 14px; }

.step-line {
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.35;
  margin-top: 21px;
}


/* ======================================================================
   10. SEÇÃO "ORÇAMENTO GRATUITO"
   ====================================================================== */
.quote-section {
  position: relative;
  overflow: hidden;
}

.quote-section-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.quote-section .container {
  position: relative;
  z-index: 1;
}

.quote-section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.quote-section-head h2 {
  font-size: 44px;
}

.neon-highlight {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow), 0 0 26px rgba(61, 107, 255, 0.55), 0 0 46px rgba(61, 107, 255, 0.3);
}

.quote-section-head .badge {
  margin-top: 8px;
  margin-bottom: 0;
}

.quote-form-wrap {
  display: flex;
  justify-content: center;
}

.quote-form-card {
  width: 100%;
  max-width: 640px;
  padding: 40px;
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.form-group .optional-tag {
  font-weight: 400;
  color: var(--text-muted);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  background: #0E1626;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.15);
}

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

.quote-form button {
  margin-top: 8px;
}

.quote-form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}


/* ======================================================================
   11. SEÇÃO "PORTFÓLIO"
   ====================================================================== */
.portfolio-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0E1626;
}

.pt-browser-bar {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
}

.pt-browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.pt-content {
  padding: 18px;
}

.pt-hero {
  height: 44px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.pt-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pt-lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.pt-lines span:nth-child(1) { width: 90%; }
.pt-lines span:nth-child(2) { width: 70%; }
.pt-lines span:nth-child(3) { width: 45%; }

.portfolio-thumb-1 .pt-hero { background: linear-gradient(135deg, var(--primary), #05060A); }
.portfolio-thumb-2 .pt-hero { background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); }
.portfolio-thumb-3 .pt-hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); }

/* Thumb com print real do site (ex.: Liliane Personal) */
.portfolio-thumb-img {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.portfolio-thumb-img .pt-browser-bar {
  flex: 0 0 auto;
}

.pt-screenshot {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .pt-screenshot {
  transform: scale(1.04);
}

.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 12px;
}

.portfolio-info h3 { font-size: 17px; margin-bottom: 4px; }

.portfolio-category {
  font-size: 12.5px;
  color: var(--text-muted);
}

.portfolio-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.portfolio-note code {
  color: var(--text-secondary);
  font-family: monospace;
}


/* ======================================================================
   12. SEÇÃO "DEPOIMENTOS"
   ====================================================================== */
.testimonial-card {
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 64px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.stars {
  color: var(--gold-neon);
  text-shadow: 0 0 10px rgba(255, 203, 61, 0.7), 0 0 22px rgba(255, 203, 61, 0.35);
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-size: 14px;
}

.testimonial-card p {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-neon);
  background: rgba(255, 203, 61, 0.14);
  border: 2px solid var(--gold-neon);
  box-shadow: 0 0 16px rgba(255, 203, 61, 0.35);
}

.testimonial-author strong {
  display: block;
  font-size: 14.5px;
}

.testimonial-author div span {
  font-size: 13px;
  color: var(--text-muted);
}


/* ======================================================================
   13. SEÇÃO "AUTOMAÇÕES"
   ====================================================================== */
.automation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.automation-text .section-lead { margin-bottom: 28px; }

.automation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.automation-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.automation-list .icon-check {
  stroke: url(#chromeGold);
  filter: drop-shadow(0 0 3px rgba(184, 134, 46, 0.5));
}

.automation-form-card h3 { margin-bottom: 10px; }

.form-hint {
  font-size: 13.5px;
  margin-bottom: 22px;
}

.automation-form textarea {
  width: 100%;
  background: #0E1626;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 16px;
  resize: vertical;
  margin-bottom: 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.automation-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.15);
}

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


/* ======================================================================
   14. SEÇÃO "FAQ"
   ====================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 6px 28px;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--card-border-hover);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] .icon-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  font-size: 14.5px;
  padding-bottom: 22px;
}


/* ======================================================================
   15. CTA FINAL
   ====================================================================== */
.cta-final {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at top left, rgba(61, 107, 255, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(238, 242, 255, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-final-inner {
  max-width: 720px;
}

.cta-final h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-final p {
  font-size: 17px;
  margin-bottom: 40px;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ======================================================================
   16. FOOTER
   ====================================================================== */
.site-footer {
  background: var(--bg-alt);
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 32px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}


/* ======================================================================
   17. RESPONSIVO — TABLET (até 1024px)
   ====================================================================== */
@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
    --space-section: 96px;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

  .main-nav { display: none; }

  .menu-burger { display: flex; }

  .mobile-nav { display: block; }

  #menu-toggle:checked ~ .mobile-nav {
    max-height: 400px;
  }

  #menu-toggle:checked ~ .header-inner .menu-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #menu-toggle:checked ~ .header-inner .menu-burger span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked ~ .header-inner .menu-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* .mobile-nav e .header-inner são, ambos, irmãos diretos de #menu-toggle dentro do <header> */

  .btn-header { display: none; }

  .hero { padding: 160px 0 90px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-visual { order: -1; }

  .laptop {
    max-width: 440px;
    margin: 0 auto;
    transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  }

  .floating-card { display: none; }

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

  .steps {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 48px;
  }

  .step-line { display: none; }

  .quote-form-card {
    padding: 28px 22px;
  }

  .quote-form-row {
    grid-template-columns: 1fr;
  }

  .quote-section-head h2 {
    font-size: 30px;
  }

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

  .grid-2.testimonial-grid { grid-template-columns: 1fr; }

  .automation-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 16px;
  }
}


/* ======================================================================
   18. RESPONSIVO — MOBILE (até 640px)
   ====================================================================== */
@media (max-width: 640px) {
  :root {
    --space-section: var(--space-section-mobile);
  }

  h1 { font-size: 34px; }
  h2 { font-size: 26px; }

  .header-inner { height: 72px; }

  .hero { padding: 130px 0 64px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-badges { flex-direction: column; gap: 14px; }

  .laptop { max-width: 100%; transform: none; }

  .section-head { margin-bottom: 44px; }

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

  .steps { grid-template-columns: 1fr; row-gap: 36px; }

  .grid-3.portfolio-grid { grid-template-columns: 1fr; }

  .cta-final h2 { font-size: 28px; }

  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
