:root {
  --font: "Raleway", sans-serif;
  --font-head: "Dosis", "Raleway", sans-serif;
  --font-size: 14px;
  --text: #3f3f3f;
  --bg: #ffffff;
  --container: 1200px;
  --teal: #74c2d1;
  --teal-dark: #005c7a;
  --teal-mid: #0088a9;
  --navy: #004a61;
  --charcoal: #404040;
  --footer-bg: #f4f4f4;
  --whatsapp: #25d366;
  --line: #e5e5e5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 9999;
}

.skip-link:focus {
  left: 8px;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

/* —— Top bar —— */
.top-bar {
  background: var(--teal);
  color: #fff;
  font-size: 13px;
}

.top-bar a {
  color: #fff;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 6px 0;
  flex-wrap: wrap;
}

.top-bar__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-left: auto;
}

.top-bar__contact i {
  margin-right: 6px;
}

.top-bar__btn {
  display: inline-block;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1.2;
}

.top-bar__btn--primary {
  background: var(--navy);
}

.top-bar__btn--muted {
  background: var(--charcoal);
}

/* —— Header / nav —— */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 64px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop > li {
  position: relative;
}

.nav-desktop > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  color: #666;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-desktop > li > a:hover,
.nav-desktop > li.is-active > a {
  color: var(--teal);
}

.nav-desktop .nav-arrow {
  font-size: 10px;
  opacity: 0.7;
}

.nav-desktop .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 200;
}

.nav-desktop > li:hover > .sub-menu,
.nav-desktop > li:focus-within > .sub-menu {
  display: block;
}

.nav-desktop .sub-menu a {
  display: block;
  padding: 8px 16px;
  color: #555;
  font-size: 13px;
  text-transform: none;
  font-weight: 500;
}

.nav-desktop .sub-menu a:hover {
  background: #f5fbfd;
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #555;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: #555;
}

.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 0 24px;
}

.mobile-panel:not([hidden]) {
  display: block;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-panel > ul > li > a,
.mobile-panel .sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4%;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  width: 100%;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mobile-panel .sub-menu {
  display: none;
  background: #f8f8f8;
  padding: 0;
}

.mobile-panel .sub-menu.is-open {
  display: block;
}

.mobile-panel .sub-menu a {
  display: block;
  padding: 10px 4% 10px 8%;
  color: #555;
  font-size: 13px;
  text-transform: none;
  border-bottom: 1px solid #eee;
}

/* —— Hero slider —— */
.hero-slider {
  position: relative;
  background: #000;
  height: 450px;
  overflow: hidden;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px 5%;
  opacity: 0;
  transition: opacity 0.7s ease;
  background: #000 center / cover no-repeat;
}

.hero-slider__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slider__slide h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 45px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hero-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.hero-slider__dots button.is-active {
  background: #fff;
}

/* —— Sections —— */
.section {
  padding: 48px 0;
}

.section--tight {
  padding: 28px 0;
}

.section--welcome {
  padding: 40px 0 28px;
}

.section-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 36px;
  color: #444;
  letter-spacing: 0.02em;
}

.section-title span {
  color: var(--teal);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: var(--teal-dark);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--teal-mid);
}

.btn-whatsapp {
  background: var(--whatsapp) !important;
}

.btn-whatsapp:hover {
  filter: brightness(0.95);
}

/* Welcome */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.welcome h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #444;
}

.welcome h2 span {
  color: var(--teal);
}

.welcome p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

.welcome__feature {
  display: block;
}

.welcome__feature img {
  width: 100%;
  height: auto;
}

.photo-rotator {
  margin-top: 28px;
}

.photo-rotator__slide {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-rotator__slide.is-active {
  display: grid;
}

.photo-rotator__slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

/* Team strip */
.team-strip {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 16px;
  align-items: stretch;
}

.team-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.team-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-banner {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.team-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-banner__label {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(116, 194, 209, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  padding: 16px;
}

/* Specialty carousel */
.spec-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.spec-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.spec-item {
  flex: 0 0 25%;
  width: 25%;
  text-align: center;
  padding: 12px 18px;
  box-sizing: border-box;
}

.spec-item a {
  color: #444;
  display: block;
}

.spec-item img {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.spec-item a:hover img {
  transform: scale(1.06);
}

.spec-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.spec-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.spec-nav button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

/* Triple cards */
.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.triple-card {
  text-align: center;
}

.triple-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #444;
  letter-spacing: 0.03em;
}

.triple-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 18px;
}

/* Internacao banner */
.internacao-banner {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #000 center / cover no-repeat;
  padding: 48px 5%;
}

.internacao-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.internacao-banner > * {
  position: relative;
  z-index: 1;
}

.internacao-banner h2,
.internacao-banner p {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.2vw, 45px);
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.internacao-banner h2 {
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
}

.footer-brand img {
  height: 70px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #444;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-contact h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  color: #444;
}

.footer-contact p,
.footer-contact a {
  margin: 0 0 6px;
  color: #555;
  font-size: 14px;
}

.footer-contact i {
  width: 18px;
  color: #888;
  margin-right: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.footer-social a.fb {
  background: #3b5998;
}

.footer-social a.ig {
  background: #5b7fa6;
}

.footer-bottom {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 13px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
}

/* Floating */
.float-wa {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border: 0;
  background: #555;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Interior pages */
.page-header-section {
  background: #f6f6f6;
  border-bottom: 1px solid #ececec;
}

.page-header {
  padding: 28px 0 22px;
  margin: 0;
  border: 0;
}

.page-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 400;
  color: #3f3f3f;
  line-height: 1.3;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #8a8a8a;
  white-space: nowrap;
}

.breadcrumb a {
  color: #8a8a8a;
}

.breadcrumb .fa-home {
  font-size: 14px;
}

.page-body-section {
  background: #fff;
  padding: 36px 0 20px;
}

.page-content {
  padding-bottom: 40px;
}

.page-content .panel-grid,
.page-content .panel-row-style {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
}

.page-content .panel-grid-cell {
  box-sizing: border-box;
  min-width: 0;
  margin-right: 30px;
}

.page-content .panel-grid > .panel-grid-cell:last-child,
.page-content .panel-row-style > .panel-grid-cell:last-child {
  margin-right: 0;
}

.page-content .textwidget p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
}

.page-content .textwidget h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #444;
}

.page-content .textwidget hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 8px 0 12px;
}

.page-content .textwidget img {
  height: auto;
}

.botaofalecom .ow-button-base {
  text-align: right !important;
}

.botaowhats .ow-button-base {
  text-align: left !important;
}

.botaofalecom a.sowb-button,
.botaowhats a.sowb-button {
  display: inline-block;
  padding: 12px 18px;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.botaofalecom a.sowb-button {
  background: #006187;
}

.botaowhats a.sowb-button {
  background: #4caf50;
}

.botaofalecom a.sowb-button:hover {
  background: #004e6b;
}

.botaowhats a.sowb-button:hover {
  background: #43a047;
}

.page-content .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 0;
}

.page-content .gallery-columns-3 .gallery-item,
.page-content .gallery-columns-6 .gallery-item {
  margin: 0;
  width: 150px;
}

.page-content .gallery-columns-3 .gallery-item img,
.page-content .gallery-columns-6 .gallery-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  outline: 3px solid #74c2d1;
  outline-offset: -12px;
  border: 1px solid #ccc;
  cursor: zoom-in;
}

.page-body-section:has(#pg-43-0) {
  background: #3fa7b3;
  padding: 28px 0 40px;
}

.page-content .gallery-columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
  margin: 8px 0 10px;
}

.page-content .gallery-columns-4 .gallery-item {
  width: auto;
  margin: 0;
}

.page-content .gallery-columns-4 .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: zoom-in;
}

.page-content .gallery-columns-4 .gallery-caption {
  display: block;
  margin: 8px 0 0;
  min-height: 48px;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.page-content .bloco {
  min-height: 170px;
  padding: 8px 14px 16px;
}

.page-content a.oceanwp-lightbox,
.page-content a.gallery-lightbox,
.page-content a[href$=".jpg"] img,
.page-content a[href$=".jpeg"] img {
  cursor: zoom-in;
}

.wpcf7-form p,
.wpcf7-form label {
  display: block;
}

.wpcf7-form label {
  margin-bottom: 14px;
  font-weight: 400;
  font-size: 14px;
  color: #444;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font: inherit;
  background: #fff;
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form .g-recaptcha,
.wpcf7-form .wpcf7-recaptcha {
  display: inline-block;
  margin: 6px 0 16px;
}

.recaptcha-fake {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 304px;
  height: 74px;
  margin: 0;
  padding: 0 14px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 400;
  color: #222;
  cursor: pointer;
}

.recaptcha-fake input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #1c4587;
}

.recaptcha-fake small {
  margin-left: auto;
  color: #9a9a9a;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.wpcf7-form input[type="submit"] {
  background: #006187;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.wpcf7-form .hidden-fields-container {
  display: none;
}

.page-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: 0;
}

.page-content .textwidget > p > strong {
  font-weight: 700;
}

.form-status {
  margin-top: 12px;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .spec-item {
    flex-basis: 33.333%;
  }
}

@media (max-width: 768px) {
  .top-bar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .top-bar__social {
    order: 3;
    justify-content: center;
    width: 100%;
  }

  .top-bar__contact {
    margin-left: 0;
    justify-content: center;
    flex-direction: column;
  }

  .top-bar__btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-slider {
    height: 320px;
  }

  .welcome,
  .team-strip,
  .triple,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .team-photos {
    grid-template-columns: repeat(3, 1fr);
  }

  .spec-item {
    flex-basis: 50%;
  }

  .photo-rotator__slide,
  .photo-rotator__slide.is-active {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-content .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .breadcrumb {
    align-self: flex-end;
  }
}
