:root {
  --navy:#06142b;
  --blue:#063247;
  --accent:#087c9f;
  --accent2:#62c6dc;
  --text:#405363;
  --muted:#5d6f7f;
  --line:#d7e5eb;
  --line2:#bed6e0;
  --bg:#f7fafc;
  --soft:#eef6f9;
  --white:#fff;
  --shadow:0 28px 80px -52px rgba(6,50,71,.75);
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6
}

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

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

strong {
  color:var(--blue)
}

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

.skip-link {
  position:absolute;
  left:-999px;
  top:8px;
  background:#fff;
  color:var(--blue);
  padding:10px 14px;
  border-radius:12px;
  z-index:99
}

.skip-link:focus {
  left:12px
}

.site-header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  padding:12px 0;
  transition:.25s
}

.site-header.scrolled {
  padding:7px 0
}

.nav-shell {
  height:72px;
  border:1px solid rgba(215,229,235,.85);
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 48px -40px rgba(6,50,71,.55);
  backdrop-filter:blur(20px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px 0 18px
}

.logo {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color:var(--navy)
}

.logo-mark {
  width:42px;
  height:42px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--blue),var(--accent));
  color:#fff;
  display:inline-grid;
  place-items:center;
  font-weight:900
}

.logo small {
  display:block;
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted)
}

.main-nav {
  display:flex;
  align-items:center;
  gap:4px
}

.main-nav>a,.nav-dropdown>button {
  font:700 13px/1 Inter,sans-serif;
  color:rgba(6,20,43,.78);
  background:transparent;
  border:0;
  border-radius:999px;
  padding:12px 14px;
  cursor:pointer
}

.main-nav>a:hover,.nav-dropdown>button:hover,.main-nav>a.active {
  background:var(--soft);
  color:var(--accent)
}

.nav-dropdown {
  position:relative
}

.nav-dropdown>div {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:245px;
  padding-top:12px
}

.nav-dropdown:hover>div,.nav-dropdown:focus-within>div {
  display:block
}

.nav-dropdown>div a {
  display:block;
  background:rgba(255,255,255,.97);
  border:1px solid var(--line);
  border-bottom:0;
  padding:12px 16px;
  font-size:14px;
  font-weight:700
}

.nav-dropdown>div a:first-child {
  border-radius:20px 20px 0 0
}

.nav-dropdown>div a:last-child {
  border-bottom:1px solid var(--line);
  border-radius:0 0 20px 20px
}

.nav-dropdown>div a:hover {
  background:var(--soft);
  color:var(--accent)
}

.nav-cta {
  margin-left:6px!important
}

.mobile-toggle {
  display:none;
  width:46px;
  height:46px;
  border:0;
  border-radius:50%;
  background:var(--soft);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px
}

.mobile-toggle span {
  width:20px;
  height:2px;
  background:var(--blue);
  border-radius:99px
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  border:1px solid transparent;
  padding:15px 24px;
  font-weight:900;
  line-height:1;
  min-height:52px;
  transition:.22s;
  white-space:nowrap
}

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

.btn-primary {
  background:linear-gradient(135deg,var(--blue),var(--accent));
  color:#fff;
  box-shadow:0 16px 40px -25px rgba(8,124,159,.85)
}

.btn-secondary {
  border-color:var(--line2);
  background:rgba(255,255,255,.78);
  color:var(--blue)
}

.btn-light {
  background:#fff;
  color:var(--blue)
}

.btn-ghost {
  background:transparent;
  border-color:rgba(255,255,255,.3);
  color:#fff
}

.hero {
  position:relative;
  overflow:hidden;
  padding-top:92px;
  background:radial-gradient(circle at 78% 14%,rgba(98,198,220,.22),transparent 34%),linear-gradient(180deg,#fbfdfe,#f7fbfc 78%,#fff);
}

.hero-bg,.medical-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(6,50,71,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(6,50,71,.06) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,black,transparent 86%);
  opacity:.45
}

.hero-grid {
  position:relative;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  align-items:center;
  gap:46px;
  min-height:760px;
  padding:54px 0
}

.pill {
  display:inline-flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line2);
  background:rgba(255,255,255,.72);
  border-radius:999px;
  padding:9px 18px;
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.24em;
  text-transform:uppercase
}

.pill i {
  width:34px;
  height:1px;
  background:currentColor
}

.hero h1,.internal-hero h1 {
  margin:28px 0 18px;
  color:var(--navy);
  font-size:clamp(3.1rem,7vw,6rem);
  line-height:.88;
  letter-spacing:-.08em
}

.hero h1 strong {
  display:block;
  color:var(--accent)
}

.hero p,.internal-hero p {
  font-size:18px;
  max-width:620px;
  color:var(--text)
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0
}

.credentials {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  max-width:590px
}

.credentials div,.glass {
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.78);
  padding:15px 16px;
  box-shadow:var(--shadow)
}

.credentials strong {
  display:block;
  font-size:14px
}

.credentials small {
  font-size:11px;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.13em;
  color:var(--muted)
}

.hero-visual {
  position:relative;
  min-height:620px;
  display:flex;
  align-items:end;
  justify-content:center
}

.hero-visual .halo {
  position:absolute;
  width:560px;
  height:560px;
  border-radius:42%;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(190,214,224,.75);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)
}

.hero-visual img {
  position:relative;
  z-index:2;
  width:505px;
  height:590px;
  object-fit:cover;
  object-position:top;
  border-radius:46px;
  border:12px solid rgba(255,255,255,.7);
  box-shadow:0 38px 100px -55px rgba(6,50,71,.75)
}

.floating-badge {
  position:absolute;
  z-index:3;
  border:1px solid var(--line2);
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(12px);
  border-radius:999px;
  padding:12px 18px;
  color:var(--blue);
  font-weight:900;
  box-shadow:0 24px 48px -32px rgba(6,50,71,.66)
}

.fb-1 {
  left:-2%;
  top:16%;
  max-width:280px
}

.fb-2 {
  right:-2%;
  top:52%;
  max-width:260px
}

.floating-note {
  position:absolute;
  z-index:3;
  left:6%;
  bottom:8%;
  max-width:320px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.9);
  border-radius:24px;
  padding:18px;
  color:var(--text);
  box-shadow:0 30px 70px -42px rgba(6,50,71,.8)
}

.trustbar {
  overflow:hidden;
  background:rgba(238,246,249,.78);
  border-block:1px solid var(--line);
  padding:18px 0
}

.trust-track {
  display:flex;
  gap:28px;
  width:max-content;
  animation:marquee 28s linear infinite
}

.trust-track span {
  font-weight:900;
  color:var(--blue);
  white-space:nowrap
}

.trust-track span:after {
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(6,50,71,.24);
  margin-left:28px;
  vertical-align:middle
}

.section {
  position:relative;
  padding:92px 0
}

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

.section-title.left {
  text-align:left;
  margin-left:0
}

.section-title span,.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase
}

.section-title h2,.split-copy h2,.cta-row h2 {
  font-size:clamp(2.3rem,4.6vw,4.5rem);
  line-height:.95;
  letter-spacing:-.07em;
  margin:14px 0;
  color:var(--navy)
}

.section-title p {
  font-size:17px;
  color:var(--text);
  margin:0 auto;
  max-width:660px
}

.cards {
  display:grid;
  gap:22px
}

.cards.three {
  grid-template-columns:repeat(3,1fr)
}

.cards.two {
  grid-template-columns:repeat(2,1fr)
}

.info-card,.treatment-card,.video-card,.contact-card,.location-card,.content-block,.notice {
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.92);
  padding:28px;
  box-shadow:var(--shadow);
  transition:.22s
}

.info-card:hover,.treatment-card:hover {
  transform:translateY(-4px);
  border-color:rgba(8,124,159,.42)
}

.card-number,.treatment-card span {
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--blue);
  color:#fff;
  font-size:13px;
  font-weight:900
}

.info-card h3,.treatment-card h3 {
  color:var(--navy);
  font-size:21px;
  line-height:1.15;
  margin:24px 0 10px
}

.treatment-card em {
  display:inline-block;
  margin-top:16px;
  color:var(--accent);
  font-style:normal;
  font-weight:900
}

.split {
  background:var(--bg)
}

.split-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center
}

.split-copy p {
  font-size:17px
}

.check-list {
  display:grid;
  gap:12px;
  padding:0;
  margin:24px 0;
  list-style:none
}

.check-list li {
  position:relative;
  padding-left:30px;
  font-weight:700;
  color:var(--text)
}

.check-list li:before {
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent);
  font-weight:900
}

.photo-card {
  position:relative;
  border-radius:40px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 38px 90px -54px rgba(6,50,71,.8)
}

.photo-card img {
  width:100%;
  height:590px;
  object-fit:cover;
  object-position:top
}

.photo-card div {
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(255,255,255,.9);
  border-radius:24px;
  padding:18px;
  backdrop-filter:blur(12px)
}

.photo-card strong {
  display:block
}

.photo-card small {
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--muted);
  font-weight:800
}

.section-dark {
  background:linear-gradient(135deg,#06142b,#063247);
  color:#d9e9ef
}

.section-dark .section-title h2,.section-dark h3,.section-dark strong {
  color:#fff
}

.section-dark .section-title p {
  color:#bcd0d8
}

.dark-cards .info-card {
  background:rgba(255,255,255,.07);
  border-color:rgba(98,198,220,.28);
  color:#cfe0e7
}

.dark-cards .info-card p {
  color:#c3d7df
}

.locations-grid {
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px
}

.map-card {
  min-height:460px;
  border-radius:36px;
  background:var(--soft);
  border:1px solid var(--line);
  padding:28px;
  box-shadow:var(--shadow)
}

.map-visual {
  height:290px;
  border-radius:28px;
  background:linear-gradient(135deg,#edf5f8,#fff);
  display:grid;
  place-items:center;
  font-size:74px;
  border:1px solid #fff
}

.location-list {
  display:grid;
  gap:14px
}

.location-list article,.locations-page .location-card {
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  background:#fff;
  box-shadow:var(--shadow)
}

.location-list strong {
  font-size:17px
}

.location-list p {
  margin:7px 0;
  color:var(--text)
}

.location-list small {
  display:block;
  color:var(--muted);
  font-weight:700
}

.location-list a {
  display:inline-block;
  margin-top:10px;
  color:var(--accent);
  font-weight:900
}

.cta-soft,.cta-dark {
  padding:72px 0
}

.cta-soft {
  background:var(--soft)
}

.cta-dark {
  background:linear-gradient(135deg,#06142b,#063247);
  color:#d8eaf1
}

.cta-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}

.cta-row h2 {
  margin:10px 0;
  color:inherit
}

.cta-row p {
  max-width:650px
}

.internal-hero {
  position:relative;
  overflow:hidden;
  padding:160px 0 88px;
  background:radial-gradient(circle at 82% 0%,rgba(98,198,220,.24),transparent 30%),linear-gradient(180deg,#fbfdfe,#f6fbfd)
}

.internal-hero.compact {
  text-align:center
}

.internal-hero.compact p {
  margin-inline:auto
}

.internal-grid {
  display:grid;
  grid-template-columns:1fr .6fr;
  gap:48px;
  align-items:center
}

.internal-grid img {
  height:500px;
  object-fit:cover;
  object-position:top;
  border-radius:38px;
  box-shadow:var(--shadow);
  border:10px solid rgba(255,255,255,.72)
}

.credential-panel {
  border-radius:30px;
  border:1px solid var(--line);
  background:#fff;
  padding:32px;
  box-shadow:var(--shadow)
}

.credential-panel h3 {
  font-size:28px;
  color:var(--navy);
  margin-top:0
}

.credential-panel ul {
  padding-left:18px
}

.timeline {
  display:grid;
  gap:18px
}

.timeline article {
  display:grid;
  grid-template-columns:150px 1fr;
  gap:28px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  padding:26px;
  box-shadow:var(--shadow)
}

.timeline span {
  font-size:28px;
  font-weight:900;
  color:var(--accent)
}

.timeline ul {
  margin:0;
  padding-left:18px
}

.video-card div {
  height:160px;
  border-radius:24px;
  background:linear-gradient(135deg,var(--blue),var(--accent));
  display:grid;
  place-items:center;
  color:#fff;
  font-size:44px;
  margin-bottom:20px
}

.locations-page {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px
}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

.contact-card h2,.location-card h2,.content-block h2,.notice h2 {
  color:var(--navy);
  margin-top:0
}

.treatment-detail {
  display:grid;
  gap:22px;
  max-width:960px
}

.rounded-img {
  border-radius:34px;
  box-shadow:var(--shadow)
}

.site-footer {
  background:#06142b;
  color:#d7e5eb;
  padding:70px 0 20px
}

.footer-grid {
  display:grid;
  grid-template-columns:1.4fr .8fr .9fr .9fr;
  gap:42px
}

.footer-logo {
  color:#fff
}

.site-footer p {
  color:#b8ccd5
}

.site-footer h3 {
  color:#fff;
  margin-top:0
}

.site-footer ul {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px
}

.site-footer a:hover {
  color:#62c6dc
}

.legal {
  font-weight:800
}

.footer-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.footer-actions a {
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:9px 13px
}

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:42px;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  font-size:13px
}

.float-whats {
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#19b85b;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:27px;
  box-shadow:0 18px 40px -20px rgba(0,0,0,.45)
}

.reveal {
  opacity:0;
  transform:translateY(20px);
  animation:reveal .75s ease forwards
}

.delay-1 {
  animation-delay:.16s
}

@keyframes reveal {
  to {
    opacity:1;
    transform:none
  }

}

@keyframes marquee {
  to {
    transform:translateX(-50%)
  }

}

@media (max-width:1080px) {
  .main-nav {
    display:none;
    position:absolute;
    top:84px;
    left:16px;
    right:16px;
    flex-direction:column;
    align-items:stretch;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius:26px;
    padding:14px;
    box-shadow:var(--shadow)
  }

  .main-nav.open {
    display:flex
  }

  .main-nav>a,.nav-dropdown>button {
    text-align:left;
    width:100%
  }

  .nav-dropdown>div {
    position:static;
    display:block;
    padding:0
  }

  .nav-dropdown>div a {
    border-radius:14px!important;
    border:0;
    background:transparent;
    padding-left:24px
  }

  .mobile-toggle {
    display:flex
  }

  .nav-cta {
    margin-left:0!important
  }

  .hero-grid,.split-grid,.locations-grid,.internal-grid {
    grid-template-columns:1fr
  }

  .hero-grid {
    min-height:auto;
    padding-bottom:64px
  }

  .hero-visual {
    min-height:520px
  }

  .hero-visual .halo {
    width:480px;
    height:480px
  }

  .hero-visual img {
    width:430px;
    height:500px
  }

  .fb-2 {
    right:4%
  }

  .cards.three {
    grid-template-columns:repeat(2,1fr)
  }

  .footer-grid {
    grid-template-columns:1fr 1fr
  }

  .locations-page,.contact-grid {
    grid-template-columns:1fr
  }

  .internal-hero {
    text-align:left
  }

  .internal-hero.compact {
    text-align:center
  }

}

@media (max-width:720px) {
  .container {
    width:min(100% - 24px,1180px)
  }

  .nav-shell {
    height:64px
  }

  .logo small {
    display:none
  }

  .logo-mark {
    width:38px;
    height:38px
  }

  .hero {
    padding-top:82px
  }

  .hero-grid {
    gap:22px
  }

  .hero h1,.internal-hero h1 {
    font-size:clamp(2.8rem,16vw,4.2rem)
  }

  .hero p,.internal-hero p {
    font-size:16px
  }

  .credentials {
    grid-template-columns:1fr
  }

  .hero-actions,.cta-row,.footer-bottom {
    flex-direction:column;
    align-items:stretch
  }

  .btn {
    width:100%
  }

  .hero-visual {
    min-height:420px
  }

  .hero-visual .halo {
    width:360px;
    height:360px
  }

  .hero-visual img {
    width:320px;
    height:410px;
    border-width:8px;
    border-radius:34px
  }

  .floating-badge {
    font-size:12px;
    padding:9px 12px
  }

  .fb-1 {
    left:-2%;
    top:10%;
    max-width:220px
  }

  .fb-2 {
    right:-2%;
    top:60%;
    max-width:200px
  }

  .floating-note {
    left:4%;
    bottom:6%;
    max-width:240px;
    padding:14px;
    font-size:14px
  }

  .section {
    padding:68px 0
  }

  .section-title h2,.split-copy h2,.cta-row h2 {
    font-size:2.55rem
  }

  .cards.three,.cards.two {
    grid-template-columns:1fr
  }

  .photo-card img {
    height:480px
  }

  .footer-grid {
    grid-template-columns:1fr
  }

  .timeline article {
    grid-template-columns:1fr
  }

  .internal-hero {
    padding:128px 0 68px
  }

  .internal-grid img {
    height:420px
  }

  .float-whats {
    width:54px;
    height:54px;
    right:14px;
    bottom:14px
  }

}

/* Logo oficial */
.logo {
  min-width: 0;
}

.logo-img {
  display: block;
  width: clamp(190px, 17vw, 300px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.site-header .logo {
  gap: 0;
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.site-footer .logo-img {
  width: clamp(220px, 22vw, 360px);
  max-height: 70px;
}

@media (max-width: 720px) {
  .logo-img {
    width: 190px;
    max-height: 44px;
  }

  .site-footer .logo-img {
    width: 235px;
    max-height: 64px;
  }

  .nav-shell {
    gap: 10px;
  }

}

@media (max-width: 420px) {
  .logo-img {
    width: 165px;
  }

}

/* Ajustes finais do projeto Dr. Quadril */
.site-header .nav-shell {
  max-width:1120px;
  background:rgba(255,255,255,.96);
  border-radius:8px;
  box-shadow:0 18px 55px -38px rgba(6,50,71,.55)
}

.logo-img {
  width:220px;
  max-height:68px;
  object-fit:contain
}

.main-nav {
  gap:22px
}

.main-nav>a,.nav-dropdown>button {
  font-size:14px;
  letter-spacing:0;
  text-transform:uppercase;
  color:#021326;
  font-weight:700;
  background:transparent;
  border:0
}

.nav-dropdown {
  position:relative
}

.nav-dropdown>button span {
  color:var(--accent)
}

.nav-dropdown>div.dropdown-menu {
  display:none;
  position:absolute;
  top:calc(100% + 16px);
  left:0;
  min-width:210px;
  background:#fff;
  border:0;
  border-radius:0;
  padding:8px 0;
  box-shadow:0 20px 60px -38px rgba(0,0,0,.35);
  z-index:40
}

.nav-dropdown:hover>div.dropdown-menu,.nav-dropdown:focus-within>div.dropdown-menu {
  display:block
}

.nav-dropdown>div.dropdown-menu a {
  display:block;
  padding:14px 16px;
  color:#021326;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  border:0;
  border-radius:0;
  background:#fff
}

.nav-dropdown>div.dropdown-menu a:hover {
  background:#f2f8fa;
  color:var(--accent)
}

.center-actions {
  margin-top:28px;
  text-align:center
}

.testimonial-grid {
  align-items:stretch
}

.testimonial-card {
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px 28px 28px 74px;
  box-shadow:0 22px 60px -48px rgba(6,50,71,.65)
}

.testimonial-card span {
  position:absolute;
  left:26px;
  top:18px;
  font-size:62px;
  line-height:1;
  color:#0a6075;
  font-family:Georgia,serif;
  opacity:.55
}

.testimonial-card h3 {
  margin:0 0 10px;
  color:#05070b;
  font-size:20px
}

.testimonial-card p {
  margin:0;
  color:#647381
}

.testimonial-page .testimonial-card {
  min-height:190px
}

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

.video-youtube {
  position:relative;
  text-align:center
}

.video-youtube img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:8px;
  box-shadow:var(--shadow)
}

.video-youtube h3 {
  color:#05070b;
  margin:12px 0 0;
  font-size:17px
}

.play-badge {
  position:absolute;
  left:50%;
  top:42%;
  transform:translate(-50%,-50%);
  width:60px;
  height:42px;
  border-radius:12px;
  background:#f00;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:21px;
  box-shadow:0 14px 30px -18px #000
}

.media-grid {
  display:grid;
  gap:30px
}

.media-grid.two {
  grid-template-columns:repeat(2,1fr)
}

.media-card {
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:18px;
  overflow:hidden;
  text-align:center
}

.media-card img {
  width:100%;
  height:380px;
  object-fit:cover;
  background:#f5f5f5
}

.media-card div {
  padding:28px
}

.media-card h3 {
  color:#05070b;
  margin:0 0 14px
}

.media-card p {
  margin:0;
  color:#6a7380
}

.curriculo-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:42px 80px
}

.curriculo-item {
  display:flex;
  gap:18px;
  align-items:flex-start
}

.curriculo-item span {
  flex:0 0 auto;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:900;
  margin-top:3px
}

.curriculo-item h3 {
  margin:0;
  color:#05070b;
  font-size:20px;
  line-height:1.18
}

.trajectory-full article {
  grid-template-columns:110px 1fr
}

.trajectory-full p {
  margin:0
}

.soft-section {
  background:#fbfdfe
}

.accordion-list {
  display:grid;
  gap:14px
}

.accordion-item {
  border:1px solid var(--line);
  background:#fff;
  border-radius:0;
  box-shadow:0 18px 55px -44px rgba(6,50,71,.6);
  overflow:hidden
}

.accordion-item summary {
  cursor:pointer;
  list-style:none;
  background:#17b8a4;
  color:#021326;
  font-weight:900;
  padding:18px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between
}

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

.accordion-item summary:after {
  content:'⌃';
  font-size:20px
}

.accordion-item:not([open]) summary:after {
  content:'⌄'
}

.accordion-content {
  padding:28px 42px;
  color:#5a6673
}

.accordion-content p {
  max-width:980px
}

.accordion-content ul {
  margin:18px 0 0
}

.section-image {
  display:block;
  max-width:min(640px,100%);
  max-height:560px;
  object-fit:contain;
  margin:0 auto 28px;
  border-radius:10px
}

.image-frame {
  border-radius:40px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow)
}

.image-frame img {
  width:100%;
  height:460px;
  object-fit:cover
}

.feature-list {
  display:grid;
  gap:72px
}

.feature-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center
}

.feature-row:nth-child(even) img {
  order:-1
}

.feature-row h2 {
  font-size:clamp(2rem,3.5vw,3rem);
  line-height:1;
  letter-spacing:-.04em;
  color:#05070b;
  margin:0 0 18px
}

.feature-row p {
  font-size:17px
}

.feature-row img {
  width:100%;
  max-height:450px;
  object-fit:cover;
  border-radius:28px;
  box-shadow:var(--shadow);
  background:#f5f5f5
}

.footer-old-style {
  grid-template-columns:.8fr 1fr .8fr 1.2fr
}

.footer-line {
  width:78px;
  height:2px;
  background:#17b8a4;
  margin:18px 0 30px
}

.footer-socials {
  display:flex;
  gap:14px
}

.footer-socials a {
  width:38px;
  height:38px;
  border-radius:4px;
  background:#17b8a4;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900
}

.footer-contact-card {
  display:grid;
  grid-template-columns:54px 1fr;
  gap:14px;
  align-items:center;
  background:#dff4ee;
  color:#041b26;
  border-radius:4px;
  padding:16px 18px;
  max-width:260px
}

.footer-contact-card span {
  grid-row:span 2;
  width:46px;
  height:46px;
  border-radius:8px;
  background:#17b8a4;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:25px
}

.footer-contact-card strong {
  font-size:20px
}

.footer-contact-card small {
  font-size:16px;
  color:#17b8a4
}

.footer-email {
  font-size:14px;
  margin-top:18px!important
}

.site-footer {
  background:#073844
}

.float-whats {
  background:#20d75d
}

.btn-light {
  background:#fff;
  color:var(--blue)
}

@media(max-width:1080px) {
  .nav-dropdown>div.dropdown-menu {
    position:static;
    display:block;
    box-shadow:none;
    padding:0;
    margin-top:6px
  }

  .nav-dropdown>div.dropdown-menu a {
    padding-left:22px
  }

  .video-grid,.media-grid.two,.curriculo-grid,.feature-row {
    grid-template-columns:1fr
  }

  .feature-row:nth-child(even) img {
    order:0
  }

  .footer-old-style {
    grid-template-columns:1fr 1fr
  }

  .media-card img {
    height:320px
  }

}

@media(max-width:720px) {
  .logo-img {
    width:185px
  }

  .main-nav {
    top:72px
  }

  .video-grid {
    grid-template-columns:1fr
  }

  .accordion-content {
    padding:24px 18px
  }

  .section-image {
    max-height:420px
  }

  .image-frame img {
    height:340px
  }

  .footer-old-style {
    grid-template-columns:1fr
  }

  .testimonial-card {
    padding-left:62px
  }

  .hero h1 {
    font-size:clamp(2.6rem,14vw,4rem)
  }

}

.media-card img {
  object-fit:contain;
  background:#fff;
  padding:0
}

.feature-row img {
  object-fit:contain;
  background:#fff;
  padding:0
}

/* Ajustes solicitados - rodada 2 */
.site-header {
  padding:14px 0
}

.site-header.scrolled {
  padding:8px 0
}

.site-header .nav-shell {
  height:74px;
  max-width:1160px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(190,214,224,.75);
  box-shadow:0 18px 55px -44px rgba(6,50,71,.72);
  padding:0 22px
}

.logo-img {
  width:235px;
  max-height:58px
}

.main-nav {
  gap:18px
}

.main-nav>a,.nav-dropdown>button {
  padding:12px 0;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  color:#071b2d;
  border-radius:0
}

.main-nav>a:hover,.nav-dropdown>button:hover,.main-nav>a.active {
  background:transparent;
  color:var(--accent)
}

.nav-dropdown>button span {
  display:none
}

.nav-long {
  max-width:170px;
  line-height:1.05;
  text-align:left
}

.nav-dropdown>div.dropdown-menu {
  top:calc(100% + 18px);
  min-width:225px;
  border:1px solid rgba(215,229,235,.9);
  border-radius:0 0 18px 18px;
  padding:8px 0;
  box-shadow:0 28px 70px -45px rgba(6,50,71,.7)
}

.nav-dropdown>div.dropdown-menu:before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-18px;
  height:18px
}

.nav-dropdown>div.dropdown-menu a {
  padding:14px 18px;
  font-size:13px;
  color:#06142b
}

.nav-dropdown>div.dropdown-menu a:first-child,.nav-dropdown>div.dropdown-menu a:last-child {
  border-radius:0
}

.trustbar {
  padding:16px 0
}

.trust-track {
  animation:marquee 24s linear infinite
}

.trustbar:hover .trust-track {
  animation-play-state:paused
}

@keyframes marquee {
  from {
    transform:translateX(0)
  }

  to {
    transform:translateX(-50%)
  }

}

.locations-grid-simple {
  display:block
}

.locations-grid-simple .location-list {
  grid-template-columns:repeat(2,1fr);
  display:grid;
  gap:18px
}

.location-list article {
  min-height:185px
}

.locations-grid-simple .location-list article a {
  display:inline-flex;
  margin-top:10px;
  color:var(--accent);
  font-weight:900
}

.testimonials-home .section-title.left {
  max-width:900px;
  margin-left:0;
  margin-right:auto
}

.testimonials-home .section-title.left p {
  margin-left:0;
  margin-right:0;
  max-width:620px
}

.testimonials-home .section-title.left h2 {
  margin-bottom:14px
}

.testimonials-home .testimonial-grid {
  margin-top:34px
}

.icon-whatsapp,.icon-facebook,.icon-instagram {
  display:inline-block;
  width:1.1em;
  height:1.1em;
  background:currentColor;
  vertical-align:-.15em;
  mask-repeat:no-repeat;
  mask-size:contain;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  -webkit-mask-position:center
}

.icon-whatsapp {
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C8.88 3 3.05 8.82 3.05 15.96c0 2.29.6 4.52 1.75 6.49L3 29l6.73-1.76a12.9 12.9 0 0 0 6.31 1.61h.01c7.15 0 12.98-5.82 12.98-12.96C29.03 8.82 23.2 3 16.04 3zm0 23.66h-.01c-1.93 0-3.82-.52-5.47-1.5l-.39-.23-3.99 1.05 1.07-3.88-.25-.4a10.7 10.7 0 0 1-1.65-5.74c0-5.94 4.85-10.77 10.81-10.77 2.89 0 5.6 1.12 7.64 3.16a10.7 10.7 0 0 1 3.16 7.61c0 5.94-4.85 10.7-10.82 10.7zm5.93-8.03c-.32-.16-1.92-.94-2.22-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.59-1.59-.96-.85-1.6-1.9-1.79-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.49-.57.16-.19.22-.32.32-.54.11-.22.05-.41-.03-.57-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.41-.3.32-1.14 1.11-1.14 2.7 0 1.59 1.17 3.13 1.33 3.35.16.22 2.29 3.5 5.56 4.9.78.34 1.38.54 1.86.69.78.25 1.49.21 2.05.13.62-.09 1.92-.78 2.19-1.54.27-.76.27-1.4.19-1.54-.08-.14-.3-.22-.62-.38z'/%3E%3C/svg%3E");
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C8.88 3 3.05 8.82 3.05 15.96c0 2.29.6 4.52 1.75 6.49L3 29l6.73-1.76a12.9 12.9 0 0 0 6.31 1.61h.01c7.15 0 12.98-5.82 12.98-12.96C29.03 8.82 23.2 3 16.04 3zm0 23.66h-.01c-1.93 0-3.82-.52-5.47-1.5l-.39-.23-3.99 1.05 1.07-3.88-.25-.4a10.7 10.7 0 0 1-1.65-5.74c0-5.94 4.85-10.77 10.81-10.77 2.89 0 5.6 1.12 7.64 3.16a10.7 10.7 0 0 1 3.16 7.61c0 5.94-4.85 10.7-10.82 10.7zm5.93-8.03c-.32-.16-1.92-.94-2.22-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.59-1.59-.96-.85-1.6-1.9-1.79-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.49-.57.16-.19.22-.32.32-.54.11-.22.05-.41-.03-.57-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.41-.3.32-1.14 1.11-1.14 2.7 0 1.59 1.17 3.13 1.33 3.35.16.22 2.29 3.5 5.56 4.9.78.34 1.38.54 1.86.69.78.25 1.49.21 2.05.13.62-.09 1.92-.78 2.19-1.54.27-.76.27-1.4.19-1.54-.08-.14-.3-.22-.62-.38z'/%3E%3C/svg%3E")
}

.icon-facebook {
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.7c0-.86.2-1.3 1.4-1.3H17V2.2c-.8-.1-1.7-.2-2.5-.2-2.8 0-4.7 1.7-4.7 4.8v1.7H7v3.6h2.8V22H14v-9.9h2.8l.4-3.6H14z'/%3E%3C/svg%3E");
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.7c0-.86.2-1.3 1.4-1.3H17V2.2c-.8-.1-1.7-.2-2.5-.2-2.8 0-4.7 1.7-4.7 4.8v1.7H7v3.6h2.8V22H14v-9.9h2.8l.4-3.6H14z'/%3E%3C/svg%3E")
}

.icon-instagram {
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.8 2h8.4A5.8 5.8 0 0 1 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8A5.8 5.8 0 0 1 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2zm0 2A3.8 3.8 0 0 0 4 7.8v8.4A3.8 3.8 0 0 0 7.8 20h8.4a3.8 3.8 0 0 0 3.8-3.8V7.8A3.8 3.8 0 0 0 16.2 4H7.8zm8.65 1.45a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.8 2h8.4A5.8 5.8 0 0 1 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8A5.8 5.8 0 0 1 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2zm0 2A3.8 3.8 0 0 0 4 7.8v8.4A3.8 3.8 0 0 0 7.8 20h8.4a3.8 3.8 0 0 0 3.8-3.8V7.8A3.8 3.8 0 0 0 16.2 4H7.8zm8.65 1.45a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E")
}

.btn-primary .icon-whatsapp,.btn-light .icon-whatsapp,.float-whats .icon-whatsapp {
  font-size:20px
}

.footer-contact-card .icon-whatsapp {
  grid-row:span 2;
  width:46px;
  height:46px;
  border-radius:8px;
  background:#fff!important;
  color:#fff
}

.footer-contact-card .icon-whatsapp {
  background:#fff;
}

.footer-contact-card {
  grid-template-columns:54px 1fr
}

.footer-contact-card .icon-whatsapp {
  color:#fff
}

.footer-contact-card .icon-whatsapp {
  background:#fff
}

.footer-contact-card span.icon-whatsapp {
  background:#fff;
}

.footer-contact-card:before {
  content:"";
  grid-row:span 2;
  width:46px;
  height:46px;
  border-radius:9px;
  background:#17b8a4;
  grid-column:1;
  grid-row:1 / span 2
}

.footer-contact-card .icon-whatsapp {
  grid-column:1;
  grid-row:1 / span 2;
  justify-self:center;
  align-self:center;
  background:#fff;
  z-index:1
}

.footer-socials a {
  width:44px;
  height:44px;
  border-radius:13px;
  background:linear-gradient(135deg,#17b8a4,#56d5ca);
  box-shadow:0 16px 34px -26px rgba(0,0,0,.45);
  transition:.2s
}

.footer-socials a:hover {
  transform:translateY(-3px);
  filter:brightness(1.08)
}

.footer-socials a span {
  font-size:22px;
  color:#fff
}

.dev-credit {
  color:#65d7cf;
  font-weight:900
}

.accordion-list {
  gap:16px
}

.accordion-item {
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 56px -50px rgba(6,50,71,.65);
  overflow:hidden
}

.accordion-item summary {
  background:#fff;
  color:#071b2d;
  font-size:16px;
  border-radius:22px;
  padding:22px 26px
}

.accordion-item summary:after {
  content:'+';
  font-size:24px;
  line-height:1;
  color:var(--accent);
  font-weight:900
}

.accordion-item[open] summary {
  border-bottom:1px solid var(--line);
  border-radius:22px 22px 0 0;
  background:linear-gradient(180deg,#fff,#f7fbfc)
}

.accordion-item[open] summary:after {
  content:'−'
}

.accordion-content {
  padding:32px 42px;
  background:#fff
}

.accordion-content p {
  font-size:16px;
  color:#4d6070
}

.section-image {
  border-radius:20px;
  box-shadow:0 26px 70px -54px rgba(6,50,71,.65)
}

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

.video-card.video-youtube {
  border-radius:28px;
  padding:14px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 22px 60px -50px rgba(6,50,71,.72);
  transition:.24s
}

.video-card.video-youtube:hover {
  transform:translateY(-5px);
  border-color:rgba(8,124,159,.35)
}

.video-youtube img {
  aspect-ratio:9/16;
  object-fit:cover;
  object-position:center;
  border-radius:20px;
  box-shadow:none
}

.video-youtube h3 {
  font-size:15px;
  line-height:1.2;
  margin:13px 6px 4px;
  color:#06142b
}

.play-badge {
  top:43%;
  width:58px;
  height:58px;
  border-radius:50%;
  background:rgba(6,50,71,.92);
  backdrop-filter:blur(6px);
  font-size:19px;
  box-shadow:0 20px 45px -24px rgba(0,0,0,.75)
}

.maps-grid {
  grid-template-columns:repeat(2,1fr);
  gap:24px
}

.map-location-card {
  overflow:hidden;
  padding:0;
  border-radius:28px
}

.location-map {
  width:100%;
  height:255px;
  border:0;
  display:block;
  background:var(--soft)
}

.location-body {
  padding:24px
}

.map-location-card h2 {
  font-size:24px
}

.map-location-card .btn {
  width:auto;
  min-height:48px;
  padding:13px 22px
}

.locations-page.maps-grid {
  display:grid
}

@media(max-width:1080px) {
  .site-header .nav-shell {
    border-radius:18px
  }

  .main-nav {
    gap:0
  }

  .main-nav>a,.nav-dropdown>button {
    padding:13px 22px
  }

  .nav-long {
    max-width:none;
    text-align:left
  }

  .nav-dropdown>div.dropdown-menu {
    position:static;
    border-radius:0;
    box-shadow:none;
    border:0;
    margin:0;
    padding:0
  }

  .locations-grid-simple .location-list,.maps-grid {
    grid-template-columns:1fr
  }

  .logo-img {
    width:210px
  }

}

@media(max-width:720px) {
  .site-header .nav-shell {
    height:66px;
    padding:0 14px
  }

  .logo-img {
    width:180px
  }

  .main-nav {
    top:78px
  }

  .locations-grid-simple .location-list {
    grid-template-columns:1fr
  }

  .video-grid {
    grid-template-columns:repeat(2,1fr);
    gap:16px
  }

  .video-card.video-youtube {
    padding:10px;
    border-radius:20px
  }

  .video-youtube img {
    border-radius:15px
  }

  .play-badge {
    width:48px;
    height:48px
  }

  .accordion-content {
    padding:24px 18px
  }

  .location-map {
    height:220px
  }

  .maps-grid {
    gap:18px
  }

}

@media(max-width:420px) {
  .video-grid {
    grid-template-columns:1fr 1fr
  }

  .video-youtube h3 {
    font-size:13px
  }

  .logo-img {
    width:165px
  }

}

/* Hotfix do ícone do WhatsApp no card do rodapé */
.footer-contact-card {
  position:relative
}

.footer-contact-card:before {
  display:none!important
}

.footer-contact-card > .icon-whatsapp {
  grid-row:span 2;
  grid-column:1;
  width:46px;
  height:46px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background-color:#17b8a4!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' d='M16.04 3C8.88 3 3.05 8.82 3.05 15.96c0 2.29.6 4.52 1.75 6.49L3 29l6.73-1.76a12.9 12.9 0 0 0 6.31 1.61h.01c7.15 0 12.98-5.82 12.98-12.96C29.03 8.82 23.2 3 16.04 3zm0 23.66h-.01c-1.93 0-3.82-.52-5.47-1.5l-.39-.23-3.99 1.05 1.07-3.88-.25-.4a10.7 10.7 0 0 1-1.65-5.74c0-5.94 4.85-10.77 10.81-10.77 2.89 0 5.6 1.12 7.64 3.16a10.7 10.7 0 0 1 3.16 7.61c0 5.94-4.85 10.7-10.82 10.7zm5.93-8.03c-.32-.16-1.92-.94-2.22-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.59-1.59-.96-.85-1.6-1.9-1.79-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.49-.57.16-.19.22-.32.32-.54.11-.22.05-.41-.03-.57-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.41-.3.32-1.14 1.11-1.14 2.7 0 1.59 1.17 3.13 1.33 3.35.16.22 2.29 3.5 5.56 4.9.78.34 1.38.54 1.86.69.78.25 1.49.21 2.05.13.62-.09 1.92-.78 2.19-1.54.27-.76.27-1.4.19-1.54-.08-.14-.3-.22-.62-.38z'/%3E%3C/svg%3E");
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:27px 27px!important;
  box-shadow:0 10px 24px -16px rgba(23,184,164,.7);
}

.footer-contact-card > .icon-whatsapp::before, .footer-contact-card > .icon-whatsapp::after {
  content:none!important
}

/* ======================================================================
   REFATORAÇÃO FINAL - estrutura, mobile, páginas internas e acessibilidade
   ----------------------------------------------------------------------
   Objetivo: centralizar os ajustes finais em blocos previsíveis e reduzir
   conflitos das rodadas anteriores. Mantém a identidade visual do projeto.
   ====================================================================== */

/* 1) Elementos globais e microinterações */
.btn {
  font-weight: 750;
}

.nav-cta,
.main-nav .nav-long {
  white-space: nowrap;
}

.site-header .container.nav-shell {
  width: min(1240px, calc(100% - 42px));
  max-width: 1240px;
}

.site-header .nav-shell {
  height: 76px;
  border-radius: 24px;
  padding: 0 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(190,214,224,.82);
  box-shadow: 0 18px 55px -44px rgba(6,50,71,.72);
}

.site-header.scrolled .nav-shell {
  height: 68px;
}

.logo-img {
  width: 235px;
  max-height: 58px;
}

.main-nav > a,
.nav-dropdown > button {
  font-weight: 760;
  padding: 11px 12px;
  border-radius: 999px;
  transition: transform .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease;
}

.main-nav > a.active,
.nav-dropdown.is-active > button,
.nav-dropdown > button.active {
  background: linear-gradient(180deg, #eef8fb, #e5f3f7);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(8,124,159,.12);
}

.dropdown-menu a.active,
.nav-dropdown > div.dropdown-menu a:hover {
  color: var(--accent);
  background: #eef8fb !important;
}

.nav-dropdown > div.dropdown-menu {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px -42px rgba(6,50,71,.55);
}

@media (min-width: 1081px) {
  .site-header .nav-shell {
    gap: 34px;
    padding-inline: 30px 34px;
  }

  .site-header .logo {
    flex: 0 0 auto;
  }

  .site-header .logo-img {
    width: 232px;
  }

  .site-header .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: clamp(12px, 1.55vw, 24px);
    margin-left: 0;
  }

  .main-nav > a,
  .nav-dropdown > button {
    white-space: nowrap;
    padding: 12px 13px;
  }

  .main-nav > .nav-long {
    max-width: none !important;
    min-width: max-content;
    line-height: 1;
    text-align: center;
  }
}

/* 2) Cabeçalho mobile */
.mobile-toggle {
  position: relative;
  flex: 0 0 46px;
  background: linear-gradient(180deg, #eef8fb, #e4f2f6);
  border: 1px solid rgba(190,214,224,.9);
  box-shadow: 0 14px 36px -30px rgba(6,50,71,.8);
}

.mobile-toggle span {
  transition: transform .22s ease, opacity .22s ease;
}

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

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

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

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 10px 0;
  }

  .site-header.scrolled {
    padding: 8px 0;
  }

  .site-header .container.nav-shell {
    width: min(100% - 24px, 1240px);
  }

  .site-header .nav-shell {
    height: 66px;
    border-radius: 20px;
    padding-inline: 16px 10px;
    gap: 12px;
  }

  .site-header.scrolled .nav-shell {
    height: 62px;
  }

  .logo-img {
    width: clamp(168px, 45vw, 214px);
    max-height: 48px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 86px 12px auto;
    z-index: 49;
    display: flex;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(190,214,224,.95);
    border-radius: 24px;
    box-shadow: 0 30px 100px -42px rgba(6,50,71,.72);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a,
  .nav-dropdown > button {
    width: 100%;
    min-height: 46px;
    padding: 14px 16px;
    border-radius: 16px;
    text-align: left;
    font-size: 13px;
    background: #f8fcfd;
  }

  .nav-dropdown > div.dropdown-menu {
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 6px 0 8px;
    padding: 8px;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    background: #eef7fa;
  }

  .nav-dropdown > div.dropdown-menu::before {
    display: none;
  }

  .nav-dropdown > div.dropdown-menu a {
    min-height: 40px;
    padding: 11px 14px 11px 22px;
    border: 0;
    border-radius: 12px !important;
    background: transparent;
    font-size: 13px;
  }

  .nav-long {
    max-width: none;
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 430px) {
  .site-header .container.nav-shell {
    width: min(100% - 18px, 1240px);
  }

  .site-header .nav-shell {
    padding-inline: 12px 8px;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* 3) Layout responsivo geral */
@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .internal-hero {
    padding-top: 116px;
  }

  .hero h1,
  .internal-hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 3.2rem);
    line-height: .98;
  }

  .section {
    padding: 64px 0;
  }

  .section-title h2,
  .split-copy h2,
  .cta-row h2 {
    font-size: clamp(2rem, 8.8vw, 2.65rem);
  }

  .hero-actions,
  .internal-hero-actions,
  .cta-row,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .photo-card img,
  .internal-grid img {
    height: min(480px, 118vw);
  }

  .testimonial-card {
    padding-left: 58px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, 1180px);
  }
}

/* 4) Currículo, trajetória e mídias */
.curriculo-section {
  background: linear-gradient(180deg, #fff, #fbfdfe);
}

.compact-title {
  max-width: 820px;
}

.curriculo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.curriculo-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #f8fcfd);
  box-shadow: 0 28px 80px -60px rgba(6,50,71,.8);
}

.curriculo-card::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(98,198,220,.14);
}

.curriculo-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  font-weight: 900;
}

.curriculo-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -.03em;
}

.curriculo-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.curriculo-card li {
  position: relative;
  padding-left: 28px;
  color: #405363;
  font-weight: 620;
  line-height: 1.45;
}

.curriculo-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.year-accordion-list {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.year-accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #fbfdfe);
  box-shadow: 0 24px 70px -58px rgba(6,50,71,.8);
}

.year-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-weight: 900;
}

.year-accordion summary::-webkit-details-marker {
  display: none;
}

.year-accordion summary span {
  color: var(--accent);
  font-size: 32px;
  letter-spacing: -.04em;
}

.year-accordion summary small {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef6f9;
  color: #5d6f7f;
  font-size: 13px;
  font-weight: 800;
}

.year-accordion summary::after {
  content: "+";
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.year-accordion[open] summary::after {
  content: "−";
}

.year-content {
  padding: 0 34px 30px;
}

.year-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
}

.year-content li {
  position: relative;
  padding-left: 24px;
}

.year-content li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
}

.feature-row img,
.media-card img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.feature-row img {
  height: 440px;
  max-height: none;
}

.media-card img {
  height: 420px;
}

.media-card {
  border-radius: 28px;
}

.media-card div {
  padding: 28px 30px 32px;
}

@media (max-width: 1080px) {
  .curriculo-cards,
  .video-grid,
  .media-grid.two,
  .curriculo-grid,
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row,
  .media-grid.two {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) img {
    order: 0;
  }
}

@media (max-width: 720px) {
  .curriculo-cards,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .curriculo-card {
    min-height: auto;
  }

  .year-accordion summary {
    padding: 20px;
  }

  .year-content {
    padding: 0 22px 24px;
  }

  .feature-row img,
  .media-card img {
    height: min(380px, 90vw);
  }
}

/* 5) Consultórios */
.locations-grid-simple .location-list article,
.location-card .location-body {
  padding-left: 34px !important;
  padding-right: 34px !important;
}

.map-location-card {
  overflow: hidden;
  padding: 0 !important;
  border-radius: 30px;
  background: #fff;
}

.locations-page.maps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.location-map {
  width: 100%;
  height: 270px;
  border: 0;
  display: block;
  background: var(--soft);
}

.map-location-card .location-body {
  padding-top: 30px !important;
  padding-bottom: 32px !important;
}

.location-city {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef7fa;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.map-location-card h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.location-actions .btn {
  width: auto;
  min-height: 48px;
  padding: 13px 20px;
}

@media (max-width: 1080px) {
  .locations-grid-simple .location-list,
  .locations-page.maps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .location-map {
    height: 220px;
  }

  .location-list article,
  .locations-page .location-card,
  .map-location-card {
    padding: 0 !important;
  }

  .location-card .location-body,
  .locations-grid-simple .location-list article {
    padding: 24px 22px !important;
  }

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

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

/* 6) Vídeos */
.videos-hero {
  position: relative;
  overflow: hidden;
}

.videos-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23,184,164,.18), rgba(23,184,164,0) 68%);
  pointer-events: none;
}

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

.videos-section {
  background: linear-gradient(180deg, #fff 0%, #f5fafb 100%);
}

.video-category + .video-category {
  margin-top: 70px;
}

.video-category-header {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.video-category-header span,
.video-copy small {
  color: #17b8a4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-category-header h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.video-category-header p {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1120px;
  margin: 0 auto;
}

.video-card.video-youtube {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 14px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.video-card.video-youtube:focus-visible {
  outline: 3px solid rgba(23,184,164,.5);
  outline-offset: 5px;
}

.video-card .video-thumb {
  position: relative;
  height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #eaf4f7, #fff);
}

.video-card .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .32s ease, filter .32s ease;
}

.video-card .video-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(6,50,71,0), rgba(6,50,71,.22));
  pointer-events: none;
}

.video-card .play-badge,
.video-card .play-button,
.video-card .video-play-icon,
.play-badge {
  display: none !important;
}

.shorts-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 14px 34px -26px rgba(6,50,71,.9);
}

.video-card .video-copy {
  display: flex;
  min-height: 212px;
  flex: 1;
  flex-direction: column;
  padding: 18px 6px 0;
}

.video-card .video-copy h3,
.video-card h3 {
  margin: 9px 0 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.18;
  text-align: left;
  font-weight: 800;
}

.video-card .video-copy p {
  margin: 12px 0 0;
  color: #5f7783;
  font-size: 14px;
  line-height: 1.55;
}

.video-link-label {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .video-category-header {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .video-category-header p {
    margin-inline: auto;
  }

  .video-card .video-copy {
    min-height: 196px;
  }
}

@media (max-width: 520px) {
  .internal-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card .video-thumb {
    height: 225px;
  }

  .video-card .video-copy {
    min-height: auto;
  }

  .video-category + .video-category {
    margin-top: 54px;
  }
}

/* 7) FAQ, depoimentos e páginas de tratamento */
.faq-section {
  background: linear-gradient(180deg, #f8fcfd, #fff);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 34px auto 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px -54px rgba(6,50,71,.75);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-weight: 850;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7fbfc);
}

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

.faq-item p {
  margin: 0;
  padding: 18px 24px 24px;
  color: #536b78;
}

.ethical-note {
  max-width: 980px;
  margin: 0 auto 30px;
  padding: 24px 28px;
  border: 1px solid rgba(8,124,159,.18);
  border-radius: 26px;
  background: linear-gradient(180deg, #f5fbfd, #fff);
  box-shadow: 0 24px 70px -60px rgba(6,50,71,.8);
}

.ethical-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.ethical-note p {
  margin: 0;
  color: #5b7480;
}

.sober-testimonial small {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hip-education-section {
  background: linear-gradient(180deg, #fff, #f7fbfc);
}

.hip-education-grid .info-card span {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 520px) {
  .faq-item summary {
    padding: 18px 20px;
  }

  .faq-item p {
    padding: 16px 20px 22px;
  }

  .ethical-note {
    padding: 22px;
  }
}

/* 8) Rodapé */
.footer-old-style {
  grid-template-columns: .8fr 1fr .8fr 1.2fr;
}

.footer-line {
  width: 78px;
  height: 2px;
  margin: 18px 0 30px;
  background: #17b8a4;
}

.footer-contact-card {
  display: flex !important;
  align-items: center;
  gap: 16px;
  width: min(100%, 340px);
  max-width: 340px;
  min-height: 86px;
  padding: 18px 20px !important;
  border: 1px solid rgba(190,214,224,.9);
  border-radius: 22px !important;
  background: linear-gradient(180deg, #f4fbfb, #e9f6f7) !important;
  color: var(--blue) !important;
  box-shadow: 0 22px 48px -36px rgba(6,50,71,.9);
}

.footer-contact-card::before,
.footer-contact-card::after {
  display: none !important;
}

.footer-contact-card > .icon-whatsapp {
  flex: 0 0 52px;
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center;
  background-color: #17b8a4 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' d='M16.04 3C8.88 3 3.05 8.82 3.05 15.96c0 2.29.6 4.52 1.75 6.49L3 29l6.73-1.76a12.9 12.9 0 0 0 6.31 1.61h.01c7.15 0 12.98-5.82 12.98-12.96C29.03 8.82 23.2 3 16.04 3zm0 23.66h-.01c-1.93 0-3.82-.52-5.47-1.5l-.39-.23-3.99 1.05 1.07-3.88-.25-.4a10.7 10.7 0 0 1-1.65-5.74c0-5.94 4.85-10.77 10.81-10.77 2.89 0 5.6 1.12 7.64 3.16a10.7 10.7 0 0 1 3.16 7.61c0 5.94-4.85 10.7-10.82 10.7zm5.93-8.03c-.32-.16-1.92-.94-2.22-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.59-1.59-.96-.85-1.6-1.9-1.79-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.49-.57.16-.19.22-.32.32-.54.11-.22.05-.41-.03-.57-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.41-.3.32-1.14 1.11-1.14 2.7 0 1.59 1.17 3.13 1.33 3.35.16.22 2.29 3.5 5.56 4.9.78.34 1.38.54 1.86.69.78.25 1.49.21 2.05.13.62-.09 1.92-.78 2.19-1.54.27-.76.27-1.4.19-1.54-.08-.14-.3-.22-.62-.38z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 30px 30px !important;
  box-shadow: 0 14px 28px -20px rgba(23,184,164,.9);
}

.footer-contact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-copy strong {
  color: var(--blue) !important;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
}

.footer-contact-copy small {
  color: #17b8a4 !important;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-contact-copy em {
  display: block;
  color: #62808d;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
}

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

@media (max-width: 720px) {
  .footer-old-style {
    grid-template-columns: 1fr;
  }

  .footer-contact-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .footer-contact-card {
    min-height: 78px;
    padding: 15px 16px !important;
  }

  .footer-contact-card > .icon-whatsapp {
    flex-basis: 48px;
    width: 48px !important;
    height: 48px !important;
  }
}

/* 9) Animações e acessibilidade */
.animate-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}

.animate-ready.in-view {
  opacity: 1;
  transform: none;
}

.cards > *,
.testimonial-card,
.treatment-card,
.info-card,
.location-list article,
.map-location-card,
.curriculo-card,
.year-accordion,
.media-card,
.video-card,
.faq-item {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cards > *:hover,
.testimonial-card:hover,
.treatment-card:hover,
.info-card:hover,
.location-list article:hover,
.map-location-card:hover,
.curriculo-card:hover,
.year-accordion:hover,
.media-card:hover,
.video-card:hover,
.faq-item:hover {
  transform: translateY(-5px);
}

.video-card:hover .video-thumb img {
  transform: scale(1.045);
  filter: saturate(1.03) contrast(1.03);
}

.trust-track {
  animation-duration: 28s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .animate-ready {
    opacity: 1;
    transform: none;
  }
}


/* ======================================================================
   AJUSTES PONTUAIS - RODADA 6
   ----------------------------------------------------------------------
   Correções solicitadas: credenciais da Home, botão do WhatsApp no rodapé,
   enquadramento da foto do médico e contraste dos cards de vídeos.
   ====================================================================== */

/* 1) Home: reduz o espaçamento exagerado em textos curtos como "Atendimento presencial" */
.credentials small {
  display: block;
  max-width: 100%;
  line-height: 1.22 !important;
  letter-spacing: .08em !important;
  word-spacing: .02em;
}

@media (max-width: 520px) {
  .credentials small {
    font-size: 10px;
    letter-spacing: .055em !important;
    line-height: 1.18 !important;
  }
}

/* 2) Rodapé: corrige sobreposição e leitura do botão "Fale no WhatsApp" */
.footer-contact-card {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  width: min(100%, 340px) !important;
  max-width: 340px !important;
  min-height: 90px !important;
  padding: 18px 20px !important;
  overflow: hidden;
  text-align: left !important;
}

.footer-contact-card > .icon-whatsapp {
  flex: 0 0 52px !important;
  grid-row: auto !important;
  grid-column: auto !important;
  margin: 0 !important;
}

.footer-contact-card > .footer-contact-copy {
  display: flex !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: normal !important;
  grid-row: auto !important;
  grid-column: auto !important;
  place-items: initial !important;
}

.footer-contact-card > .footer-contact-copy strong,
.footer-contact-card > .footer-contact-copy small,
.footer-contact-card > .footer-contact-copy em {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.footer-contact-card > .footer-contact-copy strong {
  color: var(--blue) !important;
  font-size: 18px !important;
  line-height: 1.08 !important;
  font-weight: 850 !important;
}

.footer-contact-card > .footer-contact-copy small {
  color: #17b8a4 !important;
  font-size: 16px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
}

.footer-contact-card > .footer-contact-copy em {
  color: #62808d !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-style: normal !important;
}

@media (max-width: 520px) {
  .footer-contact-card {
    width: 100% !important;
    min-height: 82px !important;
    padding: 15px 16px !important;
    gap: 13px !important;
  }

  .footer-contact-card > .icon-whatsapp {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .footer-contact-card > .footer-contact-copy strong {
    font-size: 17px !important;
  }

  .footer-contact-card > .footer-contact-copy small {
    font-size: 15px !important;
  }
}

/* 3) Página O Médico: sobe o enquadramento da foto dentro do retângulo */
body[data-page="o-medico.html"] .photo-card img {
  object-position: center 36% !important;
}

@media (max-width: 860px) {
  body[data-page="o-medico.html"] .photo-card img {
    object-position: center 32% !important;
  }
}

/* 4) Vídeos: remove herança antiga do degradê nos textos e melhora contraste */
.video-card.video-youtube {
  overflow: hidden;
  background: #fff !important;
}

.video-card.video-youtube .video-copy {
  height: auto !important;
  min-height: 206px;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 18px 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  place-items: initial !important;
  text-align: left !important;
}

.video-card.video-youtube .video-copy small {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #128f82 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

.video-card.video-youtube .video-copy h3 {
  color: var(--navy) !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
  text-align: left !important;
}

.video-card.video-youtube .video-copy p {
  color: #526b77 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.video-card.video-youtube .video-link-label {
  color: var(--blue) !important;
  font-weight: 900 !important;
}

@media (max-width: 520px) {
  .video-card.video-youtube .video-copy {
    min-height: auto !important;
    padding: 16px 4px 0 !important;
  }

  .video-card.video-youtube .video-copy h3,
  .video-card.video-youtube .video-copy p,
  .video-card.video-youtube .video-link-label,
  .video-card.video-youtube .video-copy small {
    text-align: left !important;
  }
}


/* Ajustes finais - rodada de conteúdo, menu e otimização */
.hero-mobile-photo { display:none; }

@media (max-width: 720px) {
  .hero-mobile-photo {
    display:block;
    margin: 22px auto 18px;
    max-width: 330px;
  }
  .hero-mobile-photo img {
    width:100%;
    height:auto;
    aspect-ratio: 4 / 5;
    object-fit:cover;
    object-position: top center;
    border-radius: 32px;
    border: 8px solid rgba(255,255,255,.82);
    box-shadow: 0 28px 72px -42px rgba(6,50,71,.72);
  }
  .hero .hero-visual { display:none; }
  .hero-grid { text-align:center; }
  .hero p { margin-inline:auto; }
}

@media (min-width:1081px) {
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu { display:block; }
  .nav-dropdown > button::after {
    content:'⌄';
    display:inline-block;
    margin-left:7px;
    font-size:12px;
    transform: translateY(-1px);
    opacity:.7;
  }
}

.mobile-menu-head { display:none; }

@media (max-width:1080px) {
  body.menu-open::after {
    content:'';
    position:fixed;
    inset:0;
    z-index:80;
    background:rgba(6,20,43,.52);
    backdrop-filter: blur(2px);
  }
  .site-header { z-index:120; }
  .site-header .nav-shell { position:relative; z-index:121; }
  .main-nav {
    inset: 0 auto 0 0 !important;
    top:0 !important;
    left:0 !important;
    right:auto !important;
    bottom:0 !important;
    z-index:130 !important;
    width:min(86vw, 380px);
    max-height:none !important;
    height:100dvh;
    padding: 22px 20px 26px !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow: 22px 0 70px -36px rgba(6,20,43,.75) !important;
    transform: translateX(-106%) !important;
    opacity:1 !important;
    pointer-events:none !important;
    transition: transform .26s ease !important;
    overflow-y:auto;
  }
  .main-nav.open {
    transform: translateX(0) !important;
    pointer-events:auto !important;
  }
  .mobile-menu-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:32px;
  }
  .mobile-menu-logo img {
    width:min(245px, calc(100vw - 140px));
    height:auto;
  }
  .mobile-menu-close {
    width:46px;
    height:46px;
    flex:0 0 46px;
    border:0;
    border-radius:4px;
    background:var(--blue);
    color:#fff;
    font-size:32px;
    line-height:1;
    display:grid;
    place-items:center;
    cursor:pointer;
  }
  .main-nav > a,
  .nav-dropdown > button {
    background:transparent !important;
    border-radius:10px !important;
    color:var(--navy) !important;
    min-height:48px;
    font-size:14px !important;
    font-weight:650 !important;
    letter-spacing:-.02em;
    padding:13px 2px !important;
  }
  .main-nav > a.active,
  .nav-dropdown.is-active > button { color:var(--accent) !important; }
  .nav-dropdown > button {
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .nav-dropdown > button::after {
    content:'⌄';
    display:grid;
    place-items:center;
    width:46px;
    height:26px;
    margin-left:12px;
    border:1px solid var(--line);
    border-radius:4px;
    color:var(--blue);
    transition:.2s ease;
  }
  .nav-dropdown.open > button::after { transform:rotate(180deg); }
  .nav-dropdown > div.dropdown-menu {
    display:none !important;
    margin: 0 0 8px !important;
    padding: 4px 0 8px 14px !important;
    background:transparent !important;
  }
  .nav-dropdown.open > div.dropdown-menu { display:grid !important; }
  .nav-dropdown > div.dropdown-menu a {
    min-height:38px !important;
    padding:10px 12px !important;
    background:#f6fbfd !important;
    border-radius:10px !important;
    font-size:13px !important;
  }
}

@media (max-width:420px) {
  .main-nav { width:84vw; padding:22px 16px 26px !important; }
  .mobile-menu-close { width:46px; height:46px; }
}

.page-intro-section .image-frame img,
.rounded-img {
  border-radius:30px;
  box-shadow:0 26px 80px -52px rgba(6,50,71,.7);
}

.page-summary {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:26px;
}
.page-summary a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  color:var(--blue);
  font-weight:900;
  text-align:center;
  box-shadow:0 18px 52px -44px rgba(6,50,71,.65);
  transition:.2s ease;
}
.page-summary a:hover {
  transform:translateY(-2px);
  border-color:var(--accent2);
  color:var(--accent);
}
.article-stack { display:grid; gap:28px; }
.medical-topic-card {
  display:grid;
  grid-template-columns:minmax(250px, 360px) 1fr;
  gap:28px;
  align-items:start;
  padding:26px;
  border:1px solid var(--line);
  border-radius:30px;
  background:#fff;
  box-shadow:0 28px 90px -64px rgba(6,50,71,.8);
  scroll-margin-top:110px;
}
.medical-topic-card.wide-topic { grid-template-columns:1fr; }
.topic-media img {
  width:100%;
  border-radius:24px;
  border:1px solid rgba(215,229,235,.95);
  box-shadow:0 18px 60px -48px rgba(6,50,71,.9);
}
.topic-body h2 {
  margin:6px 0 12px;
  color:var(--navy);
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:.98;
  letter-spacing:-.055em;
}
.topic-body > p { font-size:17px; color:var(--text); }
.topic-body.full { max-width:none; }
.topic-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:20px;
}
.topic-grid.three-cols { grid-template-columns:repeat(3,1fr); }
.topic-block {
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,#fbfdfe,#f5fafc);
}
.topic-block h3 {
  margin:0 0 8px;
  color:var(--blue);
  font-size:18px;
  letter-spacing:-.025em;
}
.topic-block p, .topic-block li {
  margin:0;
  color:var(--text);
  font-size:15.5px;
}
.topic-block a, .topic-link-line a, .medical-topic-card a {
  color:var(--accent);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}
.clean-list { margin:0; padding-left:18px; }
.topic-link-line {
  margin-top:18px;
  padding:16px 18px;
  border-radius:18px;
  background:var(--soft);
  color:var(--blue);
  font-weight:700;
}
.mini-gallery {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin:22px 0 24px;
}
.mini-gallery figure {
  margin:0;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
}
.mini-gallery img {
  width:100%;
  height:190px;
  object-fit:cover;
  background:#f4f8fa;
}
.mini-gallery figcaption {
  padding:10px 12px 12px;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  line-height:1.25;
}
.review-section { padding-top:0; }
.review-note {
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  background:linear-gradient(135deg,#fff,#f3f9fb);
  color:var(--text);
}
.review-note strong { display:block; color:var(--blue); }
.review-note p { margin:6px 0 0; }
.footer-ethical {
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:30px;
  padding-top:22px;
  color:rgba(255,255,255,.74);
  font-size:12.5px;
  line-height:1.65;
}
.footer-ethical p { max-width:1120px; margin:0 0 8px; }
.footer-ethical strong { color:#fff; }
@media (min-width:721px) {
  .float-whats {
    width:auto;
    min-width:64px;
    padding:0 22px;
    gap:10px;
    border-radius:999px;
  }
  .float-whats::after {
    content:'Agendar consulta';
    color:#fff;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
  }
}
@media (max-width:1080px) {
  .page-summary { grid-template-columns:repeat(3,1fr); }
  .medical-topic-card { grid-template-columns:1fr; }
  .topic-grid.three-cols { grid-template-columns:repeat(2,1fr); }
  .mini-gallery { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:720px) {
  .page-summary { grid-template-columns:1fr 1fr; gap:10px; }
  .page-summary a { min-height:50px; font-size:13px; border-radius:16px; }
  .medical-topic-card { padding:18px; border-radius:24px; gap:18px; }
  .topic-grid, .topic-grid.three-cols { grid-template-columns:1fr; }
  .topic-block { padding:16px; }
  .mini-gallery { grid-template-columns:1fr 1fr; }
  .mini-gallery img { height:170px; }
  .topic-body h2 { font-size:2.15rem; }
}
@media (max-width:420px) {
  .page-summary { grid-template-columns:1fr; }
  .mini-gallery { grid-template-columns:1fr; }
  .mini-gallery img { height:auto; }
}


/* Correções rodada 9 - imagens, menu e WhatsApp flutuante */
/* Mantém proporção natural das imagens das páginas de conteúdo */
img {
  max-width: 100%;
}
.medical-topic-card img,
.topic-media img,
.page-intro-section .image-frame img,
.mini-gallery img,
.rounded-img,
.section-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
.topic-media img,
.page-intro-section .image-frame img,
.rounded-img {
  background: #f6fafc;
}
.medical-topic-card.wide-topic {
  grid-template-columns: 1fr !important;
}
.medical-topic-card.wide-topic .topic-body,
.topic-body.full {
  width: 100%;
  max-width: none;
}

/* Remove setas/indicadores visuais dos submenus, mantendo hover no desktop e toque no mobile */
.nav-dropdown > button::after,
.nav-dropdown > div.dropdown-menu::before,
.nav-dropdown > div.dropdown-menu:before {
  content: none !important;
  display: none !important;
}
.nav-dropdown > button {
  padding-right: 16px !important;
}
@media (max-width: 1080px) {
  .nav-dropdown > button {
    justify-content: flex-start !important;
    gap: 0 !important;
  }
}

/* Volta o botão flutuante do WhatsApp para o modelo apenas com ícone */
@media (min-width: 721px) {
  .float-whats {
    width: 58px !important;
    min-width: 0 !important;
    height: 58px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    gap: 0 !important;
  }
  .float-whats::after {
    content: none !important;
    display: none !important;
  }
}

/* Ajuste rodada 10: submenu desktop abre e permanece aberto no hover */
@media (min-width: 1081px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown > div.dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .nav-dropdown:hover > div.dropdown-menu,
  .nav-dropdown:focus-within > div.dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
