/* ==========================================================================
   Monad Design System & Layout - Premium Light Mode
   Colors: #FFFEE2 (Cream Background), #234630 (Forest Green Accents)
   ========================================================================== */

/* 0. Fontes hospedadas no próprio site (variáveis, wght 400-800, licença OFL em assets/fonts/)
   Os fallbacks "... Fallback" são Arial com métricas ajustadas para a troca de fonte não mexer no layout. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 102.89%;
  ascent-override: 90.39%;
  descent-override: 26.24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 105.16%;
  ascent-override: 98.71%;
  descent-override: 21.11%;
  line-gap-override: 0%;
}

/* 1. Design Variables & Registration */
:root {
  --bg-color: #FFFEE2;
  --primary-color: #234630;
  --primary-color-rgb: 35, 70, 48;
  --secondary-color: #E2DFB5;
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 254, 226, 0.65);
  --glass-border: rgba(35, 70, 48, 0.08);
  --glass-shadow: rgba(35, 70, 48, 0.04);
  
  /* Luxury Modern Card Variables */
  --card-bg: rgba(255, 255, 255, 0.45);
  --card-bg-hover: rgba(255, 255, 255, 0.85);
  --card-bg-active: rgba(35, 70, 48, 0.02);
  --card-shadow: 0 8px 24px -6px rgba(35, 70, 48, 0.03);
  --card-shadow-hover: 0 16px 36px -8px rgba(35, 70, 48, 0.07);
  --border-light: 1px solid rgba(35, 70, 48, 0.08);
  --border-medium: 1px solid rgba(35, 70, 48, 0.16);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif;

  /* Escala de espaçamento (4 a 96px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Raios por nível: campos < cartões < painéis */
  --radius-field: 12px;
  --radius-card: 20px;
  --radius-panel: 28px;

  /* Sombras tintadas de verde (sem preto puro) */
  --shadow-soft: 0 12px 32px -12px rgba(35, 70, 48, 0.16);
  --shadow-lift: 0 24px 56px -20px rgba(35, 70, 48, 0.22);

  /* Verde escuro da marca, para seções de contraste */
  --deep-green: #1B3826;
  --cream-deep: #F4F1C9;
}

@property --inner-size {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 0px;
}
@property --outer-size {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 0px;
}

/* 2. Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--primary-color);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Skeuomorphic Paper/Canvas Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
  background-image: 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.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Enable default cursor pointer for links and interactive elements */
a, button, label, input, select, textarea {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 1rem;
}

/* 4. Common Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 40px;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 4px 15px rgba(35, 70, 48, 0.12);
}

.btn-primary:hover {
  background-color: #162c1e;
  box-shadow: 0 8px 24px rgba(35, 70, 48, 0.2);
  transform: translateY(-2px) scale(1.02);
}

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

.btn-secondary:hover {
  background-color: rgba(35, 70, 48, 0.04);
  border-color: #162c1e;
  transform: translateY(-2px) scale(1.02);
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: rgba(255, 254, 226, 0.85);
  border-color: rgba(35, 70, 48, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--glass-shadow);
}

/* Neumorphic Panels */
.neumorphic-panel {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 2rem;
  border: var(--border-light);
  transition: var(--transition-smooth);
}

.neumorphic-outer-box {
  box-shadow: 0 10px 40px -10px rgba(35, 70, 48, 0.04);
  border: var(--border-light);
  border-radius: 30px;
  background: var(--bg-color);
  padding: 3rem;
}

/* Input Fields */
.neumorphic-input-small {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: var(--border-light);
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--primary-color);
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(35, 70, 48, 0.02);
}

.neumorphic-input-small:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(35, 70, 48, 0.05);
}

/* 5. Header / Navigation */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 254, 226, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(35, 70, 48, 0.06);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

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

.nav-item:hover {
  color: var(--primary-color);
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.mobile-nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1002;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-radius: 2px;
}

/* Responsive Header */
@media (max-width: 768px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(35, 70, 48, 0.08);
    padding: 7rem 2.5rem 3rem 2.5rem;
    gap: 1.8rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(35, 70, 48, 0.05);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-item {
    font-size: 1.15rem;
    width: 100%;
    opacity: 0.9;
  }

  .mobile-nav-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    text-align: center;
  }
}

/* 6. Hero Section */
#hero {
  position: relative;
  padding: 9rem 0 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg-color);
  overflow: hidden;
}

/* Textura de grão sutil sobre o hero (SVG inline, baixo custo) */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-text-link {
  font-weight: 600;
  color: var(--primary-color);
  padding: 12px 4px;
  text-decoration: none;
  border-bottom: 2px solid rgba(35, 70, 48, 0.25);
  transition: border-color 0.2s ease;
}

.hero-text-link:hover {
  border-bottom-color: var(--primary-color);
}

.hero-text-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero-text-link:hover span {
  transform: translateX(4px);
}

/* Faixa de confiança */
.trust-strip {
  background: var(--deep-green);
  color: var(--cream-deep);
  padding: 22px 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  font-size: 0.95rem;
  text-align: center;
}

.trust-strip-inner strong {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 600px) {
  .trust-strip-inner {
    flex-direction: column;
    gap: 6px;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: rgba(35, 70, 48, 0.06);
  border: 1px solid rgba(35, 70, 48, 0.12);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-title .highlight-text {
  font-style: normal;
  font-weight: 700;
  position: relative;
  color: var(--primary-color);
}

.hero-title .highlight-text::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(35, 70, 48, 0.08);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
}

/* Hero Visual: New single tech image */
.hero-visual-new {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(35, 70, 48, 0.08);
  animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual-new {
    margin-top: 1rem;
  }
}

/* 7. Section Header */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  opacity: 0.88; /* contraste AA sobre creme e creme escuro */
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* 8. Philosophy/Problema Section */
#problema {
  padding: 6rem 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.philosophy-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  background: var(--card-bg-hover);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 70, 48, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: rgba(35, 70, 48, 0.06);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(35, 70, 48, 0.08);
}

.philosophy-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.philosophy-card p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 9. Services Grid */
#solucoes {
  padding: 6rem 0;
  background-color: rgba(255, 255, 255, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--card-shadow-hover);
}

.service-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-content p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* 10. Timeline (Como Funciona) */
#timeline {
  padding: 6rem 0;
  position: relative;
  background-color: rgba(35, 70, 48, 0.02);
}

.timeline-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.timeline-line {
  position: absolute;
  left: 31px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, 
                transparent, 
                var(--primary-color) 15%, 
                var(--primary-color) 85%, 
                transparent);
  opacity: 0.15;
  z-index: 1;
}

.timeline-step {
  display: flex;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(35, 70, 48, 0.2);
  border: 4px solid var(--bg-color);
  transition: transform 0.4s;
}

.timeline-step:hover .step-marker {
  transform: scale(1.1);
}

.step-content {
  flex-grow: 1;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 0.4rem;
  display: block;
}

.step-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.step-content p {
  opacity: 0.8;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .timeline-line {
    left: 21px;
  }
  .step-marker {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    border-width: 2px;
  }
  .timeline-step {
    gap: 1.5rem;
  }
}

/* 11. Resultados Reais / Cases Grid */
#resultados {
  padding: 6rem 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.case-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(35, 70, 48, 0.08);
}

.case-visual {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: var(--border-light);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.case-card:hover .case-visual img {
  transform: scale(1.03);
}

.case-info {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 0.8rem;
  display: block;
}

.case-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.case-desc {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.case-result {
  background: rgba(35, 70, 48, 0.04);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  border-left: 3px solid var(--primary-color);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* 12. Contato / Formulário */
#contato {
  padding: 6rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: stretch;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

@media (max-width: 991px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-visual {
    display: none;
  }
}

/* 13. Footer Section */
#main-footer {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.footer-bg-glow {
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 254, 226, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.75rem;
  border-bottom: 1px solid rgba(255, 254, 226, 0.1);
  padding-bottom: 3.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1.8rem;
}

.footer-brand-tagline {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 420px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75; /* contraste AA sobre o verde */
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   Blocos da página de produto (gestor de tráfego com IA)
   ========================================================================== */

/* Comparação de valor */
.value-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.value-col {
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.value-col h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.value-col-highlight {
  border: var(--border-medium);
  background: var(--card-bg-hover);
}

.value-col .badge {
  align-self: flex-start;
}

.value-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 8px 0 12px;
}

.value-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.value-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-col li {
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.value-col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.value-note {
  text-align: center;
  margin-top: 24px;
  opacity: 0.7;
  font-size: 0.9rem;
}

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

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  padding: 20px 24px;
  border-radius: 16px;
}

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

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Formulário: erro e consentimento */
.form-error {
  color: #9b2c2c;
  font-size: 0.9rem;
  margin-top: 8px;
}

.form-error[hidden] {
  display: none;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 12px;
  cursor: pointer;
}

.form-consent input {
  margin-top: 4px;
}

.form-consent a {
  text-decoration: underline;
}

/* Páginas institucionais (obrigado, privacidade, termos) */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 20px 80px;
  line-height: 1.7;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 32px 0 8px;
}

.legal-page p,
.legal-page li {
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page .muted {
  opacity: 0.7;
  font-size: 0.9rem;
}

.thank-you-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ==========================================================================
   Hero: cartão de contato rápido (WhatsApp) e refinamentos visuais
   ========================================================================== */
.hero-container {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.hero-contact {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 36px 32px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px -20px rgba(35, 70, 48, 0.18);
}

.hero-contact-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-contact-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-contact-sub {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 14px;
  line-height: 1.5;
}

.hero-contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-contact-form .form-group {
  margin-bottom: 10px;
}

.hero-contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.hero-contact-note {
  font-size: 0.78rem;
  opacity: 0.7;
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.hero-contact-note a {
  text-decoration: underline;
}

/* Ícones SVG (substituem emojis) */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.card-icon .icon,
.service-icon .icon {
  color: var(--primary-color);
}

.card-icon,
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Acessibilidade: foco visível e movimento reduzido */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 6px;
}

button,
.btn,
summary {
  cursor: pointer;
}

@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;
  }
}

/* Mobile: cartão logo abaixo do texto, em largura total */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-contact {
    justify-self: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-contact {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}

/* ==========================================================================
   Estrutura v4: problema editorial, pacote, email, criativos, seção escura
   ========================================================================== */

/* Problema: título à esquerda, lista numerada à direita */
.problema-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: start;
}

.problema-intro .section-title,
.problema-intro .section-desc {
  text-align: left;
}

.problema-intro .section-title {
  margin-bottom: var(--space-3);
}

.problem-list {
  list-style: none;
  border-top: var(--border-light);
}

.problem-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  border-bottom: var(--border-light);
}

.problem-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.55;
  padding-top: 4px;
}

.problem-item h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.problem-item p {
  opacity: 0.85;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .problema-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Pacote: primeiro cartão ocupa a largura toda */
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid .service-card:first-child {
  grid-column: span 2;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.services-grid .service-card {
  border-radius: var(--radius-card);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:first-child {
    grid-column: auto;
  }
}

/* Galeria de criativos reais */
.creative-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.creative-strip figure {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-strip figure:hover {
  transform: translateY(-4px);
}

.creative-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .creative-strip {
    grid-template-columns: 1fr;
  }
}

/* Email de exemplo */
.email-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
  margin-top: var(--space-7);
}

.email-copy-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.email-copy p {
  opacity: 0.85;
  line-height: 1.65;
}

.email-demo {
  position: relative;
  margin: 0;
}

.email-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  z-index: 2;
  background: var(--primary-color);
  color: var(--bg-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.email-window {
  background: #ffffff;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-lift);
  border: var(--border-light);
  padding: var(--space-5);
  font-size: 0.95rem;
}

.email-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: var(--border-light);
}

.email-head strong {
  display: block;
  font-size: 0.95rem;
}

.email-head small {
  opacity: 0.6;
  font-size: 0.8rem;
}

.email-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.email-subject {
  font-weight: 700;
  font-size: 1.1rem;
  margin: var(--space-4) 0 var(--space-3);
  letter-spacing: -0.01em;
}

.email-body p {
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.email-list {
  list-style: none;
  margin: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.email-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  flex-shrink: 0;
  margin-top: 7px;
}

.dot-ok {
  background: var(--primary-color);
}

.email-why {
  background: rgba(35, 70, 48, 0.05);
  border-radius: var(--radius-field);
  padding: var(--space-3);
  margin-top: var(--space-3);
}

@media (max-width: 900px) {
  .email-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Seção escura de credibilidade (mesma família verde da marca) */
.section-dark {
  background: var(--deep-green);
  color: var(--cream-deep);
  padding: 6rem 0;
}

.section-dark .section-title,
.section-dark .section-subtitle,
.section-dark .section-desc,
.section-dark h3,
.section-dark p {
  color: var(--cream-deep);
}

.section-dark .section-subtitle,
.section-dark .section-desc,
.section-dark .value-note {
  opacity: 0.8;
}

.section-dark .philosophy-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 241, 201, 0.14);
  box-shadow: none;
}

.section-dark .philosophy-card:hover {
  background: rgba(255, 255, 255, 0.09);
}

.section-dark .philosophy-card h3 {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

.section-dark .value-note a {
  color: var(--cream-deep);
  text-decoration: underline;
}

/* Movimento: revelação ao rolar (só transform/opacity) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Botões: pressionado e feedback */
.btn:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nav-item.is-active {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-item.is-active::after {
  width: 100%;
}

/* Pacote: o último cartão ocupa a linha toda, sem órfão */
@media (min-width: 769px) {
  .services-grid .service-card:last-child {
    grid-column: span 2;
  }
}


/* ==========================================================================
   v5: identidade (precisa, calorosa, ágil). Ritmo de quatro passos como assinatura.
   Sem gradiente decorativo; listas editoriais no lugar de cartões iguais.
   ========================================================================== */
.ritmo-sinal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: var(--space-5);
}

.ritmo-sinal span {
  position: relative;
  height: 4px;
  background: var(--primary-color);
  opacity: 0.22;
}

.ritmo-sinal span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
}

.ritmo-sinal-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rotina-lista {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.rotina-lista-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rotina-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.rotina-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.55;
}

.rotina-item h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rotina-item p {
  opacity: 0.85;
  line-height: 1.6;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .rotina-lista,
  .rotina-lista-3 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .ritmo-sinal {
    display: none;
  }
}

/* Números de credibilidade (prova em destaque) */
.numeros-cred {
  max-width: 900px;
  margin: 0 auto;
}

.section-dark .n {
  border-top: 1px solid rgba(244, 241, 201, 0.2);
}

.section-dark .n strong {
  color: var(--cream-deep);
}

.value-note {
  max-width: 760px;
  margin: var(--space-6) auto 0;
}

.secao-metodo {
  padding: 6rem 0;
  background: rgba(35, 70, 48, 0.03);
}

.numeros {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.n {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  padding-top: var(--space-3);
  border-top: var(--border-light);
}

.n strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.n span {
  font-size: 1.1rem;
  line-height: 1.35;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .n {
    gap: var(--space-3);
  }
}

/* ==========================================================================
   v6: narrativa "do anúncio à venda" — estrutura visível, mockups e obras
   ========================================================================== */
.section-header-left {
  text-align: left;
  margin-left: 0;
  max-width: 640px;
}

/* Obras renascentistas em duotone: sempre como painel, nunca atrás de texto */
.obra-painel {
  margin: 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.obra-painel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.obra-painel figcaption {
  font-size: 0.78rem;
  padding: 10px 16px;
  opacity: 0.75;
}

.obra-painel-claro {
  background: var(--bg-color);
  border: var(--border-light);
}

.obra-painel-escuro {
  background: #16301F;
  border: 1px solid rgba(244, 241, 201, 0.14);
}

.obra-painel-escuro figcaption {
  color: var(--cream-deep);
}

/* Estrutura: seis etapas */
.secao-estrutura {
  padding: 6rem 0;
}

.estrutura-topo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-7);
  align-items: center;
  margin-bottom: var(--space-7);
}

.estrutura-topo .obra-painel img {
  aspect-ratio: 881 / 559;
}

.ritmo-sinal-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.etapas {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

.etapa {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.etapa h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.etapa p {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.85;
  flex: 1;
}

.etapa-indicador {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 70, 48, 0.07);
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .etapas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--space-6);
  }
  .ritmo-sinal-6 {
    display: none;
  }
}

@media (max-width: 900px) {
  .estrutura-topo {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 600px) {
  .etapas {
    grid-template-columns: 1fr;
    row-gap: var(--space-5);
  }
}

/* Veja funcionando: mockups ilustrativos */
#funcionando {
  padding: 6rem 0;
  background: var(--cream-deep);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}

.demo {
  position: relative;
  margin: 0;
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.demo-titulo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.demo-nota {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: auto;
}

.crm-quadro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crm-coluna {
  background: rgba(35, 70, 48, 0.05);
  border-radius: var(--radius-field);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
}

.crm-coluna-titulo {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.crm-card {
  background: #ffffff;
  border: var(--border-light);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
}

.crm-card span {
  opacity: 0.7;
}

.crm-card-ok {
  background: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

.crm-card-ok span {
  opacity: 0.85;
}

.cadencia {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid rgba(35, 70, 48, 0.2);
  padding-left: 16px;
}

.cadencia li {
  position: relative;
}

.cadencia li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
}

.cad-dia {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.cadencia p {
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.85;
}

.painel {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.painel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: var(--border-light);
  font-size: 0.9rem;
}

.painel b {
  font-family: var(--font-heading);
  opacity: 0.5;
}

@media (max-width: 1100px) {
  .demo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .demo-crm {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .demo-crm {
    grid-column: auto;
  }
  .crm-quadro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Credibilidade com obra ao lado */
.cred-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-7);
  align-items: center;
}

.cred-grid .numeros-cred {
  margin: 0;
}

.value-note-left {
  text-align: left;
  margin-left: 0;
}

@media (max-width: 900px) {
  .cred-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Bloco ao lado do formulário */
.contact-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.contato-obra img {
  aspect-ratio: 1400 / 362;
}

.contato-texto h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.contato-texto p {
  opacity: 0.85;
  line-height: 1.6;
}

.footer-bottom a {
  text-decoration: underline;
}

/* Diagnóstico: obra no lugar da ilustração genérica do hero */
.hero-obra {
  justify-self: end;
  max-width: 420px;
  width: 100%;
}

.hero-obra img {
  aspect-ratio: 940 / 1400;
}

@media (max-width: 991px) {
  .hero-obra {
    justify-self: center;
    max-width: 320px;
  }
}

/* Correções v6: cartões do CRM sem estouro de texto */
.crm-coluna {
  min-width: 0;
}

.crm-card {
  overflow-wrap: break-word;
  font-size: 0.74rem;
  padding: 8px;
}

/* Hero: no celular, CTA em largura total e link abaixo */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .hero-actions .btn {
    text-align: center;
  }
  .hero-text-link {
    align-self: center;
  }
}

/* ==========================================================================
   Formulário do Forms Arcaffo incorporado ("herdar visual do site")
   O form.js gera HTML sem estilo; aqui ele recebe o visual da Monad.
   ========================================================================== */
.monad-form .arcaffo-title {
  display: none; /* a seção já tem título próprio */
}

.monad-form [hidden] {
  display: none !important; /* honeypot e mensagens de erro ocultas */
}

.monad-form .arcaffo-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.monad-form fieldset.arcaffo-field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.monad-form legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.85;
  padding: 0;
}

.monad-form .arcaffo-required {
  opacity: 0.6;
}

.monad-form .arcaffo-description {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.monad-form input[type="text"],
.monad-form input[type="email"],
.monad-form input[type="tel"],
.monad-form input:not([type]),
.monad-form textarea {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: var(--border-light);
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--primary-color);
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(35, 70, 48, 0.02);
}

.monad-form input:focus,
.monad-form textarea:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(35, 70, 48, 0.08);
}

/* Múltipla escolha: opções em pílulas */
.monad-form .arcaffo-control label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 8px 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: var(--border-medium);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.monad-form .arcaffo-control label:has(input:checked) {
  background: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

.monad-form .arcaffo-control input[type="radio"],
.monad-form .arcaffo-control input[type="checkbox"] {
  accent-color: var(--primary-color);
}

.monad-form .arcaffo-error {
  color: #9b2c2c;
  font-size: 0.85rem;
  margin-top: 6px;
}

.monad-form .arcaffo-actions button[type="submit"] {
  width: 100%;
  margin-top: 4px;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 4px 15px rgba(35, 70, 48, 0.12);
  transition: var(--transition-smooth);
}

.monad-form .arcaffo-actions button[type="submit"]:hover {
  background-color: #162c1e;
  transform: translateY(-2px);
}

.monad-form .arcaffo-actions button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.monad-form .arcaffo-status,
.monad-form .arcaffo-loading {
  font-size: 0.9rem;
  opacity: 0.75;
}

.monad-form .arcaffo-success h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-consent-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 14px;
  line-height: 1.5;
}

.form-consent-note a {
  text-decoration: underline;
}

/* Espaço entre as perguntas: o form.js agrupa os fieldsets num contêiner próprio */
.monad-form {
  margin-top: 20px;
}

.monad-form fieldset.arcaffo-field {
  margin-bottom: 20px;
}

/* ==========================================================================
   v7: páginas de serviço (/servicos/), 404 e links das etapas
   ========================================================================== */
.secao {
  padding: 6rem 0;
}

.secao-suave {
  background: rgba(35, 70, 48, 0.03);
}

#hero.hero-servico {
  min-height: auto;
  padding-bottom: var(--space-7);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: var(--space-4);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.5;
}

.breadcrumb a {
  color: inherit;
  opacity: 0.8;
}

.breadcrumb [aria-current="page"] {
  font-weight: 600;
}

.hero-obra-paisagem {
  max-width: 520px;
}

.hero-obra-paisagem img {
  aspect-ratio: auto;
}

.obra-faixa {
  margin-top: var(--space-6);
}

.obra-faixa img {
  aspect-ratio: auto;
}

.resposta-direta {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 780px;
  border-left: 3px solid var(--primary-color);
  padding-left: var(--space-4);
}

.texto-corrido p {
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: var(--space-3);
  opacity: 0.9;
}

.dois-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-7);
  align-items: start;
}

.indicador-destaque {
  padding: var(--space-6);
  border-radius: var(--radius-panel);
}

.indicador-destaque .indicador-nome {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: var(--space-2) 0 var(--space-3);
}

.indicador-destaque p {
  line-height: 1.65;
  opacity: 0.9;
}

.perguntas {
  display: grid;
  gap: var(--space-3);
  max-width: 820px;
  margin: 0 auto;
}

.pergunta {
  padding: var(--space-5);
  border-radius: var(--radius-card);
}

.pergunta h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.pergunta p {
  opacity: 0.88;
  line-height: 1.65;
}

.servico-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.servico-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-5);
  border-radius: var(--radius-card);
  color: inherit;
  text-decoration: none;
}

.servico-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.servico-card p {
  opacity: 0.85;
  line-height: 1.6;
}

.servico-card-link,
.etapa-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.etapa-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.95rem;
}

.etapa-link:hover,
.servico-card:hover .servico-card-link {
  text-decoration: underline;
}

.tabela-rolagem {
  overflow-x: auto;
}

.tabela-indicadores {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.tabela-indicadores th,
.tabela-indicadores td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: var(--border-light);
  vertical-align: top;
  line-height: 1.55;
}

.tabela-indicadores th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-final {
  text-align: center;
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-panel);
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: var(--space-3);
}

.cta-final p {
  max-width: 620px;
  margin: 0 auto var(--space-5);
  line-height: 1.65;
  opacity: 0.9;
}

.cta-final .hero-actions {
  justify-content: center;
}

.atualizado {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: var(--space-4);
}

@media (max-width: 900px) {
  .secao {
    padding: 4.5rem 0;
  }
  .dois-col {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .hero-obra-paisagem {
    justify-self: center;
    max-width: 100%;
  }
}

/* Texto só para leitor de tela (ex.: nome da etapa no link "Como funciona") */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dois-col .section-header {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .resposta-direta {
    text-align: left;
    font-size: 1.05rem;
  }
}

.tabela-indicadores tbody th {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.servico-card .rotina-num {
  opacity: 0.85;
}
