/* ========================================================================
   Clínica Brahmi — LP Stylesheet
   Vanilla CSS, mobile-first, sem dependências externas
   Cores: #BFA37E (dourado suave) | #1a1a1a (preto) | #fdfaf6 (off-white)
   ========================================================================= */

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

:root {
  --color-bg: #fdfaf6;
  --color-bg-alt: #ffffff;
  --color-text: #1a1a1a;
  --color-text-soft: #4a4a4a;
  --color-text-muted: #6b6b6b;
  --color-accent: #BFA37E;
  --color-accent-hover: #1a1a1a;
  --color-success: #25d366;
  --color-border: #e8e2d5;
  --font-display: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 4px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-soft);
  background: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-logo { max-width: 220px; }
.site-logo img { width: 100%; }
.site-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}
.btn--whatsapp {
  background: var(--color-success);
  color: #fff;
}
.btn--whatsapp:hover {
  background: #1eb854;
  color: #fff;
}
.btn--lg { padding: 18px 36px; font-size: 14px; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 5%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 3px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__text h1 { margin-bottom: 22px; }
.hero__text p { font-size: 1.05rem; margin-bottom: 28px; }
.hero__cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__image {
  border: 1px solid var(--color-accent);
  padding: 10px;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-md);
}

/* ---------- Sections ---------- */
.section { padding: 70px 5%; }
.section--alt { background: var(--color-bg-alt); }
.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section__header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ---------- Features (3 colunas) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature {
  padding: 30px 24px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--color-accent);
}
.feature h3 { color: var(--color-text); margin-bottom: 10px; }
.feature p { font-size: 0.95rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--color-accent);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--color-text);
  letter-spacing: 1px;
  cursor: pointer;
  gap: 16px;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 24px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a {
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- Prova social / Depoimentos ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial {
  background: var(--color-bg-alt);
  padding: 28px;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.testimonial__text {
  font-style: italic;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.testimonial__author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--color-text);
  color: #fff;
  padding: 60px 5%;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 12px auto 28px; }
.cta-banner .btn--primary { background: var(--color-accent); }
.cta-banner .btn--primary:hover { background: #d4b692; color: var(--color-text); }

/* ---------- Contato + Mapa ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
}
.contact-info__item strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}
.contact-map {
  min-height: 380px;
  border: 1px solid var(--color-accent);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-text);
  color: #fff;
  padding: 50px 5% 30px;
  text-align: center;
  border-top: 5px solid var(--color-accent);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto 30px;
  text-align: left;
}
.site-footer h4 {
  color: var(--color-accent);
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.site-footer p, .site-footer a { font-size: 13px; color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Botão Flutuante WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  background: var(--color-success);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.float-whatsapp:hover {
  transform: scale(1.05);
  color: #fff;
}
.float-whatsapp::before {
  content: '';
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.816 9.816 0 0 0 12.04 2zm.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.264 8.264 0 0 1-1.26-4.38c.01-4.54 3.7-8.24 8.25-8.24zM8.53 7.33c-.16 0-.43.06-.66.31-.22.25-.86.85-.86 2.07 0 1.22.89 2.4 1 2.57.14.17 1.76 2.67 4.25 3.73.59.27 1.05.42 1.41.53.59.19 1.13.16 1.56.1.48-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.07-.1-.23-.16-.48-.27-.25-.14-1.47-.74-1.69-.82-.23-.08-.37-.12-.56.12-.16.25-.64.81-.78.97-.15.17-.29.19-.53.07-.26-.13-1.06-.39-2-1.23-.74-.66-1.23-1.47-1.38-1.72-.12-.24-.01-.39.11-.5.11-.11.27-.29.37-.44.13-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.11-.56-1.35-.77-1.84-.2-.48-.4-.42-.56-.43-.14 0-.3-.01-.47-.01z'/></svg>") no-repeat center;
}

/* ---------- Banner LGPD ---------- */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-text);
  color: #fff;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.lgpd-banner.is-visible { transform: translateY(0); }
.lgpd-banner__text { flex: 1; min-width: 280px; font-size: 0.9rem; }
.lgpd-banner__text a { color: var(--color-accent); text-decoration: underline; }
.lgpd-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lgpd-banner__actions .btn { padding: 10px 20px; font-size: 12px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 50px 5%; text-align: center; }
  .hero__cta-group { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-header__inner { flex-direction: column; gap: 14px; padding: 14px 5%; }
  .site-cta { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .section, .hero { padding: 50px 5%; }
  .float-whatsapp { padding: 12px 18px; font-size: 12px; }
  .float-whatsapp::before { width: 18px; height: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .lgpd-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .lgpd-banner__actions { justify-content: center; }
}
