/* ==========================================================================
   Contábil Fácil Plus — F C Business Contabilidade
   Design System & Landing Page Stylesheet
   Version: 1.0
   Version: 1.1
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* --- Root Variables & Tokens --- */
:root {
  --brand-700: #006B45;
  --brand-900: #174D39;
  --brand-600: #168453;
  --accent-500: #39A64B;
  --accent-100: #E9F5ED;
  --surface: #FFFFFF;
  --background: #F5F9F6;
  --border: #DDEAE2;
  --text-primary: #183129;
  --text-secondary: #52665D;
  --text-muted: #72857C;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(24, 49, 41, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 49, 41, 0.07);
  --shadow-lg: 0 16px 40px rgba(0, 107, 69, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* --- Reset & Anti-Overflow Rules --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

header, main, section, footer {
  max-width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-top: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

p, span, li, a {
  word-break: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-600);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Section Spacing --- */
.section {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
  position: relative;
}

.section-alt {
  background-color: var(--surface);
}

.section-dark {
  background-color: var(--brand-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #D3E6DC;
}

/* --- Section Header & Badges --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-100);
  color: var(--brand-700);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid rgba(0, 107, 69, 0.15);
}

.section-dark .badge-pill {
  background-color: rgba(255, 255, 255, 0.12);
  color: #8CE0A0;
  border-color: rgba(140, 224, 160, 0.25);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--brand-700);
  color: var(--white);
  border-color: var(--brand-700);
  box-shadow: 0 4px 14px rgba(0, 107, 69, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 69, 0.35);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-secondary:hover {
  background-color: var(--accent-100);
  color: var(--brand-600);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--white);
  color: var(--brand-900);
  border-color: var(--white);
}

.btn-dark:hover {
  background-color: #E9F5ED;
  color: var(--brand-700);
  transform: translateY(-2px);
}

.btn-store {
  background-color: var(--brand-900);
  color: var(--white);
  border-color: #2D634E;
  padding: 10px 22px;
  border-radius: 12px;
}

.btn-store:hover {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-store-sub {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.btn-store-title {
  font-size: 15px;
  font-weight: 700;
}

/* --- Cards --- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #C7DFD2;
}

/* ==========================================================================
   01. Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 52px;
  width: auto;
  max-width: 240px;
  border-radius: 8px;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-700);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: var(--text-primary);
  border-radius: 8px;
}

.btn-hamburger:hover {
  background-color: var(--background);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 49, 41, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--surface);
  z-index: 1100;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-header img {
  height: 46px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.btn-close-drawer {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 6px;
}

.drawer-links {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-links .nav-link {
  font-size: 17px;
  padding: 6px 0;
  display: block;
}

.drawer-actions {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   02. Hero Section
   ========================================================================== */
.hero-section {
  padding-top: clamp(48px, 6vw, 84px);
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(60px, 8vw, 96px);
  background: linear-gradient(180deg, #F5F9F6 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  align-items: flex-start;
  gap: clamp(36px, 5vw, 64px);
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(1.95rem, 3.6vw, 3.4rem);
  line-height: 1.1;
  font-size: clamp(1.95rem, 3.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle-block {
  display: block;
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: var(--brand-700);
  margin-top: 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-title .brand-gradient {
  color: var(--brand-700);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1.4;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  word-break: break-word;
}

.hero-features-list li svg {
  color: var(--brand-700);
  background-color: #E9F5ED;
  padding: 3px;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-support {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 12px;
}

.hero-support a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero Visual Mockup & Floating Badges */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-width: 360px;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 24px 60px rgba(0, 107, 69, 0.18), 0 10px 24px rgba(24, 49, 41, 0.1);
  display: block;
  filter: drop-shadow(0 20px 35px rgba(0, 107, 69, 0.22)) drop-shadow(0 10px 15px rgba(24, 49, 41, 0.12));
  transition: transform 0.4s ease;
}

.hero-mockup-wrapper:hover .hero-mockup-img {
  transform: translateY(-4px);
  transform: translateY(-6px);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-1 {
  top: 12%;
  left: -28px;
  animation-delay: 0s;
}

.floating-badge-2 {
  top: 50%;
  right: -32px;
  animation-delay: 1.2s;
}

.floating-badge-3 {
  bottom: 8%;
  left: -20px;
  animation-delay: 2.4s;
}

.floating-badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.floating-badge-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
}

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

/* ==========================================================================
   03. Immediate Benefits Bar
   ========================================================================== */
.benefits-section {
  padding-top: 48px;
  padding-bottom: 56px;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-title {
  text-align: center;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--brand-900);
  margin-bottom: 36px;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background-color: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  background-color: #EBF4EE;
  border-color: #C0D8CA;
  transform: translateY(-3px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}

.benefit-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   04. Problem Identification
   ========================================================================== */
.problem-section {
  background-color: var(--background);
  position: relative;
}

.problem-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.problem-content .section-title {
  margin-bottom: 20px;
}

.problem-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.problem-impact-card {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.problem-impact-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: 'Manrope', serif;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.impact-quote {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
  position: relative;
}

.impact-sub {
  font-size: 14px;
  color: #BBE3CD;
  margin: 0;
}

/* ==========================================================================
   05. App Features
   ========================================================================== */
.features-section {
  background-color: var(--surface);
}

.features-showcase-box {
  max-width: 980px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 107, 69, 0.12), 0 4px 16px rgba(24, 49, 41, 0.06);
  border: 1px solid var(--border);
  background-color: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-showcase-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 107, 69, 0.18), 0 8px 24px rgba(24, 49, 41, 0.08);
}

.features-showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.feature-card {
  display: flex;
  gap: 22px;
  padding: 32px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  background-color: var(--surface);
  border-color: #B9D6C4;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-number {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.features-cta-box {
  text-align: center;
  margin-top: 16px;
}

/* ==========================================================================
   06. How to Start (3 Steps)
   ========================================================================== */
.steps-section {
  background-color: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.step-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: #B9D6C4;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-500) 100%);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0, 107, 69, 0.25);
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

/* ==========================================================================
   07. Tech & Human Support Bridge
   ========================================================================== */
.bridge-section {
  background: linear-gradient(135deg, var(--brand-900) 0%, #1A4D3B 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.bridge-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}

.bridge-content .section-title {
  color: var(--white);
}

.bridge-lead {
  font-size: 18px;
  font-weight: 600;
  color: #8CE0A0;
  margin-bottom: 16px;
  line-height: 1.5;
}

.bridge-desc {
  font-size: 16px;
  color: #D3E6DC;
  line-height: 1.7;
  margin-bottom: 24px;
}

.bridge-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bridge-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--white);
}

.bridge-highlights li svg {
  color: #8CE0A0;
  flex-shrink: 0;
}

.bridge-card-visual {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.bridge-stat-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat-item {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #8CE0A0;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #D3E6DC;
}

/* ==========================================================================
   08. Services of F C Business Contabilidade
   ========================================================================== */
.services-section {
  background-color: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
}

.service-card:hover {
  background-color: var(--surface);
  border-color: #B9D6C4;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.service-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-700);
  margin-top: auto;
}

.service-link:hover {
  color: var(--brand-600);
  gap: 12px;
}

.services-disclaimer {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 32px auto 0;
  padding: 12px 20px;
  background-color: var(--background);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

/* ==========================================================================
   09. Testimonials (Depoimentos)
   ========================================================================== */
.testimonials-section {
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: #B9D6C4;
  box-shadow: var(--shadow-md);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
}

.author-badge {
  font-size: 12.5px;
  color: var(--brand-700);
  font-weight: 600;
}

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

/* ==========================================================================
   10. CTA for Non-Clients (Novas Empresas)
   ========================================================================== */
.non-clients-section {
  background: linear-gradient(135deg, #E9F5ED 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.non-clients-box {
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.non-clients-box .section-title {
  margin-bottom: 18px;
}

.non-clients-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}

.non-clients-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.non-clients-support {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   11. Reinforced Download Section
   ========================================================================== */
.download-section {
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

.download-wrapper {
  background: linear-gradient(135deg, var(--brand-900) 0%, #154634 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: clamp(36px, 6vw, 64px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
}

.download-content .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.download-desc {
  font-size: 17px;
  color: #D3E6DC;
  line-height: 1.7;
  margin-bottom: 32px;
}

.download-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.download-qr-codes {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.qr-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-box img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.qr-label-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.qr-label-sub {
  font-size: 11px;
  color: #BBE3CD;
  margin: 0;
}

.download-microcopy {
  font-size: 12.5px;
  color: #A9D1BD;
  line-height: 1.5;
  margin: 0;
}

.download-visual {
  display: flex;
  justify-content: center;
}

.download-mockup-wrapper {
  max-width: 320px;
  max-width: 330px;
  width: 100%;
}

.download-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.download-mockup-wrapper:hover .download-mockup-img {
  transform: translateY(-5px);
}

/* ==========================================================================
   12. FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  background-color: var(--background);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #B9D6C4;
}

.faq-item.active {
  border-color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--brand-700);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-700);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--accent-100);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   13. Contact & Locations Section
   ========================================================================== */
.contact-section {
  background-color: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.locations-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.location-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.location-card:hover {
  background-color: #EBF4EE;
  border-color: #C0D8CA;
}

.location-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-700);
  flex-shrink: 0;
}

.location-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.location-address {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.channel-badge:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
  background-color: var(--background);
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-form-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background-color: var(--background);
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-700);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 107, 69, 0.15);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--brand-900);
  color: var(--white);
  padding-top: clamp(60px, 8vw, 88px);
  /* Safe area for floating WhatsApp button */
  padding-bottom: clamp(100px, 12vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 56px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14.5px;
  color: #BBE3CD;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14.5px;
  color: #BBE3CD;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
  color: #9ECBB3;
}

.footer-copyright {
  margin: 0;
}

.footer-credits {
  margin: 0;
}

.footer-credits a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.footer-credits a:hover {
  color: #8CE0A0;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 49, 41, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-box {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 6px;
}

.modal-close-btn:hover {
  background-color: var(--background);
}

/* ==========================================================================
   Responsive Media Queries (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas,
  .hero-support,
  .hero-microcopy {
    justify-content: center;
  }

  .hero-features-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .floating-badge {
    display: none;
  }

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

  .problem-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .download-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-buttons-group,
  .download-qr-codes {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  /* Mobile Header */
  .main-nav {
    display: none;
  }

  .header-cta .btn {
    display: none;
  }

  .btn-hamburger {
    display: block;
  }

  .site-logo img {
    height: 46px;
    max-height: 46px;
    max-width: 160px;
    width: auto;
  }

  /* Buttons on mobile */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-features-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

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

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

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* WhatsApp button on small screens */
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    padding: 10px 16px;
    font-size: 13.5px;
  }

  .whatsapp-float-text {
    display: inline;
  }

  .download-qr-codes {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-logo img {
    height: 42px;
    max-height: 42px;
    max-width: 145px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }
}

