/* ============================================================
   CLÍNICA YAMAMOTO TAKIKAWA — DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --color-primary:    #332016;
  --color-secondary:  #F0D7B4;
  --color-bg:         #F6F1E7;
  --color-white:      #FFFFFF;
  --color-black:      #000000;
  --color-dark:       #1a0e07;

  --font-main: 'Butler', 'Playfair Display', Georgia, serif;
  --font-text: 'Poppins', sans-serif;

  --navbar-height: 80px;
  --container-max: 1200px;
  --section-py:    80px;
  --radius:        8px;
  --radius-lg:     14px;

  --shadow-sm:  0 2px 12px rgba(51, 32, 22, 0.06);
  --shadow:     0 4px 24px rgba(51, 32, 22, 0.10);
  --shadow-lg:  0 12px 48px rgba(51, 32, 22, 0.14);

  --transition: all 0.3s ease;
}

/* ============================================================
   BASE GLOBAL
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  background-color: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

p {
  font-family: var(--font-text);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

address {
  font-style: normal;
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: var(--navbar-height);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container-lp {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   SECTION PADRÃO
   ============================================================ */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 12px;
  color: var(--color-primary);
}

.section-text {
  font-size: 1rem;
  margin-top: 6px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.btn-primary.btn-light-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-primary.btn-light-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #25D366;
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp-nav:hover {
  background-color: #1eb557;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--color-white);
  padding: 16px 44px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  border: none;
}

.btn-whatsapp-large:hover {
  background-color: #1eb557;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.32);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background-color: rgba(246, 241, 231, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 215, 180, 0.30);
  transition: var(--transition);
}

.navbar-wrapper.scrolled {
  background-color: rgba(246, 241, 231, 0.99);
  box-shadow: 0 2px 24px rgba(51, 32, 22, 0.09);
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
}

.navbar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  max-height: 100%;
}

.navbar-brand a {
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 100%;
}

.navbar-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand-text {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(26, 14, 7, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.nav-overlay.active {
  display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background-image: url('../images/banner-clinica-yamamoto-.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(26, 14, 7, 0.80) 0%,
    rgba(51, 32, 22, 0.60) 55%,
    rgba(51, 32, 22, 0.30) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-clinic-name {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 28px;
  line-height: 1.18;
}

.hero-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 14px;
}

.hero-cta-text {
  font-size: 0.95rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-top: 10px;
}

/* Form Card */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.form-card-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(240, 215, 180, 0.5);
}

.form-card-info {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-top: -16px;
  margin-bottom: 16px;
}

/* Overrides Bootstrap dentro do form-card */
.form-card .form-control,
.form-card .form-select,
.form-card textarea.form-control {
  font-family: var(--font-main);
  border-color: rgba(51, 32, 22, 0.18);
  background-color: var(--color-bg);
  color: var(--color-primary);
  border-radius: var(--radius);
}

.form-card .form-control:focus,
.form-card .form-select:focus,
.form-card textarea.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(51, 32, 22, 0.10);
  background-color: var(--color-white);
}

.form-card textarea.form-control::-webkit-scrollbar {
  width: 6px;
}
.form-card textarea.form-control::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-card textarea.form-control::-webkit-scrollbar-thumb {
  background: rgba(51, 32, 22, 0.25);
  border-radius: 3px;
}
.form-card textarea.form-control::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 32, 22, 0.45);
}
.form-card textarea.form-control {
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 32, 22, 0.25) var(--color-bg);
}

.form-card .form-floating:has(textarea)::before {
  background-color: var(--color-bg);
}

.form-card .form-floating:has(textarea):focus-within::before {
  background-color: var(--color-white);
}

.form-card .form-floating > label {
  font-family: var(--font-main);
  color: rgba(51, 32, 22, 0.55);
  font-size: 0.9rem;
}

.form-card .btn-custom-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  width: 100%;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.form-card .btn-custom-primary:hover,
.form-card .btn-custom-primary:focus,
.form-card .btn-custom-primary:active {
  background-color: transparent !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  filter: none !important;
}

.form-card .alert {
  font-family: var(--font-main);
  font-size: 0.9rem;
  border-radius: var(--radius);
}

/* ============================================================
   SINTOMAS
   ============================================================ */
.sintomas-section {
  background-color: var(--color-white);
}

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

.sintoma-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 14px 24px;
  background-color: var(--color-bg);
  border: 1px solid rgba(240, 215, 180, 0.5);
  border-radius: var(--radius);
  transition: var(--transition);
}

.sintoma-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.sintoma-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sintoma-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sintoma-card p {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary);
}

/* ============================================================
   HOLEP
   ============================================================ */
.holep-section {
  background-color: var(--color-bg);
}

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

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

.holep-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.holep-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.holep-content .section-title {
  margin-bottom: 22px;
}

.holep-highlight {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  padding: 18px 20px;
  background-color: rgba(240, 215, 180, 0.22);
  border-left: 3px solid var(--color-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 18px;
}

.holep-text {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.holep-benefits-intro {
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.holep-benefits {
  margin-bottom: 16px;
}

.holep-benefits li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  line-height: 1.6;
}

.holep-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-primary);
}

.holep-disclaimer {
  font-size: 0.85rem;
  color: rgba(51, 32, 22, 0.6);
  font-style: italic;
  margin-bottom: 28px;
}

/* ============================================================
   AVALIAÇÃO INDIVIDUALIZADA
   ============================================================ */
.avaliacao-section {
  background-color: var(--color-white);
}

.avaliacao-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

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

.avaliacao-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avaliacao-intro .section-title {
  margin-bottom: 20px;
}

.avaliacao-intro p {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.tratamentos-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.tratamentos-lista li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid rgba(240, 215, 180, 0.45);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.tratamentos-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.avaliacao-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(51, 32, 22, 0.65);
  font-style: italic;
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ============================================================
   SOBRE O MÉDICO
   ============================================================ */
.medico-section {
  background-color: var(--color-primary);
}

.medico-section .section-label {
  color: var(--color-secondary);
}

.medico-section .section-title {
  color: var(--color-white);
}

.medico-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 72px;
  align-items: center;
}

.medico-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.medico-foto {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.crm-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crm-badge {
  background-color: rgba(240, 215, 180, 0.10);
  border: 1px solid rgba(240, 215, 180, 0.30);
  color: var(--color-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
}

.medico-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.medico-content p {
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   FORMAÇÃO E CERTIFICAÇÕES — PREMIUM
   ============================================================ */
.formacao-section {
  background-color: var(--color-bg);
  padding: 96px 0;
}

.formacao-section .section-header {
  margin-bottom: 60px;
  position: relative;
}

.formacao-section .section-header::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  margin: 18px auto 0;
  border-radius: 2px;
}

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

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 26px;
  background-color: var(--color-white);
  border: 1px solid rgba(240, 215, 180, 0.42);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 14px rgba(51, 32, 22, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(51, 32, 22, 0.18);
  transition: background 0.28s ease, opacity 0.28s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(51, 32, 22, 0.12);
  border-color: rgba(240, 215, 180, 0.72);
}

.timeline-item:hover::before {
  background: var(--color-primary);
}

.timeline-dot {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 2px solid rgba(240, 215, 180, 0.55);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.28s ease, background-color 0.28s ease;
}

.timeline-dot::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(51, 32, 22, 0.35);
  display: block;
  transition: background-color 0.28s ease, transform 0.28s ease;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--color-primary);
}

.timeline-item:hover .timeline-dot::after {
  background-color: var(--color-primary);
  transform: scale(1.15);
}

.timeline-item p {
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--color-primary);
  font-weight: 400;
}

/* ── Destaque Internacional: INCA, Keio, Stanford (items 4, 5, 6) ── */
.timeline-item:nth-child(4),
.timeline-item:nth-child(5),
.timeline-item:nth-child(6) {
  background: linear-gradient(160deg, rgba(240, 215, 180, 0.14) 0%, var(--color-white) 55%);
  border-color: rgba(240, 215, 180, 0.72);
}

.timeline-item:nth-child(4)::before,
.timeline-item:nth-child(5)::before,
.timeline-item:nth-child(6)::before {
  background: var(--color-secondary);
}

.timeline-item:nth-child(4) .timeline-dot,
.timeline-item:nth-child(5) .timeline-dot,
.timeline-item:nth-child(6) .timeline-dot {
  background-color: rgba(240, 215, 180, 0.28);
  border-color: var(--color-secondary);
}

.timeline-item:nth-child(4) .timeline-dot::after,
.timeline-item:nth-child(5) .timeline-dot::after,
.timeline-item:nth-child(6) .timeline-dot::after {
  background-color: var(--color-primary);
}

.timeline-item:nth-child(4):hover::before,
.timeline-item:nth-child(5):hover::before,
.timeline-item:nth-child(6):hover::before {
  background: var(--color-secondary);
}

/* ── Destaque SBU + Robótica (items 9, 10, 11) ── */
.timeline-item:nth-child(9)::before,
.timeline-item:nth-child(10)::before,
.timeline-item:nth-child(11)::before {
  background: rgba(51, 32, 22, 0.45);
}

.timeline-item:nth-child(9):hover::before,
.timeline-item:nth-child(10):hover::before,
.timeline-item:nth-child(11):hover::before {
  background: var(--color-primary);
}

/* ── Centraliza o último item (13.º) na grelha de 3 colunas ── */
.timeline-item:last-child {
  grid-column: 2;
}

/* ============================================================
   COMO FUNCIONA O ATENDIMENTO
   ============================================================ */
.atendimento-section {
  background-color: var(--color-white);
}

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

.etapa-card {
  text-align: center;
  padding: 44px 28px 36px;
  background-color: var(--color-bg);
  border: 1px solid rgba(240, 215, 180, 0.45);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.etapa-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: rgba(240, 215, 180, 0.8);
}

.etapa-numero {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etapa-numero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.etapa-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-primary);
}

.etapa-card p {
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(51, 32, 22, 0.78);
}

/* ============================================================
   CONVÊNIOS
   ============================================================ */
.convenios-section {
  background-color: var(--color-bg);
}

.convenios-box {
  display: flex;
  align-items: center;
  gap: 36px;
  background-color: var(--color-white);
  border: 1px solid rgba(240, 215, 180, 0.65);
  border-radius: var(--radius-lg);
  padding: 44px 52px;
  box-shadow: var(--shadow-sm);
}

.convenios-icon {
  font-size: 2.2rem;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.convenios-content {
  flex: 1;
}

.convenios-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.convenios-content p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(51, 32, 22, 0.78);
}

.convenios-cta {
  flex-shrink: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
}

.cta-final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.42;
}

.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 14, 7, 0.65) 0%,
    rgba(51, 32, 22, 0.50) 60%,
    rgba(51, 32, 22, 0.60) 100%
  );
  z-index: 1;
}

.cta-final-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.cta-final-title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
}

.cta-final-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 44px;
}

.cta-final-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  border-radius: 6px;
  padding: 16px 40px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-cta-final:hover {
  background-color: transparent;
  color: var(--color-secondary);
}

.cta-email {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-secondary);
  transition: var(--transition);
}

.cta-email:hover {
  color: var(--color-white);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background-color: var(--color-bg);
  padding: 72px 0 32px;
  border-top: 2px solid rgba(51, 32, 22, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 52px;
  margin-bottom: 56px;
  align-items: start;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand-name {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.87rem;
  color: rgba(51, 32, 22, 0.65);
  line-height: 1.5;
}

.footer h4 {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(51, 32, 22, 0.15);
}

.footer p,
.footer address {
  font-family: var(--font-text);
  font-size: 0.92rem;
  color: rgba(51, 32, 22, 0.80);
  line-height: 1.80;
  margin-bottom: 10px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer a {
  color: var(--color-primary);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--color-dark);
  opacity: 0.75;
}

.footer i {
  color: var(--color-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(51, 32, 22, 0.08);
  border: 1px solid rgba(51, 32, 22, 0.20);
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(51, 32, 22, 0.20);
}

.social-links i {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(51, 32, 22, 0.15);
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: rgba(51, 32, 22, 0.50);
  margin: 0;
  letter-spacing: 0.2px;
}

/* ============================================================
   BOOTSTRAP OVERRIDES GLOBAIS
   ============================================================ */
.btn-custom-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: transparent !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  filter: none !important;
}

.required {
  color: var(--bs-danger);
}

/* ============================================================
   RESPONSIVIDADE — TABLET (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr 380px;
    gap: 48px;
  }

  .medico-grid {
    grid-template-columns: 320px 1fr;
    gap: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 36px;
  }

  .convenios-box {
    padding: 36px 40px;
  }
}

/* ============================================================
   RESPONSIVIDADE — TABLET MENOR (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --section-py: 64px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px 24px;
  }

  .hero-form {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .holep-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .avaliacao-header {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .medico-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .medico-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

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

  .timeline-item:last-child {
    grid-column: auto;
  }

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

  .convenios-box {
    flex-wrap: wrap;
    padding: 32px 36px;
    gap: 28px;
  }

  .convenios-icon {
    display: none;
  }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py:    52px;
    --navbar-height: 68px;
  }

  /* Navbar Mobile */
  .navbar-container {
    padding: 0 20px;
  }

  .navbar-brand-text {
    font-size: 0.82rem;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(310px, 84vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 4px;
    z-index: 1000;
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
  }

  .navbar-nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 13px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(240, 215, 180, 0.35);
  }

  .btn-whatsapp-nav {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 0.95rem;
    border-radius: var(--radius);
  }

  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    padding-bottom: 52px;
  }

  .hero-container {
    padding: 44px 20px 52px;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .hero-text {
    font-size: 0.88rem;
  }

  .hero-cta-text {
    font-size: 0.83rem;
  }

  .hero-form {
    max-width: 100%;
  }

  .form-card {
    padding: 28px 22px;
  }

  /* Sintomas Mobile */
  .sintomas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Avaliação Mobile */
  .tratamentos-lista {
    grid-template-columns: 1fr;
  }

  /* Etapas Mobile */
  .etapas-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .etapa-card {
    padding: 32px 24px;
  }

  /* Convênios Mobile */
  .convenios-box {
    flex-direction: column;
    padding: 28px 24px;
    text-align: center;
    gap: 22px;
  }

  .convenios-cta {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* CTA Final Mobile */
  .cta-final-container {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-final-contacts {
    gap: 14px;
  }

  .btn-whatsapp-large {
    font-size: 0.97rem;
    padding: 14px 28px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding-top: 52px;
    padding-bottom: 28px;
  }

  /* Formação Mobile */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-item:last-child {
    grid-column: auto;
  }

  .formacao-section {
    padding: 72px 0;
  }

  /* Section */
  .section-title {
    font-size: 1.42rem;
  }

  .container-lp {
    padding: 0 20px;
  }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE PEQUENO (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .sintomas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .sintoma-card {
    padding: 20px 10px 18px;
  }

  .hero-title {
    font-size: 1.22rem;
  }

  .hero-text {
    font-size: 0.82rem;
  }

  .hero-cta-text {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .holep-highlight {
    padding: 14px 16px;
  }

  .form-card {
    padding: 22px 16px;
  }

  .container-lp {
    padding: 0 16px;
  }

  .btn-primary {
    padding: 13px 28px;
    font-size: 0.9rem;
  }

  .btn-whatsapp-large {
    padding: 13px 22px;
    font-size: 0.92rem;
  }
}

.float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  transition: 0.5s;
}

.float:hover {
  transform: scale(1.1);
}

.float img {
  max-width: 110%;
}