/* ==========================================================================
   DESIGN SYSTEM - ENGENHARIA DIAGNÓSTICA PREVENTIVA & LAUDOS
   ========================================================================== */

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

/* Variables */
:root {
  --primary: #111e35;        /* Navy Dark */
  --primary-light: #1b2c47;  /* Navy Light/Medium */
  --primary-muted: #3a4d6f;  /* Navy Muted/Slate */
  --accent: #f97316;         /* Orange 500 (Conversion Accent) */
  --accent-hover: #ea580c;   /* Orange 600 */
  --success: #10b981;        /* Emerald 500 */
  --success-hover: #059669;   /* Emerald 600 */
  --bg-ice: #f3f5f9;         /* Slate/Navy Ice */
  --bg-light: #e7ebf3;       /* Slate/Navy Light */
  --bg-white: #ffffff;
  --text-title: #111e35;
  --text-body: #34435e;
  --text-muted: #5c6e8c;
  --border: #dce1eb;
  --border-focus: #2563eb;   /* Blue focus */
  --shadow-sm: 0 1px 2px 0 rgba(17, 30, 53, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(17, 30, 53, 0.1), 0 2px 4px -1px rgba(17, 30, 53, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(17, 30, 53, 0.1), 0 4px 6px -2px rgba(17, 30, 53, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(17, 30, 53, 0.1), 0 10px 10px -5px rgba(17, 30, 53, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Base Layout Components */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-ice {
  background-color: var(--bg-ice);
}

.section-bg-dark {
  background-color: var(--primary);
  color: var(--bg-white);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.section-bg-dark .section-header p {
  color: #cbd5e1;
}

/* Announcement / Urgency Bar */
.announcement-bar {
  background-color: var(--accent);
  color: var(--bg-white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
  box-shadow: var(--shadow-sm);
  display: block;
}

.announcement-bar a {
  color: var(--bg-white);
  text-decoration: underline;
}

/* Navbar */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-muted);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin: -12px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 30, 53, 0.15);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.btn-whatsapp {
  background-color: var(--success);
  color: var(--bg-white);
}

.btn-whatsapp:hover {
  background-color: var(--success-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background-color: var(--success);
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg);
  font-size: 2rem;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: var(--success-hover);
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(17, 30, 53, 0.95) 0%, rgba(27, 44, 71, 0.9) 90%), 
              url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  padding: 7.5rem 0;
  overflow: hidden;
}

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

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.hero-content p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge-group {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.hero-badge-text {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.3;
}

.hero-badge-text strong {
  display: block;
  color: var(--bg-white);
  font-size: 0.95rem;
}

/* Hero Form (LP Conversions) */
.hero-form-card {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.hero-form-card.light {
  background-color: var(--bg-white);
  border-color: var(--border);
  color: var(--text-body);
}

.hero-form-card.light h3 {
  color: var(--text-title);
}

.hero-form-card.light p {
  color: var(--text-muted);
}

.hero-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--bg-white);
}

.hero-form-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.light .form-label {
  color: var(--primary-muted);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-title);
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  outline: none;
  transition: var(--transition);
}

.hero-form-card:not(.light) .form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-help {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.75rem;
}

.light .form-help {
  color: var(--text-muted);
}

/* Feature / Problem Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Pain/Problem Cards */
.card-pain {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid #ef4444; /* Alert Red Edge */
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card-pain:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: #b91c1c;
}

.card-pain-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-pain-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card-pain h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-title);
}

.card-pain p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Solution / Service Cards */
.card-service {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--accent);
}

.card-service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(17, 30, 53, 0.05);
  color: var(--primary);
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card-service:hover .card-service-icon {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--accent);
}

.card-service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.card-service h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card-service p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-service-footer {
  margin-top: auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  gap: 0.35rem;
}

.link-arrow:hover {
  color: var(--accent);
  gap: 0.6rem;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Technology / Authority block */
.tech-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tech-item {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tech-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.3);
}

.tech-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.tech-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.tech-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tech-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Linear process / Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--bg-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--bg-ice);
  box-shadow: 0 0 0 2px var(--primary);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-card:hover .step-number {
  background-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Authority / About us section split */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image-container {
  position: relative;
}

.split-image-container::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.split-image {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.authority-list {
  list-style: none;
  margin: 1.5rem 0 2.5rem 0;
}

.authority-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.authority-list-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.authority-list-item p {
  font-size: 0.95rem;
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  color: rgba(249, 115, 22, 0.1);
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ / Collapsible Details Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 30, 53, 0.15);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-title);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-summary-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-title);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary-icon {
  transform: rotate(180deg);
  fill: var(--accent);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-body);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.95rem;
  background-color: var(--bg-ice);
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-email-link {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.footer-email-link:hover {
  color: var(--bg-white);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.footer-logo span {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom p {
  color: #64748b;
}

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

.footer-legal-links a {
  color: #64748b;
}

.footer-legal-links a:hover {
  color: #94a3b8;
}

/* Call to action center sections */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--bg-white);
}

.cta-banner p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* Mobile Navigation Trigger Button Styling */
.nav-toggle-icon {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  position: relative;
  transition: var(--transition);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle.active .nav-toggle-icon {
  background: transparent;
}

.nav-toggle.active .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Form Success State styling */
.form-success-message {
  display: none;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero {
    padding: 5rem 0;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .tech-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  /* Centralização e Otimização do Hero */
  .hero-container {
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-tag {
    justify-content: center;
    margin: 0 auto 1.5rem auto;
  }
  
  .hero-badge-group {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  /* Seção de Títulos */
  .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 1.65rem;
    line-height: 1.3;
  }
  
  /* Grades e Layouts */
  .grid-3, .grid-2, .grid-4, .process-steps, .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Otimização dos Cards */
  .card-service, .card-testimonial, .tech-card, .process-step {
    padding: 1.5rem;
    text-align: center;
  }
  
  .card-service-icon {
    margin: 0 auto 1.25rem auto;
  }
  
  .testimonial-avatar {
    margin: 0 auto 1rem auto;
  }
  
  /* Ajuste das tabelas comparativas */
  .table-responsive {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
  }
  
  .table-responsive table {
    min-width: 580px;
  }
  
  .table-responsive table th, 
  .table-responsive table td {
    padding: 0.8rem 0.6rem !important;
    font-size: 0.825rem !important;
  }
  
  /* Botões e CTAs */
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-ctas .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
  
  /* Ajuste no CTA do meio e final */
  .cta-banner {
    padding: 3.5rem 1.5rem;
    text-align: center;
  }
  
  .cta-banner h2 {
    font-size: 1.8rem;
  }
  
  .cta-banner p {
    font-size: 0.95rem;
  }
  
  /* Ajuste das logos */
  .logo-svg {
    height: 38px;
  }
  .logo svg {
    height: 38px;
  }
  
  /* Botão do WhatsApp Flutuante */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
  
  .split-image-container::before {
    display: none;
  }
}

/* ==========================================================================
   GALERIA E HERO IMAGE ADICIONAIS
   ========================================================================== */

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  aspect-ratio: 4 / 3;
}

.hero-image-wrapper:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo Gallery for LPs */
.photo-gallery {
  margin-top: 3.5rem;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 260px;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 0.8rem 1rem;
  background: linear-gradient(to top, rgba(17, 30, 53, 0.95) 0%, rgba(17, 30, 53, 0) 100%);
  color: var(--bg-white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

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

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

@media (max-width: 480px) {
  .hero-badge-group {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   LIGHTBOX MODAL FOR TECHNICAL GALLERY
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 30, 53, 0.95);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.1);
  background-color: var(--primary);
}

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

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--bg-white);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: var(--transition);
  user-select: none;
  z-index: 2010;
}

.lightbox-close:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.lightbox-caption {
  width: 100%;
  background-color: rgba(17, 30, 53, 0.95);
  color: var(--bg-white);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   CAROUSEL SLIDER FOR TECHNICAL REAL PHOTOS
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background-color: var(--primary);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(17, 30, 53, 0.6);
  color: var(--bg-white);
  border: none;
  font-size: 2.25rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  user-select: none;
  backdrop-filter: blur(4px);
}

.carousel-control:hover {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background-color: rgba(17, 30, 53, 0.4);
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-indicator.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .carousel-wrapper {
    max-width: 100%;
  }
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }
  .carousel-control.prev {
    left: 10px;
  }
  .carousel-control.next {
    right: 10px;
  }
  .carousel-indicators {
    bottom: 12px;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   LOGO SVG STYLING OVERRIDES (OFFICIAL BRAND LOGO)
   ========================================================================== */
.logo-svg {
  height: 48px;
  width: auto;
  display: block;
}

.logo {
  display: inline-block;
  vertical-align: middle;
}

.logo svg {
  width: auto;
  height: 48px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo .logo-svg {
  height: 56px;
  width: auto;
}

.footer-logo svg {
  width: auto;
  height: 56px;
}




