/* ══════════════════════════════════════════════════════════════════
   MARCOS SALES — LANDING PAGE CSS v3
   Mobile-first · Conversion-optimized · Fast loading
   ══════════════════════════════════════════════════════════════════ */

:root {
  --clr-forest: #153B36;
  --clr-forest-deep: #0D2622;
  --clr-forest-mid: #1E4F48;
  --clr-sage: #5C885B;
  --clr-gold: #C9993A;
  --clr-gold-light: #E0BE72;
  --clr-sand: #EAE3CF;
  --clr-sand-light: #F5F1E6;
  --clr-white: #FFFFFF;
  --clr-dark: #1A1A1A;
  --clr-text: #333333;
  --clr-text-muted: #6B6B6B;
  --clr-whatsapp: #25D366;
  --clr-whatsapp-dark: #1da851;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', system-ui, sans-serif;

  --section-py: 56px;
  --radius-md: 14px;
  --radius-pill: 50px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ══════════ RESET ══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--clr-text);
  line-height: 1.7;
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 65px; /* space for mobile fixed WhatsApp bar */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--ff-serif);
  color: var(--clr-dark);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════ UTILITIES ══════════ */
.text-center { text-align: center; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 28px; }
.mt-auto { margin-top: auto; }

/* ══════════ SECTION BASES ══════════ */
.section-light {
  background: var(--clr-white);
  padding: var(--section-py) 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--clr-forest-deep), var(--clr-forest), var(--clr-forest-mid));
  color: var(--clr-white);
  padding: var(--section-py) 0;
}

.section-sand {
  background: var(--clr-sand-light);
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.3;
}

.section-heading--light { color: var(--clr-white); }

.divider {
  width: 50px;
  height: 3px;
  background: var(--clr-forest);
  border-radius: 3px;
  margin: 14px 0 22px;
}

/* ══════════ BUTTONS ══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn--whatsapp {
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  padding: 14px 28px;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
.btn--whatsapp:hover {
  background: var(--clr-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,211,102,.4);
}
.btn--whatsapp i { font-size: 1.2rem; }

.btn--primary {
  background: var(--clr-forest);
  color: var(--clr-white);
  padding: 11px 24px;
  font-size: 13px;
}
.btn--primary:hover {
  background: var(--clr-forest-deep);
}

.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* ══════════ HEADER ══════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  padding: 12px 0;
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 8px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-forest);
  letter-spacing: .3px;
}

.logo-label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-gold);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--clr-forest);
  border-radius: 3px;
  transition: all .3s var(--ease);
}

.header-actions { display: none; }

/* ══════════ MOBILE DRAWER ══════════ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.mobile-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 290px;
  height: 100vh;
  background: var(--clr-white);
  z-index: 1001;
  padding: 56px 28px 28px;
  transition: right .35s var(--ease);
  box-shadow: -4px 0 20px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mobile-drawer.open { right: 0; }

.drawer-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-text);
  line-height: 1;
}

.drawer-brand { text-align: center; margin-bottom: 8px; }

.drawer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  padding: 12px 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: color .3s var(--ease);
}

.drawer-link:hover { color: var(--clr-gold); }

/* ══════════ HERO ══════════ */
.hero {
  padding: 100px 0 48px;
  background: linear-gradient(135deg, #fdfcf9 0%, var(--clr-sand-light) 100%);
  overflow: hidden;
}

.hero-bg { display: none; } /* removed for speed */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-text { order: 2; }

.hero-portrait {
  order: 1;
  display: flex;
  justify-content: center;
  max-width: 280px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  color: var(--clr-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-sub {
  font-family: var(--ff-sans);
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-location {
  font-size: 14px;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.hero-location i { color: var(--clr-gold); font-size: 1.1rem; }

.hero-credentials {
  margin-top: 20px;
  font-size: 13px;
  color: var(--clr-text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-cutout {
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.1));
}

.anim-fade {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════ SECTION 2: IDENTIFICATION ══════════ */
#identificacao h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  line-height: 1.35;
  margin-bottom: 20px;
}

#identificacao p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.simple-list {
  margin: 24px 0 32px;
  padding: 0;
}

.simple-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--clr-text);
}

.simple-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ══════════ SECTION 3: THERAPY BENEFITS ══════════ */
#psicoterapia .section-header p {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
  margin: 12px auto 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.benefit-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  text-align: center;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(21,59,54,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.benefit-icon i { color: var(--clr-forest); font-size: 1.5rem; }

.benefit-card h3 {
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ══════════ SECTION 4: ABOUT ══════════ */
.about-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--clr-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.about-img {
  display: flex;
  align-items: center;
  background: var(--clr-sand-light);
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 240px;
}

.about-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--clr-text);
}

.about-body h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  margin-bottom: 4px;
}

.about-body .divider {
  margin: 14px 0 20px;
}

.about-body p {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

.about-credentials-box {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-forest);
  background: rgba(21,59,54,.05);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 8px;
}

/* ══════════ SECTION 5: MODALITIES ══════════ */
#atendimento .section-header {
  margin-bottom: 32px;
}

.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.modality-card {
  background: var(--clr-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}

.modality-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.modality-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(21,59,54,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.modality-icon i { color: var(--clr-forest); font-size: 1.3rem; }

.modality-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--clr-dark);
}

.modality-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modality-location {
  font-size: 13px;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.modality-location i { color: var(--clr-gold); }

/* ══════════ SECTION 6: TESTIMONIALS ══════════ */
.testimonials-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rating-badge {
  background: var(--clr-forest);
  color: var(--clr-white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform .45s var(--ease);
}

.test-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.test-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-sand);
  color: var(--clr-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.test-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-dark);
}

.test-stars {
  display: flex;
  gap: 2px;
  color: var(--clr-gold);
  font-size: 14px;
}

.test-card p {
  font-size: 14px;
  font-style: italic;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--clr-forest);
  background: transparent;
  color: var(--clr-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.slider-btn:hover {
  background: var(--clr-forest);
  color: var(--clr-white);
}

.slider-dots { display: flex; gap: 8px; }

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(21,59,54,.2);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}

.slider-dot.active {
  background: var(--clr-forest);
  transform: scale(1.2);
}

/* ══════════ SECTION 7: STEPS ══════════ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.step-card {
  text-align: center;
  padding: 0 16px;
}

.step-number {
  font-family: var(--ff-sans);
  font-size: 48px;
  font-weight: 800;
  color: rgba(21,59,54,.08);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ══════════ SECTION 8: FAQ ══════════ */
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 8px;
  background: var(--clr-white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--clr-dark);
  transition: color .3s var(--ease);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-forest);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .3s var(--ease);
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-content {
  padding: 16px 24px 20px;
}

.faq-content p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ══════════ SECTION 9: FINAL CTA ══════════ */
#contato.section-dark h2 { color: var(--clr-white); }
#contato.section-dark p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* ══════════ FOOTER ══════════ */
.footer {
  background: var(--clr-forest-deep);
  color: rgba(255,255,255,.7);
  padding: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 20px;
}

.footer-info { font-size: 14px; line-height: 1.8; }

.footer-info strong {
  font-size: 16px;
  color: var(--clr-white);
  display: block;
  margin-bottom: 4px;
}

.footer-info p { margin: 0 0 8px; }

.footer-links-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links-box a {
  font-size: 13px;
  font-weight: 500;
  transition: color .3s var(--ease);
}

.footer-links-box a:hover { color: var(--clr-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--clr-white); }

/* ══════════ WHATSAPP FIXED ══════════ */
/* Mobile: full-width bottom bar */
.whatsapp-fixed-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--clr-whatsapp);
  padding: 10px 20px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}

.btn-whatsapp-fixed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: var(--clr-white);
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
}

.btn-whatsapp-fixed i { font-size: 1.3rem; }

/* Desktop: FAB circle */
.fab-whatsapp {
  display: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* ── Tablet (768px+) ── */
@media (min-width: 768px) {
  :root { --section-py: 72px; }

  body { padding-bottom: 0; }

  .hero-credentials {
    flex-direction: row;
    gap: 16px;
  }

  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .modalities-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  /* Hide mobile fixed bar, show FAB */
  .whatsapp-fixed-wrapper { display: none; }

  .fab-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--clr-whatsapp);
    color: var(--clr-white);
    border-radius: 50%;
    z-index: 900;
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
    font-size: 1.6rem;
    animation: fabPulse 3s infinite;
    transition: transform .3s var(--ease);
  }

  .fab-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
  }
}

/* ── Desktop (1024px+) ── */
@media (min-width: 1024px) {
  :root { --section-py: 80px; }

  .hamburger { display: none; }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .hero-text { order: 1; }
  .hero-portrait { order: 2; max-width: 420px; }

  .about-card { grid-template-columns: 1fr 1fr; }
  .about-body { padding: 40px 36px; }
}

/* ── Small phones ── */
@media (max-width: 400px) {
  .btn--whatsapp { padding: 12px 20px; font-size: 14px; }
  .btn--lg { padding: 14px 24px; font-size: 15px; }
  .hero h1 { font-size: 1.5rem; }
}

/* ══════════ ANIMATIONS ══════════ */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,.35); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 0 0 8px rgba(37,211,102,.08); }
}
