/* ============================================
   A&F APRENDIZAGEM AFETIVA — Design System
   Palette tied to logo + flyer:
   - Roxo profundo (institucional) #5D2E7E
   - Roxo médio (marca)            #7B3F9C
   - Lilás claro                   #B894C9
   - Turquesa (cérebro / rodapé)   #4FBDC7
   - Turquesa escuro               #2D8A95
   - Areia clara (fundo)           #FBF7F4
   - Tinta escura                  #2A1B3D
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  --purple-900: #3D1E54;
  --purple-800: #4F2670;
  --purple-700: #5D2E7E;
  --purple-600: #7B3F9C;
  --purple-500: #9B5BB8;
  --purple-300: #C9A6D4;
  --purple-200: #E4D1EC;
  --purple-100: #F3E9F7;

  --teal-700: #2D8A95;
  --teal-600: #3FA9B5;
  --teal-500: #4FBDC7;
  --teal-300: #92D9DF;
  --teal-100: #DEF3F5;

  --sand: #FBF7F4;
  --sand-2: #F4ECE3;
  --ink: #2A1B3D;
  --ink-2: #5A4A6E;
  --line: #E8DFE9;

  --warn: #E8A33A;
  --pink: #E89BB8;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(93, 46, 126, 0.08);
  --shadow: 0 8px 28px rgba(93, 46, 126, 0.12);
  --shadow-lg: 0 18px 48px rgba(93, 46, 126, 0.18);

  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--purple-800);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 88px;
  width: auto;
  display: block;
}
.brand-text {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-700);
  font-size: 1.1rem;
  line-height: 1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--purple-500);
  letter-spacing: 0.05em;
  text-transform: lowercase;
  font-style: italic;
  margin-top: 2px;
}
@media (min-width: 720px) { .brand-text { display: block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: 0.2s;
}
.nav-links a:hover { color: var(--purple-700); background: var(--purple-100); }
.nav-links a.active { color: var(--purple-700); background: var(--purple-100); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--purple-700);
  color: white !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s;
  box-shadow: 0 4px 14px rgba(93, 46, 126, 0.3);
}
.nav-cta:hover { background: var(--purple-800); transform: translateY(-1px); }

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-700);
}
@media (min-width: 920px) { .menu-btn { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 24px;
  gap: 4px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.mobile-menu a.active { color: var(--purple-700); background: var(--purple-100); }
@media (min-width: 920px) { .mobile-menu { display: none !important; } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-700);
  color: white;
  box-shadow: 0 6px 20px rgba(93, 46, 126, 0.3);
}
.btn-primary:hover { background: var(--purple-800); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(93, 46, 126, 0.4); }

.btn-teal {
  background: var(--teal-500);
  color: white;
  box-shadow: 0 6px 20px rgba(79, 189, 199, 0.35);
}
.btn-teal:hover { background: var(--teal-600); transform: translateY(-2px); }

.btn-ghost {
  background: white;
  color: var(--purple-700);
  border: 2px solid var(--purple-200);
}
.btn-ghost:hover { border-color: var(--purple-500); background: var(--purple-100); }

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #1FB855; transform: translateY(-2px); }

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 .accent {
  background: linear-gradient(120deg, var(--purple-700), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  margin: 22px 0 30px;
  max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--purple-200);
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 600;
}
.trust-item svg { color: var(--teal-600); flex-shrink: 0; }

/* Hero visual (kids photo) */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background-image: url('../assets/hero-crianca.jpeg');
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(93, 46, 126, 0.18) 100%);
  pointer-events: none;
}
/* Floating sticker badges on hero */
.sticker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 14px 20px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-800);
  max-width: 280px;
}
.sticker .ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sticker-text { line-height: 1.25; }
.sticker-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-500);
  margin-bottom: 2px;
}
.sticker-line {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-800);
  text-wrap: balance;
}
.sticker.s1 { top: 6%; right: -28px; animation: floaty 6s ease-in-out infinite; }
.sticker.s2 { bottom: 8%; left: -28px; animation: floaty 7s ease-in-out infinite -2s; }
@media (max-width: 720px) {
  .sticker.s1 { right: 8px; top: 12px; left: auto; }
  .sticker.s2 { left: 8px; bottom: 12px; right: auto; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== SECTIONS ========== */
section { padding: 80px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { background: var(--purple-100); color: var(--purple-700); }
.section-head .eyebrow .dot { background: var(--purple-700); }
.section-head p {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-top: 16px;
}

/* ========== CARDS ========== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: white;
  background: var(--purple-700);
}
.card-icon.teal { background: var(--teal-500); }
.card-icon.purple-light { background: var(--purple-500); }
.card-icon.deep { background: var(--purple-800); }

.card h3 { color: var(--purple-800); margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.98rem; }

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-700));
  color: rgba(255,255,255,0.92);
  padding: 72px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-500) 0%, transparent 70%);
  opacity: 0.3;
}
footer::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-300) 0%, transparent 70%);
  opacity: 0.2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

footer h4 {
  color: white;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  opacity: 0.95;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 0.95rem; opacity: 0.85; transition: 0.2s; }
footer ul a:hover { opacity: 1; padding-left: 4px; }

.footer-brand .brand img { height: 56px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; opacity: 0.8; max-width: 320px; }
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  background: rgba(79, 189, 199, 0.2);
  border: 1px solid rgba(79, 189, 199, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--teal-300);
  font-weight: 700;
}

footer .contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 12px;
}
footer .contact-line svg { flex-shrink: 0; margin-top: 2px; opacity: 0.8; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* ========== Floating WhatsApp ========== */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 60;
  transition: 0.2s;
  animation: floaty 3s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); }

/* ========== Decorative ========== */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--sand);
}

.bg-purple { background: linear-gradient(160deg, var(--purple-100), var(--sand)); }
.bg-teal { background: linear-gradient(160deg, var(--teal-100), var(--sand)); }
.bg-deep {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-700));
  color: white;
}
.bg-deep h2, .bg-deep h3 { color: white; }
.bg-deep p { color: rgba(255,255,255,0.85); }

/* ========== Utility ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 0.8rem;
  font-weight: 700;
}
