/* ============================================
   CEDEPSI – Psicologia Infantil
   Design System & Styles — v2 (Brand Colors)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* === Brand Colors (from logo: blue puzzle, red puzzle, green puzzle, yellow bg) === */
  --blue: #2C6FBC;
  --blue-light: #5B9BD5;
  --blue-pale: #EBF4FF;
  --blue-dark: #1A4F8C;

  --red: #D94F3D;
  --red-light: #E8776A;
  --red-pale: #FDECEA;
  --red-dark: #B03528;

  --green: #3DA65B;
  --green-light: #6CBF80;
  --green-pale: #EDFBF1;
  --green-dark: #2B7A40;

  --yellow: #F2C14E;
  --yellow-light: #F7D578;
  --yellow-pale: #FFFBEE;
  --yellow-dark: #C99B2A;

  /* === Neutral / UI === */
  --white: #FFFFFF;
  --bg-soft: #FAFCFF;
  --bg-warm: #FFFDF5;
  --text-dark: #1A2540;
  --text-body: #3D4A5C;
  --text-muted: #6B7897;
  --border: #E2E8F0;

  /* === Shadows === */
  --shadow-sm: 0 1px 3px rgba(44,111,188,0.08);
  --shadow-md: 0 4px 18px rgba(44,111,188,0.12);
  --shadow-lg: 0 8px 40px rgba(44,111,188,0.18);
  --shadow-red: 0 8px 32px rgba(217,79,61,0.22);
  --shadow-green: 0 8px 32px rgba(61,166,91,0.22);
  --shadow-yellow: 0 8px 32px rgba(242,193,78,0.28);

  /* === Shape / Transition === */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utilities ---------- */
.bg-soft { background: var(--bg-soft); }

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(44,111,188,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(44,111,188,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(44,111,188,0.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white) !important;
  padding: 10px 22px;
  box-shadow: 0 4px 16px rgba(44,111,188,0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(44,111,188,0.45);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #FAFEFF 0%, #EBF4FF 45%, #EDFBF1 100%);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}

.blob-1 {
  width: 550px; height: 550px;
  background: var(--blue-light);
  top: -160px; right: -80px;
  animation: blobFloat 9s ease-in-out infinite;
}
.blob-2 {
  width: 380px; height: 380px;
  background: var(--yellow);
  bottom: -80px; left: -80px;
  animation: blobFloat 11s ease-in-out infinite reverse;
}
.blob-3 {
  width: 280px; height: 280px;
  background: var(--green-light);
  top: 35%; left: 28%;
  animation: blobFloat 7s ease-in-out infinite 1.5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44,111,188,0.08);
  border: 1px solid rgba(44,111,188,0.2);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-card-3d {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-shapes { position: absolute; inset: 0; }

.shape {
  position: absolute;
  border-radius: 12px;
}

/* Shapes now use brand colors: blue, red, green, yellow */
.shape-star {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  top: 10%; left: 5%;
  border-radius: 16px;
  animation: shapeSpin 12s linear infinite;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(44,111,188,0.28);
}
.shape-star::after { content: '⭐'; }

.shape-circle {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  right: 5%; top: 15%;
  border-radius: 50%;
  animation: shapeFloat 6s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(217,79,61,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.shape-circle::after { content: '🎨'; }

.shape-heart {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--yellow-light), var(--yellow));
  bottom: 15%; left: 10%;
  border-radius: 50%;
  animation: shapeFloat 7s ease-in-out infinite 1s;
  box-shadow: var(--shadow-yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.shape-heart::after { content: '💛'; }

.shape-triangle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  right: 10%; bottom: 20%;
  border-radius: 50%;
  animation: shapeFloat 8s ease-in-out infinite 2s;
  box-shadow: var(--shadow-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.shape-triangle::after { content: '🧩'; }

.shape-square {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  left: 50%; bottom: 5%;
  border-radius: 12px;
  animation: shapeSpin 15s linear infinite reverse;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.shape-square::after { content: '📚'; }

.hero-center-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 32px rgba(44,111,188,0.35));
  animation: pulseGlow 3s ease-in-out infinite;
}

.floating-tag {
  position: absolute;
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 3;
}

.tag-1 { top: 25%; left: -10%; animation: tagFloat 5s ease-in-out infinite; }
.tag-2 { top: 0; right: 5%; animation: tagFloat 5s ease-in-out infinite 1s; }
.tag-3 { bottom: 20%; right: -8%; animation: tagFloat 5s ease-in-out infinite 0.5s; }
.tag-4 { bottom: 0; left: 0; animation: tagFloat 5s ease-in-out infinite 2s; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; }

/* ============================================
   QUEM SOMOS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.about-visual { position: relative; }

.about-illustration {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bg-circle {
  position: absolute;
  width: 300px; height: 300px;
  background: linear-gradient(135deg, var(--blue-pale), var(--green-pale));
  border-radius: 50%;
  opacity: 0.7;
}

.about-icon-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  z-index: 1;
}

.about-icon-box {
  width: 100px; height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: var(--shadow-md);
  animation: shapeFloat 6s ease-in-out infinite;
  transition: var(--transition);
}
.about-icon-box:hover { transform: scale(1.08); }
/* Map icon box colors to brand colors */
.about-icon-box.purple { background: linear-gradient(135deg, var(--blue-pale), #DAEEFF); animation-delay: 0s; }
.about-icon-box.pink   { background: linear-gradient(135deg, var(--red-pale), #FDDAD7); animation-delay: 0.5s; }
.about-icon-box.mint   { background: linear-gradient(135deg, var(--green-pale), #C5F2D2); animation-delay: 1s; }
.about-icon-box.coral  { background: linear-gradient(135deg, var(--yellow-pale), #FDE9A8); animation-delay: 1.5s; }

.about-crp-badge {
  position: absolute;
  bottom: 16px; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 0.82rem;
}
.about-crp-badge strong { display: block; color: var(--blue); font-weight: 800; }
.about-crp-badge span { color: var(--text-muted); }

.about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.value-item:hover {
  background: var(--blue-pale);
  border-left-color: var(--blue);
}
.value-icon { font-size: 1.5rem; flex-shrink: 0; }
.value-item strong { display: block; color: var(--text-dark); font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ============================================
   SERVIÇOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
}
.service-card:hover::before { transform: scaleX(1); }

/* Featured card — blue brand color */
.service-card.featured {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  border-color: transparent;
  color: var(--white);
}
.service-card.featured h3, .service-card.featured p { color: var(--white); }
.service-card.featured .service-list li { color: rgba(255,255,255,0.85); }
.service-card.featured .service-list li::before { background: rgba(255,255,255,0.6); }
.service-card.featured::before { display: none; }
.service-card.featured:hover { box-shadow: 0 16px 48px rgba(44,111,188,0.45); }

.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
/* Brand-color icon backgrounds */
.service-icon.purple { background: var(--blue-pale); }
.service-icon.pink   { background: var(--red-pale); }
.service-icon.mint   { background: var(--green-pale); }
.service-icon.coral  { background: #FFF4E0; }
.service-icon.yellow { background: var(--yellow-pale); }
.service-icon.white  { background: rgba(255,255,255,0.2); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 24px;
  font-size: 5rem;
  color: var(--blue-pale);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale);
}

/* Highlight card – brand blue */
.testimonial-card.highlight {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  border-color: transparent;
  color: var(--white);
}
.testimonial-card.highlight p { color: rgba(255,255,255,0.92); }
.testimonial-card.highlight cite { color: rgba(255,255,255,0.8); }
.testimonial-card.highlight::before { color: rgba(255,255,255,0.1); }

.stars {
  font-size: 0.9rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card footer { position: relative; z-index: 1; }
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
}
.testimonial-card.highlight cite { color: rgba(255,255,255,0.85); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--green-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-content p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================
   CONTATO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px; height: 48px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-item a {
  color: var(--blue);
  font-weight: 600;
}
.contact-item a:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  border: 2px solid;
}
.social-btn.instagram {
  color: #E1306C;
  border-color: #E1306C;
  background: #FFF0F5;
}
.social-btn.instagram:hover {
  background: #E1306C;
  color: var(--white);
  transform: translateY(-2px);
}
.social-btn.whatsapp {
  color: #25D366;
  border-color: #25D366;
  background: #F0FFF4;
}
.social-btn.whatsapp:hover {
  background: #25D366;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.45); }

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer-crp {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}

.footer-links h3, .footer-contact h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--yellow-light); padding-left: 4px; }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--yellow-light); }

.footer-bottom {
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: waPulse 2s ease-out infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shapeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 16px 32px rgba(44,111,188,0.35)); }
  50% { filter: drop-shadow(0 20px 48px rgba(44,111,188,0.55)); }
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .about-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card-3d { width: 320px; height: 320px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { width: 100%; text-align: center; padding: 12px; }
  .nav-cta { text-align: center; width: 100%; justify-content: center; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px 120px;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }

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

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
