/* ============================================
   DESIGN SYSTEM — Psicólogo Thiago Acioly
   ============================================
   Paleta de Cores:
     - Primary (Azul Sóbrio):  #2C5F7C
     - Primary Dark:           #1B3F54
     - Accent (Verde Pastel):  #7FB09A
     - Accent Light:           #A8D5BA
     - Background:             #FAFAF7
     - Surface:                #FFFFFF
     - Surface Alt:            #F0EDE8
     - Text Primary:           #2D2D2D
     - Text Secondary:         #5A5A5A
     - Text Light:             #FFFFFF
     - Border:                 #E0DDD6
   
   Tipografia: Inter (Google Fonts)
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2D2D2D;
  background-color: #FAFAF7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: #1B3F54;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

/* ── Utilities ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.center {
  text-align: center;
}

.section {
  padding: 4.5rem 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7FB09A;
  margin-bottom: 0.5rem;
}

.section-label.center {
  text-align: center;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.btn-primary {
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
  background-color: #20bd5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #2C5F7C;
  color: #fff;
  box-shadow: 0 4px 14px rgba(44, 95, 124, 0.25);
}

.btn-secondary:hover {
  background-color: #1B3F54;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.1rem;
}

/* ── Hero Section ───────────────────────────── */
.hero {
  background: linear-gradient(135deg, #f0f7fa 0%, #eef5ec 100%);
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2C5F7C;
  background: rgba(44, 95, 124, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
}

.hero-text h1 em {
  font-style: normal;
  color: #2C5F7C;
  position: relative;
}

.hero-text h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(127, 176, 154, 0.35);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.05rem;
  color: #5A5A5A;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(44, 95, 124, 0.15);
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Problem Section ────────────────────────── */
.section-problem {
  background-color: #fff;
}

.section-problem h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  background: #FAFAF7;
  border: 1px solid #E0DDD6;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.25s ease;
}

.problem-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.problem-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.problem-card p {
  color: #5A5A5A;
  font-size: 0.95rem;
}

.problem-closing {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: #5A5A5A;
  font-size: 1.05rem;
}

/* ── About Section ──────────────────────────── */
.section-about {
  background: #FAFAF7;
}

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.about-image {
  width: 200px;
  height: 200px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44, 95, 124, 0.12);
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-crp {
  font-size: 0.9rem;
  font-weight: 600;
  color: #7FB09A;
  margin-bottom: 1rem;
}

.about-text p {
  color: #5A5A5A;
  margin-bottom: 0.85rem;
}

.about-highlights {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2D2D2D;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: #7FB09A;
  flex-shrink: 0;
}

/* ── Modalities Section ─────────────────────── */
.section-modalities {
  background-color: #fff;
}

.section-modalities h2 {
  margin-bottom: 2.5rem;
}

.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.modality-card {
  background: #FAFAF7;
  border: 1px solid #E0DDD6;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.modality-card:hover {
  box-shadow: 0 8px 30px rgba(44, 95, 124, 0.1);
  transform: translateY(-4px);
}

.modality-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(44, 95, 124, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modality-icon svg {
  width: 28px;
  height: 28px;
  color: #2C5F7C;
}

.modality-card h3 {
  margin-bottom: 0.25rem;
}

.modality-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: #7FB09A;
  margin-bottom: 1.25rem;
}

.modality-card ul {
  text-align: left;
  margin-bottom: 1.75rem;
}

.modality-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: #5A5A5A;
}

.modality-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7FB09A;
}

/* ── FAQ Section ────────────────────────────── */
.section-faq {
  background: #FAFAF7;
}

.section-faq h2 {
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #E0DDD6;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: #1B3F54;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #7FB09A;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: #5A5A5A;
  font-size: 0.93rem;
}

/* ── CTA Section ────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, #2C5F7C 0%, #1B3F54 100%);
  color: #fff;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.section-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  background: #1B3F54;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #A8D5BA;
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #25D366;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-whatsapp svg {
  width: 18px;
  height: 18px;
}

.footer-whatsapp:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
}

/* ── WhatsApp Floating Button ───────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.12); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
}

/* ── Responsive — Tablet+ ───────────────────── */
@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modalities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ── Responsive — Desktop ───────────────────── */
@media (min-width: 960px) {
  .hero {
    padding: 5rem 0 6rem;
  }

  .hero-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-image {
    width: 340px;
    height: 340px;
  }

  .hero-text {
    max-width: 560px;
  }

  .about-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-image {
    width: 280px;
    height: 320px;
  }

  .section {
    padding: 6rem 0;
  }
}
