/* ==========================================================================
   Spa do Sorriso — Folha de estilos principal
   Mobile first · HTML5 + CSS3 · sem dependências
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --blue: #006EBC;
  --blue-700: #005a9b;
  --blue-800: #00497e;
  --cyan: #0EDCFC;
  --ink: #263447;
  --ink-soft: #4d5c70;
  --muted: #5d6c80;
  --bg: #FFFFFF;
  --bg-alt: #F3FAFE;
  --line: #e2edf5;
  --line-strong: #cfe1ee;
  --wa: #178f45;
  --wa-700: #127a3a;

  --grad: linear-gradient(135deg, #006EBC 0%, #0a8fd8 55%, #0EDCFC 130%);
  --grad-soft: linear-gradient(135deg, rgba(0,110,188,.08), rgba(14,220,252,.10));
  --grad-text: linear-gradient(100deg, #006EBC 10%, #0aa6e6 90%);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-xs: 0 1px 2px rgba(16, 42, 74, .06);
  --shadow-sm: 0 4px 14px -6px rgba(16, 42, 74, .14);
  --shadow: 0 18px 40px -22px rgba(0, 62, 110, .30);
  --shadow-lg: 0 40px 80px -40px rgba(0, 62, 110, .40);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 84px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(14,220,252,.3); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 5rem + 3vw, 128px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(48px, 3rem + 2vw, 88px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 3vw + 1rem, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }

.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); line-height: 1.75; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--grad); background-size: 140% 140%; box-shadow: 0 14px 28px -14px rgba(0,110,188,.75); }
.btn--primary:hover { box-shadow: 0 20px 36px -16px rgba(0,110,188,.85); background-position: 100% 0; }
.btn--wa { --btn-bg: var(--wa); box-shadow: 0 14px 28px -16px rgba(23,143,69,.7); }
.btn--wa:hover { --btn-bg: var(--wa-700); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--blue); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--blue); --btn-fg: var(--blue-700); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue); }
.btn--white:hover { --btn-fg: var(--blue-800); box-shadow: 0 16px 34px -18px rgba(0,0,0,.45); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); border-color: #fff; }
.btn--instagram { background: linear-gradient(120deg, #6a3df0 0%, #c1307f 50%, #e8742c 100%); --btn-fg: #fff; box-shadow: 0 14px 28px -14px rgba(193,48,127,.65); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--blue); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0,50,90,.5); background: rgba(255,255,255,.95); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 50px; width: auto; }
@media (min-width: 768px) { .brand img { height: 64px; } }
main { padding-top: var(--header-h); }

.nav { display: none; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--blue);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink);
  text-decoration: none; padding: 10px 2px; background: none; border: 0; position: relative;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }

/* Mobile drawer */
@media (max-width: 1079.98px) {
  .nav {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; overflow-y: auto; padding: 16px var(--gutter) 120px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 1.1rem; }
  .has-sub[aria-expanded] .icon { }
  .submenu { list-style: none; margin: 0; padding: 0 0 14px; display: none; }
  .has-sub.is-open .submenu { display: grid; gap: 2px; }
  .has-sub.is-open > .nav-link .icon { transform: rotate(180deg); }
  .submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
  .submenu a:hover { background: var(--bg-alt); color: var(--blue); }
  .submenu .sub-icon { width: 34px; height: 34px; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
}

/* Desktop nav */
@media (min-width: 1080px) {
  .nav-toggle, .nav-mobile-cta { display: none; }
  .nav { display: block; }
  .nav-list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
  .nav-list > li { position: relative; }
  .nav-list > li > .nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav-list > li > .nav-link:hover::after, .nav-list > li > .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .submenu {
    list-style: none; margin: 0; padding: 12px; position: absolute; top: calc(100% + 14px); left: 50%;
    width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
  }
  .has-sub:hover > .nav-link .icon, .has-sub.is-open > .nav-link .icon { transform: rotate(180deg); }
  .submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .93rem; line-height: 1.3; transition: background-color .2s; }
  .submenu a:hover { background: var(--bg-alt); color: var(--blue); }
  .header-cta { display: inline-flex; }
}
.sub-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-soft); color: var(--blue); flex: none; }
.sub-icon .icon { width: 20px; height: 20px; }

/* ---------- Hero slider (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(14,220,252,.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(0,110,188,.10) 0%, transparent 60%),
    var(--bg-alt);
  padding-block: 32px 56px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(0,110,188,.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
}
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; gap: 32px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide-copy > * { transform: translateY(18px); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.slide.is-active .slide-copy > * { transform: none; opacity: 1; }
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .24s; }
.slide-copy h1, .slide-copy .h1 { margin-bottom: 20px; font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.9rem); font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.slide-copy .lead { max-width: 540px; margin-bottom: 30px; }
.slide-media { position: relative; }
.slide-media .frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg); transform: scale(1.03); transition: transform 1.6s var(--ease);
}
.slide.is-active .slide-media .frame { transform: none; }
.slide-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.slide-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(0,73,126,.28)); }
.slide-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 70%; z-index: -1;
  border-radius: var(--radius-xl); background: var(--grad); opacity: .9;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 18px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow); font-family: var(--font-head); font-size: .86rem; line-height: 1.3;
}
.float-card strong { display: block; font-weight: 600; color: var(--ink); }
.float-card span { color: var(--muted); font-family: var(--font-body); font-size: .8rem; }
.float-card .sub-icon { width: 42px; height: 42px; background: var(--grad); color: #fff; }
.float-card--a { left: -12px; bottom: 28px; }
.float-card--b { right: 16px; top: 18px; display: none; }
@media (min-width: 560px) { .float-card--b { display: flex; } }
.float-card { animation: floaty 6s ease-in-out infinite; }
.float-card--b { animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero-controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-strong); color: var(--blue);
  transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s;
}
.hero-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot { position: relative; width: 44px; height: 24px; border: 0; background: none; padding: 0; }
.hero-dot::before { content: ""; position: absolute; inset: 10px 0; border-radius: 4px; background: var(--line-strong); }
.hero-dot span { position: absolute; inset: 10px auto 10px 0; width: 0; border-radius: 4px; background: var(--grad); }
.hero-dot[aria-current="true"] span { width: 100%; transition: width var(--slide-ms, 7000ms) linear; }
.hero.is-paused .hero-dot[aria-current="true"] span, .hero.no-autoplay .hero-dot[aria-current="true"] span { transition: none; width: 100%; }
.hero-count { font-family: var(--font-head); font-size: .85rem; color: var(--muted); margin-left: auto; letter-spacing: .1em; }

@media (min-width: 960px) {
  .hero { padding-block: 56px 88px; min-height: min(780px, calc(100vh - var(--header-h))); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .slide { grid-template-columns: 1.02fr 1fr; gap: 64px; }
  .slide-media .frame { aspect-ratio: 5 / 5.2; }
  .float-card--a { left: -36px; bottom: 48px; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; line-height: 1.35; color: var(--ink); }
.trust-list .icon { color: var(--blue); width: 22px; height: 22px; }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); padding: 28px 0; } }

/* ---------- Treatment cards ---------- */
.cards-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.t-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.t-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue); }
.t-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: saturate(.9); }
.t-card:hover .t-media img { transform: scale(1.12); }
.t-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--t-angle, 150deg), rgba(0,80,140,.86) 0%, rgba(0,110,188,.6) 50%, rgba(14,220,252,.22) 100%);
}
.t-badge {
  position: absolute; z-index: 1; left: 22px; bottom: 20px; width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.t-badge .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.t-num { position: absolute; z-index: 1; right: 20px; top: 14px; font-family: var(--font-head); font-weight: 600; font-size: 3.2rem; line-height: 1; color: rgba(255,255,255,.22); letter-spacing: -.04em; }
.t-tag { position: absolute; z-index: 1; left: 22px; top: 20px; font-family: var(--font-head); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.t-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.t-body h3 { margin-bottom: 10px; }
.t-body h3 a { color: inherit; text-decoration: none; }
.t-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.t-body p { color: var(--muted); font-size: .97rem; margin-bottom: 22px; }
.t-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.t-wa { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--wa); background: rgba(23,143,69,.09); transition: background-color .25s, color .25s; }
.t-wa:hover { background: var(--wa); color: #fff; }
.t-wa .icon { width: 20px; height: 20px; }

/* CTA card inside grid */
.t-card--cta { background: var(--grad); color: #fff; border: 0; padding: 32px 28px; justify-content: center; }
.t-card--cta h3, .t-card--cta p { color: #fff; }
.t-card--cta p { opacity: .9; }
.t-card--cta::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }

/* ---------- About (home) ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.collage { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.collage .c2 { aspect-ratio: 1; }
.collage .c3 { aspect-ratio: 1; }
.collage-badge {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  background: #fff; border-radius: 999px; padding: 10px 22px 10px 10px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); white-space: nowrap; font-family: var(--font-head); font-weight: 500; font-size: .9rem;
}
.collage-badge .sub-icon { background: var(--grad); color: #fff; border-radius: 50%; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--blue); margin-top: 3px; width: 22px; height: 22px; }
.signature { font-family: var(--font-head); font-weight: 500; color: var(--blue); font-style: italic; }

/* ---------- Differentials ---------- */
.diff-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.diff {
  position: relative; padding: 32px 26px 30px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.diff::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.diff:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.diff:hover::after { transform: scaleX(1); }
.diff-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--grad); box-shadow: 0 14px 26px -14px rgba(0,110,188,.8); }
.diff-icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.diff h3 { font-size: 1.15rem; margin-bottom: 8px; }
.diff p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--blue .diff { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  background: var(--grad); color: #fff; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px);
  display: grid; gap: 28px; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -160px; border: 70px solid rgba(255,255,255,.07); }
.cta-band::after { width: 240px; height: 240px; left: -80px; bottom: -120px; background: rgba(14,220,252,.25); filter: blur(30px); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; opacity: .92; max-width: 560px; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1.3fr auto; } }

/* ---------- Location ---------- */
.loc-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .loc-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-xs); }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .sub-icon { width: 48px; height: 48px; border-radius: 14px; }
.info-list .sub-icon .icon { width: 22px; height: 22px; }
.info-list small { display: block; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info-list a, .info-list address { font-style: normal; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.55; }
.info-list a:hover { color: var(--blue); }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wrap--lg { min-height: 460px; }

/* ---------- Page hero (internal) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(14,220,252,.16), transparent 60%),
    var(--bg-alt);
  padding-block: 28px clamp(48px, 6vw, 88px);
}
.page-hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 28px; max-width: 600px; }
.page-hero-media { position: relative; }
.page-hero-media .frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); position: relative; }
.page-hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(0,73,126,.35)); }
.page-hero-media::before { content: ""; position: absolute; inset: 22px -16px -16px 22px; z-index: -1; border-radius: var(--radius-xl); background: var(--grad); opacity: .85; }
.page-hero-media .t-badge { left: 22px; bottom: 22px; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--simple { padding-bottom: clamp(40px, 5vw, 72px); }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Article (treatment) ---------- */
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose > section { padding-bottom: clamp(36px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); margin-bottom: 18px; }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul:not([class]) li { margin-bottom: .45em; }
.prose ul:not([class]) li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .h2-num { display: inline-block; font-size: .8rem; font-family: var(--font-head); color: var(--blue); letter-spacing: .14em; margin-bottom: 8px; font-weight: 600; }

.pill-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .pill-list { grid-template-columns: 1fr 1fr; } }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); line-height: 1.5; font-size: .98rem; }
.pill-list .icon { color: var(--blue); margin-top: 2px; }

.pro-con { display: grid; gap: 18px; margin-top: 20px; }
@media (min-width: 720px) { .pro-con { grid-template-columns: 1fr 1fr; } }
.pro-con > div { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.pro-con .pros { background: linear-gradient(160deg, rgba(0,110,188,.06), rgba(14,220,252,.06)); }
.pro-con .cons { background: #fff; }
.pro-con h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.pro-con h3 .icon { color: var(--blue); }
.pro-con ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pro-con li { position: relative; padding-left: 22px; font-size: .97rem; line-height: 1.55; }
.pro-con li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.pro-con .cons li::before { background: var(--line-strong); }

.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 68px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; background: var(--grad);
  box-shadow: 0 10px 20px -12px rgba(0,110,188,.8);
}
.steps li::after { content: ""; position: absolute; left: 22px; top: 54px; bottom: 6px; width: 2px; background: linear-gradient(var(--line-strong), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; }

.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px;
  background: var(--bg-alt); border-left: 4px solid var(--blue); font-size: .95rem; color: var(--ink-soft); margin-top: 24px;
}
.note .icon { color: var(--blue); margin-top: 2px; }
.note p { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--blue); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq .faq-a { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 20px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 30px 26px; background: var(--grad); color: #fff; }
.side-cta::before { content: ""; position: absolute; width: 200px; height: 200px; right: -70px; top: -70px; border-radius: 50%; border: 34px solid rgba(255,255,255,.08); }
.side-cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.side-cta p { opacity: .92; font-size: .95rem; margin-bottom: 20px; }
.side-cta .btn { width: 100%; }
.side-cta .btn + .btn { margin-top: 10px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; display: none; }
@media (min-width: 1024px) { .toc { display: block; } }
.toc h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-soft); font-size: .93rem; line-height: 1.4; border-left: 2px solid transparent; transition: background-color .2s, color .2s; }
.toc a:hover, .toc a.is-active { color: var(--blue); background: var(--bg-alt); border-left-color: var(--blue); }

/* Instagram/WhatsApp CTA */
.social-cta { display: grid; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.social-cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.social-cta h2 { margin-bottom: 10px; }
.social-cta p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .social-cta { grid-template-columns: 1.2fr auto; } }

/* Disclaimer */
.disclaimer { font-size: .86rem; color: var(--muted); line-height: 1.6; display: flex; gap: 12px; align-items: flex-start; }
.disclaimer .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- About page ---------- */
.story { display: grid; gap: 40px; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.story-text p { color: var(--ink-soft); font-size: 1.05rem; }
.story-text .quote { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; color: var(--ink); font-weight: 500; border-left: 3px solid; border-image: var(--grad) 1; padding-left: 22px; margin: 28px 0; }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 18px; } }
.g-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; padding: 0; border: 0; background: var(--bg-alt); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,50,90,.55)); opacity: 0; transition: opacity .4s; }
.g-item .g-zoom { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--blue); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-item.g-wide { grid-column: span 2; }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(8, 24, 42, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 14px; font-size: .95rem; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; transition: background-color .25s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .diff-icon { margin-bottom: 14px; }
.contact-card h2 { font-size: 1.15rem; margin: 0; }
.contact-card p { margin: 0 0 14px; color: var(--muted); font-size: .97rem; }
.contact-card .link-arrow { margin-top: auto; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: rgba(255,255,255,.86); position: relative; overflow: hidden; isolation: isolate; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(14,220,252,.35), transparent 65%); }
.footer-top { display: grid; gap: 40px; padding-block: clamp(56px, 6vw, 88px) 40px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.35fr .8fr 1.1fr 1.2fr; gap: 48px; } }
.footer-logo { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 18px; margin-bottom: 20px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); margin-top: 4px; width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); transition: background-color .25s, border-color .25s; }
.socials a:hover { background: #fff; color: var(--blue); border-color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; color: rgba(255,255,255,.78); }
.footer-bottom p { margin: 0; }
.footer-cta { margin-top: 22px; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: none; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -10px rgba(18,122,58,.7);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; background: var(--wa-700); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1.4fr 1fr;
  background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,40,80,.4);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px; transition: transform .35s var(--ease);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; text-decoration: none; font-family: var(--font-head); font-size: .75rem; font-weight: 500; color: var(--ink); }
.mobile-bar a .icon { width: 22px; height: 22px; color: var(--blue); }
.mobile-bar .mb-wa { background: var(--wa); color: #fff; flex-direction: row; gap: 8px; font-size: .9rem; font-weight: 600; }
.mobile-bar .mb-wa .icon { color: #fff; }
.nav-open .mobile-bar { transform: translateY(110%); }
@media (max-width: 767.98px) { body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } .wa-float { display: grid; } }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Instagram elements stay hidden until configured in config.js */
[data-instagram][hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .wa-float, .sidebar, .hero-controls { display: none !important; }
  main { padding-top: 0; }
}

/* ---------- Ajustes ---------- */
@media (min-width: 1024px) { .cta-span { grid-column: span 2; } }
.has-sub.is-current > .nav-link { color: var(--blue); }
.nowrap { white-space: nowrap; }
