/* ============================================================
   ACOLHER — Design System & Shared Styles
   Saúde Mental e Proteção à Mulher
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg: #FBF8F4;
  --bg-warm: #F5EDE3;
  --bg-section: #FFF9F5;
  --bg-dark: #3D2E33;
  --bg-dark-mid: #5A3D47;
  --bg-dark-deep: #4A3550;

  --accent: #A35D6A;
  --accent-light: #D4929E;
  --accent-deep: #7A3845;
  --accent-glow: rgba(163,93,106,0.15);

  --text: #3D2E33;
  --text-light: #7A6670;
  --text-muted: #A8949D;

  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --lavender: #D8C8E8;
  --lavender-deep: #8B6FA0;
  --sage: #A3B5A0;
  --sage-light: #D5E0D3;
  --coral: #E8A090;
  --coral-deep: #C0392B;
  --white: #FFFFFF;

  --shadow-xs: 0 1px 4px rgba(61,46,51,0.04);
  --shadow-sm: 0 2px 8px rgba(61,46,51,0.06);
  --shadow-md: 0 8px 30px rgba(61,46,51,0.08);
  --shadow-lg: 0 20px 60px rgba(61,46,51,0.1);
  --shadow-accent: 0 4px 20px rgba(163,93,106,0.25);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 50px;

  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  --max-w: 1200px;
  --max-w-narrow: 800px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== NOISE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.25;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 0; }

em { color: var(--accent); font-style: italic; }

.highlight-underline {
  position: relative;
}
.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 8px;
  background: var(--gold-light);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(251,248,244,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(163,93,106,0.08);
  transition: all 0.4s ease;
}
nav.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(251,248,244,0.95);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-sos {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: all var(--transition) !important;
}
.nav-sos::after { display: none !important; }
.nav-sos:hover {
  background: var(--accent-deep) !important;
  transform: scale(1.05);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== FLOATING SOS BUTTON ===== */
.floating-sos {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: linear-gradient(135deg, var(--coral-deep), #E74C3C);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 24px rgba(192,57,43,0.4);
  border: none;
  transition: all var(--transition);
  animation: pulse-sos 2s ease-in-out infinite;
}
.floating-sos:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(192,57,43,0.5);
}
@keyframes pulse-sos {
  0%, 100% { box-shadow: 0 4px 24px rgba(192,57,43,0.4); }
  50% { box-shadow: 0 4px 32px rgba(192,57,43,0.6), 0 0 0 8px rgba(192,57,43,0.1); }
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 40%, #F0E4D8 100%);
}
.page-hero--dark {
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-mid) 50%, var(--bg-dark-deep) 100%);
}
.page-hero--dark h1,
.page-hero--dark h2,
.page-hero--dark p,
.page-hero--dark .breadcrumb a,
.page-hero--dark .breadcrumb span {
  color: var(--white);
}
.page-hero--dark .breadcrumb a { opacity: 0.6; }
.page-hero--dark .breadcrumb span { opacity: 0.4; }

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  margin-bottom: 20px;
}
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.8;
}
.page-hero--dark .lead { color: rgba(255,255,255,0.7); }

/* Hero Background Circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}
.hero-circle--1 {
  width: 500px; height: 500px;
  background: var(--lavender);
  top: -100px; right: -100px;
}
.hero-circle--2 {
  width: 350px; height: 350px;
  background: var(--coral);
  bottom: -80px; left: -80px;
  animation-delay: -7s;
}
.hero-circle--3 {
  width: 250px; height: 250px;
  background: var(--sage-light);
  top: 40%; left: 55%;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ===== SECTIONS ===== */
section {
  padding: 100px 32px;
}
.section--alt {
  background: var(--bg-section);
}
.section--dark {
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-mid) 50%, var(--bg-dark-deep) 100%);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .section-label { color: var(--gold-light); background: rgba(201,169,110,0.15); }

.section-header {
  margin-bottom: 52px;
}
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(163,93,106,0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  font-weight: 300;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163,93,106,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent-light);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-emergency {
  background: linear-gradient(135deg, var(--coral-deep), #E74C3C);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.3);
  font-size: 1.05rem;
  padding: 16px 36px;
}
.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,57,43,0.4);
}
.btn-white {
  background: var(--white);
  color: var(--accent);
}
.btn-white:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(163,93,106,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--lavender));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon--rose { background: rgba(163,93,106,0.1); }
.card-icon--lavender { background: rgba(139,111,160,0.12); }
.card-icon--gold { background: rgba(201,169,110,0.12); }
.card-icon--sage { background: rgba(163,181,160,0.15); }
.card-icon--coral { background: rgba(232,160,144,0.12); }

.card h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Gradient Cards */
.card--gradient {
  border: none;
  padding: 36px;
}
.card--gradient::after { display: none; }
.card--rose   { background: linear-gradient(145deg, #F9F0F2, #FDF6F7); border: 1px solid rgba(163,93,106,0.1); }
.card--purple { background: linear-gradient(145deg, #F0ECF5, #F7F4FA); border: 1px solid rgba(139,111,160,0.1); }
.card--green  { background: linear-gradient(145deg, #F2F5F0, #F6F9F5); border: 1px solid rgba(163,181,160,0.12); }
.card--gold   { background: linear-gradient(145deg, #F8F3E8, #FDF9F0); border: 1px solid rgba(201,169,110,0.12); }

/* Sidebar accent cards */
.card--accent-left::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.card--accent-rose::before { background: var(--accent); }
.card--accent-lavender::before { background: var(--lavender-deep); }
.card--accent-sage::before { background: var(--sage); }
.card--accent-gold::before { background: var(--gold); }
.card--accent-coral::before { background: var(--coral); }

/* ===== LAW TAG ===== */
.law-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.law-tag--rose { background: rgba(163,93,106,0.12); color: var(--accent-deep); }
.law-tag--purple { background: rgba(139,111,160,0.12); color: var(--lavender-deep); }
.law-tag--green { background: rgba(163,181,160,0.15); color: #5C7358; }
.law-tag--gold { background: rgba(201,169,110,0.15); color: #8B7340; }

.law-ref {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  display: block;
  margin-top: 12px;
}

/* ===== GRIDS ===== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--gap-lg { gap: 32px; }

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.emergency-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
}
.emergency-banner .container { position: relative; z-index: 1; text-align: center; }
.emergency-banner h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.emergency-numbers {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.emergency-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.emergency-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.emergency-item .label {
  font-size: 0.82rem;
  opacity: 0.85;
  text-align: left;
  line-height: 1.4;
  max-width: 140px;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(163,93,106,0.05);
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  line-height: 1.5;
}
.faq-question:hover { color: var(--accent); }
.faq-arrow {
  font-size: 1.2rem;
  color: var(--accent-light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 80px 32px;
  background: var(--bg-warm);
  text-align: center;
}
.quote-inner { max-width: 700px; margin: 0 auto; }
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--accent-light);
  line-height: 0.5;
  margin-bottom: 24px;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.quote-author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 36px;
  font-weight: 300;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 60px 32px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 340px; }
.footer-col h5 {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== STATISTICS ROW ===== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== ODS SECTION ===== */
.ods-card {
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.ods-card--3 {
  background: linear-gradient(145deg, rgba(76,175,80,0.15), rgba(76,175,80,0.05));
  border: 1px solid rgba(76,175,80,0.2);
}
.ods-card--5 {
  background: linear-gradient(145deg, rgba(255,63,43,0.12), rgba(255,63,43,0.04));
  border: 1px solid rgba(255,63,43,0.18);
}
.ods-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.ods-card--3 .ods-number { color: #4CAF50; }
.ods-card--5 .ods-number { color: #FF3F2B; }
.ods-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.ods-card--3 .ods-tag { background: rgba(76,175,80,0.2); color: #81C784; }
.ods-card--5 .ods-tag { background: rgba(255,63,43,0.15); color: #FF8A80; }
.ods-card h4 { margin-bottom: 16px; }
.ods-card p { margin-bottom: 12px; }

/* ===== SUPPORT LINK ===== */
.support-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-light);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.support-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* ===== EFFECTS LIST ===== */
.effect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.effect-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.effect-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.effect-item h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.effect-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-light), var(--lavender), var(--sage));
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.timeline-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 32px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-light);
}
.timeline-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.timeline-item h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== CYCLE DIAGRAM ===== */
.cycle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  width: 100%;
}
.cycle-phase {
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.cycle-phase:hover { transform: scale(1.03); }
.cycle-phase .phase-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cycle-phase h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cycle-phase p {
  font-size: 0.85rem;
  line-height: 1.55;
}
.cycle-phase--1 {
  background: linear-gradient(145deg, #F9F0F2, #FDF6F7);
  border: 1px solid rgba(163,93,106,0.12);
}
.cycle-phase--1 .phase-number { color: var(--accent); }
.cycle-phase--2 {
  background: linear-gradient(145deg, #FFF5EC, #FFF9F4);
  border: 1px solid rgba(201,169,110,0.15);
}
.cycle-phase--2 .phase-number { color: var(--gold); }
.cycle-phase--3 {
  background: linear-gradient(145deg, #F0ECF5, #F7F4FA);
  border: 1px solid rgba(139,111,160,0.12);
}
.cycle-phase--3 .phase-number { color: var(--lavender-deep); }
.cycle-phase--4 {
  background: linear-gradient(145deg, #F2F5F0, #F6F9F5);
  border: 1px solid rgba(163,181,160,0.12);
}
.cycle-phase--4 .phase-number { color: var(--sage); }

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* ===== INFO BOX ===== */
.info-box {
  background: rgba(163,93,106,0.06);
  border: 1px solid rgba(163,93,106,0.1);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 24px;
}
.info-box--warning {
  background: rgba(192,57,43,0.06);
  border-color: rgba(192,57,43,0.12);
}
.info-box h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--accent);
}
.info-box--warning h5 { color: var(--coral-deep); }
.info-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== RESOURCE CARD ===== */
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(163,93,106,0.06);
  transition: all 0.4s ease;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.resource-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.resource-card h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.resource-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ===== SELF CARE TIPS ===== */
.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(163,93,106,0.06);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tip-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.tip-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
}
.tip-card h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}
.tip-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .ods-card { padding: 30px; }
  .ods-number { font-size: 3rem !important; }
}

@media (max-width: 900px) {
  /* NAV — mobile hamburger */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: 24px 32px;
    box-shadow: var(--shadow-md);
    gap: 16px;
    border-top: 1px solid rgba(163,93,106,0.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-inner { padding: 14px 20px; }

  /* HERO — stack grid */
  .page-hero .container {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .hero-cards-col { order: -1; }
  .page-hero { padding: 120px 20px 60px; }

  /* GRIDS — single column */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse { direction: ltr; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* STATS */
  .stats-row { gap: 32px; }

  /* COUNTER SECTION — live counter inline breakdown */
  #contador .container > div[style*="display:flex"][style*="gap:48px"] {
    gap: 24px !important;
  }

  /* SECTIONS */
  section { padding: 72px 20px; }
  .section-header { margin-bottom: 36px; }

  /* TIMELINE */
  .timeline { padding-left: 32px; }
  .timeline-item { padding: 22px 24px; }

  /* FAQ */
  .faq-question { padding: 18px 22px; font-size: 0.95rem; }
  .faq-answer-inner { padding: 0 22px 20px; }

  /* Info box */
  .info-box { padding: 22px 24px; }

  /* Cards */
  .card { padding: 26px; }
  .card--gradient { padding: 28px; }

  /* ODS */
  .ods-card { padding: 28px; }
}

@media (max-width: 600px) {
  /* GLOBAL PADDING */
  section { padding: 48px 16px; }
  .page-hero { padding: 100px 16px 48px; }
  .container, .container--narrow { padding: 0 16px; }
  .quote-section { padding: 48px 16px; }
  footer { padding: 40px 16px 24px; }

  /* NAV */
  .nav-inner { padding: 12px 16px; }
  .nav-brand { font-size: 1.3rem; }
  .nav-links { padding: 20px 16px; }

  /* HERO — typography */
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .page-hero .lead { font-size: 1rem; }

  /* STATISTICS */
  .stats-row {
    gap: 24px;
    padding: 20px 0;
  }
  .stat-item {
    flex: 0 0 calc(50% - 12px);
  }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.78rem; }

  /* CARDS — single column always */
  .grid--auto { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .card--gradient { padding: 24px; }
  .card--gradient > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .card--gradient > div[style*="grid-template-columns"] > div[style*="width:80px"] {
    margin: 0 auto;
  }

  /* EMERGENCY BANNER */
  .emergency-banner { padding: 28px 0; }
  .emergency-banner h3 { font-size: 0.85rem; padding: 0 16px; }
  .emergency-numbers {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .emergency-item { gap: 10px; }
  .emergency-item .number { font-size: 1.8rem; }
  .emergency-item .label { font-size: 0.78rem; }

  /* LIVE COUNTER */
  #liveCounter {
    font-size: clamp(2rem, 10vw, 3.5rem) !important;
  }
  #contador { padding: 48px 16px !important; }
  #contador p[style*="text-transform:uppercase"] {
    font-size: 0.8rem !important;
  }
  #contador p[style*="font-family:'Playfair Display'"] {
    font-size: clamp(0.95rem, 3vw, 1.1rem) !important;
  }
  /* Counter breakdown stats stacking */
  #contador div[style*="gap:48px"] {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }
  #contador div[style*="gap:48px"] > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
  }
  #contador div[style*="gap:48px"] > div > div:first-child {
    font-size: 1.6rem !important;
  }

  /* CYCLE DIAGRAM */
  .cycle { grid-template-columns: 1fr; max-width: 100%; }
  .cycle-phase { padding: 22px; }
  .cycle-phase .phase-number { font-size: 1.6rem; }

  /* TIMELINE */
  .timeline { padding-left: 24px; }
  .timeline::before { left: 11px; }
  .timeline-item { padding: 18px 20px; margin-bottom: 24px; }
  .timeline-item::before { left: -29px; width: 10px; height: 10px; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 0.9rem; }
  .faq-arrow { font-size: 1rem; margin-left: 12px; }
  .faq-answer-inner { padding: 0 18px 18px; font-size: 0.88rem; }

  /* BUTTONS */
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .btn-emergency { padding: 14px 28px; font-size: 0.95rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { text-align: center; justify-content: center; }

  /* CTA section */
  .cta-section { padding: 60px 16px; }
  .cta-inner h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-inner p { font-size: 0.95rem; margin-bottom: 24px; }

  /* QUOTE */
  .quote-mark { font-size: 3.5rem; margin-bottom: 16px; }
  .quote-text { font-size: clamp(1.1rem, 3vw, 1.4rem); }

  /* FOOTER */
  .footer-desc { max-width: 100%; }
  .footer-col a { font-size: 0.85rem; }

  /* TWO-COL layouts (saude-mental, sinais, direitos) */
  .two-col { gap: 28px; }

  /* TIP CARDS — stack on small */
  .tip-card { padding: 22px; gap: 14px; }
  .tip-number { font-size: 1.6rem; }

  /* EFFECT ITEMS */
  .effect-item { padding: 18px 20px; }

  /* INFO BOX */
  .info-box { padding: 20px; }

  /* ODS */
  .ods-card { padding: 24px; }
  .ods-number { font-size: 2.5rem !important; }

  /* FLOATING SOS — smaller on mobile */
  .floating-sos {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }

  /* RESOURCE CARDS */
  .resource-card { padding: 24px 20px; }

  /* Breathing exercise — stack */
  #breathingCircle {
    width: 180px !important;
    height: 180px !important;
  }

  /* SECTION HEADER */
  .section-header { margin-bottom: 28px; }
  .section-subtitle { font-size: 1rem; }

  /* apoio.html detailed service card inline grid */
  div[style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center;
  }
  div[style*="grid-template-columns:auto 1fr"] > div[style*="width:80px"] {
    margin: 0 auto !important;
  }
}

/* ===== VERY SMALL SCREENS ===== */
@media (max-width: 380px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .page-hero { padding: 90px 12px 40px; }
  section { padding: 40px 12px; }
  .container, .container--narrow { padding: 0 12px; }
  .nav-inner { padding: 10px 12px; }
  .nav-brand { font-size: 1.2rem; }
  .stat-number { font-size: 1.7rem; }
  #liveCounter { font-size: 2rem !important; }
  .btn { padding: 11px 20px; font-size: 0.85rem; }
  .btn-emergency { padding: 12px 22px; font-size: 0.88rem; }
  .emergency-item .number { font-size: 1.5rem; }
  .card { padding: 18px; }
  .faq-question { padding: 14px 16px; font-size: 0.85rem; }
  .faq-answer-inner { padding: 0 16px 16px; font-size: 0.85rem; }
}

