/* =====================================================================
   FLOTY · Sistema visual partilhado (school.floty.com + lp.floty.com)
   Conceito: "a piscina vista de cima" — azulejo, raia e marcação de borda.
   Fundo claro de azulejo, faixas profundas azul-piscina, raias com
   flutuadores amarelos como divisores. Um só tema (claro), deliberado.
   ===================================================================== */

:root {
  /* Cor */
  --deep:   #1C1C1C;   /* = loja Shopify (Prestige): faixas escuras, botões, rodapé */
  --pool:   #0B5F86;   /* azul-piscina — links, botões */
  --pool-2: #0A4E70;   /* hover */
  --aqua:   #5ED3E0;   /* reflexo — destaque sobre escuro */
  --float:  #F5B41E;   /* flutuador de raia — o único acento quente */
  --tile:   #EFEFEF;   /* = cinza das secções da loja */
  --paper:  #FFFFFF;
  --ink:    #1C1C1C;   /* = texto da loja */
  --muted:  #5C5C5C;
  --line:   #E2E2E2;
  --line-dark: rgba(255,255,255,.14);
  --footer-bg: #1C1C1C;  /* = rodapé da loja Shopify */
  --footer-fg: rgba(255,255,255,.72);

  /* Tipo */
  --f-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;  /* = títulos da loja */
  --f-ui:      "Nunito", "Helvetica Neue", Arial, sans-serif;           /* = texto da loja */
  --f-read:    "Nunito", "Helvetica Neue", Arial, sans-serif;

  --step--1: .8125rem;
  --step-0:  1rem;
  --step-1:  1.1875rem;
  --step-2:  1.5rem;
  --step-3:  clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-4:  clamp(2.1rem, 1.4rem + 3vw, 3.5rem);
  --step-5:  clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);

  /* Medidas */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(8,36,58,.06), 0 8px 24px -12px rgba(8,36,58,.18);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pool); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pool-2); }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.05;
}

/* Rótulo tipo "marcação de borda de piscina" */
.eyebrow, .label {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 var(--step--1)/1 var(--f-ui);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pool);
}
.eyebrow::before {
  content: ""; width: 1.4em; height: .32em; background: currentColor; border-radius: 1px;
}
.on-deep .eyebrow, .on-deep .label { color: var(--aqua); }

/* ---------- Raia (divisor com flutuadores) ---------- */
.lane, .article .body hr {
  height: 12px; border: 0; margin: 0;
  background:
    radial-gradient(circle at 6px 6px, var(--float) 5px, transparent 5.5px) 0 0 / 48px 12px repeat-x,
    radial-gradient(circle at 6px 6px, var(--pool) 5px, transparent 5.5px) 12px 0 / 48px 12px repeat-x,
    radial-gradient(circle at 6px 6px, var(--paper) 4.5px, transparent 5px) 24px 0 / 48px 12px repeat-x,
    radial-gradient(circle at 6px 6px, var(--pool) 5px, transparent 5.5px) 36px 0 / 48px 12px repeat-x,
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 2px no-repeat;
}

/* ---------- Mídia com fundo de água (aparece enquanto a foto não carrega) ---------- */
.media {
  position: relative; overflow: hidden; background-color: var(--pool);
  background-image:
    radial-gradient(120% 80% at 20% 10%, rgba(94,211,224,.55), transparent 60%),
    radial-gradient(90% 70% at 85% 90%, rgba(8,36,58,.7), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px);
  aspect-ratio: 16 / 10; max-width: 100%;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
img.is-missing { visibility: hidden; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.25em;
  font: 600 .8125rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--deep); color: var(--paper); }
.btn-primary:hover { background: #3A3A3A; color: var(--paper); }
.on-deep .btn-primary { background: var(--paper); color: var(--deep); }
.on-deep .btn-primary:hover { background: var(--tile); color: var(--deep); }
.btn-pool { background: var(--pool); color: var(--paper); }
.btn-pool:hover { background: var(--pool-2); color: var(--paper); }
.btn-ghost { border-color: currentColor; color: var(--pool); background: transparent; }
.on-deep .btn-ghost { color: var(--paper); }
.btn-whatsapp { background: #25D366; color: #07200F; }
.btn-whatsapp:hover { background: #1FBD5B; color: #07200F; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* =====================================================================
   CABEÇALHO
   ===================================================================== */
.topbar { background: var(--pool); color: rgba(255,255,255,.88); font-size: .75rem; letter-spacing: .06em; }  /* = barra de anúncios da loja */
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--paper); text-decoration: underline; }
.topbar nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.brand-bar { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: .45rem; row-gap: 0; text-decoration: none; color: var(--deep); }
.brand-floty, .brand-school { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .02em; line-height: 1; }
.brand-floty { color: var(--deep); }
.brand-school { color: var(--pool); font-weight: 400; }
.brand-tag { flex-basis: 100%; font: 600 .6875rem/1.4 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand-logo { height: 44px; width: auto; }   /* se preferir usar o logotipo em imagem */
.header-cta { display: flex; gap: .6rem; align-items: center; }

.site-nav { border-top: 1px solid var(--line); background: rgba(11,95,134,.05); }
.nav-wrap {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; gap: clamp(1rem, 2.6vw, 2.25rem); overflow-x: auto; scrollbar-width: none;
}
.nav-wrap::-webkit-scrollbar { display: none; }
.nav-wrap a {
  flex: none; display: block; padding-block: .9rem; position: relative;
  font: 700 .8125rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav-wrap a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-wrap a:hover::after, .nav-wrap a.active::after, .nav-wrap a[aria-current="page"]::after { transform: scaleX(1); }

/* =====================================================================
   BLOG · CAPA
   ===================================================================== */
.on-deep { background: var(--deep); color: var(--paper); }
.tiles {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero { position: relative; overflow: hidden; }
.hero::before { /* luz refletida no fundo da piscina */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(94,211,224,.22), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: var(--step-5); margin-block: 1.1rem 1.2rem; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero .lede { font-size: var(--step-1); color: rgba(255,255,255,.78); max-width: 36ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  display: inline-block; padding: .5rem .9rem; border-radius: 999px; text-decoration: none;
  font: 600 .875rem/1 var(--f-ui); border: 1px solid var(--line-dark); color: var(--paper);
}
.chip:hover { border-color: var(--aqua); color: var(--aqua); }

.feature-card { display: block; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.feature-card:hover { color: var(--ink); }
.feature-card .media { aspect-ratio: 16 / 9; }
.feature-card .copy { padding: 1.5rem 1.6rem 1.7rem; display: grid; gap: .7rem; }
.feature-card h2 { font: 700 var(--step-2)/1.15 var(--f-display); }
.feature-card .tag-new { position: absolute; top: 1rem; left: 1rem; background: var(--paper); color: var(--deep); font: 700 .75rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; padding: .5rem .7rem; border-radius: 3px; }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-alt { background: var(--tile); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head h2 { font-size: var(--step-4); margin-top: .7rem; }
.section-head p { color: var(--muted); max-width: 46ch; }

/* Grelha de posts */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.post-card { display: grid; gap: .9rem; align-content: start; text-decoration: none; color: var(--ink); }
.post-card .media { border-radius: var(--radius); transition: transform .35s ease; }
.post-card:hover .media { transform: translateY(-4px); }
.post-card h3 { font: 700 1.25rem/1.25 var(--f-display); }
.post-card:hover h3 { color: var(--pool); }
.post-card .meta, .feature-card .meta { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.post-card.wide { grid-column: span 2; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1.75rem; }
.post-card.wide h3 { font-size: var(--step-3); line-height: 1.12; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cat {
  display: grid; gap: .8rem; align-content: start; padding: 1.75rem 1.5rem 2rem 0; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.cat + .cat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.cat h3 { font: 700 1.125rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.cat p { color: var(--muted); font-size: .9375rem; }
.cat:hover h3 { color: var(--pool); }

/* Vídeos */
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.video {
  position: relative; display: flex; align-items: end; aspect-ratio: 16 / 9; max-width: 100%; padding: 1rem;
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--paper);
}
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8,36,58,.85)); }
.video .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; z-index: 1; transition: scale .2s; }
.video:hover .play { scale: 1.08; }
.video .play::before { content: ""; border-left: 18px solid var(--deep); border-block: 11px solid transparent; margin-left: 5px; }
.video span { position: relative; z-index: 1; font-weight: 700; }

/* Carrossel de vídeos (home) */
.video-carousel { position: relative; }
.video-track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .3rem;
}
.video-track::-webkit-scrollbar { display: none; }
.video-track .video { flex: 0 0 min(440px, 86vw); scroll-snap-align: start; }
.video.is-playing { padding: 0; align-items: stretch; }
.video.is-playing::after, .video.is-playing .play, .video.is-playing span:not(.frame) { display: none; }
.video .frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button.play { border: 0; padding: 0; cursor: pointer; }
.video-arrows { display: flex; gap: .5rem; }
.video-arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}
.video-arrow:hover { border-color: var(--pool); color: var(--pool); }
.video-arrow svg { width: 18px; height: 18px; }

/* Newsletter */
.newsletter .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.newsletter h2 { font-size: var(--step-4); margin-top: .8rem; }
.newsletter p { color: rgba(255,255,255,.78); margin-top: 1rem; max-width: 44ch; }
.newsletter .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =====================================================================
   ARTIGO
   ===================================================================== */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 60; background: var(--pool); transform-origin: left; transform: scaleX(0); }

.article-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.article-head .wrap { padding-block: clamp(2.2rem, 5vw, 4rem) 2.5rem; max-width: 980px; }
.crumbs { font-size: var(--step--1); color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pool); }
.article-head h1 { font-size: var(--step-5); margin-block: 1rem 1.25rem; color: var(--deep); }
.article-head .lede { font: 400 var(--step-1)/1.55 var(--f-read); color: var(--muted); max-width: 60ch; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.8rem; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.byline .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: var(--paper); display: grid; place-items: center; font: 700 .8rem/1 var(--f-display); }
.byline strong { color: var(--ink); }

.content-wrap {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); padding-block: 0 4rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start;
}
.article { min-width: 0; }
/* compatibilidade com o HTML já gerado: cabeçalho dentro do <article> */
.article > .eyebrow { margin-top: 3rem; }
.article > h1 { font-size: var(--step-5); margin-block: 1rem; color: var(--deep); }
.article > .meta { color: var(--muted); font-size: .9375rem; }

.article .featured { margin: 2.5rem 0 0; border-radius: var(--radius); overflow: hidden; }
.article .featured.media { aspect-ratio: 16 / 9; }

.article .body {
  font: 400 1.1875rem/1.75 var(--f-read);
  color: #1B2B35;
  max-width: 68ch; padding-top: 2.6rem;
  display: flow-root;
}
.article .body > * + * { margin-top: 1.25em; }
.article .body p:first-child::first-letter {
  float: left; font: 700 4.1em/.78 var(--f-display); color: var(--pool); margin: .07em .1em 0 0;
}
.article .body h2 { font: 700 var(--step-3)/1.15 var(--f-display); color: var(--deep); margin-top: 2.2em; scroll-margin-top: 140px; }
.article .body h3 { font: 700 1.3rem/1.3 var(--f-display); color: var(--deep); margin-top: 1.9em; scroll-margin-top: 140px; }
.article .body h2 + *, .article .body h3 + * { margin-top: .7em; }
.article .body hr { margin-block: 2.6em; }
.article .body strong, .article .body b { font-weight: 600; color: var(--ink); }
.article .body blockquote { margin-inline: 0; padding: .2em 0 .2em 1.3em; border-left: 4px solid var(--pool); font-style: italic; color: var(--deep); font-size: 1.25em; }
.article .body ul, .article .body ol { padding-left: 1.2em; }
.article .body li + li { margin-top: .4em; }
.article .body li::marker { color: var(--pool); font-weight: 700; }
.article .body table { width: 100%; border-collapse: collapse; font: .95rem/1.5 var(--f-ui); display: block; overflow-x: auto; }
.article .body th, .article .body td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--line); }
.article .body th { font-weight: 700; color: var(--deep); background: var(--paper); }
.article .body figure { margin-inline: 0; }
.article .body figure a { display: block; border-radius: var(--radius); overflow: hidden; }
.article .body figure img { width: 100%; background: var(--pool); transition: transform .4s ease; }
.article .body figure a:hover img { transform: scale(1.02); }
.article .body figcaption { font: 600 .875rem/1.4 var(--f-ui); color: var(--muted); margin-top: .75rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.article .body figure:has(> a[href*="floty.com"]) figcaption::after { content: "Ver na loja Floty →"; color: var(--pool); }

/* Bloco de produto no fim do artigo */
.cta-card {
  margin-top: 3rem; padding: 2rem; border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 2rem; align-items: center;
  max-width: 68ch;
}
.cta-card h2 { font: 700 var(--step-2)/1.15 var(--f-display); margin-top: .6rem; }
.cta-card p { color: rgba(255,255,255,.78); margin-top: .5rem; }

.share { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 68ch; }
.share .label { color: var(--muted); margin-right: .4rem; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: 600 .875rem/1 var(--f-ui); cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--pool); color: var(--pool); }

/* Barra lateral */
.sidebar { position: sticky; top: 140px; display: grid; gap: 2rem; padding-top: 3rem; min-width: 0; }
.sidebar h2 { font: 700 var(--step--1)/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.toc li.sub a { padding-left: 1.9rem; font-size: .875rem; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--pool); border-left-color: var(--pool); font-weight: 600; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; }
.recent-list li { border-top: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: 1px solid var(--line); }
.recent-list a { display: block; padding: .85rem 0; color: var(--ink); text-decoration: none; font: 600 .9375rem/1.35 var(--f-ui); }
.recent-list a:hover { color: var(--pool); }
.side-news { padding: 1.4rem; border-radius: var(--radius); }
.side-news p { color: rgba(255,255,255,.8); font-size: .9375rem; margin-block: .6rem 1rem; }
.side-news strong { font: 700 1.15rem/1.2 var(--f-display); display: block; }

.related { border-top: 1px solid var(--line); background: var(--paper); }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); font-size: .9375rem; }
.footer-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); padding-block: 3.5rem 2.5rem; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand .brand-floty { color: var(--paper); }
.footer-brand .brand-school { color: var(--aqua); }
.footer-brand p { margin-top: .9rem; max-width: 32ch; }
.footer-col h3 { font: 600 var(--step--1)/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--paper); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.footer-bottom { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; }

/* =====================================================================
   LANDING PAGE (lp.floty.com)
   ===================================================================== */
.lp-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.lp-header .brand-school { color: var(--pool); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.lp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.lp-hero h1 { font-size: var(--step-5); margin-block: 1.2rem; }
.lp-hero h1 em { font-style: normal; color: var(--aqua); }
.lp-hero .lede { font-size: var(--step-1); color: rgba(255,255,255,.8); max-width: 40ch; }
.lp-hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: .875rem; color: rgba(255,255,255,.7); }
.trust b { color: var(--paper); font-family: var(--f-display); font-size: 1.05rem; margin-right: .3em; }

/* Ilustração: duas raias a flutuar sobre a piscina */
.pool-visual {
  position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(94,211,224,.45), transparent 70%),
    linear-gradient(160deg, #1586A8, #0B5F86 55%, #08405E);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.pool-visual::before { /* azulejo + cáusticas */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 30px 30px,
    repeating-radial-gradient(circle at 70% 120%, rgba(255,255,255,.05) 0 6px, transparent 6px 26px);
}
.pool-visual .floor-line { position: absolute; left: 50%; top: 10%; bottom: 10%; width: 14px; translate: -50% 0; background: rgba(8,36,58,.55); border-radius: 2px; }
.pool-visual .floor-line::before, .pool-visual .floor-line::after { content: ""; position: absolute; left: 50%; translate: -50% 0; width: 70px; height: 14px; background: inherit; border-radius: 2px; }
.pool-visual .floor-line::before { top: 0; } .pool-visual .floor-line::after { bottom: 0; }
.rope {
  position: absolute; left: -5%; right: -5%; height: 26px;
  background:
    radial-gradient(circle at 13px 13px, var(--float) 11px, transparent 11.5px) 0 0 / 104px 26px repeat-x,
    radial-gradient(circle at 13px 13px, #2D8C5A 11px, transparent 11.5px) 26px 0 / 104px 26px repeat-x,
    radial-gradient(circle at 13px 13px, #F7FAF8 10px, transparent 10.5px) 52px 0 / 104px 26px repeat-x,
    radial-gradient(circle at 13px 13px, #2D8C5A 11px, transparent 11.5px) 78px 0 / 104px 26px repeat-x;
  filter: drop-shadow(0 10px 6px rgba(0,0,0,.25));
  animation: bob 6s ease-in-out infinite;
}
.rope.r1 { top: 26%; } .rope.r2 { top: 66%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translate(-12px, 4px); } }
.seal {
  position: absolute; right: 6%; bottom: 7%; width: 132px; aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); color: #1F6B45; display: grid; place-items: center; text-align: center; padding: 14px;
  font: 700 .78rem/1.15 var(--f-ui); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 0 0 6px rgba(255,255,255,.25), 0 14px 30px -10px rgba(0,0,0,.5); rotate: -8deg;
}
.seal b { display: block; font-size: 1.35rem; letter-spacing: 0; color: var(--deep); }

.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 1.8rem 1.4rem 1.8rem 0; display: grid; gap: .35rem; align-content: start; }
.fact + .fact { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.fact b { font: 700 var(--step-3)/1 var(--f-display); color: var(--pool); }
.fact span { color: var(--muted); font-size: .9375rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split h2 { font-size: var(--step-4); margin-block: .8rem 1.2rem; color: var(--deep); }
.split p + p { margin-top: 1rem; }
.split .copy { color: #1B2B35; font-size: 1.0625rem; min-width: 0; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: start; }
.check-list li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308243A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

.models { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.model { position: relative; display: grid; gap: .5rem; align-content: start; padding: 1.4rem 1.2rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.model:hover { border-color: var(--pool); transform: translateY(-3px); color: var(--ink); }
.model .city { font: 700 1.35rem/1 var(--f-display); text-transform: uppercase; color: var(--deep); }
.model .lane-mini { height: 12px; margin-block: .4rem .3rem; }
.model small { color: var(--pool); font-weight: 700; }
.model.is-bio { border-color: #2D8C5A; box-shadow: inset 0 0 0 1px #2D8C5A; }
.model .badge { position: absolute; top: -10px; right: 12px; background: #2D8C5A; color: var(--paper); font: 700 .6875rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; padding: .4rem .55rem; border-radius: 3px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.step { counter-increment: s; padding-top: 1.2rem; border-top: 2px solid var(--aqua); }
.step::before { content: counter(s, decimal-leading-zero); font: 700 var(--step-3)/1 var(--f-display); color: var(--aqua); }
.step h3 { font: 700 1.15rem/1.25 var(--f-display); margin-block: .8rem .4rem; }
.step p { color: rgba(255,255,255,.75); }

/* Formulário */
.form-card { background: var(--paper); border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 700 .8125rem/1.2 var(--f-ui); color: var(--deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: 400 1rem/1.4 var(--f-ui); color: var(--ink);
  background: var(--tile); border: 1px solid var(--line); border-radius: 6px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pool); box-shadow: 0 0 0 3px rgba(11,95,134,.18); background: var(--paper); }
.form-note { font-size: .8125rem; color: var(--muted); margin-top: 1rem; }
.form-ok { margin-top: 1rem; padding: .9rem 1rem; border-radius: 6px; background: #E6F4EC; color: #1F6B45; font-weight: 600; }

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font: 700 1.125rem/1.35 var(--f-display); color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font: 400 1.8rem/1 var(--f-ui); color: var(--pool); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 1.4rem; color: #1B2B35; max-width: 65ch; }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #07200F; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.45);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1024px) {
  .content-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sidebar { position: static; padding-top: 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .toc { display: none; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .models { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap, .lp-hero .wrap, .newsletter .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .cat-grid, .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .video-row, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .topbar nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .post-grid, .cat-grid, .sidebar, .form-grid, .footer-wrap, .facts .wrap { grid-template-columns: minmax(0, 1fr); }
  .cat, .cat + .cat { padding-left: 0; border-left: 0; }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article .body { font-size: 1.0625rem; }
  .brand-floty, .brand-school { font-size: 1.25rem; }
  .seal { width: 104px; font-size: .66rem; }
  .seal b { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   LOGOTIPO OFICIAL (com texto de reserva se a imagem faltar)
   ===================================================================== */
.brand .brand-logo { display: none; }
.brand.has-logo .brand-logo { display: block; width: 255px; max-width: 100%; height: auto; }  /* = loja: 255px */
.brand.has-logo > span { display: none; }

.footer-brand .brand-logo { width: 200px; max-width: 100%; height: auto; margin-bottom: .4rem; }
.footer-brand.has-logo > span { display: none; }
.footer-brand:not(.has-logo) .brand-logo { display: none; }
.btn .short { display: none; }

/* =====================================================================
   LP CLUBES — blocos extra
   ===================================================================== */
.hero-photo { margin: 0; display: grid; gap: .7rem; min-width: 0; }
.hero-photo .media { aspect-ratio: 4 / 3; border-radius: 10px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.hero-photo figcaption { font-size: .8125rem; color: rgba(255,255,255,.7); }
.hero-note { margin-top: .9rem; font-size: .875rem; color: rgba(255,255,255,.7); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.product { display: grid; gap: .9rem; align-content: start; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product .media { aspect-ratio: 4 / 3; }
.product .copy { padding: .4rem 1.4rem 1.6rem; display: grid; gap: .65rem; }
.product h3 { font: 700 1.35rem/1.15 var(--f-display); color: var(--deep); }
.product p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.tags span { font: 600 .75rem/1 var(--f-ui); padding: .45rem .6rem; border-radius: 999px; background: var(--tile); color: var(--pool); border: 1px solid var(--line); }

/* Escolha de cores da raia */
.rope-demo { display: grid; gap: 1.4rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 10px; min-width: 0;
  background: linear-gradient(160deg, #1586A8, #0B5F86 55%, #08405E); position: relative; overflow: hidden; }
.rope-demo::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 30px 30px; }
.rope-demo > * { position: relative; }
.rope-live { height: 30px; --c1: #F5B41E; --c2: #0B5F86;
  background:
    radial-gradient(circle at 15px 15px, var(--c1) 13px, transparent 13.5px) 0 0 / 60px 30px repeat-x,
    radial-gradient(circle at 15px 15px, var(--c2) 13px, transparent 13.5px) 30px 0 / 60px 30px repeat-x;
  filter: drop-shadow(0 8px 5px rgba(0,0,0,.3)); }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .85rem 0 .45rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(8,36,58,.35); color: var(--paper); font: 600 .875rem/1 var(--f-ui); cursor: pointer; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.swatch[aria-pressed="true"] { border-color: var(--float); box-shadow: 0 0 0 2px var(--float); }
.rope-demo .hint { color: rgba(255,255,255,.8); font-size: .875rem; }

/* Tabela de manutenção */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.care { width: 100%; border-collapse: collapse; min-width: 520px; }
.care th, .care td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.care tr:last-child td { border-bottom: 0; }
.care thead th { font: 700 var(--step--1)/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--tile); }
.care td:first-child { font: 700 1.05rem/1.2 var(--f-display); color: var(--deep); white-space: nowrap; }
.spec-note { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }

.final-cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.final-cta h2 { font-size: var(--step-4); margin-top: .8rem; }
.final-cta p { color: rgba(255,255,255,.78); margin-top: .9rem; max-width: 50ch; }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .final-cta .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .brand.has-logo .brand-logo { width: 155px; }  /* = loja no telemóvel: 155px */
  .lp-hero .actions .btn { width: 100%; }
}

/* =====================================================================
   MENU DO TELEMÓVEL — gaveta lateral (mesmo padrão do tema da loja)
   ===================================================================== */
.menu-btn, .drawer-close {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0; margin-left: -10px;
  background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 6px;
}
.drawer-close { display: grid; margin: 0 -10px 0 0; }
.menu-btn svg, .drawer-close svg { width: 24px; height: 24px; }

.drawer {
  position: fixed; inset: 0 auto 0 0; margin: 0; height: 100%; max-height: 100%;
  width: min(86vw, 380px); max-width: 100%; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.7,.2,1), overlay .3s allow-discrete, display .3s allow-discrete;
}
.drawer:not([open]) { display: none; }
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(-100%); } }
.drawer::backdrop { background: rgba(28,28,28,.45); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.25rem; border-bottom: 1px solid var(--line); min-height: 64px; }
.drawer-title { font: 600 .75rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.drawer nav { flex: 1; overflow-y: auto; }
.drawer-links { list-style: none; margin: 0; padding: 0 1.25rem; }
.drawer-links li { border-bottom: 1px solid var(--line); }
.drawer-links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font: 500 1.0625rem/1.2 var(--f-display); letter-spacing: .02em; color: var(--ink); text-decoration: none;
}
.drawer-links a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .45; }
.drawer-links a[aria-current="page"] { color: var(--pool); }
.drawer-foot { padding: 1.25rem; display: grid; gap: 1.1rem; background: var(--tile); }
.drawer-foot .btn { width: 100%; }
.drawer-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; }
.drawer-meta a { color: var(--muted); text-decoration: none; }
.drawer-meta a:hover { color: var(--ink); }
body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .site-nav, .header-cta { display: none; }
  .brand-bar { display: grid; grid-template-columns: 44px 1fr 44px; min-height: 64px; }
  .brand-bar .brand { justify-self: center; }
  .brand-tag { display: none; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar nav { display: none; }
}
