/* Hikari Odontologia Integrada — estilos */

/* Garet: coloque os arquivos em /fonts. Enquanto não houver, o navegador usa Outfit. */
@font-face {
  font-family: "Garet";
  src: url("../fonts/Garet-Book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --cinza: #8F8F88;
  --cinza-marca: #979790;
  --fundo: #F3F3F0;
  --texto: #1F1F1C;
  --texto-2: #4A4A45;
  --texto-3: #5F5F59;
  --escuro: #3A3A35;
  --borda: #C9C9C2;
  --brilho: rgba(255, 255, 255, 0.55);
  --titulo: "Garet", "Outfit", sans-serif;
  --corpo: "Open Sans", system-ui, sans-serif;
  --sombra: 0 12px 32px rgba(60, 60, 55, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fundo);
  font-family: var(--corpo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--escuro); }
a:hover { color: #1C1C1A; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.pular {
  position: absolute;
  left: -9999px;
}
.pular:focus {
  left: 16px; top: 16px; z-index: 100;
  background: #fff; padding: 12px 16px; border-radius: 8px;
}

:focus-visible { outline: 3px solid #1F1F1C; outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }

.btn-escuro { background: var(--escuro); color: #fff; }
.btn-escuro:hover { background: #262622; color: #fff; }

.btn-contorno { border: 1px solid var(--borda); color: var(--texto); font-weight: 500; }
.btn-contorno:hover { background: #F6F6F3; color: var(--texto); }

.btn-branco { background: #fff; color: var(--texto); }
.btn-branco:hover { color: var(--texto); }

.btn-grande { min-height: 52px; padding: 0 30px; font-size: 16px; }

/* ---------- Topo ---------- */
.topo {
  background:
    radial-gradient(circle at 74% 58%, var(--brilho) 0%, rgba(143, 143, 136, 0) 30%),
    var(--cinza);
  color: #fff;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
}
.marca:hover { color: #fff; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-nome { font-family: var(--titulo); font-size: 22px; letter-spacing: .08em; }
.marca-sub { font-size: 10px; font-weight: 600; letter-spacing: .16em; }

.menu-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}
.menu-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.menu-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-links .btn { min-height: 44px; padding: 0 22px; font-size: 14px; }

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  padding-top: 56px;
  padding-bottom: 112px;
}
.hero-texto {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sobretitulo {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--texto);
}
.hero h1 {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
}
.bordao {
  margin: 0;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--texto);
}
.hero-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-botoes .btn-branco { box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); }
.hero-botoes .btn-contorno-branco {
  border: 1px solid #fff;
  color: #fff;
}
.hero-botoes .btn-contorno-branco:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.hero-logo {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-logo svg { filter: drop-shadow(0 0 22px rgba(255, 255, 255, .6)); max-width: 60vw; height: auto; }
.hero-logo-nome {
  margin: 0;
  font-family: var(--titulo);
  font-size: 52px;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 255, 255, .45);
}
.hero-logo-sub { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: .18em; text-align: center; }

/* ---------- Faixa de informações ---------- */
.faixa { margin-top: -40px; position: relative; }
.faixa-caixa {
  background: #fff;
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 32px rgba(60, 60, 55, .12);
}
.faixa-caixa p { margin: 0; font-size: 15px; line-height: 1.5; }
.faixa-caixa strong { font-weight: 600; }

/* ---------- Equipe ---------- */
.equipe { padding-top: 72px; padding-bottom: 72px; }
.secao-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  text-align: center;
}
.secao-titulo h2,
.onde h2 {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: .04em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  min-width: 0;
  background: #fff;
  border-radius: 24px;
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: var(--sombra);
}
.card-foto {
  padding: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 55%, #E4E4DE 100%);
  box-shadow: 0 0 28px rgba(151, 151, 144, .35);
}
.card-foto img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  background: #7A7679;
}
.card h3 {
  margin: 8px 0 0;
  font-family: var(--titulo);
  font-weight: 500;
  font-size: 24px;
}
.card-esp {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texto-3);
}
.card-cro { margin: 0; font-size: 13px; color: var(--texto-3); }
.card-texto { margin: 4px 0 8px; font-size: 15px; line-height: 1.6; color: var(--texto-2); }
.card-texto p { margin: 0; }
.card-botoes {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-botoes .btn { width: 100%; }

/* ---------- Consultório ---------- */
.consultorio { padding-bottom: 72px; }
.consultorio .secao-titulo { margin-bottom: 32px; }
.galeria {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.galeria figure {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.galeria img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  background: #E4E4DE;
  box-shadow: var(--sombra);
}
.galeria figcaption { font-size: 14px; color: var(--texto-3); text-align: center; }

/* ---------- Onde estamos ---------- */
.onde { padding-bottom: 88px; }
.onde-caixa {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  box-shadow: var(--sombra);
}
.onde-texto {
  flex: 1 1 400px;
  min-width: 0;
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.onde h2 { font-size: 34px; letter-spacing: 0; }
.onde-texto p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.onde-texto address { font-style: normal; }
.onde-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mapa {
  flex: 1.4 1 480px;
  min-width: 0;
  min-height: 380px;
  background: #E4E4DE;
}
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--cinza-marca);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--texto);
}
.rodape p { margin: 0; }

/* ---------- Barra fixa (celular) ---------- */
.barra-agendar { display: none; }

@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 32px; padding-bottom: 88px; gap: 40px; }
  .hero-logo { order: -1; }
  .hero-logo svg { width: 150px; }
  .hero-logo-nome { font-size: 38px; }
  .hero-logo-sub { font-size: 13px; }
  .bordao { font-size: 19px; }
  .menu-links { gap: 4px 20px; }
  .secao-titulo h2 { font-size: 32px; }
  .galeria {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scroll-padding: 0 20px;
    -webkit-overflow-scrolling: touch;
  }
  .galeria figure { flex: 0 0 72%; scroll-snap-align: start; }
  .onde-texto { padding: 32px 24px; }
  .mapa { flex-basis: 100%; }

  body { padding-bottom: 84px; }
  .barra-agendar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid #DADAD4;
    box-shadow: 0 -8px 24px rgba(60, 60, 55, .12);
  }
  .barra-agendar .btn-escuro { flex: 1 1 auto; min-height: 52px; font-size: 16px; }
  .barra-agendar .btn-icone {
    flex: 0 0 52px;
    min-height: 52px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
