/* ============================================
   D'lima Agência de Sites — Design System CSS
   v2.0 · Julho 2026
   Tokens extraídos do dlima-design-system.html
   ============================================ */

/* ── CSS Variables ── */
:root {
  /* Assinatura — Terracota & Dourado */
  --teal-dark: #B84A1E;      /* Terracota deep */
  --teal-main: #E1652E;      /* Terracota principal */
  --teal-light: #FFB37A;     /* Dourado */
  --teal-glow: rgba(255, 179, 122, 0.25);

  /* Neutros Quentes */
  --grey-000: #170F0B;       /* Preto quente base */
  --grey-100: #120B08;       /* Preto quente alternativo */
  --grey-150: #241811;       /* Fundo de cards */
  --grey-200: #3A2A1D;       /* Borda */
  --grey-300: #4E382A;
  --grey-400: #B8A99A;       /* Texto secundário */
  --grey-500: #DCD0C4;
  --white: #FBF3EA;          /* Creme */
  --ink-900: #170F0B;

  /* Tipografia */
  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaçamento */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Raio de borda */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--grey-000) url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

::selection {
  background: var(--teal-main);
  color: var(--grey-000);
}

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

a {
  color: var(--teal-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-light);
}

ul, ol {
  list-style: none;
}

/* ── Layout ── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

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

.section + .section {
  border-top: 1px solid var(--grey-200);
}

/* ── Tipografia ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: var(--sp-5);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--sp-3);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
}

.lede {
  color: var(--grey-500);
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: var(--sp-7);
}

.lede b, .lede strong {
  color: var(--teal-main);
  font-weight: 600;
}

/* ── Eyebrow (mono label) ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-main);
  background: rgba(225, 101, 46, 0.10);
  border: 1px solid rgba(225, 101, 46, 0.30);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-main);
  box-shadow: 0 0 8px var(--teal-main);
}

/* ── Buttons ── */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--teal-main);
  color: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(225, 101, 46, 0.55), 0 4px 16px rgba(0,0,0,0.3);
  color: var(--ink-900);
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

/* Pulse ring no hero CTA */
.hero .btn-primary {
  animation: btn-pulse 2.8s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(225, 101, 46, 0.5); }
  50%  { box-shadow: 0 0 0 12px rgba(225, 101, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 101, 46, 0); }
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-300);
}

.btn-secondary:hover {
  border-color: var(--teal-main);
  color: var(--teal-main);
}

.btn-ghost {
  background: var(--grey-150);
  color: var(--grey-500);
  border: 1px solid var(--grey-200);
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ── Badge ── */
.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-teal {
  background: rgba(46, 229, 172, 0.1);
  color: var(--teal-main);
  border: 1px solid rgba(46, 229, 172, 0.3);
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 153, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  border-radius: 100px;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  gap: var(--sp-5);
}

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

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.navbar-links a {
  color: var(--grey-400);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--teal-main);
}

.navbar-cta {
  display: inline-flex;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  color: var(--white);
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  padding: calc(var(--sp-10) + 60px) 0 var(--sp-9);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(5,5,5,0.4) 0%, rgba(5,5,5,1) 100%), url('../images/hero_bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(225, 101, 46, 0.15), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero h1 .accent {
  color: var(--teal-main);
}

.hero .subheadline {
  color: var(--grey-500);
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  font-size: 1.1rem;
  line-height: 1.7;
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-7);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--grey-400);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.trust-bar .check {
  color: var(--teal-main);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.hero-microcopy {
  font-size: 0.82rem;
  color: var(--grey-400);
}

/* ── Portfolio Section ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-5);
}

.portfolio-card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 153, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.portfolio-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--grey-100);
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.05);
}

.portfolio-card-body {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.portfolio-card-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.portfolio-card-info .category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-card-btn {
  flex-shrink: 0;
}

/* Portfolio Modal */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
  opacity: 1;
  visibility: visible;
}

.portfolio-modal-content {
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-modal.active .portfolio-modal-content {
  transform: scale(1);
}

.portfolio-modal-content img {
  width: 100%;
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-5);
}

.portfolio-modal-info {
  text-align: center;
}

.portfolio-modal-info h2 {
  margin-bottom: var(--sp-2);
}

.portfolio-modal-info .category {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.portfolio-modal-info .description {
  color: var(--grey-500);
  max-width: 600px;
  margin: 0 auto var(--sp-6);
  font-size: 0.95rem;
}

.portfolio-modal-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
}

.portfolio-modal-close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  background: var(--grey-150);
  border: 1px solid var(--grey-300);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}

.portfolio-modal-close:hover {
  background: var(--grey-200);
}

/* ── Benefits Section ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-4);
}

.benefit-card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--teal-main);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  counter-increment: benefit-counter;
}

.benefits-grid {
  counter-reset: benefit-counter;
}

.benefit-card::before {
  content: '0' counter(benefit-counter);
  position: absolute;
  top: -8px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--teal-main);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--teal-light);
  border-color: rgba(225, 101, 46, 0.35);
  box-shadow: 0 16px 40px rgba(225, 101, 46, 0.12), 0 4px 12px rgba(0,0,0,0.3);
}

.benefit-card h3 {
  color: var(--white);
  margin-bottom: var(--sp-2);
  font-size: 1.05rem;
}

.benefit-card p {
  color: var(--grey-500);
  font-size: 0.9rem;
}

.benefit-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(225, 101, 46, 0.08);
  color: var(--teal-main);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(225, 101, 46, 0.15);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card .ico svg {
  width: 26px;
  height: 26px;
}

.benefit-card:hover .ico {
  transform: scale(1.1) rotate(-3deg);
  background: rgba(225, 101, 46, 0.18);
  border-color: rgba(225, 101, 46, 0.4);
  box-shadow: 0 0 16px rgba(225, 101, 46, 0.25);
}

/* ── Services Section ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.service-card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-card::after {
  content: '→';
  position: absolute;
  bottom: var(--sp-5);
  right: var(--sp-5);
  font-size: 1.1rem;
  color: var(--teal-main);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 101, 46, 0.45);
  box-shadow: 0 16px 40px rgba(225, 101, 46, 0.10), 0 4px 16px rgba(0,0,0,0.35);
}

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

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(225, 101, 46, 0.08);
  border: 1px solid rgba(225, 101, 46, 0.15);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  color: var(--teal-main);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card:hover .icon {
  background: rgba(225, 101, 46, 0.18);
  border-color: rgba(225, 101, 46, 0.4);
  box-shadow: 0 0 14px rgba(225, 101, 46, 0.22);
}

.service-card .situation {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-main);
  background: rgba(225, 101, 46, 0.08);
  border: 1px solid rgba(225, 101, 46, 0.20);
  border-radius: var(--r-full);
  padding: 4px 10px;
  margin-bottom: var(--sp-3);
}

.service-card h3 {
  margin-bottom: var(--sp-3);
}

.service-card p {
  color: var(--grey-500);
  font-size: 0.9rem;
  padding-right: var(--sp-5);
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: var(--sp-9) 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(225, 101, 46, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
}

/* ── Testimonials Section ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-4);
}

.testimonial-card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 101, 46, 0.3);
}

.testimonial-stars {
  color: var(--teal-main);
  font-size: 0.9rem;
  margin-bottom: var(--sp-3);
  letter-spacing: 2px;
}

.testimonial-quote {
  color: var(--grey-500);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey-300);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--grey-400);
}

/* ── Founder Section ── */
.founder-content {
  max-width: 700px;
}

.founder-content p {
  color: var(--grey-500);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.founder-content strong {
  color: var(--white);
}

/* ── FAQ Section ── */
.faq-list {
  max-width: 760px;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: var(--sp-5) 0;
  cursor: pointer;
  text-align: left;
  gap: var(--sp-4);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--teal-main);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-main);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 var(--sp-5);
  color: var(--grey-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  padding: var(--sp-8) 0 var(--sp-6);
  border-top: 1px solid var(--grey-200);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

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

.footer-social {
  display: flex;
  gap: var(--sp-4);
}

.footer-social a {
  color: var(--grey-400);
  font-size: 1.2rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
}

.footer-social a:hover {
  color: var(--teal-main);
  border-color: var(--teal-main);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--grey-200);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey-400);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Section text center ── */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-section {
  margin-bottom: var(--sp-7);
}

/* ── Split Layout & Dynamic Elements ── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
  margin-top: var(--sp-6);
}

.split-layout.reverse {
  direction: rtl;
}
.split-layout.reverse > * {
  direction: ltr;
}

.split-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Halo terracota atrás da ilustração */
.split-image-container::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(225, 101, 46, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Pontos decorativos flutuantes */
.split-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(225, 101, 46, 0.35) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 179, 122, 0.25) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 7px 7px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.split-image-container img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(225, 101, 46, 0.12));
  position: relative;
  z-index: 1;
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Delay for staggered reveal */
.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }
.reveal.delay-400 { transition-delay: 0.4s; }
.reveal.delay-500 { transition-delay: 0.5s; }
.reveal.delay-600 { transition-delay: 0.6s; }
.reveal.delay-700 { transition-delay: 0.7s; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .split-layout.reverse {
    direction: ltr; /* Reset to normal on mobile so image is usually top or text is top consistently based on source order, but actually text should probably be on top. Flex/grid order is better but we keep it simple */
  }

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

  .navbar-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    flex-direction: column;
    padding: var(--sp-5);
    gap: var(--sp-4);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-cta {
    display: none;
  }

  .trust-bar {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: calc(var(--sp-9) + 60px);
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ── Estilos da Identidade Terracota v3 ── */
.italic-highlight {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--teal-main);
  text-shadow: 0 0 20px rgba(225, 101, 46, 0.2);
}

/* Recolorir a logo verde para terracota dinamicamente via CSS (hue-rotate) */
.navbar-logo img, .footer-logo img {
  filter: hue-rotate(217deg) saturate(1.2);
}

/* Seção Full-Bleed em Degradê Terracota Sólido */
.bg-terracota-solid {
  background: linear-gradient(135deg, #E1652E 0%, #FFB37A 100%) !important;
  color: #170F0B !important;
}

.bg-terracota-solid .eyebrow {
  color: #170F0B !important;
  background: rgba(23, 15, 11, 0.08) !important;
  border-color: rgba(23, 15, 11, 0.2) !important;
}

.bg-terracota-solid h2, 
.bg-terracota-solid p {
  color: #170F0B !important;
}

.bg-terracota-solid .btn-primary {
  background: #170F0B !important;
  color: #FBF3EA !important;
  border-color: #170F0B !important;
}

.bg-terracota-solid .btn-primary:hover {
  background: #241811 !important;
  box-shadow: 0 8px 24px rgba(23, 15, 11, 0.3) !important;
}

.bg-terracota-solid .hero-microcopy {
  color: rgba(23, 15, 11, 0.7) !important;
}

/* Tabela de Comparação (Modelo Pronto vs Sob Medida) */
.comparison-section {
  padding: var(--sp-9) 0;
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  position: relative;
}

.comparison-card {
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  transition: border-color 0.3s ease;
}

.comparison-card.card-ruim {
  opacity: 0.65;
  border-color: rgba(184, 169, 154, 0.15);
}

.comparison-card.card-boa {
  border-color: var(--teal-main);
  box-shadow: 0 8px 32px rgba(225, 101, 46, 0.08);
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.comparison-card.card-ruim h3 {
  color: var(--grey-400);
}

.comparison-card.card-boa h3 {
  color: var(--teal-light);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.comparison-card.card-ruim .comparison-list li {
  color: var(--grey-400);
}

.comparison-card.card-boa .comparison-list li {
  color: var(--white);
}

.comparison-list li::before {
  content: '';
  display: inline-block;
  margin-top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comparison-card.card-ruim .comparison-list li::before {
  background: #B8A99A;
}

.comparison-card.card-boa .comparison-list li::before {
  background: var(--teal-main);
}

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

/* Callouts Tipo Anotação */
.title-container-relative {
  position: relative;
  display: inline-block;
}

.callout-annotation {
  position: absolute;
  background: var(--grey-150);
  border: 1px solid var(--teal-main);
  color: var(--teal-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.callout-annotation.rotated-left {
  transform: rotate(-3deg);
  top: -24px;
  left: -40px;
}

.callout-annotation.rotated-right {
  transform: rotate(2deg);
  bottom: -15px;
  right: -30px;
}

@media (max-width: 992px) {
  .callout-annotation {
    display: none; /* Esconder em telas menores para evitar sobreposição */
  }
}

/* Founder Split Layout & Photo Placeholder */
.founder-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-6);
}

.founder-photo-container {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  background: var(--grey-150);
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo-placeholder {
  border: 2px dashed var(--teal-main);
  color: var(--teal-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .founder-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Uploads htaccess protection ── */
/* uploads/.htaccess is separate to prevent PHP execution */

/* ============================================
   SEÇÃO DE NÚMEROS / PROVA SOCIAL (v3.1)
   ============================================ */
.stats-section {
  background: var(--grey-100);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.stat-item {
  text-align: center;
  padding: var(--sp-5);
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 101, 46, 0.3);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--teal-light);
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(255, 179, 122, 0.15);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--teal-main);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-top: var(--sp-3);
  line-height: 1.4;
}

/* ============================================
   SEÇÃO DE PROCESSO (COMO FUNCIONA) (v3.1)
   ============================================ */
.process-section {
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: var(--sp-7);
  right: var(--sp-7);
  height: 1px;
  background: linear-gradient(90deg, var(--teal-main) 0%, var(--grey-200) 80%);
  z-index: 0;
  pointer-events: none;
}

.process-step {
  position: relative;
  z-index: 1;
  background: var(--grey-000);
  padding: 0 var(--sp-2);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grey-150);
  border: 2px solid var(--teal-main);
  color: var(--teal-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
  box-shadow: 0 0 16px rgba(225, 101, 46, 0.2);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.process-step:hover .step-badge {
  transform: scale(1.1) rotate(10deg);
  background: var(--teal-main);
  color: var(--grey-000);
  border-color: var(--teal-light);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
}

.process-step p {
  color: var(--grey-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  
  .process-grid::before {
    display: none;
  }
  
  .process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: var(--sp-4);
    border-left: 2px solid var(--grey-200);
    background: transparent;
  }
  
  .process-step:hover {
    border-left-color: var(--teal-main);
  }
}

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

/* ============================================
   BADGES FLUTUANTES (v3.1)
   ============================================ */
.floating-badge {
  position: absolute;
  background: var(--grey-150);
  border: 1px solid var(--teal-main);
  color: var(--teal-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
  animation: float-slow 4s ease-in-out infinite;
}

.badge-top-right {
  top: 10%;
  right: 5%;
  animation-delay: 0.5s;
}

.badge-bottom-left {
  bottom: 15%;
  left: 5%;
  animation-delay: 1s;
}

.badge-top-left {
  top: 15%;
  left: 5%;
  animation-delay: 1.5s;
}

@keyframes float-slow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
  .floating-badge {
    display: none;
  }
}

/* ============================================
   CTA FINAL DRAMÁTICO (v3.1)
   ============================================ */
#cta-final {
  background-color: var(--grey-100);
  background-image: 
    linear-gradient(rgba(18, 11, 8, 0.95), rgba(18, 11, 8, 0.95)), 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(225, 101, 46, 0.02) 39px, rgba(225, 101, 46, 0.02) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(225, 101, 46, 0.02) 39px, rgba(225, 101, 46, 0.02) 40px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

#cta-final::after {
  content: "D'LIMA";
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 15rem);
  font-weight: 900;
  color: var(--teal-main);
  opacity: 0.015;
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.cta-trust-items {
  display: flex;
  gap: var(--sp-5);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey-400);
  z-index: 1;
}

.cta-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--grey-150);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--grey-200);
}

@media (max-width: 768px) {
  .cta-trust-items {
    flex-direction: column;
    gap: var(--sp-2);
    align-items: center;
  }
  
  .cta-trust-items span {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
