:root{
  /* === PALETA ODONTOPRIME (turquesa) === */
  --c1:#22c4dd;     /* turquesa principal (logo) */
  --c2:#0ea5b8;     /* turquesa mais fechado p/ gradiente */

  --ink:#0b1220;
  --muted:#5b667a;
  --line:rgba(2,6,23,.10);

  --shadow:0 18px 48px rgba(2,6,23,.12);
  --shadowSoft:0 10px 26px rgba(2,6,23,.10);

  --radius:18px;
  --radius2:26px;

  /* fundo do header/footer (mais “odontoprime”) */
  --footerA:#061a20;
  --footerB:#0b2a33;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html.no-scroll, html.no-scroll body{ overflow:hidden; }

/* ===== anti-overflow (ANDROID SAFE) ===== */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body{
  margin:0;
  font-family: Inter, system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#fff;
  color:var(--ink);
  overflow-x:hidden;
}

img, video, svg{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width: min(1160px, 100% - 32px);
  margin-inline:auto;
}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.section{ padding:70px 0; }
.section--soft{ background: linear-gradient(180deg,#f8fcff,#ffffff); }

.section__head{
  display:grid;
  gap:10px;
  margin-bottom:22px;
}
.section__head h2{
  margin:0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:-.6px;
  line-height:1.05;
}

/* ✅ TEXTO ABAIXO DO TÍTULO (LEAD) EM PRETO */
.lead{
  color: var(--ink);
  line-height:1.7;
  margin:0;
  max-width:70ch;
  font-weight:700;
}

.accent{
  background: linear-gradient(135deg,var(--c1),var(--c2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
}
.accent2{ color:#9ae6ff; }

/* ================= HEADER ================= */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(34,196,221,.35), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(14,165,184,.32), transparent 60%),
    linear-gradient(135deg,var(--footerA), var(--footerB));
  border-bottom:1px solid rgba(255,255,255,.18);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand__logo{ height:56px; width:auto; object-fit:contain; }

.header__actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.icon-img{ width:34px; height:34px; transition: transform .2s ease, opacity .2s ease; }
.icon-link:hover .icon-img{ transform:scale(1.08); opacity:.92; }

.nav{ position:relative; }
.nav__list{
  display:flex;
  gap:12px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav__list a{
  padding:10px 12px;
  border-radius:999px;
  font-weight:800;
  color:rgba(255,255,255,.88);
  transition: background .2s ease, transform .2s ease;
}
.nav__list a:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.nav__toggle{
  display:none;
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease;
}
.nav__toggle:active{ transform:scale(.98); }

/* Backdrop do menu mobile */
.menu-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.40);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:40;
}
.menu-backdrop.show{
  opacity:1;
  pointer-events:auto;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  padding:54px 0 70px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:-220px -220px auto -220px;
  height:560px;
  background:
    radial-gradient(800px 400px at 18% 30%, rgba(34,196,221,.30), transparent 60%),
    radial-gradient(850px 420px at 78% 8%, rgba(14,165,184,.22), transparent 60%),
    linear-gradient(180deg,#ffffff 0%,#f4fbff 70%,#ffffff 100%);
  pointer-events:none;
}

.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.hero__text{
  width:100%;
  text-align:left;
  max-width:980px;
}

.hero__title{
  margin:0;
  font-size: clamp(38px, 5vw, 66px);
  line-height:1.02;
  letter-spacing:-.9px;
}
.title-accent{
  display:inline-block;
  background:linear-gradient(135deg,var(--c1),var(--c2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
}
.hero__title-line{
  display:block;
  margin-top:6px;
  font-weight:900;
}

.hero__actions{
  display:flex;
  gap:12px;
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.12);
  background:#fff;
  font-weight:900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadowSoft); }
.btn--primary{
  border:none;
  background: linear-gradient(135deg,var(--c1),var(--c2));
  color:#fff;
  box-shadow: 0 18px 44px rgba(34,196,221,.22);
}
.btn--soft{
  background: rgba(34,196,221,.10);
  border:1px solid rgba(34,196,221,.25);
}
.btn--full{ width:100%; justify-content:center; }

.btn__icon{
  width:20px; height:20px; object-fit:contain;
  filter: brightness(0) invert(1);
}

/* (NÃO é carrossel) */
.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:18px;
}
.stat{
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius:16px;
  padding:12px 14px;
}
.stat__k{ font-weight:900; }
.stat__v{ color: rgba(11,18,32,.70); margin-top:4px; }

.hero__banner{ width:100%; padding:16px; }
.banner{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(900px 320px at 20% 10%, rgba(34,196,221,.20), transparent 60%),
    radial-gradient(900px 320px at 80% 10%, rgba(14,165,184,.16), transparent 60%),
    linear-gradient(180deg,#f7fbff,#ffffff);
  min-height:380px;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 48px rgba(2,6,23,.08);
}
.banner__img{
  width:100%;
  height:100%;
  min-height:380px;
  object-fit:cover;
  display:block;
}

/* ================= SOBRE ================= */
.about-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.about-card{
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.about-badge{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg,var(--c1),var(--c2));
  color:#fff;
  font-size:20px;
  box-shadow: 0 16px 34px rgba(34,196,221,.22);
}
.about-card h3{ margin:0 0 6px; font-size:1.15rem; }
.about-card p{ margin:0; color:rgba(11,18,32,.75); line-height:1.7; }

/* ================= ESPECIALIDADES (MÉDICAS) ================= */
.especialidades-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}

/* ✅ paleta OdontoPrime */
.especialidades-grid .mini-card{
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(34,196,221,.22), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(14,165,184,.20), transparent 60%),
    linear-gradient(135deg,var(--footerA), var(--footerB));
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow: 0 18px 46px rgba(2,6,23,.18);
}

.mini-card{
  padding:16px 14px;
  font-weight:900;
  text-align:center;
  border-radius:16px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  min-width:0;
  word-break:break-word;
}
.mini-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 54px rgba(2,6,23,.22);
  filter: brightness(1.03);
}

/* CTA strip */
.cta-strip{
  margin-top:16px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-radius:18px;
}
.cta-strip__t{ font-weight:900; }
.cta-strip__s{ color:rgba(11,18,32,.70); margin-top:4px; }

/* ================= ODONTO (CARDS EXPLICATIVOS) ================= */
.dent-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.dent-card{ padding:18px; }
.dent-card h3{ margin:0 0 8px; }
.dent-card p{ margin:0; color:rgba(11,18,32,.75); line-height:1.7; }

/* ================= ESPECIALIDADES ODONTOLÓGICAS ================= */
/* ✅ Desktop bonito: 3 colunas + cards iguais */
.odontologia-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:20px;
}
.odontologia-grid .mini-card{
  width:100%;
  justify-self:stretch;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(34,196,221,.22), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(14,165,184,.20), transparent 60%),
    linear-gradient(135deg,var(--footerA), var(--footerB));
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow: 0 18px 46px rgba(2,6,23,.18);
}

/* ================= BENEFITS ================= */
.benefits{
  padding:74px 0;
  background:
    radial-gradient(900px 460px at 20% 0%, rgba(34,196,221,.36), transparent 60%),
    radial-gradient(900px 460px at 80% 0%, rgba(14,165,184,.34), transparent 60%),
    linear-gradient(180deg,var(--footerB) 0%, var(--footerA) 100%);
  color:#fff;
}
.benefits__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:start;
}
.benefits__left h2{
  margin:0 0 14px;
  font-size: clamp(28px, 3vw, 44px);
  line-height:1.08;
}
.benefit-list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
  font-weight:800;
}
.benefit-list li{ display:flex; align-items:center; gap:12px; opacity:.95; }
.dot{
  width:10px; height:10px; border-radius:999px;
  background:linear-gradient(135deg,var(--c1),var(--c2));
  box-shadow:0 0 0 4px rgba(34,196,221,.12);
}

.form{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  padding:18px;
}
.form h3{ margin:0 0 6px; font-size:1.35rem; }
.muted-on-dark{ margin:0 0 14px; opacity:.88; }

.form__grid{ display:grid; gap:12px; }
label{ display:grid; gap:6px; font-weight:800; }
label span{ opacity:.95; }

input{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color:#fff;
  outline:none;
}
input::placeholder{ color: rgba(255,255,255,.70); }

.check{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  cursor:pointer;
}
.check input[type="checkbox"]{
  accent-color: var(--c2);
  width:18px;
  height:18px;
}
small{ opacity:.9; }

/* ================= FEEDBACKS ================= */
.feedbacks{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.fb{ padding:18px; }
.fb__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.fb__logo{ height:28px; width:auto; object-fit:contain; }
.stars{ color:#f59e0b; font-weight:900; letter-spacing:1px; }
.fb__name{ font-weight:900; margin-bottom:2px; }
.fb__text{ margin:12px 0 0; line-height:1.55; color:rgba(11,18,32,.80); }
.muted{ color: rgba(11,18,32,.65); }

/* ================= FOOTER ================= */
.footer{
  position:relative;
  color:#fff;
  padding:56px 0 18px;
  overflow:hidden;
}
.footer__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(34,196,221,.35), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(14,165,184,.32), transparent 60%),
    linear-gradient(135deg,var(--footerA), var(--footerB));
}
.footer__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr 1.2fr .6fr;
  gap:18px;
  align-items:start;
}
.footer__logo{
  height:42px; width:auto; object-fit:contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.25));
}
.footer__text{ margin:12px 0 0; opacity:.92; line-height:1.6; max-width:46ch; }
.footer h4{ margin:0 0 12px; font-size:1.05rem; font-weight:900; }
.footer a{ display:block; padding:7px 0; opacity:.95; }
.footer a:hover{ opacity:1; text-decoration:underline; }

.frow{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 0;
  opacity:.95;
}
.footer-icon{ width:24px; height:24px; object-fit:contain; }

.socials{ display:flex; gap:14px; align-items:center; }
.icon-img--footer{ width:40px; height:40px; }
.socials a:hover .icon-img--footer{ transform:scale(1.08); opacity:.92; }

.footer__bottom{
  position:relative;
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  font-size:14px;
  opacity:.95;
}
.footer-bottom-left,.footer-bottom-right{ display:flex; align-items:center; gap:6px; }
.dev-link{ color:#9ae6ff; font-weight:800; }
.dev-link:hover{ opacity:.85; text-decoration:underline; }

/* ================= REVEAL ================= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ================= TO TOP ================= */
.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.12);
  background:#fff;
  box-shadow: var(--shadowSoft);
  font-weight:900;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.to-top.show{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}

/* ================= RESPONSIVO ================= */

/* Tablet */
@media (max-width:980px){
  .nav__toggle{ display:inline-flex; }

  .nav__list{
    display:none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 78px;

    width: min(420px, 92vw);
    max-height: calc(100vh - 120px);
    overflow-y: auto;

    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav__list.show{ display:flex; }
  .nav__list a{ color: rgba(11,18,32,.92); }
  .nav__list a:hover{ background: rgba(34,196,221,.12); }

  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__banner{ padding:14px; }
  .banner{ min-height:300px; }
  .banner__img{ min-height:300px; }

  .especialidades-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .odontologia-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Mobile */
@media (max-width:820px){
  .brand__logo{ height:44px; }
  .icon-img{ width:28px; height:28px; }

  .hero__text{
    text-align:center;
    max-width:680px;
    margin-inline:auto;
  }
  .hero__actions{ justify-content:center; }

  .hero__stats{ grid-template-columns: 1fr; }

  .cta-strip{ flex-direction:column; align-items:stretch; }
  .cta-strip .btn{ width:100%; justify-content:center; }

  .benefits__grid{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__bottom{ justify-content:center; text-align:center; }

  /* carrossel (sobre/odonto cards/feedbacks) */
  .about-grid,
  .dent-grid,
  .feedbacks{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding:6px 4px 14px;
    gap:12px;
  }

  .about-grid{ display:flex; }
  .about-grid .about-card{ flex:0 0 92%; scroll-snap-align:start; }

  .dent-grid{ display:flex; }
  .dent-grid .dent-card{ flex:0 0 92%; scroll-snap-align:start; }

  .feedbacks{ display:flex; }
  .feedbacks .fb{ flex:0 0 92%; scroll-snap-align:start; }

  /* ESPECIALIDADES MÉDICAS: carrossel */
  .especialidades-grid{
    display:grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;

    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding:6px 4px 14px;
    gap:12px;
  }
  .especialidades-grid .mini-card{
    scroll-snap-align:start;
    text-align:center;
  }

  /* ESPECIALIDADES ODONTO: carrossel */
  .odontologia-grid{
    display:grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;

    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding:6px 4px 14px;
    gap:12px;
  }
  .odontologia-grid .mini-card{
    scroll-snap-align:start;
    width:auto;
    justify-self:auto;
  }

  /* scrollbar discreta */
  .about-grid::-webkit-scrollbar,
  .dent-grid::-webkit-scrollbar,
  .feedbacks::-webkit-scrollbar,
  .especialidades-grid::-webkit-scrollbar,
  .odontologia-grid::-webkit-scrollbar{
    height:8px;
  }
  .about-grid::-webkit-scrollbar-thumb,
  .dent-grid::-webkit-scrollbar-thumb,
  .feedbacks::-webkit-scrollbar-thumb,
  .especialidades-grid::-webkit-scrollbar-thumb,
  .odontologia-grid::-webkit-scrollbar-thumb{
    background: rgba(2,6,23,.14);
    border-radius:999px;
  }
}

/* Mobile pequeno */
@media (max-width:520px){
  .hero__title{
    font-size: clamp(28px, 8.4vw, 40px);
    line-height:1.02;
  }
}
