/* ===== Leiriane da Saúde — Site de pré-campanha ===== */

:root {
  --navy-900: #071224;
  --navy-800: #0c1d36;
  --navy-700: #142c4e;
  --navy-600: #1c3d69;
  --teal: #4fb6c4;
  --coral: #e8637e;
  --white: #f8faff;
  --muted: #a9b8d3;
  --radius: 18px;
  --container: 1100px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  background: var(--navy-900);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; min-width: 0; }

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

h1, h2, h3 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--teal);
  padding: 7px 16px;
  border-radius: 999px;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--teal);
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(79, 182, 196, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(79, 182, 196, 0.42); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(7,18,36,0.92), rgba(7,18,36,0));
  backdrop-filter: blur(4px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--teal); }

.header-cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-900);
  background: var(--teal);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background:
    radial-gradient(circle at 85% 10%, rgba(79,182,196,0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(232,99,126,0.12), transparent 40%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 65%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.hero-text {
  min-width: 0;
  flex: 1 1 0;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.8rem);
  margin: 18px 0 14px;
}

.hero-text .tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-photo-wrap {
  position: relative;
  min-width: 0;
  flex: 0 0 340px;
  max-width: 340px;
  margin: 0 auto;
}

.hero-photo-wrap img {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: 18px;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  max-width: calc(100% - 36px);
}
.hero-badge .badge-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal);
  line-height: 1.2;
}
.hero-badge .label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ---------- Causas ---------- */

.causas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.causa-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
}

.causa-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
}
.causa-icon svg { width: 22px; height: 22px; }
.causa-card:nth-child(2n) .causa-icon { background: var(--coral); }

.causa-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  line-height: 1.3;
}

/* ---------- Trajetória ---------- */

.story {
  background: var(--navy-800);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  min-width: 0;
}

.story-photo, .story-content {
  min-width: 0;
}

.story-photo img {
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.timeline {
  list-style: none;
  margin-top: 22px;
}

.timeline li {
  position: relative;
  padding: 4px 0 22px 32px;
  border-left: 2px solid rgba(255,255,255,0.15);
  margin-left: 6px;
  font-size: 1.02rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
}

.timeline li.now::before { background: var(--coral); }
.timeline li b { color: var(--white); }
.timeline li { color: var(--muted); }

/* ---------- Manifesto (citação) ---------- */

.manifesto {
  text-align: center;
}

.manifesto blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.4;
  color: var(--white);
}

.manifesto blockquote::before {
  content: '“';
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.manifesto cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Quem é ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  min-width: 0;
}

.about-photo, .about-text {
  min-width: 0;
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.about-text p {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-text p b { color: var(--white); }

/* ---------- Contato ---------- */

.contact {
  text-align: center;
}

.contact .btn-row { justify-content: center; margin: 30px 0 40px; }

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: block;
  background: var(--navy-700);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 22px;
  font-size: 0.94rem;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.contact-card:hover, .contact-card:focus-visible {
  border-color: var(--teal);
  background: var(--navy-600);
  transform: translateY(-2px);
}
.contact-card:active { transform: scale(0.98); }
.contact-card b { display: block; color: var(--white); font-family: 'Montserrat', sans-serif; margin-bottom: 6px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }

.footer-legal {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Botão flutuante WhatsApp ---------- */

.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}
.whats-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Responsivo ---------- */

@media (max-width: 860px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-text { width: 100%; }
  .hero-text .tagline { margin-left: auto; margin-right: auto; }
  .hero-photo-wrap { order: -1; flex-basis: auto; width: 100%; max-width: 300px; }
  .btn-row { justify-content: center; }
  .story-grid, .about-grid { grid-template-columns: 1fr; }
  .story-photo, .about-photo { max-width: 320px; margin: 0 auto; width: 100%; }
  .header-cta { display: none; }
  .causas-grid { grid-template-columns: repeat(2, 1fr); }
}

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