:root {
  --blue-strong: #0b25b6;
  --blue-dark: #2a4f9a;
  --blue-mid: #1f7db0;
  --teal: #0c688a;
  --teal-soft: #20b7ae;
  --white: #ffffff;
  --off-white: #f5f9ff;
  --text-dark: #1b2a4d;
  --text-muted: #667a9d;
  --line: #dbe6f8;
  --radius: 18px;
  --shadow: 0 10px 35px rgba(15, 46, 111, 0.12);
  --shadow-soft: 0 6px 18px rgba(15, 46, 111, 0.09);
  --gradient: linear-gradient(135deg, var(--blue-strong) 0%, var(--blue-dark) 48%, var(--teal) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(42, 79, 154, 0.12), rgba(12, 104, 138, 0.12));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-white {
  background: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-cta {
  background: var(--gradient);
  color: var(--white);
}

.section-tag,
.section-tag-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-tag {
  color: var(--teal);
  background: rgba(12, 104, 138, 0.1);
}

.section-tag-light {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 14px 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(130deg, var(--blue-mid) 0%, var(--teal-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  padding: 13px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 30px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #1ca4c9, #20b7ae);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(32, 183, 174, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.62);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 30px rgba(20, 45, 94, 0.16);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  position: relative;
  display: block;
  width: clamp(160px, 19vw, 230px);
}

.brand-logo {
  width: 100%;
  transition: opacity 0.28s ease;
}

.brand-logo-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

#header.scrolled .brand-logo-light {
  opacity: 0;
}

#header.scrolled .brand-logo-dark {
  opacity: 1;
}

#main-nav {
  margin-left: auto;
}

#main-nav ul {
  display: flex;
  gap: 28px;
}

#main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

#main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal-soft);
  transition: width 0.24s ease;
}

#main-nav a:hover::after,
#main-nav a.active::after {
  width: 100%;
}

#header.scrolled #main-nav a {
  color: var(--text-dark);
}

.nav-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 0;
  background: none;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.25s ease;
}

#header.scrolled .menu-toggle span {
  background: var(--blue-dark);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  transition: max-height 0.34s ease;
  box-shadow: 0 14px 28px rgba(21, 35, 69, 0.12);
}

.mobile-menu.open {
  max-height: 420px;
}

.mobile-menu ul {
  padding: 14px 24px 24px;
}

.mobile-menu li {
  border-bottom: 1px solid var(--line);
}

.mobile-link {
  display: block;
  padding: 13px 0;
}

#hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 128px 0 72px;
  background: var(--gradient);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/banner/banner-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 37, 182, 0.66), rgba(12, 104, 138, 0.52));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 54px;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  font-family: 'Poppins', sans-serif;
}

.hero-content p {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.stat {
  padding: 16px 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.24rem;
  line-height: 1.2;
}

.stat span {
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.86rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 70px rgba(4, 16, 52, 0.38);
}

.mini-proof {
  background: #0f2e6f;
  color: var(--white);
  padding: 16px 0;
}

.mini-proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.24s ease;
}

.proof-item:hover {
  background: rgba(255, 255, 255, 0.18);
}

#sobre,
#lentes,
#processo,
#tratamentos,
#contato {
  padding: 96px 0;
}

#lentes,
#processo {
  padding-top: 132px;
  padding-bottom: 132px;
}

.processo-grid-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px);
}

#processo .tratamentos-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.sobre-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sobre-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-content h2 {
  margin: 14px 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  line-height: 1.2;
}

.sobre-content p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.signature {
  margin: 24px 0 0;
  font-family: 'Poppins', sans-serif;
  color: var(--blue-dark);
}

.implantes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.implante-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.implante-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(12, 104, 138, 0.35);
}

.implante-card.featured {
  border-color: rgba(12, 104, 138, 0.5);
}

.card-ribbon {
  position: absolute;
  right: -34px;
  top: 18px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  padding: 5px 40px;
  transform: rotate(40deg);
}

.implante-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.implante-body {
  padding: 22px;
}

.implante-body h3 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
}

.implante-body p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.implante-body a {
  color: var(--teal);
  font-weight: 700;
}

.tratamentos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tratamento-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tratamento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tratamento-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.tratamento-body {
  padding: 14px;
}

.tratamento-body h3 {
  margin: 0;
  font-size: 1rem;
  min-height: 50px;
}

.tratamento-body p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tratamento-body a {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
}

.faq-grid {
  max-width: 900px;
  margin: 24px auto;
  display: grid;
  gap: 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbff;
  overflow: hidden;
  margin-bottom: 24px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item[open] {
  border-color: rgba(12, 104, 138, 0.45);
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  position: relative;
  padding: 18px 48px 18px 18px;
  font-weight: 700;
  color: var(--blue-dark);
}

.faq-item summary::marker {
  display: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--text-muted);
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contato-info h2 {
  margin: 14px 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.16;
}

.contato-info h2 span {
  color: #7fe5db;
}

.contato-info p {
  color: rgba(255, 255, 255, 0.88);
}

.contato-items {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.contato-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contato-item i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.17);
  color: #8ef5ec;
}

.contato-item strong {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.contato-item span {
  display: block;
}

.contato-item a {
  color: var(--white);
}

.social-links {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.contato-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.contato-box {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.contato-form h3 {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
}

.contato-form p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.contato-form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  background: #f8fbff;
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--text-dark);
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.map-wrap {
  margin-top: 22px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

#footer {
  background: #101f3c;
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 30px;
  align-items: flex-start;
}

.footer-brand img {
  width: 210px;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 9px;
  padding-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.footer-links a:hover {
  color: #7fe5db;
}

.footer-contact p {
  margin: 0 0 12px;
  display: flex;
  gap: 9px;
}

.footer-contact {
  font-style: normal;
}

.footer-contact i {
  color: #7fe5db;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact a:hover {
  color: #7fe5db;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 16px 0 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.whatsapp-float,
.scroll-top {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.whatsapp-float {
  bottom: 90px;
  background: #25d366;
  color: var(--white);
  font-size: 1.6rem;
}

.scroll-top {
  bottom: 24px;
  border: 0;
  background: linear-gradient(135deg, var(--blue-mid), var(--teal-soft));
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .implantes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tratamentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 920px) {
  #main-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-inner,
  .sobre-inner,
  .contato-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .mini-proof-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }

  .stat {
    padding: 14px 16px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1180px, calc(100% - 30px));
  }

  #sobre,
  #lentes,
  #processo,
#tratamentos,
  #contato {
    padding: 72px 0;
  }

  #lentes,
  #processo {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .processo-grid-wrap {
    max-width: 100%;
    padding: 0 8px;
  }

  .implantes-grid,
  .tratamentos-grid {
    grid-template-columns: 1fr;
  }

  #processo .tratamentos-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .whatsapp-float,
  .scroll-top {
    right: 14px;
  }
}
