/* ===========================================================
   Dra. Suelen Lopes — Duo Clinique
   Base do site estatico (substitui Elementor + Hello Elementor)
   =========================================================== */

:root {
  --c-dark:   #1A1A1A;
  --c-stone:  #938C86;
  --c-sand:   #C1B6A7;
  --c-mist:   #EFEFEF;
  --c-blush:  #F8E1E7;
  --c-text:   #333333;
  --c-muted:  #7A7A7A;
  --gap:      20px;
  --content:  1140px;
  --font-body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--c-dark); }

/* mesmas metricas do reset do tema Hello Elementor, que o site original usa:
   sao elas que dao o respiro vertical entre titulo e texto. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head); font-weight: 500; line-height: 1.2;
  margin-block-start: .5rem; margin-block-end: 1rem;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-block-start: 0; margin-block-end: .9rem; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-sand); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 18px; background: var(--c-dark); color: #fff;
}
.skip:focus { left: 0; color: #fff; }

/* ----------------------------------------------------- layout (containers) */
/* padding: 10px e gap: 20px sao os padroes do Elementor para qualquer
   container (--container-default-padding / --widgets-spacing). Quem tem
   valor proprio no layout sobrescreve isso em style.css. */
.e-con { display: flex; flex-direction: column; gap: var(--gap); width: 100%; position: relative; padding: 10px; }
.e-boxed { align-items: center; }
.e-boxed > .e-inner {
  display: flex; flex-direction: column; gap: var(--gap);
  width: 100%; max-width: var(--content); height: 100%;
}
/* widgets sao itens flex de largura automatica: em coluna eles esticam,
   em linha ocupam so o necessario — igual ao Elementor. */
.e-w { max-width: 100%; min-width: 0; }

/* texto claro sobre as faixas escuras */
.on-dark { color: var(--c-mist); }
.on-dark .ilist-txt, .on-dark .rich, .on-dark .ibox-desc { color: var(--c-mist); }

/* ----------------------------------------------------- cabecalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, .07);
  padding: 14px 24px;
}
.site-header .e-inner { flex-direction: row; align-items: center; }

.nav ul { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav a { position: relative; font-size: 15px; color: var(--c-muted); padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .3s ease;
}
.nav a:hover { color: var(--c-dark); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 42px; height: 42px; padding: 0 9px; margin-left: auto;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-dark); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------- titulos e texto */
/* widget "titulo" do Elementor: sem margens e line-height 1 */
.hd { font-family: var(--font-head); padding: 0; margin: 0; line-height: 1; }
.rich > *:first-child { margin-block-start: 0; }

/* ----------------------------------------------------- botoes */
/* mesmos valores padrao do botao do Elementor */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 12px 24px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--c-dark); color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1;
  text-align: center; transition: background .3s ease, transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.btn:hover { color: #fff; }
.btn .ico { width: 1em; height: 1em; flex: 0 0 auto; fill: currentColor; }

/* ----------------------------------------------------- icon box */
.ibx { display: flex; flex-direction: column; gap: 15px; text-align: center; height: 100%; }
/* a caixa do icone e um bloco: ela acompanha o text-align da caixa toda,
   entao o icone fica centralizado quando o texto esta centralizado. */
.ibx-ico { display: block; flex: 0 0 auto; font-size: 50px; line-height: 0; color: var(--c-dark); }
.ibx-ico .ico, .ibx-ico img { display: inline-block; vertical-align: middle; width: 1em; height: 1em; fill: currentColor; object-fit: contain; }
.ibx-body { flex: 1 1 auto; min-width: 0; }
.ibx-title { transition: color .3s ease; }

/* ----------------------------------------------------- image box */
.ibox { text-align: center; }
.ibox-img { margin: 0 auto 15px; }
.ibox-title { transition: color .3s ease; }

/* ----------------------------------------------------- lista com icones */
.ilist { display: flex; flex-direction: column; gap: 12px; }
.ilist-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.ilist-ico { flex: 0 0 auto; display: inline-flex; line-height: 1; }
.ilist-ico .ico { width: 1em; height: 1em; fill: currentColor; }
.ilist-txt a:hover { opacity: .75; }

/* ----------------------------------------------------- redes sociais */
.soc { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.soc a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2em; height: 2.2em; border-radius: 50%; font-size: 17px;
  background: var(--c-mist); color: var(--c-stone); transition: transform .25s ease, filter .25s ease;
}
.soc a:hover { transform: translateY(-2px); filter: brightness(.94); }
.soc .ico { width: 1em; height: 1em; fill: currentColor; }
.soc img.ico { object-fit: contain; }

/* ----------------------------------------------------- carrossel */
.car { position: relative; width: 100%; }
.car-track {
  display: flex; --per: 5; --cgap: 20px; gap: var(--cgap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > li {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--cgap)) / var(--per));
  scroll-snap-align: start;
}
.car-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--c-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.car:hover .car-nav, .car-nav:focus-visible { opacity: 1; }
.car-nav .ico { width: 14px; height: 14px; fill: currentColor; }
.car-prev { left: -14px; }
.car-next { right: -14px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.car-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(26, 26, 26, .22); transition: background .25s ease, transform .25s ease;
}
.car-dots button.is-active { background: var(--c-stone); transform: scale(1.35); }

/* ----------------------------------------------------- acordeao (FAQ) */
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border-radius: 6px; overflow: hidden; background: var(--c-dark); }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.5;
  color: var(--c-sand); transition: color .25s ease;
}
.acc-head::-webkit-details-marker { display: none; }
.acc-head .ico { width: 12px; height: 12px; flex: 0 0 auto; fill: currentColor; transition: transform .3s ease; }
.acc-item[open] .acc-head .ico { transform: rotate(180deg); }
.acc-body { padding: 0 20px 18px; }
.acc-body .e-con { gap: 8px; }
.acc-body .hd { color: var(--c-mist); font-family: var(--font-body); font-weight: 400; }

/* ----------------------------------------------------- contato */
.cta-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px; border-radius: 12px;
  background: var(--c-mist); border: 1px solid rgba(26, 26, 26, .07);
}
.cta-lead { font-size: 15px; color: var(--c-text); margin: 0; }
.btn-wa { background: var(--c-dark); }
.btn-wa:hover { background: #000; transform: translateY(-2px); }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--c-stone); }
.cta-mail .ico { width: 1em; height: 1em; fill: currentColor; }
.cta-mail:hover { color: var(--c-dark); }

/* ----------------------------------------------------- whatsapp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico { width: 27px; height: 27px; fill: currentColor; }

/* ----------------------------------------------------- entrada suave */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------- responsivo */
@media (max-width: 1024px) {
  .e-boxed { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 80px; }
  .site-header { padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 64px 0 auto; z-index: 40;
    background: #fff; border-bottom: 1px solid rgba(26, 26, 26, .08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 70vh; overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav a { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(26, 26, 26, .06); }
  .nav a::after { display: none; }

  .car-nav { display: none; }
  .cta-card { padding: 22px; }
}
