/* Base */
:root {
  --ivory: #fff8ea;
  --paper: #f1dfbf;
  --linen: #d6a84d;
  --sage: #7ea3b8;
  --olive: #1f5c78;
  --clay: #b85022;
  --copper: #7f3419;
  --ink: #142f3f;
  --earth: #5f5142;
  --white: #ffffff;
  --line: rgba(20, 47, 63, 0.14);
  --soft-line: rgba(255, 248, 234, 0.32);
  --shadow: 0 30px 90px rgba(20, 47, 63, 0.16);
  --deep-shadow: 0 34px 110px rgba(20, 47, 63, 0.28);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Castoro", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 4.4vw, 4.15rem);
}

h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.85rem);
}

h3 {
  font-size: 1.32rem;
}

p {
  margin: 0;
  color: var(--earth);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--white);
  background: var(--clay);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(184, 80, 34, 0.24);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--copper);
  border-color: var(--copper);
  box-shadow: 0 24px 48px rgba(127, 52, 25, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 248, 234, 0.78);
  border-color: rgba(20, 47, 63, 0.24);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--ivory);
  border-color: rgba(20, 47, 63, 0.34);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 52px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 248, 234, 0.86);
  border-bottom: 1px solid rgba(20, 47, 63, 0.1);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 248, 234, 0.7);
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 5px rgba(255, 248, 234, 0.14);
}

.logo strong,
.logo small {
  display: block;
}

.logo strong {
  color: var(--ink);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.1;
}

.logo small {
  margin-top: 2px;
  color: var(--earth);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 21px;
  color: var(--earth);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 124px 0 28px;
  overflow: hidden;
  background: var(--paper);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: var(--ink) url("midias/foto-01.jpg") center / cover;
  transform: scale(1.02);
}

.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 47, 63, 0.86) 0%, rgba(20, 47, 63, 0.62) 42%, rgba(20, 47, 63, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 248, 234, 0) 62%, var(--ivory) 100%),
    radial-gradient(circle at 12% 22%, rgba(214, 168, 77, 0.28), transparent 30%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: end;
  min-height: calc(88vh - 210px);
}

.hero-copy {
  padding-top: 44px;
}

.hero h1,
.hero .eyebrow {
  color: var(--ivory);
}

.hero-text {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(255, 248, 234, 0.84);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

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

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 248, 234, 0.58);
  border-radius: var(--radius);
  color: var(--ivory);
  background: rgba(20, 47, 63, 0.66);
  box-shadow: var(--deep-shadow);
  backdrop-filter: blur(18px);
}

.panel-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.36rem;
  font-weight: 400;
  line-height: 1.18;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 0.94rem;
}

.hero-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.88);
  box-shadow: 0 18px 70px rgba(20, 47, 63, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--copper);
  font-family: "Castoro", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.hero-metrics span {
  max-width: 220px;
  color: var(--earth);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Sobre */
.about {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.portrait-card {
  position: relative;
  width: 100%;
}

.portrait-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-note {
  position: absolute;
  right: -28px;
  bottom: 36px;
  width: min(310px, calc(100% - 30px));
  padding: 24px;
  border-radius: var(--radius);
  background: var(--olive);
  box-shadow: var(--deep-shadow);
}

.portrait-note > span {
  display: block;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-note strong {
  color: var(--ivory);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 1.2;
}

.portrait-note .mobile-note {
  display: none;
}

.portrait-note strong span {
  color: var(--ivory);
}

.about-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.authority-card {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), rgba(214, 168, 77, 0.22));
}

.authority-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.authority-card strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.35;
}

/* Momentos de cuidado */
.story-strip {
  padding: 0 0 78px;
  background: var(--ivory);
}

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

.story-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 47, 63, 0.12);
}

.story-media {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.story-card:nth-child(1) .story-media img {
  object-position: 58% center;
}

.story-card:nth-child(2) .story-media img {
  object-position: center 48%;
}

.story-card:nth-child(3) .story-media img {
  object-position: center 45%;
}

.story-card:hover img {
  transform: scale(1.05);
}

.story-card > div {
  padding: 26px;
}

.story-card span,
.video-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 12px;
}

.story-card p {
  font-size: 0.95rem;
}

.story-card-featured {
  grid-template-rows: 280px 1fr;
  transform: none;
}

.story-card-featured > div {
  background: var(--ink);
}

.story-card-featured h3,
.story-card-featured p {
  color: var(--ivory);
}

.story-card-featured span {
  color: var(--linen);
}

/* Servicos */
.services {
  background: #f0dcac;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.wide-heading {
  max-width: 910px;
}

.section-heading p:last-child {
  max-width: 680px;
  margin-top: 20px;
  font-size: 1.06rem;
}

.service-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(20, 47, 63, 0.9), rgba(31, 92, 120, 0.58)),
    url("midias/foto-01.jpg") center / cover;
  box-shadow: var(--shadow);
}

/* Videos de apoio */
.video-showcase {
  background: var(--ivory);
}

.video-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.video-heading .eyebrow {
  justify-content: center;
}

.video-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 58px rgba(20, 47, 63, 0.08);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--ink);
}

.video-card:nth-child(2) video {
  object-position: center 42%;
}

.video-card:nth-child(3) video {
  object-position: center 55%;
}

.video-card div {
  padding: 22px;
}

.video-card strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.feature-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-feature h3 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.service-feature .text-link {
  color: var(--ivory);
  white-space: nowrap;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(20, 47, 63, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.72);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(184, 80, 34, 0.24);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p {
  margin-top: 16px;
  font-size: 0.9rem;
}

/* Medicina Preventiva */
.preventive {
  background: var(--ivory);
}

.preventive-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.preventive-grid p:not(.eyebrow) {
  font-size: 1.06rem;
}

.preventive-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.preventive-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 16px 44px rgba(20, 47, 63, 0.06);
}

.preventive-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateY(-50%);
}

/* Casos */
.cases {
  overflow: hidden;
  color: var(--ivory);
  background: var(--olive);
}

.cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 47, 63, 0.95), rgba(31, 92, 120, 0.74)),
    url("midias/foto-04.jpg") center / cover;
  opacity: 0.46;
}

.cases-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 68px;
  align-items: start;
}

.cases h2,
.cases p,
.cases .eyebrow {
  color: var(--ivory);
}

.cases p:not(.eyebrow) {
  margin-top: 24px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 1.06rem;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-list li {
  position: relative;
  min-height: 66px;
  padding: 20px 18px 18px 52px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  color: var(--ivory);
  background: rgba(255, 248, 234, 0.1);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.case-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--linen);
  box-shadow: 0 0 0 7px rgba(214, 168, 77, 0.16);
}

/* Prova social */
.proof {
  overflow: hidden;
  background: var(--ivory);
}

.proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.97), rgba(255, 248, 234, 0.72)),
    url("midias/fabi/fabi-01.png") right center / auto 105% no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 42px;
}

.proof-copy {
  max-width: 860px;
}

.proof-copy p:not(.eyebrow) {
  margin-top: 22px;
  font-size: 1.06rem;
}

.proof-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.proof-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 47, 63, 0.16);
}

.proof-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transition: transform 420ms ease, opacity 420ms ease;
}

.proof-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(20, 47, 63, 0.88));
}

.proof-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.proof-card span,
.proof-card strong {
  display: block;
}

.proof-card span {
  margin-bottom: 9px;
  color: var(--linen);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card strong {
  color: var(--ivory);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.2;
}

.proof-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 616px;
}

.proof-card-large img {
  object-position: center top;
}

.proof-card:nth-child(2) img {
  object-position: center 38%;
}

.proof-card:nth-child(3) img {
  object-position: center 40%;
}

.proof-card-small {
  min-height: 230px;
}

.proof-card-small img {
  object-position: center 28%;
}

/* Cursos */
.courses {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 47, 63, 1), rgba(31, 92, 120, 0.94)),
    #142f3f;
}

.courses-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 72px;
  align-items: center;
}

.courses h2,
.courses p,
.courses .eyebrow {
  color: var(--ivory);
}

.courses p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 248, 234, 0.78);
  font-size: 1.12rem;
}

/* Depoimentos */
.testimonials {
  overflow: hidden;
  background: var(--ivory);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.9), rgba(255, 248, 234, 0.98)),
    url("midias/fabi/fabi-04.png") left center / auto 110% no-repeat;
  opacity: 0.32;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 28px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 58px rgba(20, 47, 63, 0.07);
  backdrop-filter: blur(14px);
}

.reviews-summary div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-summary strong {
  color: var(--ink);
  font-family: "Castoro", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.reviews-summary span,
.review-stars {
  color: #d6a84d;
  letter-spacing: 1px;
}

.reviews-summary span {
  font-size: 1.35rem;
}

.reviews-summary p {
  color: var(--earth);
  font-weight: 800;
}

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

.testimonial-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 58px rgba(20, 47, 63, 0.07);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.testimonial-author img,
.testimonial-initial {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 248, 234, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(20, 47, 63, 0.16);
}

.testimonial-author img {
  object-fit: cover;
  object-position: center;
}

.testimonial-initial {
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: linear-gradient(145deg, var(--sage), var(--olive));
  font-weight: 900;
}

.review-stars {
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.testimonial-card p {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.34;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  color: var(--copper);
}

.testimonial-author span {
  color: var(--earth);
  font-size: 0.9rem;
  font-weight: 700;
}

.featured-testimonial {
  color: var(--ivory);
  background: linear-gradient(145deg, var(--olive), var(--ink));
  transform: translateY(-22px);
}

.featured-testimonial p,
.featured-testimonial .testimonial-author strong,
.featured-testimonial .testimonial-author span {
  color: var(--ivory);
}

.featured-testimonial .review-stars {
  color: var(--linen);
}

/* Contato */
.contact {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.72), rgba(241, 223, 191, 0.32)),
    url("midias/foto-05.jpg") center / cover;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 30px;
  font-size: 1.08rem;
}

.whatsapp-btn {
  min-width: min(100%, 330px);
  min-height: 58px;
  background: var(--olive);
  border-color: var(--olive);
  box-shadow: 0 18px 42px rgba(31, 92, 120, 0.28);
}

.whatsapp-btn:hover {
  background: #17455b;
  border-color: #17455b;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--earth);
  font-weight: 700;
}

.contact-links a {
  color: var(--copper);
}

.social-link,
.whatsapp-btn {
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.app-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 47, 63, 0.16);
}

.app-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.app-icon-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 48%, #fcb045);
}

.app-icon-whatsapp {
  background: #25d366;
}

.whatsapp-btn .app-icon {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

.whatsapp-btn .app-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  display: grid;
  gap: 13px;
  padding: 28px;
  border: 1px solid rgba(255, 248, 234, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-heading {
  margin-bottom: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-heading strong,
.form-heading span {
  display: block;
}

.form-heading strong {
  color: var(--ink);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.72rem;
  font-weight: 400;
}

.form-heading span {
  margin-top: 4px;
  color: var(--earth);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(20, 47, 63, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(184, 80, 34, 0.18);
  border-color: var(--clay);
}

.contact-form button {
  margin-top: 8px;
}

/* Player flutuante */
.floating-experience {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  gap: 8px;
  filter: drop-shadow(0 18px 38px rgba(20, 47, 63, 0.28));
  transform-origin: center center;
  transition: transform 220ms ease;
}

.floating-experience:hover {
  transform: scale(1.12);
}

.experience-control-box {
  width: 220px;
  padding: 7px;
  border: 1px solid rgba(184, 80, 34, 0.4);
  border-radius: 16px;
  background: rgba(255, 248, 234, 0.94);
  box-shadow: 0 16px 40px rgba(20, 47, 63, 0.18);
  transform-origin: center center;
  transition: box-shadow 220ms ease;
}

.experience-card {
  position: relative;
  display: grid;
  align-content: end;
  width: 220px;
  height: 142px;
  padding: 18px;
  overflow: hidden;
  border: 2px solid rgba(184, 80, 34, 0.72);
  border-radius: 18px;
  color: var(--ivory);
  text-align: left;
  background:
    linear-gradient(145deg, rgba(20, 47, 63, 0.88), rgba(184, 80, 34, 0.82)),
    url("midias/fabi/fabi-01.png") center 24% / cover;
  box-shadow: 0 24px 70px rgba(20, 47, 63, 0.28), 0 0 0 6px rgba(184, 80, 34, 0.1);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 47, 63, 0.2), rgba(20, 47, 63, 0.82));
}

.experience-card:hover {
  box-shadow: 0 30px 90px rgba(20, 47, 63, 0.34);
}

.floating-experience:hover .experience-control-box {
  box-shadow: 0 20px 48px rgba(20, 47, 63, 0.22);
}

.floating-experience:hover .experience-card {
  box-shadow: 0 30px 90px rgba(20, 47, 63, 0.34);
}

.floating-experience.is-expanded .experience-card {
  width: min(420px, calc(100vw - 32px));
  height: 260px;
}

.experience-card span,
.experience-card strong,
.experience-card small {
  position: relative;
  z-index: 1;
}

.experience-pulse {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--linen);
  box-shadow: 0 0 0 0 rgba(214, 168, 77, 0.55);
  animation: experiencePulse 1.8s infinite;
}

.experience-kicker {
  margin-bottom: 8px;
  color: var(--linen);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-card strong {
  color: var(--ivory);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.08;
}

.experience-card small {
  margin-top: 6px;
  color: rgba(255, 248, 234, 0.78);
  font-weight: 800;
}

.floating-experience.is-playing .experience-card small {
  color: var(--ivory);
}

.experience-control {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 248, 234, 0.56);
  border-radius: 999px;
  color: var(--ivory);
  background: var(--clay);
  box-shadow: 0 14px 30px rgba(184, 80, 34, 0.34);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.experience-control:hover {
  background: var(--copper);
  box-shadow: 0 18px 38px rgba(127, 52, 25, 0.36);
  transform: translateY(-1px);
}

.control-icon {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.floating-experience:not(.is-playing) .experience-pulse {
  animation: none;
  background: rgba(255, 248, 234, 0.72);
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 47, 63, 0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  backdrop-filter: blur(10px);
}

.experience-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.experience-modal-card {
  display: grid;
  align-content: end;
  width: min(760px, 100%);
  min-height: min(520px, calc(100vh - 80px));
  padding: 42px;
  border: 1px solid rgba(255, 248, 234, 0.38);
  border-radius: var(--radius);
  color: var(--ivory);
  background:
    linear-gradient(145deg, rgba(20, 47, 63, 0.76), rgba(184, 80, 34, 0.66)),
    url("midias/fabi/fabi-01.png") center 18% / cover;
  box-shadow: 0 34px 120px rgba(20, 47, 63, 0.48);
}

.experience-modal-card strong {
  display: block;
  max-width: 520px;
  color: var(--ivory);
  font-family: "Castoro", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.experience-modal-card p {
  max-width: 520px;
  margin-top: 16px;
  color: rgba(255, 248, 234, 0.84);
}

.experience-modal-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 131;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 248, 234, 0.42);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(20, 47, 63, 0.72);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.experience-modal-control {
  width: fit-content;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 20px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--ivory);
  background: var(--clay);
  font-weight: 900;
  cursor: pointer;
}

@keyframes experiencePulse {
  70% {
    box-shadow: 0 0 0 14px rgba(214, 168, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(214, 168, 77, 0);
  }
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 38px 0;
  background: var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 47, 63, 0.96), rgba(20, 47, 63, 0.86)),
    url("midias/fabi/fabi-03.png") right center / auto 180% no-repeat;
  opacity: 0.26;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 248, 234, 0.72);
}

.site-footer strong {
  color: var(--ivory);
  font-family: "Castoro", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links .social-link {
  gap: 8px;
}

.footer-links .app-icon {
  width: 28px;
  height: 28px;
  box-shadow: none;
}

.footer-links .app-icon svg {
  width: 16px;
  height: 16px;
}

/* Responsivo */
@media (max-width: 1366px) {
  .container {
    width: min(1040px, calc(100% - 44px));
  }

  .section {
    padding: 74px 0;
  }

  .about-grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 38px;
    align-items: center;
  }

  .portrait-note {
    right: -18px;
    bottom: 28px;
    width: min(300px, calc(100% - 22px));
    padding: 20px;
  }

  .portrait-note strong {
    font-size: 1.18rem;
  }

  .authority-grid {
    gap: 10px;
    margin-top: 30px;
  }

  .authority-card {
    min-height: 136px;
    padding: 16px;
  }

  .authority-card span {
    margin-bottom: 24px;
  }

  .authority-card strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .nav-links {
    gap: 14px;
  }

  .hero-grid,
  .proof-grid,
  .preventive-grid,
  .cases-grid,
  .courses-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 460px;
  }

  .about-grid {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 30px;
  }

  .authority-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .proof-copy {
    position: static;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .container {
    width: min(960px, calc(100% - 34px));
  }

  .navbar {
    min-height: 70px;
    gap: 16px;
  }

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

  .logo strong {
    font-size: 1rem;
  }

  .logo small {
    font-size: 0.66rem;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.8rem;
  }

  .section {
    padding: 62px 0;
  }

  .about-grid {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: start;
  }

  .portrait-note {
    right: 10px;
    bottom: 14px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .portrait-note strong {
    font-size: 1.02rem;
  }

  .about-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .authority-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .authority-card {
    min-height: 120px;
    padding: 13px;
  }

  .authority-card span {
    margin-bottom: 18px;
    font-size: 0.7rem;
  }

  .authority-card strong {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    min-height: 260px;
  }

  .featured-testimonial {
    transform: none;
  }

  .floating-experience {
    right: 14px;
    bottom: 14px;
  }

  .experience-control-box,
  .experience-card {
    width: 170px;
  }

  .experience-card {
    height: 110px;
    padding: 14px;
  }

  .experience-card strong {
    font-size: 1rem;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 68px 0;
  }

  .menu-toggle {
    display: block;
    z-index: 102;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    display: grid;
    width: 100%;
    padding: 28px 22px 34px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 1.08rem;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 24px;
  }

  .hero-media {
    transform: scale(1.01);
  }

  .hero-media video {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 47, 63, 0.92) 0%, rgba(20, 47, 63, 0.78) 45%, rgba(20, 47, 63, 0.12) 100%),
      linear-gradient(180deg, rgba(255, 248, 234, 0) 62%, var(--ivory) 100%);
  }

  .hero-grid {
    min-height: 600px;
    align-items: end;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .portrait-note {
    right: 18px;
    bottom: 18px;
  }

  .service-feature {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .story-grid,
  .proof-gallery,
  .video-card-grid {
    grid-template-columns: 1fr;
  }

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

  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-card,
  .proof-card-large,
  .proof-card-small {
    grid-column: auto;
    grid-row: auto;
    min-height: 380px;
  }

  .proof-card-large img {
    object-position: center top;
  }

  .story-card,
  .story-card-featured {
    grid-template-rows: 300px auto;
    transform: none;
  }

  .featured-testimonial {
    transform: none;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .section {
    padding: 52px 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  p {
    font-size: 0.95rem;
  }

  .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .navbar {
    min-height: 74px;
  }

  .logo strong {
    font-size: 1rem;
  }

  .logo small {
    display: none;
  }

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

  .nav-links {
    top: 74px;
  }

  .hero {
    padding: 88px 0 18px;
  }

  .hero-grid {
    min-height: 420px;
    gap: 22px;
  }

  .hero-copy {
    padding-top: 110px;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

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

  .hero-panel {
    padding: 16px;
  }

  .hero-panel strong {
    font-size: 1.12rem;
  }

  .hero-panel ul {
    gap: 6px;
    margin-top: 14px;
  }

  .hero-metrics {
    margin-top: 20px;
  }

  .hero-metrics div {
    padding: 14px 16px;
  }

  .hero-metrics strong {
    font-size: 1.42rem;
  }

  .hero-metrics span {
    font-size: 0.82rem;
  }

  .authority-grid,
  .cards-grid,
  .case-list,
  .preventive-list {
    grid-template-columns: 1fr;
  }

  .story-strip {
    padding-bottom: 42px;
  }

  .story-card,
  .story-card-featured {
    min-height: auto;
    grid-template-rows: 170px auto;
  }

  .story-card > div,
  .video-card div {
    padding: 18px;
  }

  .story-card p,
  .service-card p {
    font-size: 0.88rem;
  }

  .video-card video {
    aspect-ratio: 16 / 9;
  }

  .portrait-note {
    right: 10px;
    bottom: 12px;
    width: min(68%, 230px);
    padding: 10px 12px;
  }

  .portrait-note > span {
    margin-bottom: 5px;
    font-size: 0.64rem;
  }

  .portrait-note .desktop-note {
    display: none;
  }

  .portrait-note .mobile-note {
    display: block;
  }

  .portrait-note strong {
    font-size: 0.86rem;
    line-height: 1.16;
  }

  .authority-grid {
    gap: 10px;
  }

  .authority-card {
    min-height: auto;
    padding: 16px;
  }

  .authority-card span {
    margin-bottom: 16px;
  }

  .proof-card,
  .proof-card-large,
  .proof-card-small {
    min-height: 280px;
  }

  .proof-card div {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .proof-card strong {
    font-size: 1.05rem;
  }

  .proof::before {
    opacity: 0.06;
  }

  .service-card {
    min-height: auto;
    padding: 18px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

  .preventive-list li,
  .case-list li {
    min-height: auto;
    padding: 14px 16px 14px 42px;
  }

  .reviews-summary {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 18px;
  }

  .reviews-summary strong {
    font-size: 2.2rem;
  }

  .reviews-summary span {
    font-size: 1.05rem;
  }

  .testimonial-card {
    min-height: auto;
    padding: 22px;
  }

  .testimonial-card p {
    font-size: 1rem;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-info p:not(.eyebrow) {
    margin: 16px 0 20px;
  }

  .site-footer {
    padding: 28px 0 110px;
  }

  .floating-experience {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .experience-control-box {
    width: 138px;
    padding: 5px;
  }

  .experience-card {
    display: none;
  }

  .experience-control {
    height: 36px;
  }

  .experience-card strong {
    font-size: 0.98rem;
  }

  .experience-card small,
  .experience-kicker {
    font-size: 0.66rem;
  }

  .floating-experience:hover .experience-control-box {
    box-shadow: 0 20px 48px rgba(20, 47, 63, 0.22);
  }

  .floating-experience.is-expanded .experience-card {
    display: grid;
    width: calc(100vw - 28px);
    height: 190px;
    padding: 14px;
    border-radius: 14px;
  }

  .floating-experience.is-expanded .experience-control-box {
    width: calc(100vw - 28px);
  }

  .experience-modal-card {
    min-height: 360px;
    padding: 22px;
  }
}
