*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0F1E3D;
  --blue-mid:    #1A2F5A;
  --blue-light:  #243D72;

  --green:       #5bbc7c;
  --green-100:   #ECF7F0;
  --green-700:   #337E4D;
  --green-dark:  #18A864;
  --green-glow:  rgba(91,188,124,.18);

  --gray-bg:     #F4F6F8;
  --gray-border: #E2E6EC;
  --gray-mid:    #8C97A8;
  --gray-text:   #4A5568;

  --white:       #F9FAFB;

  --hero-bg:     #0A1628;
  --hero-card:   #0F1E3D;
  --hero-border: rgba(255,255,255,.08);
  --hero-text:   rgba(255,255,255,.7);

  --bento-large-bg: #121E3B;

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:   'Fira Code', 'Cascadia Code', monospace;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(15,30,61,.08);
  --shadow-md:   0 8px 40px rgba(15,30,61,.12);
  --shadow-lg:   0 20px 60px rgba(15,30,61,.16);

  --transition:  .22s cubic-bezier(.4,0,.2,1);
  --nav-h:       72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--blue);
  background: #F0F2F5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 100px; }

.section-dark {
  background: var(--blue);
  color: var(--white);
}

.section-contact {
  background: var(--gray-bg);
}

.text-accent { color: var(--green); }

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 72px;
}

.section-header-light { color: var(--white); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.section-label-light { color: var(--green); }

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-text);
  line-height: 1.75;
}

.section-header-light p { color: rgba(255,255,255,.6); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91,188,124,.35);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
}

.btn-ghost-light:hover {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--gray-border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-block { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.nav-wrapper.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gray-border);
  box-shadow: 0 2px 20px rgba(15,30,61,.07);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  flex-shrink: 0;
}

.logo-mark {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  transition: color var(--transition);
}

.nav-wrapper.scrolled .logo-mark { color: var(--blue); }

.logo-dot {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.logo-sub {
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.nav-wrapper.scrolled .nav-links a { color: var(--gray-text); }
.nav-links a:hover { color: var(--green) !important; }
.nav-cta { margin-left: 8px; padding: 10px 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-wrapper.scrolled .hamburger span { background: var(--blue); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,188,124,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,188,124,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(91,188,124,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(91,188,124,.3);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 32px;
  background: rgba(91,188,124,.06);
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-accent {
  color: var(--green);
  display: inline-block;
}

.cursor {
  display: inline-block;
  color: var(--green);
  font-weight: 300;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--hero-text);
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hero-border);
}

.stat { display: flex; flex-direction: column; gap: 3px; }

.stat strong {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}

.stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--hero-border);
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 32px;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.3));
}

/* ══════════════════════════════════════════════
   SERVICES — BENTO GRID
   ══════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.bento-card:hover::before { transform: scaleX(1); }

.bento-card:hover {
  border-color: rgba(91,188,124,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bento-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.bento-card p {
  font-size: .9375rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ─── Destaque (.bento-large) ─── */
.bento-large {
  grid-column: span 1;
  background: var(--bento-large-bg);
  border-color: transparent;
}

.bento-large::before { background: var(--green); }

.bento-large:hover {
  border-color: transparent;
  background: var(--blue-mid);
}

.bento-card.bento-large h3 { color: #FFFFFF !important; }
.bento-card.bento-large p { color: rgba(255, 255, 255, 0.85) !important; }

.bento-large .bento-icon { background: rgba(255,255,255,.1); }
.bento-large .bento-icon svg { color: var(--green); }

/* ─── Wide Card ─── */
.bento-wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.bento-wide-content { flex: 1; min-width: 200px; }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.bento-wide .bento-icon { margin-bottom: 0; }
.bento-icon svg { width: 22px; height: 22px; color: var(--green); }
.bento-wide .bento-wide-content p { margin-bottom: 0; }

/* ─── Feature tags ─── */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags li {
  font-size: .8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--green-100); 
  color: var(--green-700);      
  border: none;                 
}

.bento-large .feature-tags li {
  background: rgba(255,255,255,.05); 
  color: var(--green);              
  border: 1px solid var(--green);   
}

.feature-tags-row { flex-direction: row; }

/* ══════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}

.process-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(91,188,124,.25);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--green);
  opacity: .5;
  line-height: 1;
  margin-bottom: 24px;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.process-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════ */
.trust-bar {
  padding-block: 40px;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--blue);
}

.trust-item svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.trust-sep { width: 1px; height: 28px; background: var(--gray-border); }

/* ══════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pricing-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 16px 48px rgba(91,188,124,.12);
}

.pricing-featured:hover { transform: translateY(-4px); }

.pricing-badge-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-top { margin-bottom: 28px; }

.pricing-tier {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.pricing-sub {
  font-size: .875rem;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.price-val {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--blue);
}

.price-tag { font-size: .875rem; color: var(--gray-mid); }
.pricing-recur { font-size: .9375rem; font-weight: 600; color: var(--gray-text); }
.pricing-recur span { font-weight: 400; color: var(--gray-mid); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-block: 28px;
  border-top: 1px solid var(--gray-border);
  padding-top: 24px;
}

.pricing-features li {
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-yes { color: var(--gray-text); }
.f-no  { color: var(--gray-border); text-decoration: line-through; }

.f-yes::before {
  content: '';
  display: block;
  width: 18px; height: 18px; min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235bbc7c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.f-no::before {
  content: '';
  display: block;
  width: 18px; height: 18px; min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8D0DC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label { margin-bottom: 16px; }

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(91,188,124,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; color: var(--green); }

.contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item strong { font-size: .875rem; font-weight: 700; color: var(--blue); }
.contact-item span   { font-size: .9375rem; color: var(--gray-text); }

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--blue);
  background: var(--gray-bg);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: all var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C97A8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-mid); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(91,188,124,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8125rem; color: var(--gray-mid); text-align: center; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--hero-bg);
  color: var(--white);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .logo-mark { color: var(--white); }

.footer-brand p {
  margin-top: 16px;
  font-size: .9375rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 280px;
}

.footer-tagline { margin-top: 20px; }
.t-comment { font-family: var(--font-mono); font-size: .8125rem; color: rgba(91,188,124,.5); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col li a {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col li a:hover { color: var(--green); }
.footer-bottom { padding-block: 24px; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: rgba(255,255,255,.3);
}

/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

.reveal.visible { opacity: 1; transform: none; }

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 64px; height: 64px;
  background: rgba(91,188,124,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-icon svg { width: 32px; height: 32px; color: var(--green); }
.form-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.form-success p  { color: var(--gray-text); font-size: .9375rem; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .bento-large .bento-icon { margin-bottom: 0; align-self: start; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner { padding-bottom: 60px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { gap: 28px; }
  .trust-sep { display: none; }
}

@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .section { padding-block: 72px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(var(--nav-h) + 48px); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; display: block; }
  .bento-large .bento-icon { margin-bottom: 20px; }
  .bento-wide { flex-direction: column; gap: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .section-header { margin-bottom: 48px; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--blue);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
  }
  .nav-links.open a { color: rgba(255,255,255,.8); }
}

/* Formulário */
.cf-req { color: var(--green); margin-left: 2px; }

#grp-message > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-char-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 400;
  color: var(--gray-mid);
  margin-left: auto;
}
.cf-char-count.cf-near  { color: #F59E0B; }
.cf-char-count.cf-limit { color: #EF4444; }

.cf-field-error {
  font-size: .8rem;
  color: #EF4444;
  font-weight: 500;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #EF4444 !important;
  background: #FFF5F5 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1) !important;
}

.form-group.has-error .cf-subject-grid {
  border-radius: var(--radius-sm);
  outline: 2px solid rgba(239,68,68,.3);
}

.cf-dropdown { position: relative; }

.cf-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--gray-mid);
  background: var(--gray-bg);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  outline: none;
}

.cf-dropdown-trigger.has-value { color: var(--blue); }

.cf-dropdown-trigger:hover,
.cf-dropdown-trigger:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(91,188,124,.12);
}

.cf-dropdown-arrow {
  flex-shrink: 0;
  color: var(--gray-mid);
  transition: transform var(--transition);
}

.cf-dropdown.open .cf-dropdown-arrow { transform: rotate(180deg); }

.cf-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(15,30,61,.12);
  z-index: 50;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.cf-dropdown:hover .cf-dropdown-list,
.cf-dropdown.open .cf-dropdown-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cf-dropdown-item {
  padding: 11px 16px;
  font-size: .9375rem;
  color: var(--gray-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--gray-border);
}

.cf-dropdown-item:last-child { border-bottom: none; }

.cf-dropdown-item:hover {
  background: rgba(91,188,124,.06);
  color: var(--green);
}

.cf-dropdown-item.selected {
  background: rgba(91,188,124,.08);
  color: var(--green);
  font-weight: 600;
}

.form-group.has-error .cf-dropdown-trigger {
  border-color: #EF4444 !important;
  background: #FFF5F5 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1) !important;
}

.cf-alert-error {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  background: #FFF1F1;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-spinner { animation: cf-spin .75s linear infinite; }

.cf-success {
  text-align: center;
  padding: 48px 24px;
}

.cf-success-icon {
  width: 64px; height: 64px;
  background: rgba(91,188,124,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: cf-pop .4s cubic-bezier(.175,.885,.32,1.275) both;
}

@keyframes cf-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.cf-success-icon svg { width: 30px; height: 30px; color: var(--green); }
.cf-success h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: var(--blue); }
.cf-success p  { color: var(--gray-text); font-size: .9375rem; line-height: 1.7; }

@media (max-width: 680px) {
  .cf-subject-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-box { padding: 28px 20px; }
}

/* Língua */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}

.nav-wrapper.scrolled .lang-btn { color: var(--gray-mid); }
.lang-btn:hover { color: var(--white); }
.nav-wrapper.scrolled .lang-btn:hover { color: var(--blue); }
.lang-btn.active { color: var(--green); }
.nav-wrapper.scrolled .lang-btn.active { color: var(--green); }

.lang-sep { font-size: .8125rem; color: rgba(255,255,255,.2); }
.nav-wrapper.scrolled .lang-sep { color: var(--gray-border); }

@media (max-width: 680px) {
  .lang-switcher { margin-left: auto; margin-right: 16px; }
}

/*--Portfólio--*/
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(91,188,124,.3);
}

.portfolio-img {
  width: 100%;
  height: 220px;
  background: var(--gray-border);
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 28px;
}

.portfolio-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.portfolio-content p {
  font-size: .9375rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

/*Portfolio modal*/
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.portfolio-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 61, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio-modal-content {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 850px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 10000;
}

.portfolio-modal.open .portfolio-modal-content {
  transform: translateY(0) scale(1);
}

.portfolio-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 1.5rem;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.portfolio-modal-close:hover {
  background: #EF4444;
  color: #FFF;
  transform: rotate(90deg);
}

.portfolio-modal-body { display: flex; flex-direction: column; }

.portfolio-modal-body img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  background: var(--gray-border);
  cursor: pointer;
  transition: opacity var(--transition);
}

.portfolio-modal-body img:hover {
  opacity: 0.85;
}

.portfolio-modal-info { padding: 32px; }

.portfolio-modal-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.portfolio-modal-info p {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .portfolio-modal-body { flex-direction: row; }
  .portfolio-modal-body img { width: 50%; max-height: auto; min-height: 350px; }
  .portfolio-modal-info { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
}

/*Checkbox*/

.checkbox-group { 
  gap: 4px;
 }
.checkbox-label input[type="checkbox"] { 
  appearance: auto !important; 
  -webkit-appearance: auto !important; 
  width: 18px; 
  height: 18px; 
  flex-shrink: 0; 
  margin-top: 2px; 
  cursor: pointer; 
  padding: 0 !important; 
  accent-color: var(--green);
}
.checkbox-label input { 
  width: 18px; 
  height: 18px; 
  flex-shrink: 0; 
  margin-top: 2px; 
  cursor: pointer; 
}
.checkbox-label span { 
  line-height: 1.5; 
}