 /* ============================================================
   base.css — Estilos compartilhados entre todas as páginas
   ============================================================ */

/* ===== VARIÁVEIS ===== */
:root {
  --background:        hsl(225, 22%, 6%);
  --foreground:        hsl(210, 25%, 96%);
  --card:              hsl(225, 20%, 9%);
  --card-foreground:   hsl(210, 25%, 96%);
  --primary:           hsl(152, 68%, 46%);
  --primary-fg:        hsl(225, 22%, 6%);
  --secondary:         hsl(225, 16%, 14%);
  --secondary-fg:      hsl(210, 20%, 88%);
  --muted:             hsl(225, 14%, 12%);
  --muted-fg:          hsl(220, 10%, 65%); /* contraste vs --background: ~7.7:1 ✅ passa WCAG AA (4.5:1) e AAA (7:1) — auditado 24/05/2026 */
  --accent:            hsl(205, 85%, 55%);
  --destructive:       hsl(0, 72%, 55%);
  --border:            hsl(225, 14%, 15%);
  --surface-elevated:  hsl(225, 18%, 11%);
  --surface-glass:     hsl(225, 18%, 10%);
  --text-bright:       hsl(210, 30%, 98%);
  --radius:            0.75rem;
  --shadow-card:       0 8px 32px hsl(0 0% 0% / 0.4);
  --shadow-card-hover: 0 12px 40px hsl(0 0% 0% / 0.5), 0 0 30px hsl(152 68% 46% / 0.08);
  --gradient-hero:     linear-gradient(170deg, hsl(225, 22%, 6%) 0%, hsl(225, 20%, 9%) 40%, hsl(230, 22%, 7%) 100%);
  --gradient-card:     linear-gradient(170deg, hsl(225, 20%, 8%) 0%, hsl(225, 22%, 6%) 100%);
}

/* ===== MODO CLARO ===== */
[data-theme="light"] {
  --background:        hsl(0, 0%, 98%);
  --foreground:        hsl(222, 47%, 11%);
  --card:              hsl(0, 0%, 100%);
  --card-foreground:   hsl(222, 47%, 11%);
  --primary:           hsl(152, 68%, 38%);
  --primary-fg:        hsl(0, 0%, 100%);
  --secondary:         hsl(220, 14%, 93%);
  --secondary-fg:      hsl(215, 28%, 17%);
  --muted:             hsl(220, 14%, 96%);
  --muted-fg:          hsl(220, 9%, 46%);
  --accent:            hsl(205, 85%, 45%);
  --destructive:       hsl(0, 72%, 51%);
  --border:            hsl(220, 13%, 91%);
  --surface-elevated:  hsl(220, 14%, 96%);
  --surface-glass:     hsl(0, 0%, 100%);
  --text-bright:       hsl(222, 47%, 11%);
  --shadow-card:       0 8px 32px hsl(0 0% 0% / 0.08);
  --shadow-card-hover: 0 12px 40px hsl(0 0% 0% / 0.12), 0 0 30px hsl(152 68% 38% / 0.06);
  --gradient-hero:     linear-gradient(170deg, hsl(220, 14%, 96%) 0%, hsl(0, 0%, 100%) 40%, hsl(220, 20%, 97%) 100%);
  --gradient-card:     linear-gradient(170deg, hsl(220, 14%, 97%) 0%, hsl(0, 0%, 100%) 100%);
}
[data-theme="light"] header { background: hsl(0, 0%, 100%, 0.92); border-bottom-color: hsl(220, 13%, 88%); }
[data-theme="light"] #hero { background: var(--gradient-hero); }
[data-theme="light"] .glass-card-elevated { border-color: var(--border); background: var(--surface-elevated); }
[data-theme="light"] .featured-card { background: linear-gradient(145deg, var(--surface-elevated) 0%, var(--card) 100%); border-color: hsl(152,68%,38%,0.2); }
[data-theme="light"] .featured-card:hover { border-color: hsl(152,68%,38%,0.4); }
[data-theme="light"] .mobile-nav { background: hsl(0,0%,100%,.97); border-top-color: var(--border); }
[data-theme="light"] .mob-accordion-panel { border-left-color: var(--border); }
[data-theme="light"] .nav-dropdown-panel { background: hsl(0,0%,100%); box-shadow: 0 16px 48px hsl(0,0%,0%,.12); }
[data-theme="light"] .nav-dropdown-panel a:hover, [data-theme="light"] .nav-dropdown-panel a.active { background: var(--surface-elevated); }
[data-theme="light"] .case-preview { border-color: var(--border); }
[data-theme="light"] .case-preview-img-wrap::after { background: linear-gradient(to top, hsl(0,0%,92%,.6) 0%, transparent 50%); }
[data-theme="light"] .case-zoom { background: hsl(0,0%,98%,.9); border-color: var(--border); }

/* ===== TOGGLE TEMA ===== */
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: transparent; border: 1px solid var(--border); color: var(--muted-fg); cursor: pointer; transition: color .15s, background .15s, border-color .15s; flex-shrink: 0; }
.theme-toggle:hover { background: var(--surface-elevated); color: var(--foreground); }
.theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: flex; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', 'Inter-fallback', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-fg); }

/* ===== ACESSIBILIDADE ===== */
.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.5rem 1.25rem; background: var(--primary); color: var(--primary-fg); font-weight: 700; font-size: 0.875rem; border-radius: 0 0 0.5rem 0.5rem; z-index: 9999; text-decoration: none; }
.skip-link:focus { top: 0; outline: 2px solid var(--primary-fg); outline-offset: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 4px; box-shadow: 0 0 0 6px hsl(152, 68%, 46%, 0.18); }
:focus:not(:focus-visible) { outline: none; }
/* Botões focados: reforço extra de visibilidade */
.btn:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; box-shadow: 0 0 0 6px hsl(152, 68%, 46%, 0.18); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto !important; }
  .reveal, .reveal.from-left, .reveal.from-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse-glow { animation: none !important; }
  #wa-float { animation: none !important; }
}

/* ===== UTILITÁRIOS ===== */
.text-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-bright  { color: var(--text-bright); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted-fg); }
.text-center  { text-align: center; }
.flex         { display: flex; }
.items-center { align-items: center; }
.gap-3        { gap: 0.75rem; }
.mb-2         { margin-bottom: 0.5rem; }
.mx-auto      { margin-left: auto; margin-right: auto; }
.max-w-3xl    { max-width: 48rem; }
.mt-12        { margin-top: 3rem; }
.relative     { position: relative; }

/* ===== CARDS ===== */
.glass-card-elevated {
  background: var(--surface-elevated);
  border: 1px solid hsl(225, 14%, 15%, 0.8);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.glass-card-elevated:hover { box-shadow: var(--shadow-card-hover); border-color: hsl(152, 68%, 46%, 0.2); transform: translateY(-3px); }
.featured-card {
  background: linear-gradient(145deg, var(--surface-elevated) 0%, hsl(225, 18%, 13%) 100%);
  border: 1px solid hsl(152, 68%, 46%, 0.25);
  box-shadow: var(--shadow-card), 0 0 40px hsl(152, 68%, 46%, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.featured-card:hover { border-color: hsl(152, 68%, 46%, 0.4); box-shadow: var(--shadow-card-hover), 0 0 50px hsl(152, 68%, 46%, 0.1); transform: translateY(-3px); }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.section-pad { padding: 3.25rem 0; }
@media (min-width: 768px)  { .section-pad { padding: 7rem 0; } }
@media (min-width: 1024px) { .section-pad { padding: 9rem 0; } }

/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 0.5rem; font-weight: 500; font-size: 0.875rem; cursor: pointer; border: none; transition: all 0.3s; white-space: nowrap; text-decoration: none; }
.btn-whatsapp { background: var(--primary); color: var(--primary-fg); font-weight: 600; box-shadow: 0 4px 16px hsl(152, 68%, 46%, 0.3); }
.btn-whatsapp:hover { background: hsl(152, 68%, 40%); box-shadow: 0 6px 24px hsl(152, 68%, 46%, 0.4); transform: translateY(-1px); }
.btn-cta { border: 2px solid var(--primary); color: var(--primary); background: transparent; font-weight: 600; }
.btn-cta:hover { background: var(--primary); color: var(--primary-fg); }
.btn-lg  { height: 3rem;   padding: 0 1.25rem; font-size: 0.9375rem; border-radius: 0.5rem; }
.btn-xl  { height: 3.5rem; padding: 0 1.5rem;  font-size: 1rem;      border-radius: 0.5rem; }
.btn-default { height: 2.5rem; padding: 0 1rem; }
@media (min-width: 768px) { .btn-lg { padding: 0 2rem; font-size: 1rem; } .btn-xl { padding: 0 2.5rem; font-size: 1.125rem; } }

/* ===== ANIMAÇÕES ===== */
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 4px 16px hsl(152, 68%, 46%, 0.3); } 50% { box-shadow: 0 4px 32px hsl(152, 68%, 46%, 0.6); } }
.pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== CURSOR GRADIENT FOLLOW ===== */
.cursor-gradient { position: absolute; inset: 0; border-radius: inherit; opacity: 0.8; mix-blend-mode: screen; pointer-events: none; transition: background 0.1s ease-out; }
.card .cursor-gradient, .glass-card-elevated .cursor-gradient, .featured-card .cursor-gradient { position: absolute; }
.card { position: relative; }
.glass-card-elevated { position: relative; }
.featured-card { position: relative; }

/* ===== HEADER / NAV ===== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: hsl(225, 18%, 10%, 0.7); backdrop-filter: blur(16px); border-bottom: 1px solid hsl(225, 14%, 15%, 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 768px) { .header-inner { height: 5rem; } }
.logo { font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--foreground); display: flex; align-items: center; line-height: 0; }
@media (min-width: 768px) { .logo { font-size: 1.25rem; } }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; align-items: center; gap: 0.75rem; } }
.menu-btn { display: flex; background: none; border: none; cursor: pointer; color: var(--foreground); padding: 0.5rem; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-nav { display: none; border-top: 1px solid hsl(225, 14%, 15%, 0.5); padding-bottom: 1.5rem; background: hsl(225, 18%, 10%, 0.95); backdrop-filter: blur(16px); }
.mobile-nav.open { display: block; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.mobile-nav a { color: var(--muted-fg); padding: 0.5rem 0; transition: color 0.2s; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav a.btn-whatsapp { color: var(--primary-fg); padding: 0.75rem 1.25rem; }
.mobile-nav a.btn-whatsapp:hover { color: var(--primary-fg); }

/* ===== NAV DROPDOWN (desktop) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { background: none; border: none; cursor: pointer; font-size: 0.875rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.3rem; padding: 0; transition: color 0.2s; font-family: inherit; line-height: 1; }
.nav-dropdown-btn:hover, .nav-dropdown-btn.active { color: var(--primary); }
.nav-chevron { flex-shrink: 0; transition: transform 0.25s; }
.nav-dropdown:hover .nav-chevron,
.nav-dropdown-btn[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 230px; background: hsl(225, 20%, 10%); border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.4rem; box-shadow: 0 16px 48px hsl(0 0% 0% / 0.55); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; z-index: 100; }
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-btn[aria-expanded="true"] + .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-panel a { display: flex; align-items: center; padding: 0.6rem 0.875rem; border-radius: 0.5rem; color: var(--muted-fg); font-size: 0.875rem; transition: background 0.15s, color 0.15s; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a.active { background: hsl(225, 14%, 15%); color: var(--primary); }

/* ===== NAV ACCORDION (mobile) ===== */
.mob-accordion-trigger { background: none; border: none; cursor: pointer; width: 100%; text-align: left; color: var(--muted-fg); padding: 0.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; font-family: inherit; transition: color 0.2s; }
.mob-accordion-trigger:hover, .mob-accordion-trigger[aria-expanded="true"] { color: var(--primary); }
.mob-accordion-chevron { flex-shrink: 0; transition: transform 0.25s; }
.mob-accordion-trigger[aria-expanded="true"] .mob-accordion-chevron { transform: rotate(180deg); }
.mob-accordion-panel { display: none; flex-direction: column; gap: 0; padding-left: 0.875rem; border-left: 2px solid var(--border); margin-top: 0.25rem; }
.mob-accordion-panel.open { display: flex; }
.mob-accordion-panel a { padding: 0.45rem 0; color: var(--muted-fg); font-size: 0.9375rem; transition: color 0.2s; }
.mob-accordion-panel a:hover { color: var(--primary); }

/* ===== HERO ===== */
#hero { position: relative; display: flex; align-items: center; padding-top: 4.5rem; padding-bottom: 1.25rem; margin-top: 4rem; overflow: hidden; background: var(--gradient-hero); }
@media (min-width: 768px) { #hero { padding-top: 5rem; padding-bottom: 3rem; margin-top: 5rem; } }
.hero-grid-bg { position: absolute; inset: 0; opacity: 0.025; background-image: radial-gradient(circle at 1px 1px, hsl(210, 25%, 96%) 1px, transparent 0); background-size: 48px 48px; }
.hero-glow-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: hsl(152, 68%, 46%, 0.04); border-radius: 50%; filter: blur(120px); }
.hero-glow-bottom { position: absolute; bottom: 0; right: 0; width: 400px; height: 400px; background: hsl(205, 85%, 55%, 0.03); border-radius: 50%; filter: blur(100px); }
.hero-content { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; }
.hero-h1 { font-size: 2.5rem; line-height: 1.1; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
@media (min-width: 640px)  { .hero-h1 { font-size: 3rem; } }
@media (min-width: 768px)  { .hero-h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 4.25rem; } }
.hero-sub { font-size: 1rem; color: var(--muted-fg); max-width: 42rem; margin: 0 auto 1.75rem; text-align: center; line-height: 1.7; }
@media (min-width: 768px) { .hero-sub { font-size: 1.125rem; margin-bottom: 2.5rem; } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.95rem; border-radius: 999px; background: hsl(152, 68%, 46%, 0.1); border: 1px solid hsl(152, 68%, 46%, 0.25); color: var(--primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px hsl(152, 68%, 46%, 0.8); }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2.5rem; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 0.3rem; }
.hero-stat-label { font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-stat-divider { width: 1px; background: var(--border); align-self: stretch; }
@media (max-width: 560px) { .hero-stat-divider { display: none; } }
.cta-btns { display: inline-flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .cta-btns { flex-direction: row; gap: 1rem; } }

/* ===== SEÇÕES ===== */
.section-tag { display: block; font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.section-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.25rem; line-height: 1.15; }
@media (min-width: 768px)  { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-desc { color: var(--muted-fg); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .section-desc { font-size: 1.125rem; } }
.section-head { max-width: 48rem; margin: 0 auto; text-align: center; margin-bottom: 3.5rem; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px)  { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px)  { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

/* ===== CARD COMPONENTES ===== */
.card { border-radius: 1rem; display: flex; flex-direction: column; overflow: hidden; }
.card.featured-card    { padding: 1.5rem; }
.card.glass-card-elevated { padding: 1.5rem; }
.card-sm { padding: 1rem; }
.icon-box { display: flex; align-items: center; justify-content: center; border-radius: 0.65rem; background: hsl(152, 68%, 46%, 0.1); color: var(--primary); margin-bottom: 1rem; transition: transform 0.25s, background 0.25s; }
.card:hover .icon-box { transform: scale(1.1); background: hsl(152, 68%, 46%, 0.18); }
.icon-box-lg { width: 3rem; height: 3rem; }
.icon-box-md { width: 2.5rem; height: 2.5rem; }
.icon-box-sm { width: 2rem; height: 2rem; }
.card-title    { font-size: 1.125rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.65rem; }
.card-title-sm { font-size: 1rem;     font-weight: 700; color: var(--text-bright); margin-bottom: 0.5rem; }
.card-title-xs { font-size: 0.875rem; font-weight: 700; color: var(--text-bright); }
.card-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }
.card-benefit-line { margin-top: 1rem; padding-top: 0.875rem; border-top: 1px solid var(--border); }
.card-benefit-line p { font-size: 0.8125rem; color: var(--secondary-fg); line-height: 1.5; }
.solution-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.2rem 0.55rem; border-radius: 999px; background: hsl(152, 68%, 46%, 0.12); color: var(--primary); border: 1px solid hsl(152, 68%, 46%, 0.25); margin-bottom: 0.75rem; }

/* ===== PROCESSO (steps) ===== */
.step-num   { font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; font-size: 2rem; font-weight: 800; color: hsl(152, 68%, 46%, 0.15); line-height: 1; margin-bottom: 0.75rem; }
.step-title { font-size: 0.875rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.4rem; }
.step-desc  { font-size: 0.8rem; color: var(--muted-fg); line-height: 1.5; }

/* ===== FAQ ===== */
.faq-item { border-radius: 0.75rem; margin-bottom: 0.75rem; overflow: hidden; }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; background: none; border: none; padding: 1.1rem 1.25rem; color: var(--foreground); font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; font-size: 0.9375rem; font-weight: 600; cursor: pointer; text-align: left; }
.faq-trigger:hover { color: var(--primary); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; color: var(--muted-fg); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-trigger { color: var(--primary); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-body { max-height: 500px; }
.faq-body-inner { padding: 0 1.25rem 1.1rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* ===== CASES PREVIEW (imagens clicáveis) ===== */
.case-preview { border-radius: 1rem; overflow: hidden; background: var(--gradient-card); border: 1px solid hsl(225, 14%, 15%, 0.8); }
.case-preview img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease; }
.case-preview:hover img { transform: scale(1.06); }
.case-preview-img-wrap { position: relative; overflow: hidden; cursor: zoom-in; }
.case-preview-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, hsl(225,22%,6%,0.65) 0%, transparent 42%); pointer-events: none; }
.case-zoom { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: hsl(225,22%,6%,0.75); backdrop-filter: blur(8px); border: 1px solid hsl(210,25%,96%,0.15); color: var(--foreground); display: flex; align-items: center; justify-content: center; cursor: zoom-in; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s, background 0.2s; pointer-events: none; }
.case-preview:hover .case-zoom { opacity: 1; transform: translateY(0); }
.case-preview-body { padding: 1.25rem; }
.case-preview-tag { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }

/* ===== MODAL DE IMAGEM ===== */
#imgModal { display: none; position: fixed; inset: 0; z-index: 9999; background: hsl(225, 22%, 4%, 0.92); backdrop-filter: blur(8px); flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.5rem; }
#imgModal.open { display: flex; animation: modalFade 0.25s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; animation: modalZoom 0.3s ease; }
@keyframes modalZoom { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#imgModal img { max-width: min(1100px, 92vw); max-height: 78vh; border-radius: 0.75rem; border: 1px solid hsl(210, 25%, 96%, 0.1); box-shadow: 0 30px 90px hsl(0 0% 0% / 0.75); object-fit: contain; }
.modal-caption { font-size: 0.875rem; color: var(--muted-fg); text-align: center; }
.modal-close { position: fixed; top: 1.25rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: hsl(225, 18%, 12%, 0.9); border: 1px solid hsl(210, 25%, 96%, 0.12); color: var(--foreground); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.modal-close:hover { background: var(--destructive); transform: rotate(90deg); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); background: var(--card); }
footer .footer-inner { padding: 3rem 1.5rem; }
@media (min-width: 768px) { footer .footer-inner { padding: 4rem 2rem; } }
@media (min-width: 1024px) { footer .footer-inner { padding: 4rem 3rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 2rem 3rem; } }
.footer-title { font-family: 'Space Grotesk', 'Space-Grotesk-fallback', sans-serif; font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--foreground); margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary); }
.footer-contact a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; display: block; margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; padding-bottom: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--muted-fg); }

/* ===== RESPONSIVIDADE FINA: 360px–414px ===== */
@media (max-width: 479px) {
  /* Botões: permitir quebra de linha para textos longos */
  .btn-lg, .btn-xl {
    white-space: normal;
    height: auto;
    min-height: 3rem;
    line-height: 1.35;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  /* Hero H1: escala fluida para não cortar palavras em 360px */
  .hero-h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); }

  /* Hero badge: reduzir letter-spacing e permitir quebra */
  .hero-badge { letter-spacing: 0.06em; white-space: normal; text-align: center; }

  /* Section title: escala fluida para telas muito estreitas */
  .section-title { font-size: clamp(1.5rem, 6.5vw, 1.875rem); }

  /* grid-4 e grid-5: uma coluna abaixo de 480px (2 col fica apertado a 360px) */
  .grid-4, .grid-5 { grid-template-columns: 1fr; }

  /* Reduzir padding de cards em telas muito estreitas */
  .card.glass-card-elevated, .card.featured-card { padding: 1.125rem; }
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
#wa-float { position: fixed; bottom: 1.5rem; right: 1.25rem; z-index: 50; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px hsl(152, 68%, 46%, 0.4); transition: transform 0.2s; animation: pulse-glow 2.5s ease-in-out infinite; }
@media (min-width: 768px) { #wa-float { bottom: 1.5rem; right: 1.5rem; width: 3.5rem; height: 3.5rem; } }
#wa-float:hover { transform: scale(1.1); }
#wa-float i { color: var(--primary-fg); }
