/* Dr. Luiz Ricardo Martan — landing page
   Paleta inspirada na identidade visual do consultório (azuis + off-white). */

:root {
  --blue-900: #10305f;
  --blue-700: #1b4f9c;
  --blue-500: #2e6fd0;
  --blue-200: #b8c6e6;
  --blue-050: #eaf0fa;
  --cream:    #f4f1ec;
  --paper:    #ffffff;
  --ink:      #16202e;
  --ink-soft: #56637a;
  --line:     #e2e0da;
  --whats:    #25d366;

  --wrap: 1120px;
  --radius: 16px;
  --shadow: 0 18px 40px -24px rgba(16, 48, 95, .45);
  --font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: .6rem;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--solid { background: var(--blue-700); color: #fff; box-shadow: var(--shadow); }
.btn--solid:hover { background: var(--blue-900); }
.btn--ghost { border-color: var(--blue-200); color: var(--blue-700); background: transparent; }
.btn--ghost:hover { background: var(--blue-050); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }

/* ---------- topo ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.topbar__brand { display: flex; margin-right: auto; text-decoration: none; }
.topbar__logo {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;   /* funde o fundo branco do arquivo com a barra */
}
.topbar__nav { display: flex; gap: 1.4rem; }
.topbar__nav a { color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 500; }
.topbar__nav a:hover { color: var(--blue-700); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(60rem 32rem at 85% -10%, var(--blue-050), transparent 65%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--blue-500); }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.hero__reg { font-size: .85rem; color: var(--ink-soft); margin: 0; }

.hero__photo {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
.hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: calc(var(--radius) * 1.6);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

/* ---------- faixa de credenciais ---------- */
.strip { background: var(--blue-900); color: #fff; }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}
.strip__inner div { display: grid; gap: .2rem; }
.strip strong { font-family: var(--font-title); font-size: 1.25rem; color: #fff; }
.strip span { font-size: .88rem; color: var(--blue-200); line-height: 1.45; }

/* ---------- seções ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--cream); }
.section__lead { color: var(--ink-soft); max-width: 42em; margin-bottom: 2.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card--accent { border-top: 4px solid var(--blue-500); }

.list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; max-width: 46em; }
.list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  font-size: .97rem;
}
.list strong { color: var(--blue-900); }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about p { color: var(--ink-soft); }
.about__reg { font-size: .85rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.about__sign { margin: 0; }
.about__sign img { width: 100%; mix-blend-mode: multiply; }

/* ---------- depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.quote__stars { color: #f2a03d; letter-spacing: .12em; margin-bottom: .8rem; }
.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--blue-900);
}
.quote figcaption { font-weight: 600; font-size: .92rem; }
.quote figcaption span { font-weight: 400; color: var(--ink-soft); }

/* ---------- dúvidas frequentes ---------- */
.faq { display: grid; gap: .75rem; margin-top: 2rem; max-width: 46em; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1.2rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 600;
  color: var(--blue-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-500);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0;
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* ---------- local ---------- */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.local address { font-style: normal; color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.5rem; }
.local__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.local__phone { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.local__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.local__map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- chamada final ---------- */
.cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta h2 { color: #fff; }
.cta p { color: var(--blue-200); margin-bottom: 1.8rem; }

/* ---------- rodapé ---------- */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.footer__inner div { display: grid; gap: .25rem; }
.footer__inner span { color: var(--ink-soft); }
.footer__note {
  width: min(100% - 2.5rem, var(--wrap));
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ---------- botão flutuante WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 30;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whats);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .15s ease;
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero__inner, .about, .local { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 320px; justify-self: center; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .topbar__nav { display: none; }
  .about__sign { max-width: 420px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar__logo { height: 38px; }
  .strip__inner { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .topbar .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .whats-float:hover { transform: none; }
  * { transition: none !important; }
}
