/* ============================================================
   NaSmile Concept — Landing Page
   TROQUE AS CORES AQUI ↓ (depois é só salvar)
   ============================================================ */
:root {
  --brand:        #252c4a;   /* azul-marinho (cor principal) = fundo da logo */
  --brand-dark:   #1d2740;   /* marinho escuro */
  --brand-light:  #44567c;   /* marinho claro */
  --accent:       #c9a99a;   /* nude / rosé (destaque) */
  --accent-dark:  #b08f80;   /* nude escuro p/ hover */
  --whats:        #25d366;   /* verde whatsapp */
  --ink:          #2a3553;   /* texto escuro (marinho) */
  --muted:        #7a8194;   /* texto secundário */
  --bg:           #ffffff;
  --bg-soft:      #f5efe9;   /* fundo suave (nude claro) */
  --radius:       14px;
  --shadow:       0 10px 30px rgba(0,0,0,.08);
  --container:    1180px;
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: none; border-radius: 999px; padding: 12px 26px;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--solid { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats-lg { padding: 14px 30px; font-size: 1rem; }

.cta-bar { display: flex; justify-content: center; padding: 36px 20px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 16px; }
.header__logo img { height: 72px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: .95rem;
  transition: background .15s ease;
}
.nav a:hover { background: rgba(255,255,255,.15); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__burger { display: none; background: none; border: none; color: #fff; cursor: pointer; }

/* ===== Hero / Banner ===== */
.hero { position: relative; overflow: hidden; }
.hero__banner { width: 100%; height: auto; display: block; }

/* (mantido caso volte a usar slideshow) */
.slideshow { position: relative; width: 100%; height: 70vh; max-height: 620px; min-height: 360px; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.3); border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: background .2s ease;
}
.slide-nav:hover { background: rgba(0,0,0,.55); }
.slide-prev { left: 18px; }
.slide-next { right: 18px; }
.slide-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.slide-dots button {
  width: 38px; height: 5px; border: none; border-radius: 4px;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.slide-dots button.is-active { background: #fff; }

/* ===== Info contato ===== */
.info { background: var(--brand-dark); color: #fff; }
.info__grid { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 24px; padding: 28px 20px; align-items: center; }
.info__item { display: flex; align-items: center; gap: 14px; }
.info__title h3 { font-size: 1.35rem; line-height: 1.1; }
.info__icon { font-size: 1.6rem; }
.info__label { font-size: .8rem; opacity: .8; }
.info__value { font-weight: 600; font-size: 1rem; }

/* ===== Equipe / Dentistas (carrossel) ===== */
.dentist { background: var(--bg-soft); padding: 56px 0; }
.dentist .section__title { margin-bottom: 32px; }
.team { display: flex; align-items: center; gap: 10px; max-width: var(--container); margin: 0 auto; padding: 0 12px; }
.team__viewport { overflow: hidden; flex: 1; }
.team__track { display: flex; transition: transform .45s ease; }
.team__slide {
  flex: 0 0 100%;
  display: grid; grid-template-columns: 360px 1fr; gap: 46px; align-items: center;
  padding: 12px 18px;
}
.team__photo { text-align: center; }
.team__photo img {
  width: 320px; height: 400px; object-fit: cover; border-radius: var(--radius);
  margin: 0 auto; box-shadow: var(--shadow); background: #ddd;
}
.team__name { margin-top: 16px; }
.team__name h3 { color: var(--brand); font-size: 1.4rem; }
.team__name p { color: var(--muted); }
.team__text p { color: var(--ink); font-size: 1.08rem; line-height: 1.7; }
.team__nav {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .15s ease;
}
.team__nav:hover { background: var(--brand); color: #fff; }
.team__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.team__dots button {
  width: 34px; height: 5px; border: none; border-radius: 4px;
  background: var(--accent); opacity: .4; cursor: pointer; transition: opacity .2s ease;
}
.team__dots button.is-active { opacity: 1; }

/* ===== Horário de funcionamento ===== */
.hours { max-width: 560px; margin: 8px auto 0; padding: 0 20px; }
.hours__head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-family: inherit; font-size: 1rem; text-align: left;
}
.hours__icon { display: flex; flex: 0 0 auto; }
.hours__title { font-weight: 600; }
.hours__status { margin-left: auto; font-weight: 600; font-size: .9rem; padding: 4px 12px; border-radius: 999px; }
.hours__status.is-open { background: rgba(37,211,102,.2); color: #25d366; }
.hours__status.is-closed { background: rgba(255,255,255,.15); color: #fff; }
.hours__toggle { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; letter-spacing: .5px; opacity: .9; }
.hours__toggle svg { transition: transform .2s ease; }
.hours.is-expanded .hours__toggle svg { transform: rotate(180deg); }
.hours__list {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  background: var(--bg); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hours.is-expanded .hours__list { max-height: 420px; }
.hours__row { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #eee; font-size: .95rem; }
.hours__row:last-child { border-bottom: none; }
.hours__row.is-today { background: var(--bg-soft); font-weight: 600; color: var(--brand); }

/* ===== Seções genéricas ===== */
.section { padding: 56px 0; }
.section__title { text-align: center; color: var(--brand); font-size: 2rem; margin-bottom: 8px; }
.section__subtitle { text-align: center; color: var(--muted); margin-bottom: 32px; }

/* ===== Carrossel ===== */
.carousel { display: flex; align-items: center; gap: 8px; }
.carousel__viewport { overflow: hidden; flex: 1; }
.carousel__track { display: flex; transition: transform .4s ease; }
.carousel__item { flex: 0 0 33.333%; padding: 12px; }
.carousel__btn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: all .15s ease;
}
.carousel__btn:hover { background: var(--brand); color: #fff; }

.gal-card { aspect-ratio: 1; border-radius: var(--radius); background: #ddd center/cover no-repeat; box-shadow: var(--shadow); }

.insta-card {
  display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-light)) center/cover no-repeat;
  box-shadow: var(--shadow); position: relative; color: #fff;
  transition: transform .15s ease;
}
.insta-card:hover { transform: translateY(-4px); }
.insta-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, rgba(37,44,74,.25), rgba(37,44,74,.6));
}
.insta-card__icon { display: flex; }
.insta-card__label { font-weight: 600; font-size: .95rem; }

/* ===== Formulário ===== */
.form-section { background: var(--brand); color: #fff; padding: 48px 0; }
.form-section h2 { text-align: center; font-size: 1.7rem; margin-bottom: 26px; }
.lead-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.lead-form input {
  flex: 1 1 240px; max-width: 300px; padding: 13px 18px; border: none; border-radius: 999px;
  font-family: inherit; font-size: .95rem;
}
.lead-form .btn--solid { background: var(--accent); }

/* ===== Faixa CTA ===== */
.band { background: linear-gradient(120deg, var(--brand), var(--brand-light)); color: #fff; padding: 48px 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band__text h2 { font-size: 1.7rem; margin-bottom: 6px; }
.band__text p { opacity: .9; }

/* ===== Tratamentos cards ===== */
.trat-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; height: 100%;
}
.trat-card__img { aspect-ratio: 16/10; background: var(--brand-light) center/cover no-repeat; }
.trat-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.trat-card__body h3 { color: var(--brand); font-size: 1.15rem; margin-bottom: 8px; }
.trat-card__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.trat-card__body .btn { margin-top: 16px; align-self: flex-start; }

/* ===== Páginas de tratamento ===== */
.trat-hero { background: var(--brand); color: #fff; padding: 48px 0; }
.trat-hero__back { display: inline-block; margin-bottom: 14px; opacity: .85; font-size: .9rem; }
.trat-hero__back:hover { opacity: 1; }
.trat-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.trat-hero p { opacity: .9; font-size: 1.05rem; max-width: 720px; }
.trat-content { max-width: 820px; }
.trat-content p { color: var(--ink); font-size: 1.08rem; line-height: 1.8; margin-bottom: 18px; }
.trat-content .btn { margin-top: 10px; }
.trat-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trat-gallery__item {
  display: block; aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-light), var(--accent)) center/cover no-repeat;
  box-shadow: var(--shadow); cursor: zoom-in; transition: transform .15s ease;
}
.trat-gallery__item:hover { transform: translateY(-4px); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(20,25,45,.9); cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: default; }
.lightbox__close {
  position: absolute; top: 18px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer;
}
@media (max-width: 700px) { .trat-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trat-gallery { grid-template-columns: 1fr; } }

/* ===== Mapa ===== */
.map-section { padding-top: 50px; }
.map-section__head { text-align: center; margin-bottom: 24px; }
.map-section__head h2 { color: var(--brand); font-size: 2rem; }
.map-section__head p { color: var(--muted); }
.map-section__frame { width: 100%; height: 420px; }
.map-section__frame iframe { width: 100%; height: 100%; border: 0; }

/* ===== Rodapé ===== */
.footer { background: var(--brand); color: #fff; padding: 48px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer__brand img { height: 50px; margin-bottom: 14px; }
.footer__brand p { opacity: .8; font-size: .9rem; }
.footer__col h4 { margin-bottom: 14px; font-size: 1rem; }
.footer__col a { display: block; opacity: .85; padding: 4px 0; font-size: .92rem; }
.footer__col a:hover { opacity: 1; }
.footer__social { display: flex; gap: 14px; margin-bottom: 16px; }
.footer__social a { opacity: .9; }
.footer__phone { font-size: 1.3rem; font-weight: 600; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .header__burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 92px; left: 0; right: 0;
    background: var(--brand-dark); padding: 12px 20px; gap: 4px;
  }
  .header__actions .btn--whats span { display: none; }
  .info__grid { grid-template-columns: 1fr 1fr; }
  .team__slide { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .team__text p { text-align: left; }
  .carousel__item { flex-basis: 50%; }
  .band__inner { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .info__grid { grid-template-columns: 1fr; }
  .carousel__item { flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .lead-form input { max-width: 100%; }
  .dentist__photo img { width: 240px; height: 240px; }
}
