/* =============================================
   RECONNEGOS LDA — Global Design System
   ============================================= */

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

/* ── CSS Variables ── */
:root {
  --azure-dark:    #0D2B55;
  --azure-mid:     #1A5276;
  --azure-light:   #3498DB;
  --azure-pale:    #D6EAF8;
  --coral:         #C0392B;
  --coral-bright:  #E74C3C;
  --coral-light:   #F1948A;
  --coral-pale:    #FDEDEC;
  --lavender:      #EEF0FA;
  --lavender-mid:  #D8DCF5;
  --white:         #FFFFFF;
  --off-white:     #F8F9FA;
  --text-dark:     #0D1B2A;
  --text-mid:      #2C3E50;
  --text-muted:    #6C757D;
  --text-light:    #ADB5BD;
  --border:        #E8EAF0;
  --shadow-sm:     0 2px 8px rgba(13,43,85,0.08);
  --shadow-md:     0 8px 32px rgba(13,43,85,0.12);
  --shadow-lg:     0 20px 60px rgba(13,43,85,0.18);
  --shadow-coral:  0 8px 32px rgba(192,57,43,0.25);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
  --font:          'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:     1280px;
  --section-pad:   100px 24px;
  --section-pad-sm: 60px 24px;
}

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

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

/* ── Page Transition Overlay ── */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--azure-dark);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-transition-overlay.slide-in  { transform: translateY(0); }
.page-transition-overlay.slide-out { transform: translateY(100%); }

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

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}

.section-title .underscore { color: var(--coral); }
.section-title span.azure  { color: var(--azure-light); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-effect {
  to { transform: scale(4); opacity: 0; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-bright) 100%);
  color: white;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(192,57,43,0.4);
}

.btn-secondary {
  background: var(--azure-dark);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--azure-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--azure-dark);
  border: 2px solid var(--azure-dark);
}
.btn-outline:hover {
  background: var(--azure-dark);
  color: white;
  transform: translateY(-2px);
}

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

.btn-glow {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-bright) 100%);
  color: white;
  font-size: 1.1rem;
  padding: 18px 48px;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(231,76,60,0.4), 0 0 40px rgba(231,76,60,0.2); }
  50%       { box-shadow: 0 0 40px rgba(231,76,60,0.7), 0 0 80px rgba(231,76,60,0.4); }
}

.btn-icon { width: 18px; height: 18px; }

/* ── Section Layouts ── */
.section { padding: var(--section-pad); }
.section-sm { padding: var(--section-pad-sm); }
.section-lavender { background: var(--lavender); }
.section-azure { background: var(--azure-dark); }
.section-azure-mid { background: var(--azure-mid); }
.section-white { background: var(--white); }
.section-off { background: var(--off-white); }

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 16px auto 0; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ── Flex Utilities ── */
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

/* ── Text Utilities ── */
.text-white   { color: white; }
.text-coral   { color: var(--coral); }
.text-azure   { color: var(--azure-light); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ── Scroll Animations Base ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-scale { transform: scale(0.92); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--azure-light));
  border-radius: 4px;
  margin: 16px 0 32px;
}
.divider.center { margin: 16px auto 32px; }

/* ── Tag / Badge ── */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-coral   { background: var(--coral-pale); color: var(--coral); }
.tag-azure   { background: var(--azure-pale); color: var(--azure-dark); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 20px;
    --section-pad-sm: 48px 20px;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-header { margin-bottom: 40px; }
}

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