/* =========================================
   ANA PAULA DE MELLO — Nutrição Clínica
   styles.css
   ========================================= */

/* ===== VARIABLES ===== */
:root {
  /* Roxos — apenas como acento */
  --plum:         #3D1A5C;
  --plum-mid:     #5C2D80;
  --plum-soft:    #7B52A0;
  --lilac:        #C4A0DC;
  --lilac-med:    #9B6FC0;
  --lilac-light:  #DEC8F0;
  --lilac-soft:   #EFE3FA;
  --lilac-pale:   #F7F0FD;

  /* Beges/neutros — dominantes */
  --cream:        #F9F5F0;
  --cream-mid:    #F3EDE4;
  --cream-dark:   #E8DDD0;
  --warm-white:   #FFFFFF;
  --sand:         #EDE6DA;

  /* Texto */
  --text-dark:    #1C1024;
  --text-mid:     #4A3D54;
  --text-light:   #8B7A99;

  /* Dourado */
  --gold:         #B8935A;
  --gold-light:   #D4B07A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(61, 26, 92, 0.07);
  --shadow-md:  0 8px 32px rgba(61, 26, 92, 0.10);
  --shadow-lg:  0 20px 60px rgba(61, 26, 92, 0.08);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container:  1160px;
  --nav-h:      72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

img:not([class*="icon"]):not([class*="logo"]) {
  filter: brightness(1.04) contrast(1.03) saturate(1.05);
}
a    { text-decoration: none; color: inherit; }
address { font-style: normal; }
strong  { font-weight: 500; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--lilac); border-radius: 99px; }

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--plum);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 540px;
}

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

.section-header .section-desc {
  max-width: 560px;
  margin: 0 auto;
}

section[id], #contato { scroll-margin-top: 80px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--plum);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xl);
  border: 2px solid var(--plum);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--plum-mid);
  border-color: var(--plum-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 26, 92, 0.22);
}

.btn-primary.btn-light {
  background: var(--warm-white);
  color: var(--plum);
  border-color: var(--warm-white);
}

.btn-primary.btn-light:hover {
  background: var(--lilac-pale);
  border-color: var(--lilac-pale);
  box-shadow: 0 12px 32px rgba(255,255,255,0.15);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal, .reveal-right, .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-right { transform: translateX(40px); }

.reveal.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== NAVBAR — BEGE CLARO ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(249, 245, 240, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 147, 90, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 60px;
  background: rgba(249, 245, 240, 0.99);
  box-shadow: 0 4px 24px rgba(61, 26, 92, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  /* Inverte para aparecer em fundo claro */
  filter: invert(1) sepia(1) saturate(2) hue-rotate(240deg) brightness(0.5);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: 0.01em;
}

.nav-logo-text small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--text-dark);
  font-weight: 500;
}

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

.nav-links a:focus {
  color: var(--text-dark);
  outline: none;
}

.btn-nav {
  padding: 9px 22px !important;
  background: var(--plum) !important;
  color: #fff !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
}

.btn-nav::after { display: none !important; }

.btn-nav:hover {
  background: var(--plum-mid) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(61,26,92,0.22) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO — BEGE CLARO ===== */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

/* Ornamento decorativo */
.hero-bg-shape {
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196, 160, 220, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-shape::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -200px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184, 147, 90, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  flex: 1;
  max-width: 540px;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--plum);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--plum-mid);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 36px;
  max-width: 420px;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.hero-badge span {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.hero-badge strong { color: var(--plum); }

.hero-image {
  flex: 1;
  max-width: 460px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.hero-img-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 3;
  overflow: visible;
  border-radius: 24px;
}

.hero-img-frame::before {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--lilac-light);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-img-frame::after {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--lilac-soft);
  border-radius: 50%;
  z-index: 0;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ===== PILARES — LILÁS SUAVE ===== */
.pilares {
  background: var(--lilac-soft);
  padding: 52px 24px;
  border-top: 1px solid var(--lilac-light);
  border-bottom: 1px solid var(--lilac-light);
}

.pilares-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pilar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid var(--lilac-light);
  transition: background var(--transition);
}

.pilar:last-child { border-right: none; }
.pilar:hover { background: rgba(255,255,255,0.5); }

.pilar-icon {
  width: 40px; height: 40px;
  background: var(--warm-white);
  border: 1px solid var(--lilac-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--plum-mid);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.pilar strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--plum);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.pilar p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===== SOBRE — BRANCO ===== */
.sobre {
  padding: 104px 0;
  background: var(--warm-white);
}

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

.sobre-img {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: visible;
  padding-bottom: 32px;
  border-radius: 24px;
}

.sobre-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: block;
}

.sobre-crn {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--plum);
  color: var(--lilac-light);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.sobre-text p {
  font-size: 1.09rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 18px;
}

.sobre-text em {
  color: var(--plum);
  font-style: italic;
}

.sobre-quote {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--plum);
  line-height: 1.55;
}

/* ===== TRAJETÓRIA — BEGE ===== */
.trajetoria {
  padding: 104px 0;
  background: var(--cream-mid);
}

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

.traj-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

.traj-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.04rem;
  color: var(--text-mid);
  padding: 12px 16px;
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

.traj-item:hover {
  border-color: var(--lilac-light);
  box-shadow: var(--shadow-sm);
}

.traj-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
}

.traj-item em {
  color: var(--plum);
  font-style: normal;
  font-weight: 500;
}

.traj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stat {
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--lilac-light);
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--plum);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.trajetoria-img {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: visible;
  padding-bottom: 48px;
  border-radius: 24px;
}

.trajetoria-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: block;
}

.traj-quote {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--plum);
  line-height: 1.6;
  max-width: 224px;
  border-left: 3px solid var(--gold);
}

.traj-quote i {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

/* ===== ÁREAS — LILÁS PÁLIDO ===== */
.areas {
  padding: 104px 0;
  background: var(--lilac-pale);
}

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

.area-card {
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.area-card:hover {
  border-color: var(--lilac-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.area-icon {
  width: 44px; height: 44px;
  background: var(--lilac-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-mid);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.area-card:hover .area-icon {
  background: var(--plum);
  color: var(--lilac-light);
}

.area-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 8px;
  line-height: 1.3;
}

.area-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== SERVIÇOS — LILÁS MÉDIO (mais claro que antes) ===== */
.servicos {
  padding: 104px 0;
  background: var(--plum-soft);
  position: relative;
  overflow: hidden;
}

.servicos::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.servicos .section-eyebrow { color: var(--gold-light); }
.servicos .section-title   { color: #fff; }

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

.servico-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
}

.servico-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);
}

.servico-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  position: absolute;
  top: 24px; right: 28px;
}

.servico-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.servico-card:hover .servico-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.servico-card p {
  font-size: 0.99rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 28px;
}

.servico-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: gap var(--transition), color var(--transition);
}

.servico-link:hover { gap: 14px; color: #fff; }

/* ===== INTRO PESSOAL — FUNDO CLARO ===== */
.intro-pessoal {
  padding: 96px 0;
  background: var(--warm-white);
}

.intro-pessoal-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 64px;
  align-items: center;
}

.intro-pessoal-img {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 24px;
}

.intro-pessoal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.intro-pessoal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-pessoal-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--plum);
  line-height: 1.3;
  margin: 0;
}

.intro-pessoal-content p {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xl);
  border: 2px solid var(--plum);
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
}

.btn-outline:hover {
  background: var(--plum);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 26, 92, 0.22);
}

/* ===== ATENDIMENTO — BRANCO ===== */
.atendimento {
  padding: 104px 0;
  background: var(--warm-white);
}

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

.atend-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atend-card:hover {
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--lilac-light);
}

.atend-icon {
  width: 56px; height: 56px;
  background: var(--lilac-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  font-size: 1.3rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.atend-card:hover .atend-icon {
  background: var(--plum);
  color: var(--lilac-light);
}

.atend-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--plum);
}

.atend-card p,
.atend-card address {
  font-size: 0.99rem;
  color: var(--text-mid);
  line-height: 1.72;
}

.atend-contact {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--plum-mid);
  transition: color var(--transition);
}

.atend-contact:hover { color: var(--gold); }

/* ===== DEPOIMENTOS ===== */
.section-chip {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--cream);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.depoimentos {
  padding: 96px 0;
  background-color: var(--cream);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.depoimento-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(61, 26, 92, 0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: var(--transition);
}

.depoimento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.depoimento-card::before {
  content: '\201C';
  font-size: 64px;
  line-height: 1;
  color: var(--plum-soft);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
}

.depoimento-texto {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  padding-top: 24px;
}

.depoimento-nome {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--plum-soft);
  margin-top: auto;
}

/* Tablet/Laptop 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .depoimentos {
    padding: 64px 0;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== CTA BANNER — BEGE COM ACENTO ===== */
.cta-banner {
  background: var(--sand);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(196, 160, 220, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--plum);
  line-height: 1.3;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1.125rem;
  color: var(--text-mid);
}

/* ===== FOOTER — ESCURO (contraste final) ===== */
.footer {
  background: #150920;
  padding: 80px 24px 0;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

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

.footer-logo {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 10px;
  align-self: flex-start;
  display: block;
  margin-left: 0;
  margin-right: auto;
  width: fit-content;
  margin-left: calc((var(--footer-name-width, 170px) - 80px) / 2);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}

.footer-crn {
  font-size: 0.79rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.38);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover { color: #fff; }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a i { color: var(--lilac); font-size: 0.95rem; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.92rem;
  transition: var(--transition) !important;
  margin-bottom: 0 !important;
}

.footer-social a:hover {
  background: var(--plum-mid) !important;
  border-color: var(--lilac) !important;
  color: #fff !important;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.22);
}

.footer-bottom a {
  color: rgba(255,255,255,0.32);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--lilac); }

.footer-credits {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-credits a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-credits a:hover {
  color: var(--lilac);
}

.footer-credits span {
  color: rgba(255,255,255,0.25);
}

/* ===== PRIVACY POLICY ===== */
.privacy-policy {
  padding: 140px 0 104px;
  background: var(--warm-white);
  min-height: 100vh;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-text {
  margin-top: 48px;
}

.privacy-text h2 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--plum);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.privacy-text h2:first-child {
  margin-top: 0;
}

.privacy-text p {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-text ul {
  margin: 16px 0 24px 24px;
}

.privacy-text li {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 8px;
}

.privacy-text strong {
  color: var(--plum);
  font-weight: 500;
}

.privacy-back {
  margin-top: 56px;
  text-align: center;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-float span {
  display: none;
}

.wpp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--text-dark);
  color: #fff;
  font-size: 0.78rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--warm-white);
  box-shadow: 0 -4px 24px rgba(61, 26, 92, 0.10);
  z-index: 9999;
  padding: 20px 0;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

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

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: var(--plum);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.cookie-accept {
  background: var(--plum);
  color: #fff;
}

.cookie-decline {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}

.cookie-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

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

.whatsapp-float:hover .wpp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.85rem; }
  
  .hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; gap: 40px; }
  .hero-content { max-width: 640px; }
  .hero-subtitle, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-image { max-width: 340px; }
  .hero-img-frame { max-width: 480px; width: 100%; margin: 0 auto; }

  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .pilar { border-right: none; border-bottom: 1px solid var(--lilac-light); }
  .pilar:nth-child(odd) { border-right: 1px solid var(--lilac-light); }
  .pilar:nth-last-child(-n+2) { border-bottom: none; }

  .sobre .container { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img { max-width: 480px; width: 100%; margin: 0 auto; }
  .sobre-crn { right: 0; }

  .trajetoria-inner { grid-template-columns: 1fr; gap: 40px; }
  .trajetoria-img { max-width: 480px; width: 100%; margin: 0 auto; }
  .traj-stats { grid-template-columns: repeat(3, 1fr); }

  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .servicos-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .atend-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .intro-pessoal-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-pessoal-img { max-width: 480px; width: 100%; margin: 0 auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(249, 245, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 8px 24px rgba(61,26,92,0.1);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden;
    z-index: 899;
  }

  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
    visibility: visible;
  }

  .nav-links a {
    padding: 14px 28px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--cream-dark);
    color: var(--text-dark);
  }

  .nav-links a::after { display: none; }

  .btn-nav {
    margin: 12px 24px 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .hero { padding: calc(var(--nav-h) + 32px) 20px 52px; gap: 32px; }
  .hero-title { font-size: clamp(1.96rem, 9vw, 2.67rem); }
  .hero-subtitle { font-size: 1.04rem; }
  .hero-img-frame { aspect-ratio: 2 / 3; width: 100%; max-width: 320px; margin: 0 auto; }

  .pilares { padding: 36px 20px; }
  .pilares-grid { grid-template-columns: 1fr; }
  .pilar { border-right: none !important; border-bottom: 1px solid var(--lilac-light) !important; }
  .pilar:last-child { border-bottom: none !important; }

  .sobre { padding: 72px 0; }
  .sobre-img { aspect-ratio: 2 / 3; width: 100%; max-width: 320px; margin: 0 auto; }

  .trajetoria { padding: 72px 0; }
  .trajetoria-img { aspect-ratio: 2 / 3; width: 100%; max-width: 320px; margin: 0 auto; }
  .traj-stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }

  .areas { padding: 72px 0; }
  .areas-grid { grid-template-columns: 1fr; gap: 12px; }

  .servicos { padding: 72px 0; }
  .atendimento { padding: 72px 0; }
  .cta-banner { padding: 60px 20px; }

  .intro-pessoal { padding: 64px 0; }
  .intro-pessoal-grid { gap: 32px; }
  .intro-pessoal-img { max-width: 100%; aspect-ratio: 2 / 3; width: 100%; max-width: 320px; margin: 0 auto; }

  .privacy-policy { padding: 100px 0 72px; }
  .privacy-text h2 { font-size: 1.6rem; margin-top: 32px; }
  .privacy-text p, .privacy-text li { font-size: 1.04rem; }

  .footer { padding: 56px 20px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-logo { align-self: center; margin-left: auto; margin-right: auto; display: block; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .wpp-tooltip { display: none; }
}

/* =========================================
   SMALL MOBILE
   ========================================= */
@media (max-width: 400px) {
  .hero-title  { font-size: 1.78rem; }
  .section-title { font-size: 1.56rem; }
  .traj-stats { grid-template-columns: 1fr; }
  .stat:last-child { grid-column: auto; }
  .hero-img-frame img { aspect-ratio: 3 / 4; }
}