/* 
   LANDING PAGE — DRA. TÉRCIA CAMPOS | CSS COMPLETO E OTIMIZADO
   Organização: 1 seção por bloco, sem duplicatas, mobile-first
    */

/* ============ 1. DESIGN TOKENS (VARIÁVEIS) ============ */
:root {
  /* Paleta */
  --color-primary: #c6b4ad;
  --color-base: #f2ebe8;
  --color-accent: #8b6f63;
  --color-accent-dark: #7a5e53;
  --color-off-white: #faf7f5;
  --color-text: #3d3530;
  --color-text-secondary: #9b938f;
  --color-white: #ffffff;
  --color-badge: #d4644a;

  /* Tipografia */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 20px;
  --section-spacing: 48px;
  --card-padding: 32px;

  /* Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-soft: 0 12px 32px rgba(61, 53, 48, 0.08);
  --shadow-hero: 0 20px 60px rgba(61, 53, 48, 0.12);
  --shadow-float: 0 4px 20px rgba(139, 111, 99, 0.4);

  /* Transições */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.25s ease;
}

/* ============ 2. RESET E BASE ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100vw;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ============ 3. TIPOGRAFIA ============ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

h1 {
  font-size: 28px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

strong {
  font-weight: 600;
}

/* ============ 4. LAYOUT GLOBAL ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

section {
  padding: var(--section-spacing) 0;
}

.section-header {
  margin-bottom: 32px;
  max-width: 100%;
  box-sizing: border-box;
}

.section-header--center {
  text-align: center;
}

.section-header__accent {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 16px;
}

.section-header--center .section-header__accent {
  margin-left: auto;
  margin-right: auto;
}

.section-header__title {
  font-size: 24px;
  font-weight: 500;
}

/* ============ 5. COMPONENTES REUTILIZÁVEIS ============ */

/* --- Botões --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.btn--small {
  padding: 10px 24px;
  font-size: 14px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 111, 99, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--tertiary {
  background-color: transparent;
  color: var(--color-accent);
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--tertiary:hover {
  color: var(--color-accent-dark);
}

/* --- brand-mark --- */
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mauve), var(--beige));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 19px;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 32px rgba(183, 154, 141, 0.28);
}

.brand-mark img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
}

.brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

/* --- Cards --- */
.card {
  background-color: var(--color-off-white);
  border: 1px solid rgba(198, 180, 173, 0.3);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
}

/* --- Chips --- */
.chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-primary);
  color: var(--color-accent);
  background-color: transparent;
  transition: var(--transition-fast);
  cursor: default;
}

.chip:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ============ 6. SEÇÕES — MOBILE FIRST ============ */

/* --- 6.1 Header --- */
/* --- Header --- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-base);
  z-index: 1000;
  border-bottom: 1px solid rgba(198, 180, 173, 0.2);
  transition: var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.header__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--color-accent);
}
.header__logo-text {
  font-family: var(--font-sans-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--color-text);
}

.nome-medica{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--color-text);
  white-space: nowrap;
}

.logo-name{
    font-family:'Allura',cursive;
    font-size:36px;
    color:#462308;
    font-weight:400;
    line-height:1;
}

.header__nav {
  position: relative;
}

.header__menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background-color: var(--color-base);
  flex-direction: column;
  padding: 16px var(--container-padding);
  gap: 0;
  border-bottom: 1px solid rgba(198, 180, 173, 0.2);
}

.header__menu li {
  border-bottom: 1px solid rgba(198, 180, 173, 0.15);
}

.header__menu li:last-child {
  border-bottom: none;
}

.header__menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.header__menu a:hover {
  color: var(--color-accent);
  padding-left: 8px;
}

.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition-base);
  transform-origin: center;
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__cta {
  display: none;
}

.header__menu.active {
  display: flex;
}

/* --- 6.2 Hero --- */
/* --- Hero --- */
.hero {
  padding-top: 96px;
  background: linear-gradient(
    180deg,
    var(--color-base) 0%,
    var(--color-off-white) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__content {
  order: 1;
}

.hero__accent-line {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__actions .btn {
  width: 100%;
}

.hero__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

.hero__image-wrap {
  order: 2;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 5/6;
  background-color: var(--color-off-white);
  border: 1px solid rgba(198, 180, 173, 0.3);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-placeholder span {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* --- 6.3 Posicionamento --- */
.positioning__content {
  max-width: 720px;

  margin: 0 auto;
  text-align: center;
}

.positioning__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--color-text);
}

/* --- 6.4 Áreas --- */
.areas {
  background-color: var(--color-off-white);
}

.areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.area-card {
  text-align: left;
}
.area-card__icon {
  color: var(--color-accent);
  margin-bottom: 16px;
}
.area-card__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.area-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- 6.5 Oncodermatologia --- */
.onco-highlight {
  /*background-color: var(--color-off-white);*/
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.onco-highlight__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.onco-highlight__inner .section-header__accent {
  margin-left: auto;
  margin-right: auto;
}

.onco-highlight__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 28px;
}

.onco-highlight__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.onco-highlight__actions .btn {
  width: 100%;
  max-width: 320px;
}

/* --- 6.6 Queixas --- */
.complaints__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

.complaint-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(198, 180, 173, 0.25);
}

.complaint-item:last-child {
  border-bottom: none;
}
.complaint-item__title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}
.complaint-item__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- 6.7 Processo --- */
.process {
  background-color: var(--color-off-white);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 24px;
  overflow: hidden;
}

.process__steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: var(--color-primary);
}

.process__step {
  position: relative;
}

.process__number {
  position: absolute;
  left: -24px;
  top: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  z-index: 1;
}

.process__step-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  padding-left: 44px;
}
.process__step-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: 44px;
}
.process__connector {
  display: none;
}
.process__cta {
  text-align: center;
  margin-top: 40px;
}

/* --- 6.8 Tratamentos --- */
.treatments__intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.treatments__intro strong {
  color: var(--color-accent);
}

.treatments__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
}

/* --- Tecnologias Detalhado --- */
.technologies-detail {
  background-color: var(--color-base);
}

.technologies-detail__intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.technologies-detail__intro strong {
  color: var(--color-accent);
}

.technologies-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.tech-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--color-off-white);
  background-image: linear-gradient(
    135deg,
    rgba(198, 180, 173, 0.15) 0%,
    rgba(139, 111, 99, 0.08) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(198, 180, 173, 0.25);
}

.tech-card__image span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  font-style: italic;
}

.tech-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-card__title {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.tech-card__subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
  letter-spacing: 0.3px;
}

.tech-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.tech-card__section {
  margin-top: 4px;
}

.tech-card__label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(198, 180, 173, 0.25);
}

.tech-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-card__list li {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.tech-card__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.tech-card__list li strong {
  color: var(--color-text);
}

.technologies-detail__disclaimer {
  margin-top: 40px;
  padding: 24px;
  background-color: var(--color-off-white);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.technologies-detail__disclaimer p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.technologies-detail__cta {
  text-align: center;
  margin-top: 32px;
}

/* --- 6.9 Planos --- */
.plans {
  background-color: var(--color-off-white);
}

.plans__intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.plan-card {
  padding: 24px;
}
.plan-card__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}
.plan-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.plans__cta {
  text-align: center;
  margin-top: 40px;
}

/* --- 6.10 Sobre --- */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about__subtitle {
  font-size: 18px;
  font-family: var(--font-serif);
  color: var(--color-accent);
  margin-bottom: 20px;
}
.about__text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about__education-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about__education-list {
  margin-bottom: 32px;
}
.about__education-list li {
  font-size: 14px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.about__education-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--color-off-white);
  border: 1px solid rgba(198, 180, 173, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote {
  margin-top: 64px;
  padding: 40px;
  background-color: var(--color-off-white);
  border-left: 4px solid var(--color-primary);
  text-align: center;
}

.quote p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--color-accent);
  line-height: 1.5;
}

/* --- 6.11 FAQ --- */
.faq {
  background-color: var(--color-off-white);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid rgba(198, 180, 173, 0.3);
}
.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}
.faq__icon {
  font-size: 20px;
  color: var(--color-primary);
  transition: var(--transition-fast);
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Contato --- */
.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact__list-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.contact__value {
  font-size: 15px;
  color: var(--color-text);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__actions .btn {
  width: 100%;
}

/* === MAPA: corrige overflow no mobile === */
.contact__map {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 180, 173, 0.3);
}

.contact__map iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 320px;
  display: block;
  border: 0;
}

.contact__map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--color-off-white);
  border: 1px solid rgba(198, 180, 173, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__map-placeholder span {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* --- 6.13 Footer --- */
/* --- Footer --- */
.footer {
  background-color: var(--color-off-white);
  border-top: 1px solid rgba(198, 180, 173, 0.2);
  padding: 48px 0 100px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
  font-size: 13px;
}

.footer__nav a {
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
  padding: 4px 8px;
}

.footer__nav a:hover {
  color: var(--color-accent);
}

.footer__nav span {
  color: var(--color-primary);
}

.footer__disclaimer {
  max-width: 680px;
}

.footer__disclaimer p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
}

.footer__signature {
  padding-top: 8px;
  border-top: 1px solid rgba(198, 180, 173, 0.2);
  width: 100%;
}

.footer__signature p {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  letter-spacing: 0.3px;
}

/* === GALERIA DA CLÍNICA === */
.clinic__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.clinic__photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(198, 180, 173, 0.3);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
}

.clinic__photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61, 53, 48, 0.12);
}

.clinic__photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clinic__photo:hover img {
  transform: scale(1.03);
}

.clinic__photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(61, 53, 48, 0.7) 100%
  );
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* --- 6.14 WhatsApp Float --- */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  z-index: 999;
  transition: var(--transition-base);
  animation: pulse 5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: var(--color-accent-dark);
}
.whatsapp-float__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background-color: var(--color-badge);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-base);
}
.whatsapp-float__tooltip {
  display: none;
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ============ 7. MEDIA QUERIES (DESKTOP) ============ */
@media (min-width: 768px) {
  .technologies-detail__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .tech-card--wide {
    grid-column: span 2;
  }

  .tech-card__list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
  }

  .technologies-detail__intro {
    font-size: 16px;
  }
  
  .whatsapp-float__tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 12px;
  background-color: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  z-index: 10000;
  max-width: none;
  overflow: visible;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-text);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  display: block;
}

  /* Tablet */
  .clinic__spaces {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .clinic__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  :root {
    --section-spacing: 80px;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 36px;
  }

  .header__inner {
    height: 80px;
  }
  .header__menu {
    display: flex;
    position: static;
    width: auto;
    flex-direction: row;
    padding: 0;
    border: none;
    gap: 32px;
  }
  .header__menu li {
    border: none;
  }
  .header__menu a {
    padding: 0;
    font-size: 14px;
    font-weight: 500;
  }
  .header__menu a:hover {
    padding-left: 0;
  }
  .header__toggle {
    display: none;
  }
  .header__cta {
    display: inline-block;
  }
  */

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .hero__content {
    flex: 1;
    order: 1;
  }
  .hero__image-wrap {
    flex: 1;
    order: 2;
  }
  .hero__actions {
    flex-direction: row;
  }
  .hero__actions .btn {
    width: auto;
  }

  .areas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .complaints__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 64px;
  }

  .process__steps {
    flex-direction: row;
    padding-left: 0;
    justify-content: space-between;
  }
  .process__steps::before {
    display: none;
  }
  .process__step {
    flex: 1;
    text-align: center;
  }
  .process__number {
    position: static;
    margin: 0 auto 24px;
  }
  .process__step-title {
    padding-left: 0;
  }
  .process__step-text {
    padding-left: 0;
  }
  .process__connector {
    display: block;
    flex: 1;
    height: 1px;
    background-color: var(--color-primary);
    margin-top: 24px;
  }

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

  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .about__content {
    flex: 1.2;
  }
  .about__image-wrap {
    flex: 0.8;
  }

  .contact__inner {
    flex-direction: row;
    gap: 80px;
  }
  .contact__info {
    flex: 1;
  }
  .contact__map {
    flex: 0 0 45%;
  }

  .contact__map iframe {
    height: 100%;
    min-height: 360px;
  }
  .contact__actions {
    flex-direction: row;
  }

  /* Desktop */
  .clinic__spaces {
    grid-template-columns: repeat(4, 1fr);
  }
  .clinic__intro-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
  }
}

@media (min-width: 1024px) {
  .technologies-detail__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .tech-card--wide {
    grid-column: span 3;
  }

  .tech-card__title {
    font-size: 22px;
  }

  .tech-card__body {
    padding: 32px;
  }

  .tech-card__list--two-col {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px 24px;
  }

  .technologies-detail__disclaimer {
    padding: 32px;
  }
  /* --- Desktop 1024px+ --- */
  @media (min-width: 1024px) {
    :root {
      --section-spacing: 96px;
    }

    h1 {
      font-size: 42px;
    }

    h2 {
      font-size: 32px;
    }

    h3 {
      font-size: 22px;
    }

    .section-header__title {
      font-size: 32px;
    }

    .section-header {
      margin-bottom: 48px;
    }

    .hero__inner {
      flex-direction: row;
      align-items: center;
      gap: 60px;
    }

    .hero__content {
      flex: 0 0 58%;
      order: 1;
    }

    .hero__image-wrap {
      flex: 0 0 38%;
      order: 2;
    }

    .hero__title {
      font-size: 42px;
    }

    .hero__subtitle {
      font-size: 17px;
    }

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

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

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

    .about__subtitle {
      font-size: 20px;
    }

    .about__text {
      font-size: 16px;
    }

    .quote p {
      font-size: 24px;
    }

    .contact__map {
      flex: 0 0 50%;
    }
    .contact__map iframe {
      min-height: 400px;
    }

    .footer {
      padding-bottom: 80px;
    }

    /* Desktop */
    .clinic__spaces {
      grid-template-columns: repeat(4, 1fr);
    }

    .clinic__intro-text {
      font-size: 16px;
    }

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

  /* ============= 8. ANIMAÇÕES ============= */
  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }
  }

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

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

  .areas__grid .area-card.reveal {
    transition-delay: calc(var(--card-index, 0) * 0.1s);
  }

  @keyframes heroFadeIn {
    from {
      opacity: 0;
      transform: scale(1.05);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .hero__image-wrap {
    animation: heroFadeIn 1s ease forwards;
  }

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

    .whatsapp-float {
      animation: none;
    }
  }
}
