/* ============================================================
   DRA. GABRIELA FERNANDES CONRADO — MÉDICA DE FAMÍLIA
   style.css
   ============================================================ */

:root {
  --cream: #FFFFFF;
  --cream-2: #F7F9F8;
  --navy: #1E3A52;
  --teal: #2E8B8B;
  --teal-light: #E3F1EF;
  --green: #6FAE8A;
  --ink: #3C3C3C;
  --line: #E4E7E6;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, .display {
  font-family: 'Lora', serif;
  color: var(--navy);
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---- NAV ---- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 14px 32px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand span {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: 1.05rem; color: var(--navy);
}

.navlinks { display: flex; gap: 30px; font-size: 0.92rem; letter-spacing: 0.02em; }
.navlinks a { position: relative; padding: 4px 0; color: var(--navy); transition: color .2s; }
.navlinks a:hover { color: var(--teal); }
.navlinks a.active { color: var(--teal); }
.navlinks a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--teal); border-radius: 2px;
}

.nav-cta {
  background: var(--teal); color: #fff; padding: 10px 20px;
  border-radius: 30px; font-size: 0.88rem; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy); }

.burger {
  display: none; font-size: 1.6rem; background: none; border: none;
  color: var(--navy); cursor: pointer; padding: 4px 8px; line-height: 1;
}

.mobile-menu {
  display: none; flex-direction: column; background: var(--cream);
  border-bottom: 1px solid var(--line); overflow: hidden;
  max-height: 0; transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 320px; }
.mobile-menu a {
  padding: 14px 32px; font-size: 0.95rem;
  color: var(--navy); border-top: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--teal); font-weight: 600; }

/* ---- EYEBROW ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--teal); }

/* ---- CREDENTIALS ---- */
.credentials {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--navy); margin-bottom: 34px;
}
.credentials span {
  background: var(--teal-light); padding: 7px 14px;
  border-radius: 20px; font-weight: 500;
}

/* ---- BUTTONS ---- */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--navy); color: #fff; padding: 14px 28px;
  border-radius: 30px; font-weight: 500; display: inline-block;
  transition: transform .2s, background .2s;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); }

/* ---- BRAND INTRO ---- */
.brand-intro { padding: 80px 0 0; text-align: center; }

.brand-intro .big-logo {
  height: 150px; width: auto; margin: 0 auto 30px; max-width: 90%;
}

.brand-intro .slogan {
  font-size: 2.5rem; line-height: 1.3; max-width: 780px;
  margin: 0 auto 26px; letter-spacing: -0.01em;
}

.brand-intro .lead {
  max-width: 560px; margin: 0 auto 30px;
  font-size: 1.05rem; color: var(--ink);
}

.brand-intro .credentials { justify-content: center; margin-bottom: 34px; }
.brand-intro .cta-row { justify-content: center; margin-bottom: 64px; }

/* ---- PHOTO SHOWCASE ---- */
.photo-showcase { position: relative; padding: 0; }

.photo-showcase .frame {
  position: relative; border-radius: 24px; overflow: hidden;
  max-width: 920px; margin: 0 auto;
  box-shadow: 0 40px 80px -30px rgba(30,58,82,0.35);
}

.photo-showcase .frame img {
  width: 100%; height: 520px;
  object-fit: cover; object-position: top center;
}

.photo-showcase .ring {
  position: absolute; width: 160px; height: 160px;
  border: 1px solid var(--green); border-radius: 50%;
  top: -30px; left: calc(50% - 480px); opacity: 0.5; z-index: -1;
}

.photo-showcase .signature-tag {
  position: relative; left: auto; bottom: auto;
  max-width: 920px; width: 100%; margin: 18px auto 0; background: #fff;
  border-radius: 14px; padding: 18px 26px;
  box-shadow: 0 18px 40px -12px rgba(30,58,82,0.15);
  font-size: 0.9rem; color: var(--navy); text-align: center;
}

.photo-showcase .signature-tag b {
  display: block; font-family: 'Lora', serif;
  font-size: 0.95rem; margin-bottom: 2px;
}

/* ---- WAVE ---- */
.wave { display: block; width: 100%; height: 64px; margin-top: 0; }

/* ---- SECTION GENERIC ---- */
section { padding: 90px 0; }
.section-head { max-width: 620px; margin-bottom: 54px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 2rem; line-height: 1.3; }
.section-head p { margin-top: 16px; color: var(--ink); font-size: 1.02rem; }

/* ---- SOBRE ---- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

.about-quote {
  font-family: 'Lora', serif; font-style: italic; font-size: 1.3rem;
  color: var(--navy); border-left: 3px solid var(--green);
  padding-left: 22px; margin: 28px 0;
}

.pillars { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 34px; }
.pillar {
  background: #fff; border-radius: 14px;
  padding: 22px 20px; border: 1px solid var(--line);
}
.pillar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); margin-bottom: 12px;
}
.pillar h4 { font-family: 'Lora', serif; font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.pillar p { font-size: 0.88rem; color: #5a5a5a; }

/* ---- ATENDIMENTOS ---- */
.modalities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.modal-card {
  background: #fff; border-radius: 16px; padding: 32px 26px;
  border: 1px solid var(--line); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.modal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(30,58,82,0.25);
}

.modal-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

.modal-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.modal-card .where {
  font-size: 0.82rem; color: var(--teal); font-weight: 600;
  margin-bottom: 14px; display: block;
}
.modal-card p { font-size: 0.92rem; color: #555; }

.care-block {
  margin-top: 64px; background: var(--navy); color: #fff;
  border-radius: 22px; padding: 50px;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 40px; align-items: center;
}
.care-block h3 { color: #fff; font-size: 1.5rem; margin-bottom: 16px; }
.care-block p { color: #cfdde2; font-size: 0.97rem; }

.care-list { display: flex; flex-direction: column; gap: 14px; }
.care-list .item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.93rem; color: #e8eef0;
}
.care-list .item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-top: 8px; flex-shrink: 0;
}

.quote-strip {
  margin-top: 50px; text-align: center; font-family: 'Lora', serif;
  font-style: italic; font-size: 1.25rem; color: var(--navy);
  max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ---- TRAJETÓRIA ---- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 120px; top: 0; bottom: 0;
  width: 1px; background: var(--line);
}

.t-item {
  display: grid; grid-template-columns: 120px 1fr;
  position: relative; padding-bottom: 42px;
}
.t-item:last-child { padding-bottom: 0; }

.t-year {
  font-family: 'Lora', serif; color: var(--teal);
  font-weight: 600; font-size: 0.95rem; padding-top: 2px;
}

.t-content { position: relative; padding-left: 38px; }
.t-content::before {
  content: ""; position: absolute; left: -5px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--green);
}
.t-content h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.t-content p { font-size: 0.88rem; color: #666; }

/* ---- CONTATO ---- */
.contact { background: var(--navy); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head .eyebrow { color: var(--green); }
.contact .section-head .eyebrow::before { background: var(--green); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 30px;
}
.contact-card h3,
.contact-card h4 {
  color: #fff; font-family: 'Lora', serif;
  margin-bottom: 14px; font-size: 1.05rem;
}

.contact-row {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: 0.92rem; color: #dde7ea;
}
a.contact-row { transition: color .2s; }
a.contact-row:hover { color: #fff; text-decoration: underline; }

.contact-row .ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(111,174,138,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---- FOOTER ---- */
footer {
  background: #16293A; color: #9fb3bf;
  padding: 40px 0; font-size: 0.82rem;
}
.foot-row {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 880px) {
  .navlinks { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }

  .brand-intro .big-logo { height: 120px; }
  .brand-intro .slogan { font-size: 1.7rem; }

  .photo-showcase .frame img { height: 300px; }
  .photo-showcase .ring { display: none; }
  .photo-showcase .signature-tag { position: static; margin: 20px auto 0; left: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .modalities { grid-template-columns: 1fr; }
  .care-block { grid-template-columns: 1fr; padding: 34px; }
  .contact-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 14px; }
  .t-item { grid-template-columns: 1fr; }
  .t-content { padding-left: 32px; }
  .t-content::before { left: 9px; }
  .t-year { padding-left: 32px; }
}
