/*
Theme Name: Mães que se Apoiam
Theme URI: https://maesqueseapoiam.org
Author: Mães que se Apoiam
Description: Tema institucional para a ONG Mães que se Apoiam - acolhimento para mães de crianças atípicas
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: maes-que-se-apoiam
*/

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

:root {
  --background: hsl(30, 33%, 98%);
  --foreground: hsl(350, 20%, 20%);
  --card: hsl(30, 30%, 96%);
  --primary: hsl(350, 60%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(270, 30%, 92%);
  --muted: hsl(30, 20%, 94%);
  --muted-foreground: hsl(350, 10%, 45%);
  --accent: hsl(270, 40%, 88%);
  --accent-foreground: hsl(270, 30%, 25%);
  --border: hsl(30, 20%, 90%);
  --warm: hsl(30, 40%, 95%);
  --lilac: hsl(270, 40%, 92%);
  --rose: hsl(350, 70%, 95%);
  --rose-foreground: hsl(350, 40%, 30%);
  --radius: 1rem;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(30, 33%, 98%, 0.6), hsla(30, 33%, 98%, 0.3), var(--background));
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 1.5rem 8rem;
  max-width: 48rem;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--rose);
  color: var(--rose-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__subtitle strong {
  color: var(--foreground);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ===== CONNECTION SECTION ===== */
.connection {
  padding: 5rem 0 7rem;
  background-color: var(--warm);
}

.connection__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

.connection__image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.connection__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.connection__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.connection__title {
  font-size: 1.875rem;
  color: var(--foreground);
}

.connection__title span {
  color: var(--primary);
}

.connection__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connection__body p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.connection__body .highlight {
  color: var(--foreground);
  font-weight: 500;
}

.connection__body .highlight span {
  color: var(--primary);
}

/* ===== SOLUTION SECTION ===== */
.solution {
  padding: 5rem 0 7rem;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.solution__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.solution__card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.solution__card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.solution__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

.solution__card:hover .solution__icon {
  transform: scale(1.1);
}

.solution__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.solution__card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.solution__card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 5rem 0 7rem;
  background-color: var(--lilac);
}

.steps__grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.step__circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: hsla(350, 60%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step__number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__circle svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary);
}

.step h3 {
  font-size: 1.25rem;
}

.step p {
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 20rem;
  margin: 0 auto;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 5rem 0 7rem;
}

.testimonial {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  background-color: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.testimonial__quote-icon {
  width: 3rem;
  height: 3rem;
  color: hsla(350, 60%, 55%, 0.2);
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.testimonial blockquote {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.testimonial blockquote p {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.testimonial__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__avatar span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial__name {
  font-weight: 600;
}

.testimonial__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 42rem;
  margin: 3rem auto 0;
  text-align: center;
}

.stats__number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stats__label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 5rem 0 7rem;
  background-color: var(--rose);
  text-align: center;
}

.cta__content {
  max-width: 42rem;
  margin: 0 auto;
}

.cta__content h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.cta__content h2 span {
  color: var(--primary);
}

.cta__content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
}

/* ===== DONATION SECTION ===== */
.donation {
  padding: 5rem 0 7rem;
}

.donation__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.donation__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--rose);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.donation__content h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.donation__content h2 span {
  color: var(--primary);
}

.donation__content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.pix-box {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  max-width: 28rem;
  margin: 0 auto;
}

.pix-box__title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.pix-box__key {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--muted);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.pix-box__key code {
  font-size: 0.875rem;
  flex: 1;
  text-align: left;
  word-break: break-all;
}

.pix-box__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.pix-box__copy:hover {
  opacity: 0.8;
}

.pix-box__note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 5rem 0 7rem;
  background-color: var(--warm);
}

.contact__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact__content h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.contact__content h2 span {
  color: var(--primary);
}

.contact__content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact__grid {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: all 0.3s;
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.contact__card--primary {
  background-color: hsla(350, 60%, 55%, 0.05);
  border-color: hsla(350, 60%, 55%, 0.2);
}

.contact__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}

.contact__card--primary .contact__icon {
  background-color: hsla(350, 60%, 55%, 0.1);
}

.contact__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--muted-foreground);
}

.contact__card--primary .contact__icon svg {
  color: var(--primary);
}

.contact__card h3 {
  font-weight: 600;
}

.contact__card .contact__value {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact__quote {
  color: var(--muted-foreground);
  font-style: italic;
  padding-top: 2rem;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer__copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: all 0.3s;
  animation: pulse-gentle 2s infinite;
}

.whatsapp-float:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

@keyframes pulse-gentle {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .hero__buttons,
  .cta__buttons {
    flex-direction: row;
  }

  .solution__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  .section-header h2,
  .connection__title,
  .cta__content h2,
  .donation__content h2,
  .contact__content h2 {
    font-size: 2.25rem;
  }

  .connection__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial {
    padding: 3rem;
  }

  .stats__number {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}
