/* ==========================================================
   Clínica Intense — estilos do site
   Modelo 2: mesmo layout do Modelo 1, com todas as cores da logo
   (rosa, roxo, laranja, vermelho, verde, azul-claro, azul e verde-água).
   ========================================================== */

:root {
  /* Modelo 2: fundo claro e todas as cores da logo como destaque */
  --ink: #1F2F5C;        /* azul profundo, puxado do azul da logo */
  --text: #34405E;
  --muted: #5B6680;
  --purple: #6B2C8F;     /* roxo do centro da logo: botões principais */
  --purple-600: #57207A;
  --purple-ink: #6B2C8F;
  --accent: #6B2C8F;     /* cor de destaque de cada seção (muda por seção) */
  --lilac-50: #FFFFFF;
  --lilac-100: #F5F6FA;
  --lilac-200: #E8ECF4;
  --line: #E6EAF2;
  --line-strong: #DCE2EC;
  --footer: #1B2A55;
  --title: #1F2F5C;
  --title-sm: #1F2F5C;
  /* versões das cores da logo com bom contraste para textos */
  --c-magenta: #B8236B;
  --c-purple: #6B2C8F;
  --c-orange: #A65E00;
  --c-coral: #B9431A;
  --c-green: #2F7F26;
  --c-sky: #1D6FA8;
  --c-blue: #2F6DB5;
  --c-teal: #1E7A76;
  --logo-stripe: linear-gradient(90deg, #D2327F 0 12.5%, #6B2C8F 12.5% 25%, #F0A030 25% 37.5%, #E1582C 37.5% 50%, #55A947 50% 62.5%, #4FA3DC 62.5% 75%, #2F6DB5 75% 87.5%, #3A9E9A 87.5% 100%);

  /* cores do símbolo */
  --magenta: #D2327F;
  --violet: #6B2C8F;
  --orange: #F0A030;
  --coral: #E1582C;
  --green: #55A947;
  --sky: #4FA3DC;
  --blue: #2F6DB5;
  --teal: #3A9E9A;

  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(28, 23, 96, .05), 0 4px 14px -6px rgba(28, 23, 96, .08);
  --shadow: 0 18px 40px -18px rgba(40, 20, 110, .30);
  --font-head: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple-ink); }
a:hover { color: var(--purple-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--title); margin: 0; line-height: 1.12; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 16px; }

/* ---------- marca: pontinhos coloridos inspirados nas articulações da logo ---------- */
.dots { display: inline-flex; gap: 4px; }
.dots i { display: block; width: 7px; height: 7px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--magenta); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: var(--green); }
.dots i:nth-child(4) { background: var(--sky); }
.dots i:nth-child(5) { background: var(--teal); }
.dots i:nth-child(6) { background: var(--violet); }

.bg-magenta { background: var(--magenta); }
.bg-orange { background: var(--orange); }
.bg-green { background: var(--green); }
.bg-blue { background: var(--blue); }
.bg-violet { background: var(--violet); }
.bg-teal { background: var(--teal); }

/* chips de ícone (fundo tingido + traço escuro da mesma cor) */
.chip-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; }
.t-magenta { background: #D2327F; color: #fff; }
.t-violet { background: #6B2C8F; color: #fff; }
.t-orange { background: #D07F0A; color: #fff; }
.t-coral { background: #D9501F; color: #fff; }
.t-green { background: #3D9433; color: #fff; }
.t-sky { background: #2B86C4; color: #fff; }
.t-blue { background: #2F6DB5; color: #fff; }
.t-teal { background: #2A8C88; color: #fff; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 20px; height: 20px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px -10px rgba(107, 44, 143, .6); }
.btn--primary:hover { background: var(--purple-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--purple-ink); border-color: var(--purple); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--lilac-100); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--logo-stripe); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(28, 23, 96, .6); }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: auto; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); color: var(--ink); line-height: 1; }
.brand-text small { font-size: 12.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 3px; }
.brand-text strong { font-size: 23px; font-weight: 900; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: var(--purple-ink); background: var(--lilac-100); }
@media (max-width: 760px) {
  .nav { display: none; }
  .brand img { width: 46px; }
  .brand-text strong { font-size: 20px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #FFFFFF 0%, #F7F8FC 55%, #EEF3FA 100%); padding: 72px 0 132px; }
.hw { position: absolute; pointer-events: none; }
.hw-big { top: 0; right: 0; width: min(56vw, 820px); height: auto; fill: #E6F1F9; }
.hw-corner { top: 0; left: 0; width: clamp(80px, 11vw, 170px); height: auto; }
.hw-bottom { left: 0; bottom: 0; width: 100%; height: clamp(44px, 6vw, 84px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--c-teal); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.95rem); font-weight: 900; letter-spacing: -.01em; margin: 24px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--c-magenta); }
.hero-lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-art { position: relative; display: grid; place-items: center; width: 100%; max-width: 500px; aspect-ratio: 1 / 1; margin-left: auto; }
.hero-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed #D3C2F3; animation: orbit-spin 28s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero-orbit i { position: absolute; display: block; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px var(--lilac-50); }
.hero-orbit i:nth-child(1) { left: 50%; top: 0; }
.hero-orbit i:nth-child(2) { left: 93.3%; top: 25%; }
.hero-orbit i:nth-child(3) { left: 93.3%; top: 75%; }
.hero-orbit i:nth-child(4) { left: 50%; top: 100%; }
.hero-orbit i:nth-child(5) { left: 6.7%; top: 75%; }
.hero-orbit i:nth-child(6) { left: 6.7%; top: 25%; }
.hero-orb { display: grid; place-items: center; width: 76%; aspect-ratio: 1 / 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 20px rgba(255, 255, 255, .55), 0 50px 90px -40px rgba(70, 35, 160, .45); }
.hero-orb img { width: 72%; height: auto; }

@media (max-width: 980px) {
  .hero { padding: 48px 0 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
    }
@media (max-width: 520px) {
  .hero-art { max-width: 320px; }
  .hero-orb { box-shadow: 0 0 0 12px rgba(255, 255, 255, .55), 0 40px 70px -36px rgba(70, 35, 160, .45); }
          }

/* ---------- seções ---------- */
.section { padding: 104px 0; scroll-margin-top: var(--header-h); }
.section--tint { background: var(--lilac-100); }
#sobre { --accent: var(--c-teal); }
#servicos { --accent: var(--c-magenta); }
#profissionais { --accent: var(--c-blue); }
#convenios { --accent: var(--c-green); }
#contato { --accent: var(--c-orange); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: #D9CCFF; }
.section h2 { font-size: clamp(2rem, 3.7vw, 2.95rem); font-weight: 900; letter-spacing: -.01em; margin-top: 16px; text-wrap: balance; }
.section h2::after { content: ""; display: block; width: min(440px, 100%); height: 6px; margin-top: 20px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent)) left center / 80px 6px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) left center / 100% 1.5px no-repeat; }
.section-head--center h2::after { margin-left: auto; margin-right: auto; }
.section-lead { margin-top: 18px; font-size: 1.12rem; }
@media (max-width: 720px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.about-text p + p { margin-top: 16px; }
.tagline { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tagline img { width: 56px; height: auto; flex: none; }
.tagline p { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--title-sm); }
.values { display: grid; }
.value { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.value:first-child { padding-top: 0; }
.value:last-child { border-bottom: 0; padding-bottom: 0; }
.value h3 { margin: 0; font-size: 1.22rem; font-weight: 700; color: var(--ink); }
.value p { grid-column: 2; font-size: 16px; color: var(--muted); }
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- serviços: cards com explicação que aparece ---------- */
.spec-sub { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.svc-group + .svc-group { margin-top: 64px; }
.svc-head { margin-bottom: 22px; }
.svc-head h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 900; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* card que vira: frente com ícone e título, verso com a descrição */
.flip { display: block; width: 100%; height: 248px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: center; cursor: pointer; perspective: 1100px; }
.flip:focus-visible { outline: none; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .75, .25, 1); }
.flip-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 22px 20px; border-radius: 22px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-front { background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -22px rgba(31, 47, 92, .45); }
.flip-back { background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .2), transparent 55%), var(--c, var(--c-purple)); color: #fff; transform: rotateY(180deg); box-shadow: 0 22px 40px -20px rgba(31, 47, 92, .6); }
.flip-ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; flex: none; background: var(--c-icon, var(--c)); color: #fff; box-shadow: 0 12px 22px -12px rgba(40, 20, 110, .5); }
.flip-ic .ic { width: 36px; height: 36px; stroke-width: 1.7; }
.flip-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.flip-back .flip-title { color: #fff; }
.flip-text { font-size: 15px; line-height: 1.5; color: #F1ECFF; }
.flip-more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--c, var(--purple)); color: #fff; font-size: 13.5px; font-weight: 700; }
.flip-more .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.flip.is-open .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
.flip:focus-visible .flip-back { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c, var(--purple)); }
.c-magenta { --c: var(--c-magenta); --c-icon: #D2327F; }
.c-purple { --c: var(--c-purple); --c-icon: #6B2C8F; }
.c-orange { --c: var(--c-orange); --c-icon: #D07F0A; }
.c-coral { --c: var(--c-coral); --c-icon: #D9501F; }
.c-green { --c: var(--c-green); --c-icon: #3D9433; }
.c-sky { --c: var(--c-sky); --c-icon: #2B86C4; }
.c-blue { --c: var(--c-blue); --c-icon: #2F6DB5; }
.c-teal { --c: var(--c-teal); --c-icon: #2A8C88; }
@media (hover: hover) {
  .flip:hover .flip-inner { transform: rotateY(180deg); }
}
.svc-hint { margin-top: 32px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .flip { height: 236px; }
  .flip-face { padding: 18px 14px; gap: 10px; }
  .flip-ic { width: 62px; height: 62px; }
  .flip-ic .ic { width: 30px; height: 30px; }
  .flip-title { font-size: 1rem; }
  .flip-text { font-size: 14px; }
}

/* ---------- profissionais ---------- */
.team-top { margin-bottom: 40px; }
.team-top .section-head { margin-bottom: 0; }

.team-row { position: relative; --bleed: max(24px, calc((100vw - 1200px) / 2 + 24px)); --card-w: 260px; }
.team-grid {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px var(--bleed) 18px; scroll-padding-inline: var(--bleed);
  scrollbar-width: none;
}
.team-grid::-webkit-scrollbar { display: none; }
.team-grid { cursor: grab; -webkit-user-select: none; user-select: none; }
.team-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.team-grid.is-dragging .pro-card { cursor: grabbing; }
.pro-card img { -webkit-user-drag: none; pointer-events: none; }
.pro { flex: 0 0 var(--card-w); display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.pro-card { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--lilac-100); box-shadow: var(--shadow-sm); cursor: grab; transition: transform .3s ease, box-shadow .3s ease; }
.pro-card:hover, .pro-card:focus-visible { transform: scale(1.035); box-shadow: var(--shadow); }
.pro-card img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.pro-meta { padding: 0 4px; }
.pro-area { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pro-area i { display: block; width: 8px; height: 8px; border-radius: 50%; }
.pro-meta h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; margin-top: 4px; color: var(--title-sm); }
.pro-meta p { font-size: 14.5px; color: var(--accent); }
.row-btn { position: absolute; z-index: 2; top: calc(10px + var(--card-w) * 8 / 9); transform: translateY(-50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; transition: opacity .25s, background-color .2s, color .2s; }
.row-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.row-btn .ic { width: 24px; height: 24px; }
.row-btn:disabled { opacity: 0; pointer-events: none; }
.row-prev { left: 24px; }
.row-next { right: 24px; }
.team-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.team-hint .ic { width: 20px; height: 20px; color: var(--accent); }


@media (max-width: 760px) {
  .team-row { --card-w: min(64vw, 250px); }
  .team-grid { gap: 14px; }
  .row-btn { display: none; }
}
@media (hover: none) { .row-btn { display: none; } }

/* ---------- convênios ---------- */
.plans { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.plans .btn { margin-top: 30px; }
.plan-list { display: grid; gap: 14px; }
.plan { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan .chip-ic { width: 54px; height: 54px; border-radius: 16px; }
.plan h3 { font-size: 1.2rem; font-weight: 700; color: var(--title-sm); }
.plan p { font-size: 14.5px; color: var(--muted); }
.plan-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #E9F4E6; color: #2F7F26; font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan-ok .ic { width: 16px; height: 16px; stroke-width: 2.4; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 460px) { .plan { padding: 18px; gap: 14px; } .plan .chip-ic { width: 46px; height: 46px; } .plan-ok { padding: 8px; } .plan-ok-text { display: none; } }

/* ---------- contato: apenas ícones ---------- */
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px clamp(32px, 7vw, 88px); }
.social-link { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none; transition: color .25s ease; }
.social-ic { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 14px 28px -16px rgba(40, 20, 110, .55); transition: transform .35s ease, box-shadow .35s ease; }
.social-ic .ic { width: 36px; height: 36px; stroke-width: 1.6; }
.social-link:hover { color: var(--accent); }
.social-link:hover .social-ic { transform: translateY(-6px); box-shadow: 0 22px 38px -16px rgba(40, 20, 110, .6); }
@media (max-width: 520px) { .social-ic { width: 72px; height: 72px; } .social-ic .ic { width: 30px; height: 30px; } }

/* ---------- rodapé ---------- */
.site-footer { position: relative; background: var(--footer); color: #C9C5EA; padding: 80px 0 32px; font-size: 15.5px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--logo-stripe); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.brand--light .brand-text { color: #fff; }
.brand-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; }
.brand-badge img { width: 44px; }
.footer-brand p { margin-top: 20px; max-width: 360px; }
.footer-title { color: #fff; font-size: 14px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 18px !important; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: #C9C5EA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 24px; font-size: 13.5px; color: #ADA8D8; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: rgba(255, 255, 255, .14); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- botão flutuante e ampliação de card (apenas no site publicado) ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: #2E8A2A; color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(20, 60, 20, .55); transition: transform .2s, background-color .2s; }
.wa-float:hover { color: #fff; background: #25741F; transform: translateY(-2px); }
.wa-float .ic { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 58px; justify-content: center; } }

.lightbox { width: min(92vw, 520px); max-height: 94vh; padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 16, 74, .82); }
.lightbox img { width: 100%; height: auto; max-height: 90vh; object-fit: contain; border-radius: 20px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.lb-close { top: -16px; right: -16px; }
.lb-prev { left: -64px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -64px; top: 50%; transform: translateY(-50%); }
@media (max-width: 680px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 8px; right: 8px; } }

/* ---------- animação de entrada (ativada pelo JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-orbit { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ==========================================================
   Interações: agendamento rápido, animações ao rolar,
   navegação viva e cards com efeito 3D
   ========================================================== */

/* ---------- cabeçalho: encolhe ao rolar, link da seção atual e barra de progresso ---------- */
.header-inner { transition: height .3s ease; }
.brand img { transition: width .3s ease; }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .brand img { width: 46px; }
.nav a.is-active:not(.btn) { color: var(--purple-ink); background: var(--lilac-100); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: var(--progress, linear-gradient(90deg, var(--purple), #6F9CF8)); }

/* ---------- botão voltar ao topo ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 92px; z-index: 59;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .2s ease, color .2s ease;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--purple); color: #fff; }
@media (max-width: 560px) { .to-top { right: 24px; bottom: 90px; } }

/* ---------- topo: logo e ondas acompanham o mouse ---------- */
.hero-art { transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px), 0); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.hero-orb img { transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px), 0); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.hw-big { transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -14px + var(--sy, 0px)), 0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hw-corner { transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 10px), 0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }

/* ---------- entradas em sequência e sublinhado que cresce ---------- */
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal] h2::after { background-size: 0 6px, 0 1.5px; transition: background-size 1s cubic-bezier(.2, .7, .2, 1) .25s; }
.js [data-reveal].is-visible h2::after { background-size: 80px 6px, 100% 1.5px; }

/* ---------- cards com efeito 3D ---------- */
.flip-tilt { display: block; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out; }
.flip-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .38), transparent 58%); opacity: 0; transition: opacity .3s ease; }
.flip:hover .flip-face::after { opacity: 1; }
.plan { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, box-shadow .3s ease; }
.plan:hover { box-shadow: var(--shadow); }

/* ---------- agendamento rápido ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-top: 34px; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.form input[type="text"], .form select {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form select { padding-right: 46px; cursor: pointer; }
.form input[type="text"]::placeholder { color: #8A8FA8; }
.form input[type="text"]:focus, .form select:focus { outline: none; border-color: var(--accent, var(--purple)); box-shadow: 0 0 0 4px rgba(98, 57, 238, .14); }
.select { position: relative; }
.select .ic { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 15px; font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.choice:hover span { border-color: var(--accent, var(--purple)); }
.choice input:checked + span { background: var(--accent, var(--purple)); border-color: var(--accent, var(--purple)); color: #fff; transform: scale(1.04); }
.choice input:focus-visible + span { outline: 3px solid var(--accent, var(--purple)); outline-offset: 3px; }

.chat-card { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--ink); color: #fff; }
.chat-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; flex: none; }
.chat-avatar img { width: 32px; height: auto; }
.chat-head strong { display: block; font-size: 16px; font-weight: 700; }
.chat-head span { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); }
.chat-body { min-height: 230px; padding: 26px 20px; background: var(--lilac-100); }
.bubble {
  max-width: 94%; margin: 0 0 0 auto; padding: 14px 16px; border-radius: 18px 18px 4px 18px;
  background: #DDF5D8; color: #1D2B1D; font-size: 15.5px; line-height: 1.5; white-space: pre-line;
  box-shadow: 0 6px 16px -10px rgba(20, 60, 20, .4);
}
.bubble.is-updated { animation: bubble-pop .35s ease; }
@keyframes bubble-pop { 0% { transform: scale(.97); opacity: .6; } 100% { transform: none; opacity: 1; } }
.btn--wa { display: flex; margin: 0 20px 20px; background: #2E8A2A; color: #fff; box-shadow: 0 12px 26px -12px rgba(20, 60, 20, .6); }
.btn--wa:hover { background: #25741F; color: #fff; transform: translateY(-1px); }
.booking-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-stagger] > * { opacity: 1; transform: none; }
  .js [data-reveal] h2::after { background-size: 80px 6px, 100% 1.5px; }
  .hero-art, .hero-orb img, .hw-big, .hw-corner, .flip-tilt, .plan { transform: none; }
  .bubble.is-updated { animation: none; }
}

/* Modelo 2: cores da logo nas interações */
#agendar { --accent: var(--c-purple); }
:root { --progress: linear-gradient(90deg, #D2327F, #6B2C8F, #2F6DB5, #4FA3DC, #3A9E9A, #55A947, #F0A030); }
.form input[type="text"]:focus, .form select:focus { box-shadow: 0 0 0 4px rgba(107, 44, 143, .14); }
