/* ============================================================
   FOUR SOLUTIONS — Design System & Styles
   LIGHT THEME | Modern Tech | Responsive | Accessible
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties (Design Tokens) — LIGHT ── */
:root {
  /* Colors — Background */
  --color-bg-body:       #f4f7fa;
  --color-bg-white:      #ffffff;
  --color-bg-section:    #f0f4f8;
  --color-bg-card:       #ffffff;
  --color-bg-card-hover: #f8fbff;
  --color-surface:       #e8eef6;

  /* Colors — Primary */
  --color-primary:       #0a1f44;
  --color-primary-light: #1a3a6b;

  /* Colors — Accent */
  --color-accent-cyan:   #00b894;
  --color-accent-blue:   #2563eb;
  --color-accent-orange: #f97316;
  --color-accent-gradient: linear-gradient(135deg, #00b894, #2563eb);

  /* Colors — Text */
  --color-text-primary:   #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted:     #94a3b8;
  --color-text-heading:   #0f172a;
  --color-text-on-dark:   #f1f5f9;

  /* Colors — Borders */
  --color-border:       #e2e8f0;
  --color-border-hover: rgba(0, 184, 148, 0.4);

  /* Glassmorphism (light) */
  --glass-bg:     rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.6);
  --glass-blur:   20px;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 20px rgba(0, 184, 148, 0.12);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width:   1280px;
  --header-h:    72px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent-cyan);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Utility Classes ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-lg);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-accent-cyan);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--color-text-heading);
}
.section-title .gradient {
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9)  { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(n+11) { transition-delay: 0.55s; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }


/* ============================================================
   HEADER — Light Glassmorphism Fixed
   ============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-base),
              box-shadow var(--transition-base);
}
#main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
}
.logo-text span {
  color: var(--color-accent-cyan);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-cyan);
  transition: width var(--transition-base);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-heading);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: var(--space-lg);
}
.lang-btn {
  cursor: pointer;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 2px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  opacity: 0.55;
}
.lang-btn:hover {
  opacity: 0.85;
  transform: scale(1.1);
}
.lang-btn.active {
  border-color: var(--color-accent-cyan);
  opacity: 1;
}
.lang-btn img,
.lang-btn svg {
  width: 28px;
  height: 20px;
  border-radius: 3px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1100;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-heading);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   POR QUE ESCOLHER A FOUR SOLUTIONS
   ============================================================ */
.why-choose-section {
  padding: var(--section-spacing) 0;
  background: var(--color-bg);
}
.why-choose-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-cyan);
  box-shadow: var(--shadow-md);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-accent-cyan);
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-heading);
}
.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-mut);
  line-height: 1.5;
}


/* ============================================================
   RESUMO DE ESPECIALIDADES
   ============================================================ */
.specialties-section {
  padding: var(--section-spacing) 0;
  background: var(--color-bg);
}
.specialties-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.specialties-layout {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}
.specialties-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  height: 100%;
}
.specialties-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.specialties-image:hover img {
  transform: scale(1.05);
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (min-width: 769px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.spec-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}
.spec-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 184, 148, 0.2);
  transform: translateY(-3px);
}
.spec-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent-cyan);
}
.spec-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}
.spec-card p {
  font-size: 0.9rem;
  color: var(--color-text-mut);
  line-height: 1.5;
}

/* ============================================================
   SERVICES TABS (SERVIÇOS)
   ============================================================ */
.services-tabs-container {
  margin-top: var(--space-xl);
}
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent-cyan);
}
.tab-btn.active {
  background: var(--color-accent-cyan);
  color: #fff;
  border-color: var(--color-accent-cyan);
}
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  color: #fff;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 68, 0.5) 0%,
    rgba(10, 31, 68, 0.7) 50%,
    rgba(10, 31, 68, 0.95) 100%
  );
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: var(--space-4xl) var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.25);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease-out;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,184,148,0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0,184,148,0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  color: #fff;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-accent-cyan), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-cyan), #00a884);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 148, 0.4);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 184, 148, 0.1);
  color: var(--color-accent-cyan);
}

/* Buttons on light pages */
.btn-primary-dark {
  background: linear-gradient(135deg, var(--color-accent-cyan), #00a884);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.25);
}
.btn-primary-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 148, 0.35);
  color: #fff;
}

/* Hero Glass Panels */
.hero-glass-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--space-xl);
  text-align: left;
}
.glass-panel h3 {
  color: var(--color-accent-cyan);
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}
.glass-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.glass-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 1.5;
}
.glass-list .check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out 1s both;
}
.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator .wheel {
  width: 3px;
  height: 8px;
  background: var(--color-accent-cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}


/* ============================================================
   WHY CHOOSE SECTION (HOME)
   ============================================================ */
.why-choose-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-white);
}
.why-choose-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}
.why-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.why-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  background: rgba(0, 184, 148, 0.08);
  border-radius: 50%;
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PAGE HERO (for sub-pages: Empresa, Serviços, Contatos)
   ============================================================ */
.page-hero {
  background: var(--color-primary);
  padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--color-bg-body));
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero .breadcrumb {
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.55);
}
.page-hero .breadcrumb a:hover {
  color: var(--color-accent-cyan);
}
.page-hero .breadcrumb span {
  color: var(--color-accent-cyan);
}


/* ============================================================
   ABOUT / EMPRESA SECTION
   ============================================================ */
.about-section {
  padding: var(--space-4xl) 0 var(--space-lg);
  background: var(--color-bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.55fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-smooth);
}
.about-image:hover img {
  transform: scale(1.03);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  pointer-events: none;
}
.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--color-accent-cyan);
  border-right: 3px solid var(--color-accent-cyan);
  border-radius: 0 var(--radius-md) 0 0;
  z-index: 1;
}

.about-text {
  line-height: 1.9;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}
.about-text p { margin-bottom: var(--space-lg); }

.about-continued {
  padding: var(--space-lg) 0 var(--space-3xl);
  background: var(--color-bg-body);
}

/* Feature blocks */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}
.about-feature {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.about-feature:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 184, 148, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.4rem;
}
.about-feature h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}
.about-feature p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Timeline ── */
.timeline-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-white);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-accent-blue), var(--color-accent-cyan));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-year {
  flex: 0 0 auto;
  width: 100px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent-cyan);
  position: relative;
  padding-top: var(--space-sm);
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent-cyan);
  border: 3px solid var(--color-bg-white);
  top: 10px;
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 184, 148, 0.3);
}
.timeline-item:nth-child(odd) .timeline-dot  { right: -40px; }
.timeline-item:nth-child(even) .timeline-dot { left: -40px; }

.timeline-content {
  flex: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base);
}
.timeline-content:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}
.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================================
   SERVICES / SERVIÇOS
   ============================================================ */
.services-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-white);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-tabs-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.tab-btn {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.tab-btn:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-primary);
}

.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(10, 31, 68, 0.2);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card-icon {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-section), var(--color-surface));
  position: relative;
  overflow: hidden;
}
.service-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,184,148,0.04), transparent);
}
.service-card-icon .icon-emoji {
  font-size: 3rem;
  z-index: 1;
}

.service-card-body {
  padding: var(--space-xl);
}
.service-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.service-card-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.service-card-tag {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-cyan);
  background: rgba(0, 184, 148, 0.07);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}


/* ============================================================
   PARTNERS / PARCEIROS
   ============================================================ */
.partners-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-bg-section);
}

.partners-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 85px;
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.partner-logo:hover {
  border-color: var(--color-border-hover);
  transform: scale(1.06);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(60%) opacity(0.7);
  transition: filter var(--transition-base);
}
.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
}


/* ============================================================
   CONTACT / CONTATOS
   ============================================================ */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.contact-item:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 184, 148, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.contact-item a:hover {
  color: var(--color-accent-cyan);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Form */
.contact-form {
  margin-top: var(--space-3xl);
  padding: var(--space-3xl) 0;
  background: var(--color-bg-section);
  border-radius: var(--radius-xl);
}
.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  text-align: center;
  margin-top: var(--space-xl);
}


/* ============================================================
   FOOTER
   ============================================================ */
#main-footer {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: var(--space-lg); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--color-accent-cyan);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}
.footer-contact-item span:first-child {
  color: var(--color-accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.5);
}
.footer-contact-item a:hover {
  color: var(--color-accent-cyan);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-social {
  display: flex;
  gap: var(--space-md);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  transform: translateY(-2px);
}


/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-cyan);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 184, 148, 0.35);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* WhatsApp Inline Contact Button */
.whatsapp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 16px 32px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  margin-top: var(--space-md);
}
.whatsapp-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  background: #20bd5a;
  color: #fff;
}
.whatsapp-contact-btn svg {
  flex-shrink: 0;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 60px;
  }
  .timeline-year {
    text-align: left;
    width: auto;
    padding-left: 0;
    position: relative;
  }
  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -36px !important;
    right: auto !important;
    top: 6px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-h) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--transition-base);
    border-left: 1px solid var(--color-border);
    z-index: 1050;
  }
  .main-nav.open { right: 0; }

  .nav-links {
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%;
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    display: block;
  }

  .lang-switcher { margin-left: 0; margin-top: var(--space-xl); }

  .hero-glass-panels { grid-template-columns: 1fr; gap: var(--space-lg); }
  
  .why-choose-grid { grid-template-columns: 1fr; }
  
  .specialties-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .specialties-grid { grid-template-columns: 1fr; }
  
  .tabs-nav { flex-direction: column; }
  .tab-btn { width: 100%; }

  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
}

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 990;
  }
.nav-overlay.active { display: block; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent-cyan);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent-cyan);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
