/* ============================================================
   CyberCare — Landing Page Styles
   Design: Modern, clean, tech + health aesthetic
   Mobile-first | WCAG AA contrast compliant
   ============================================================ */

/* ── CSS Variables (Design Tokens) ── */
:root {
  --color-primary:     #0A6EBD;   /* deep tech blue */
  --color-primary-dark:#074F8A;
  --color-secondary:   #00C9A7;   /* health teal */
  --color-secondary-dark:#00A88D;
  --color-accent:      #1DE9B6;   /* bright mint accent */
  --color-dark:        #0D1B2A;   /* near-black */
  --color-dark-muted:  #1B2B3B;
  --color-text:        #2E3D4F;
  --color-text-muted:  #5C6E7E;
  --color-light:       #F4F8FB;
  --color-white:       #FFFFFF;
  --color-border:      #DDE6EE;

  --font-sans:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display:'Poppins', 'Inter', sans-serif;

  --radius-sm:  0.375rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(10,110,189,.10);
  --shadow-lg:  0 8px 32px rgba(10,110,189,.15);
  --shadow-card:0 2px 12px rgba(13,27,42,.08);

  --transition: 0.3s ease;

  --nav-height-desktop: 72px;
  --bottom-nav-height:  64px;
}

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Offset anchor targets for sticky header */
section[id] {
  scroll-margin-top: var(--nav-height-desktop);
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
a:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.625rem); }

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.section-padded {
  padding: 5rem 0;
}

.section-padded-lg {
  padding: 6.5rem 0;
}

.container-tight {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-CyberCare {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(10,110,189,.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), #053a65);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,110,189,.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--color-white);
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5b, #0e7060);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height-desktop);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), background var(--transition);
}

#main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

.site-logo:hover { color: var(--color-primary-dark); }

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.logo-text-cyber { color: var(--color-primary); }
.logo-text-care  { color: var(--color-secondary); }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--color-primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav .btn-CyberCare {
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--bottom-nav-height);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding: 0 0.5rem;
  width: 100%;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  height: 100%;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  padding: 0.5rem 0;
}

.bottom-nav-item i {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--color-primary);
}

/* ============================================================
   HERO / WHO WE ARE SECTION
   ============================================================ */
#quem-somos {
  padding-top: calc(var(--nav-height-desktop) + 4rem);
  padding-bottom: 5rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='60' cy='80' r='3.5' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='200' cy='50' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='380' cy='100' r='3' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='500' cy='60' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='140' cy='200' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='300' cy='180' r='3.5' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='480' cy='220' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='80' cy='350' r='3.5' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='260' cy='320' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='420' cy='380' r='3' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='560' cy='340' r='2.5' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='180' cy='480' r='2.5' fill='%230A6EBD' opacity='0.25'/%3E%3Ccircle cx='360' cy='500' r='3' fill='%2300C9A7' opacity='0.25'/%3E%3Ccircle cx='520' cy='480' r='2.5' fill='%230A6EBD' opacity='0.25'/%3E%3Cline x1='60' y1='80' x2='200' y2='50' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='200' y1='50' x2='380' y2='100' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='380' y1='100' x2='500' y2='60' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='60' y1='80' x2='140' y2='200' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='200' y1='50' x2='300' y2='180' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='380' y1='100' x2='480' y2='220' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='140' y1='200' x2='300' y2='180' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='300' y1='180' x2='480' y2='220' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='80' y1='350' x2='260' y2='320' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='260' y1='320' x2='420' y2='380' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='140' y1='200' x2='80' y2='350' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='300' y1='180' x2='260' y2='320' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='80' y1='350' x2='180' y2='480' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='260' y1='320' x2='360' y2='500' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='180' y1='480' x2='360' y2='500' stroke='%230A6EBD' stroke-width='0.6' opacity='0.15'/%3E%3Cline x1='360' y1='500' x2='520' y2='480' stroke='%2300C9A7' stroke-width='0.6' opacity='0.15'/%3E%3C/svg%3E") center/600px 600px,
    linear-gradient(160deg, #F0F7FF 0%, var(--color-light) 50%, #E8F8F5 100%);
  overflow: hidden;
  position: relative;
}

#quem-somos::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0,201,167,.12) 0%, transparent 70%);
  pointer-events: none;
}

#quem-somos::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(10,110,189,.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,110,189,.08);
  color: var(--color-primary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(10,110,189,.15);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-item span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Hero image column */
.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
}

.hero-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
}

.hero-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.hero-img-badge i {
  font-size: 1.25rem;
  color: var(--color-secondary);
}

.hero-img-badge-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--color-dark); }
.hero-img-badge-text span   { font-size: 0.75rem; color: var(--color-text-muted); }

.hero-float-card {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 180px;
}

.hero-float-card i { font-size: 1.5rem; color: var(--color-primary); }
.hero-float-card strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--color-dark); }
.hero-float-card span   { font-size: 0.75rem; color: var(--color-text-muted); }

/* ============================================================
   PRODUCTS & SOLUTIONS SECTION
   ============================================================ */
#produtos {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Product Cards */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,110,189,.2);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.icon-blue   { background: rgba(10,110,189,.10);  color: var(--color-primary); }
.icon-teal   { background: rgba(0,201,167,.12);   color: var(--color-secondary); }
.icon-purple { background: rgba(111,66,193,.10);  color: #6F42C1; }
.icon-orange { background: rgba(253,126,20,.10);  color: #FD7E14; }
.icon-indigo { background: rgba(63,81,181,.10);   color: #3F51B5; }
.icon-green  { background: rgba(40,167,69,.10);   color: #28A745; }

.product-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.product-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.product-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Diferencial card — special */
.product-card.diferencial {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-muted));
  border-color: rgba(255,255,255,.1);
  color: white;
}

.product-card.diferencial h3,
.product-card.diferencial p,
.product-card.diferencial ul li {
  color: rgba(255,255,255,.85);
}

.product-card.diferencial h3 { color: white; }

.product-card.diferencial .product-card-icon {
  background: rgba(0,201,167,.2);
  color: var(--color-accent);
}

.product-card.diferencial:hover {
  border-color: rgba(0,201,167,.3);
}

.product-card.diferencial ul li::before {
  background: var(--color-accent);
}

/* ============================================================
   APP MOCKUP BANNER (inside produtos section)
   ============================================================ */
.app-mockup-banner {
  background: linear-gradient(135deg, #F0F7FF 0%, #E8F8F5 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
}

.app-mockup-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,201,167,.15) 0%, transparent 70%);
}

.mockup-phone {
  width: 120px;
  height: 220px;
  background: var(--color-dark);
  border-radius: 20px;
  border: 4px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.mockup-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: var(--radius-full);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#depoimentos {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-muted) 100%);
  position: relative;
  overflow: hidden;
}

#depoimentos::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,201,167,.08) 0%, transparent 70%);
  pointer-events: none;
}

#depoimentos .section-label { color: var(--color-accent); }
#depoimentos h2             { color: var(--color-white); }

/* Testimonial Slider */
.testimonials-slider-wrap {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 7rem;
  color: var(--color-secondary);
  opacity: 0.25;
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
}

.slider-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-dark);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
#contato {
  background: var(--color-light);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0,201,167,.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255,255,255,.80);
  font-size: 1.0625rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-info {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
}

.cta-info-item i { color: var(--color-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.65);
}

.footer-top {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  line-height: 1.65;
  margin-top: 0.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  text-decoration: none;
}

.footer-logo .logo-text-cyber { color: var(--color-white); }
.footer-logo .logo-text-care  { color: var(--color-secondary); }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-secondary); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin: 0;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up  { animation: fadeUp  0.7s ease forwards; }
.anim-fade-in  { animation: fadeIn  0.6s ease forwards; }
.anim-scale-in { animation: scaleIn 0.6s ease forwards; }

/* Intersection observer driven animation */
.will-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.will-animate.delay-1 { transition-delay: 0.1s; }
.will-animate.delay-2 { transition-delay: 0.2s; }
.will-animate.delay-3 { transition-delay: 0.3s; }
.will-animate.delay-4 { transition-delay: 0.4s; }
.will-animate.delay-5 { transition-delay: 0.5s; }
.will-animate.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Mobile-first: base styles target mobile
   ============================================================ */

/* 768px — tablets and up */
@media (min-width: 768px) {
  #quem-somos {
    padding-top: calc(var(--nav-height-desktop) + 5rem);
    padding-bottom: 6rem;
  }
}

/* Below 992px — mobile/small tablet */
@media (max-width: 991.98px) {
  /* Show bottom nav, hide desktop nav */
  .desktop-nav { display: none; }
  .bottom-nav  { display: flex; }

  /* Compensate for bottom nav taking space */
  body { padding-bottom: var(--bottom-nav-height); }

  /* Hero image hidden on mobile to keep it clean */
  .hero-float-card { right: 0; top: auto; bottom: 5.5rem; }

  .hero-img-card img { height: 320px; }

  .cta-box { padding: 2.5rem 1.5rem; }

  .app-mockup-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Above 992px — desktop */
@media (min-width: 992px) {
  section[id] { scroll-margin-top: var(--nav-height-desktop); }
}

/* 375px — small mobile */
@media (max-width: 480px) {
  .hero-title  { font-size: 2rem; }
  .hero-ctas   { flex-direction: column; }
  .hero-stats  { gap: 1.25rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.divider-gradient {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.text-white-75  { color: rgba(255,255,255,.75); }
.text-white-50  { color: rgba(255,255,255,.5); }

.bg-light-gradient {
  background: linear-gradient(160deg, #F0F7FF 0%, var(--color-light) 100%);
}

/* Skip-to-content for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  z-index: 9999;
}

/* ============================================================
   STEP 2 — BUTTON TEXT COLOR FIX
   Ensures all blue/primary buttons always render white text.
   ============================================================ */
.btn-CyberCare.btn-primary,
a.btn-CyberCare.btn-primary,
button.btn-CyberCare.btn-primary {
  color: #ffffff !important;
}

.btn-CyberCare.btn-primary:hover,
a.btn-CyberCare.btn-primary:hover {
  color: #ffffff !important;
}

/* ============================================================
   STEP 4 — HAMBURGER BUTTON & MOBILE DROPDOWN NAV
   ============================================================ */
.mobile-nav-controls {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  transition: background var(--transition), border-color var(--transition);
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-dropdown {
  display: none;
  position: absolute;
  top: var(--nav-height-desktop);
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-dropdown.open { display: block; }

.mobile-dropdown-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.mobile-dropdown-item i {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.75;
}

.mobile-dropdown-item:hover,
.mobile-dropdown-item.active {
  background: rgba(10,110,189,.08);
  color: var(--color-primary);
}

.mobile-dropdown-item.btn-primary-mobile {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff !important;
  text-align: center;
  border-radius: var(--radius-full);
}

.mobile-dropdown-item.btn-primary-mobile:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), #053a65);
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .mobile-nav-controls { display: flex; }
}

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
.dark-mode-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: var(--color-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ============================================================
   STEP 5 — PROCESSOS SECTION
   ============================================================ */
#processos {
  background: linear-gradient(160deg, #F4F8FB 0%, #EBF5FF 50%, #F0FBF8 100%);
}

.processos-highlight {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

.processo-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.processo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,110,189,.2);
}

.processo-card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.processo-card h3 {
  font-size: 1.125rem;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.processo-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   STEP 6 — CEO BIOGRAPHY SECTION
   ============================================================ */
#ceo-bio {
  background: var(--color-white);
}

.ceo-bio-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.ceo-bio-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1.75rem;
  display: block;
}

.ceo-bio-text p {
  font-size: 0.9625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ceo-bio-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.ceo-bio-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 100%;
}

.ceo-bio-img img {
  width: 100%;
  height: auto;
  display: block;
}

.ceo-bio-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   STEP 7 — DARK MODE IMPLEMENTATION
   Toggled by adding class "dark-mode" to <body>
   ============================================================ */

/* Smooth transition for all themed elements */
body,
#main-header,
#quem-somos,
#produtos,
#processos,
#contato,
#ceo-bio,
.product-card,
.processo-card,
.mobile-dropdown,
.bottom-nav {
  transition: background-color 0.3s ease, background 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}

/* Base dark mode body */
body.dark-mode {
  background-color: #121212;
  color: #c9d6e3;
}

/* Header */
body.dark-mode #main-header {
  background: rgba(13,20,30,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}

body.dark-mode #main-header.scrolled {
  background: rgba(13,20,30,0.99);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body.dark-mode .site-logo .logo-text-cyber { color: #7bb8e8; }
body.dark-mode .desktop-nav a             { color: #c9d6e3; }
body.dark-mode .desktop-nav a:hover,
body.dark-mode .desktop-nav a.active      { color: var(--color-secondary); }

body.dark-mode .dark-mode-toggle {
  border-color: rgba(255,255,255,0.15);
  color: #c9d6e3;
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

body.dark-mode .hamburger-btn {
  border-color: rgba(255,255,255,0.15);
}

body.dark-mode .hamburger-btn span { background: #c9d6e3; }

/* Mobile dropdown */
body.dark-mode .mobile-dropdown {
  background: rgba(13,20,30,0.98);
  border-bottom-color: rgba(255,255,255,0.08);
}

body.dark-mode .mobile-dropdown-item       { color: #c9d6e3; }
body.dark-mode .mobile-dropdown-item:hover,
body.dark-mode .mobile-dropdown-item.active {
  background: rgba(255,255,255,0.06);
  color: var(--color-secondary);
}

/* Hero section */
body.dark-mode #quem-somos {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='60' cy='80' r='3.5' fill='%230A6EBD' opacity='0.18'/%3E%3Ccircle cx='200' cy='50' r='2.5' fill='%2300C9A7' opacity='0.18'/%3E%3Ccircle cx='380' cy='100' r='3' fill='%230A6EBD' opacity='0.18'/%3E%3Ccircle cx='300' cy='180' r='3.5' fill='%230A6EBD' opacity='0.18'/%3E%3Ccircle cx='80' cy='350' r='3.5' fill='%230A6EBD' opacity='0.18'/%3E%3Ccircle cx='260' cy='320' r='2.5' fill='%2300C9A7' opacity='0.18'/%3E%3Cline x1='60' y1='80' x2='200' y2='50' stroke='%230A6EBD' stroke-width='0.6' opacity='0.12'/%3E%3Cline x1='200' y1='50' x2='380' y2='100' stroke='%2300C9A7' stroke-width='0.6' opacity='0.12'/%3E%3Cline x1='60' y1='80' x2='300' y2='180' stroke='%230A6EBD' stroke-width='0.6' opacity='0.12'/%3E%3Cline x1='80' y1='350' x2='260' y2='320' stroke='%230A6EBD' stroke-width='0.6' opacity='0.12'/%3E%3C/svg%3E") center/600px 600px,
    linear-gradient(160deg, #0d1f32 0%, #0f1c2a 50%, #0d2018 100%);
}

body.dark-mode .hero-badge {
  background: rgba(10,110,189,0.15);
  border-color: rgba(10,110,189,0.28);
}

body.dark-mode .hero-title { color: #e8f0f8; }
body.dark-mode .hero-desc  { color: #8aa0b4; }
body.dark-mode .hero-stat-item span { color: #8aa0b4; }

body.dark-mode .hero-img-badge {
  background: #1a2a3a;
}
body.dark-mode .hero-img-badge-text strong { color: #e8f0f8; }
body.dark-mode .hero-img-badge-text span   { color: #8aa0b4; }

body.dark-mode .hero-float-card {
  background: #1a2a3a;
}
body.dark-mode .hero-float-card strong { color: #e8f0f8; }
body.dark-mode .hero-float-card span   { color: #8aa0b4; }

/* Products section */
body.dark-mode #produtos      { background: #0f1923; }
body.dark-mode .section-header h2  { color: #e8f0f8; }
body.dark-mode .section-header p   { color: #8aa0b4; }

body.dark-mode .product-card {
  background: #1a2535;
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .product-card h3     { color: #e8f0f8; }
body.dark-mode .product-card p      { color: #8aa0b4; }
body.dark-mode .product-card ul li  { color: #8aa0b4; }

body.dark-mode .app-mockup-banner {
  background: linear-gradient(135deg, #1a2535 0%, #0f2018 100%);
  border-color: rgba(255,255,255,0.08);
}

/* Processos section */
body.dark-mode #processos {
  background: linear-gradient(160deg, #111d2b 0%, #0f1923 100%);
}

body.dark-mode .processo-card {
  background: #1a2535;
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .processo-card h3 { color: #e8f0f8; }
body.dark-mode .processo-card p  { color: #8aa0b4; }

body.dark-mode .processos-highlight {
  background: #1a2535;
  border-left-color: var(--color-secondary);
  color: #8aa0b4;
}

/* Testimonials (already dark, subtle deepening) */
body.dark-mode #depoimentos {
  background: linear-gradient(160deg, #060e17 0%, #0a1520 100%);
}

/* Contact section */
body.dark-mode #contato { background: #0f1923; }

/* CEO section */
body.dark-mode #ceo-bio           { background: #0f1923; }
body.dark-mode .ceo-bio-text h2   { color: #e8f0f8; }
body.dark-mode .ceo-bio-text p    { color: #8aa0b4; }
body.dark-mode .ceo-bio-subtitle  { color: var(--color-secondary); }

/* Footer */
body.dark-mode #footer { background: #050d15; }

/* Bottom nav */
body.dark-mode .bottom-nav {
  background: rgba(13,20,30,0.98);
  border-top-color: rgba(255,255,255,0.08);
}
body.dark-mode .bottom-nav-item       { color: #8aa0b4; }
body.dark-mode .bottom-nav-item:hover,
body.dark-mode .bottom-nav-item.active { color: var(--color-secondary); }
