/* ==========================================================================
   EquilibraMente Clínica | Psicologia e Nutrição
   Folha de estilo única
   Secções: Reset, Variables, Base, Layout, Components, Animations, Responsive
   ========================================================================== */

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body,
h1, h2, h3, h4, p,
figure, blockquote, dl, dd,
ul, ol, fieldset, legend { margin: 0; padding: 0; }

ul[role="list"],
ol[role="list"] { list-style: none; }

fieldset { border: 0; min-width: 0; }

img,
picture,
svg { display: block; max-width: 100%; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

address { font-style: normal; }

details summary::-webkit-details-marker { display: none; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Cor: fundos */
  --c-bg:            #F8FBFD;
  --c-bg-alt:        #E8F4FA;
  --c-bg-psi:        #F0EAF8;
  --c-bg-nut:        #EEF5E8;
  --c-surface:       #FFFFFF;

  /* Cor: marca */
  --c-primary:       #574568;
  --c-primary-hover: #463654;
  --c-secondary:     #146C94;
  --c-secondary-hover:#0F5675;
  --c-green-text:    #3D7A2E;
  --c-leaf:          #8CC152;
  --c-sky:           #9DD6F3;

  /* Cor: texto */
  --c-text:          #2B3440;
  --c-text-soft:     #4E5A68;
  --c-text-on-dark:  #FFFFFF;
  --c-border:        #D6E3EC;
  --c-border-strong: #7C95A6; /* contorno de controlos, 3,2:1 sobre fundos claros */

  /* Gradientes */
  --g-brand:  linear-gradient(120deg, #E8F4FA 0%, #F0EAF8 100%);
  --g-symbol: linear-gradient(90deg, #9DD6F3 0%, #9DD6F3 50%, #7A6191 50%, #7A6191 100%);

  /* Tipografia */
  --ff-display: "Sora", "Trebuchet MS", sans-serif;
  --ff-body:    "Albert Sans", "Segoe UI", sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4:   clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-h3:   clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --fs-h2:   clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h1:   clamp(2.3rem, 1.75rem + 2.6vw, 4rem);

  --lh-tight: 1.1;
  --lh-head:  1.25;
  --lh-body:  1.65;

  /* Espaçamento */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-section: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Layout */
  --container: 72rem;
  --container-narrow: 46rem;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);

  /* Forma e profundidade */
  --r-sm: 0.5rem; --r-md: 1rem; --r-lg: 1.75rem; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43, 52, 64, .06), 0 2px 8px rgba(43, 52, 64, .05);
  --shadow-md: 0 8px 28px rgba(87, 69, 104, .10);
  --shadow-lg: 0 24px 60px rgba(43, 52, 64, .12), 0 4px 14px rgba(43, 52, 64, .06);
  --focus-ring: 0 0 0 3px #F8FBFD, 0 0 0 5px #146C94;
  --focus-ring-dark: 0 0 0 3px #2B3440, 0 0 0 5px #9DD6F3;

  /* Movimento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms; --t-med: 320ms; --t-slow: 640ms;

  --nav-h: 4.5rem;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--c-primary);
  line-height: var(--lh-head);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.01em; }

p {
  font-size: var(--fs-base);
  text-wrap: pretty;
}

p, li { max-width: 65ch; }

strong { font-weight: 700; }

.lead {
  font-size: var(--fs-lead);
  color: var(--c-text-soft);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-leaf));
  flex: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

a.link-inline {
  color: var(--c-secondary);
  font-weight: 600;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

a.link-inline:hover { color: var(--c-secondary-hover); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding-block: var(--sp-section);
}

.section__head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section__head .lead { margin-top: var(--sp-4); }

.section__head--center {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.section__head--center .eyebrow { justify-content: center; }
.section__head--center p { margin-inline: auto; }

/* ==========================================================================
   Components
   ========================================================================== */

/* --- Marca ---------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-primary);
}

.brand__mark {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 0.9rem;
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
}

.brand__mark img {
  position: absolute;
  width: 208%;
  height: auto;
  max-width: none;
  left: -54%;
  top: -34%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--c-secondary);
}

.brand__name strong { font-weight: 700; color: var(--c-primary); }

.brand__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green-text);
  margin-top: .2rem;
}

/* --- Botões --------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 2.875rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--c-primary);
  --btn-fg: var(--c-text-on-dark);
  box-shadow: 0 6px 18px rgba(87, 69, 104, .24);
}

.btn--primary:hover { --btn-bg: var(--c-primary-hover); box-shadow: 0 10px 24px rgba(87, 69, 104, .3); }

.btn--ghost {
  --btn-fg: var(--c-primary);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1.5px var(--c-border-strong);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--c-primary);
  background: var(--c-surface);
}

.btn--lg {
  min-height: 3.25rem;
  padding: 0.9rem 1.8rem;
  font-size: var(--fs-base);
}

.btn--icon {
  width: 3rem;
  padding: 0;
  flex: none;
}

.btn--wa .icon { width: 1.35em; height: 1.35em; }

.btn.is-disabled {
  --btn-bg: #6E6578;
  --btn-fg: #FFFFFF;
  box-shadow: none;
  cursor: not-allowed;
}

.btn.is-disabled:hover { transform: none; --btn-bg: #6E6578; }

.link-btn {
  padding: .25rem 0;
  font-size: inherit;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

.link-btn:hover { text-decoration-thickness: 2px; }

/* --- Header e navegação --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 251, 253, .92);
  box-shadow: 0 1px 0 var(--c-border), 0 8px 24px rgba(43, 52, 64, .06);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled {
    background: rgba(248, 251, 253, .82);
    backdrop-filter: blur(12px);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, .4rem + 1.6vw, 2rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, .2rem + 1.4vw, 1.75rem);
  list-style: none;
}

.nav__list li { max-width: none; }

.nav__list a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}

.nav__list a:hover { color: var(--c-secondary); }
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__list a[aria-current="true"] { color: var(--c-secondary); }

.nav__toggle {
  display: none;
  width: 2.875rem;
  height: 2.875rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1.5px var(--c-border-strong);
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav__toggle-bars { position: relative; }

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle-bars::before { top: -.4rem; }
.nav__toggle-bars::after  { top: .4rem; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(.4rem) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { transform: translateY(-.4rem) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3.5rem));
  padding-bottom: clamp(4.5rem, 10vh, 7rem);
  overflow: hidden;
  background: var(--c-bg);
}

@supports (min-height: 100svh) {
  .hero { min-height: 100svh; }
}

.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}

.hero__orb--a {
  width: 38vw; height: 38vw;
  min-width: 320px; min-height: 320px;
  top: -8%; right: -6%;
  background: radial-gradient(circle at 30% 30%, #BFE4F7, rgba(191, 228, 247, 0));
}

.hero__orb--b {
  width: 34vw; height: 34vw;
  min-width: 280px; min-height: 280px;
  bottom: -12%; left: -8%;
  background: radial-gradient(circle at 60% 40%, #E2D6F2, rgba(226, 214, 242, 0));
}

.hero__orb--c {
  width: 24vw; height: 24vw;
  min-width: 200px; min-height: 200px;
  top: 45%; left: 45%;
  background: radial-gradient(circle at 50% 50%, #DCEFC9, rgba(220, 239, 201, 0));
  opacity: .4;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 2rem + 4vw, 4.5rem);
  align-items: center;
}

.hero__title { margin-bottom: var(--sp-5); }

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--c-text-soft);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
}

.hero__trust {
  display: grid;
  gap: var(--sp-2);
  margin-top: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.hero__trust li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  max-width: 46ch;
}

.hero__trust .icon {
  color: var(--c-green-text);
  margin-top: .15em;
  stroke-width: 2;
}

/* Visual do hero */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: min(100%, 30rem);
  justify-self: center;
}

.hero__shape {
  position: absolute;
  inset: 4%;
  border-radius: 48% 52% 60% 40% / 45% 38% 62% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morph 18s var(--ease) infinite alternate;
}

.hero__shape-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
}

.hero__shape-half--psi { left: 0;  background: linear-gradient(160deg, #BFE6F8, #7FC4E8); }
.hero__shape-half--nut { right: 0; background: linear-gradient(200deg, #8E78A6, #5F4A77); }

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  pointer-events: none;
}

.hero__ring--1 { inset: 12%; }
.hero__ring--2 { inset: 24%; border-style: dashed; border-color: rgba(255, 255, 255, .35); }

.hero__emblem {
  position: relative;
  z-index: 2;
  width: 54%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: 0 18px 44px rgba(43, 52, 64, .18);
}

.hero__emblem img {
  position: absolute;
  width: 204%;
  height: auto;
  max-width: none;
  left: -52%;
  top: -34%;
}

.hero__chip {
  position: absolute;
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.hero__chip--a { top: 6%; left: -2%; animation: float 6s var(--ease) infinite alternate; }
.hero__chip--b { bottom: 14%; right: -2%; animation: float 6s var(--ease) 1.4s infinite alternate; }
.hero__chip--c { bottom: 1%; left: 10%; animation: float 7s var(--ease) .7s infinite alternate; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--c-text);
}

.chip--psi { color: var(--c-primary); box-shadow: inset 0 0 0 1.5px #DCCFEA, var(--shadow-md); }
.chip--nut { color: var(--c-green-text); box-shadow: inset 0 0 0 1.5px #D4E6C3, var(--shadow-md); }
.chip--int { color: var(--c-secondary); box-shadow: inset 0 0 0 1.5px #C3E1EF, var(--shadow-md); }

.hero__cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 2.25rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-secondary);
  text-decoration: none;
}

.hero__cue-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(180deg, var(--c-secondary), rgba(20, 108, 148, 0));
}

/* --- Faixa de confiança --------------------------------------------------- */
.faixa {
  background: var(--c-surface);
  border-block: 1px solid var(--c-border);
}

.faixa__grid {
  display: grid;
  gap: var(--sp-5);
  padding-block: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
}

.faixa__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  max-width: none;
}

.faixa__item .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-secondary);
  margin-top: .1rem;
}

.faixa__item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-primary);
}

/* --- Sobre ---------------------------------------------------------------- */
.sobre { background: var(--c-bg); }

.sobre__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: start;
}

.sobre__media { position: relative; }

.sobre__card {
  position: relative;
  z-index: 1;
  padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  border-radius: var(--r-lg);
  background: var(--g-brand);
  box-shadow: var(--shadow-md);
}

.sobre__card-label {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-secondary);
}

.sobre__card-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--c-primary);
  margin-top: var(--sp-5);
}

.sobre__card-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(87, 69, 104, .18);
}

.sobre__card-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.sobre__card-list .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-primary);
}

.sobre__blob {
  position: absolute;
  z-index: 0;
  width: 60%;
  aspect-ratio: 1 / 1;
  right: 0;
  bottom: -6%;
  border-radius: 58% 42% 38% 62% / 52% 46% 54% 48%;
  background: linear-gradient(140deg, rgba(157, 214, 243, .45), rgba(140, 193, 82, .3));
  filter: blur(14px);
}

.pilares {
  display: grid;
  gap: var(--sp-5);
  margin-top: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
}

.pilar {
  max-width: none;
  padding-top: var(--sp-4);
  border-top: 3px solid var(--c-leaf);
}

.pilar h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.pilar p { font-size: var(--fs-sm); color: var(--c-text-soft); }

/* --- Missão, visão e valores --------------------------------------------- */
.identidade { background: var(--c-surface); }

.identidade__head { max-width: 48rem; }

.identidade__intro {
  display: grid;
  gap: var(--sp-5);
}

.identidade__card {
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
}

.identidade__card--missao { border-top: 4px solid var(--c-secondary); }
.identidade__card--visao { border-top: 4px solid var(--c-leaf); }

.identidade__label {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--c-primary);
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 600;
}

.identidade__card p,
.identidade__values-head p { color: var(--c-text-soft); }

.identidade__valores { margin-top: clamp(3rem, 2.4rem + 2vw, 4rem); }

.identidade__values-head { margin-bottom: var(--sp-5); }
.identidade__values-head h3 { margin-bottom: var(--sp-2); }

.valores-grid {
  display: grid;
  gap: var(--sp-4);
}

.valor-card {
  max-width: none;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--g-brand);
}

.valor-card h4 { margin-bottom: var(--sp-2); }
.valor-card p { color: var(--c-text-soft); font-size: var(--fs-sm); }

/* --- Equipa --------------------------------------------------------------- */
.equipa { background: var(--c-bg); }

.equipa__head { max-width: 52rem; }

.equipa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}

.equipa-card {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.25rem) minmax(0, 1fr);
  align-items: start;
  gap: var(--sp-3);
  margin-top: 0;
  max-width: none;
  padding: var(--sp-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}

.equipa-card__photo {
  width: 100%;
  height: 11.5rem;
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
  object-fit: cover;
  object-position: center top;
}

.equipa-card__body { min-width: 0; }

.equipa-card__body h3 {
  margin-bottom: var(--sp-1);
  font-size: var(--fs-h4);
  overflow-wrap: anywhere;
}

.equipa-card__body .equipa-card__role {
  margin-bottom: var(--sp-2);
  color: var(--c-secondary);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.4;
}

.equipa-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.equipa-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  margin-bottom: var(--sp-2);
  padding: .15rem .65rem;
  border-radius: var(--r-pill);
  background: var(--c-bg-nut);
  color: var(--c-green-text);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.equipa-card__tags .equipa-card__tag { margin-bottom: 0; }

.equipa-card__body .equipa-card__bio {
  color: var(--c-text-soft);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.equipa__nota {
  margin-top: var(--sp-5);
  max-width: none;
  color: var(--c-text-soft);
  font-size: var(--fs-sm);
}

/* --- Abordagem integrada -------------------------------------------------- */
.integrada { background: var(--c-surface); }

.linha-equilibrio {
  margin: clamp(1rem, 2vw, 2rem) 0 clamp(2rem, 3vw, 3.5rem);
  width: 100%;
}

.linha-equilibrio svg {
  width: 100%;
  height: clamp(90px, 12vw, 160px);
  overflow: visible;
}

.momentos {
  display: grid;
  gap: var(--sp-5);
  counter-reset: momento;
}

.momento {
  max-width: none;
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-border);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.momento:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--c-border), var(--shadow-md);
}

.momento__num {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: #7A6191;
  margin-bottom: var(--sp-4);
}

.momento h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.momento p { font-size: var(--fs-sm); color: var(--c-text-soft); }

.integrada__nota {
  margin-top: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--c-bg-psi);
  color: var(--c-primary);
  font-weight: 600;
  text-align: center;
  max-width: none;
}

/* --- Serviços ------------------------------------------------------------- */
.servicos { background: var(--c-bg); }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  padding: .4rem;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
  width: fit-content;
  margin-inline: auto;
}

.tabs__list[hidden] { display: none; }

.tabs__tab {
  min-height: 2.75rem;
  padding: .6rem 1.35rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-soft);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.tabs__tab:hover { color: var(--c-primary); background: var(--c-bg-alt); }

.tabs__tab[aria-selected="true"] {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  box-shadow: 0 6px 16px rgba(87, 69, 104, .22);
}

.tabs__panel[hidden] { display: none; }

.tabs__panel + .tabs__panel { margin-top: var(--sp-7); }

.tabs__fallback-title { margin-bottom: var(--sp-5); }

.cards {
  display: grid;
  gap: var(--sp-5);
}

.card {
  position: relative;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--c-border), var(--shadow-md);
}

.card--psi { background: var(--c-bg-psi); box-shadow: inset 0 0 0 1px #DFD2EE; }
.card--psi:hover { box-shadow: inset 0 0 0 1px #DFD2EE, var(--shadow-md); }

.card--nut { background: var(--c-bg-nut); box-shadow: inset 0 0 0 1px #D8E8C8; }
.card--nut:hover { box-shadow: inset 0 0 0 1px #D8E8C8, var(--shadow-md); }

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: .5rem;
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-primary);
  fill: none;
}

.card--nut .card__icon { color: var(--c-green-text); }

.card__title { margin-top: var(--sp-1); }

.card p {
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  flex: 1 1 auto;
}

.tag {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tag--psi { color: var(--c-primary); box-shadow: inset 0 0 0 1px #DCCFEA; }
.tag--nut { color: var(--c-green-text); box-shadow: inset 0 0 0 1px #CFE3BE; }
.tag--int { color: var(--c-secondary); box-shadow: inset 0 0 0 1px #C3E1EF; }

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.75rem;
  padding: .5rem 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-secondary);
  text-decoration: none;
}

.card__cta .icon { transition: transform var(--t-fast) var(--ease); }
.card__cta:hover { color: var(--c-secondary-hover); }
.card__cta:hover .icon { transform: translateX(4px); }

.card--int {
  background: var(--g-brand);
  box-shadow: inset 0 0 0 1px #D7E4F0;
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 2vw, 3rem);
  align-items: center;
}

.card--int:hover { transform: none; box-shadow: inset 0 0 0 1px #D7E4F0, var(--shadow-md); }

.card--int__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.card--int .btn { margin-top: var(--sp-2); }

.card__list {
  display: grid;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .72);
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
  max-width: none;
}

.card__list .icon { color: var(--c-green-text); margin-top: .15em; stroke-width: 2; }

.servicos__nota {
  margin-top: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin-inline: auto;
}

/* --- Como funciona -------------------------------------------------------- */
.passos { background: var(--c-surface); }

.passos__list {
  display: grid;
  gap: var(--sp-5);
}

.passo {
  position: relative;
  max-width: none;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-border);
}

.passo__num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.passo h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.passo p { font-size: var(--fs-sm); color: var(--c-text-soft); }

/* --- Marcação ------------------------------------------------------------- */
.marcacao { background: var(--c-bg-alt); }

.marcacao__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: start;
}

.marcacao__pontos {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.marcacao__pontos li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.marcacao__pontos .icon { color: var(--c-green-text); margin-top: .15em; stroke-width: 2; }

.marcacao__alt {
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
}

.marcacao__alt a {
  font-weight: 700;
  color: var(--c-secondary);
  text-underline-offset: .2em;
}

.nota-chamada { display: block; font-size: var(--fs-xs); }

.booker {
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}

.booker__group + .booker__group { margin-top: var(--sp-5); }

.booker__group legend {
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
}

.opcional,
.obrigatorio {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-soft);
  text-transform: none;
  letter-spacing: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.choice { position: relative; display: inline-flex; }

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1.5px var(--c-border-strong);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--c-primary); }

.choice input:checked + span {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  box-shadow: inset 0 0 0 1.5px var(--c-primary);
}

.choice input:focus-visible + span { box-shadow: var(--focus-ring); }

.booker__preview {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
}

.booker__preview-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: var(--sp-2);
}

.booker__preview-text {
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.booker__submit {
  width: 100%;
  margin-top: var(--sp-5);
}

.booker__hint {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  text-align: center;
  margin-inline: auto;
}

/* Sem JS: os grupos de escolha e a pré-visualização não aparecem.
   O botão funciona como ligação genérica de WhatsApp. */
.js-only,
.booker__preview,
.booker__hint { display: none; }

.js .js-only,
.js .booker__preview,
.js .booker__hint { display: block; }

.js .booker__submit { margin-top: var(--sp-5); }
.booker__submit { margin-top: 0; }

.booker__hint[hidden],
.js .booker__hint[hidden] { display: none; }

/* --- Testemunhos ---------------------------------------------------------- */
.testemunhos { background: var(--c-bg); }

.quotes {
  display: grid;
  gap: var(--sp-5);
}

.quotes li { max-width: none; }

.quote {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
}

.quote__mark {
  display: block;
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: .8;
  color: var(--c-secondary);
}

.quote blockquote p {
  margin-top: var(--sp-3);
  font-size: var(--fs-base);
  color: var(--c-text);
}

.quote--lead { background: var(--g-brand); box-shadow: inset 0 0 0 1px #D7E4F0; }

.quote--lead blockquote p {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-primary);
}

.testemunhos__nota {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  margin-inline: auto;
}

/* --- Evento --------------------------------------------------------------- */
.evento { background: var(--g-brand); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.evento[hidden] { display: none; }

.evento__inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

.evento__title { margin-bottom: var(--sp-2); }

.evento__meta {
  font-weight: 600;
  color: var(--c-secondary);
  margin-bottom: var(--sp-3);
}

/* --- FAQ ------------------------------------------------------------------ */
.faq { background: var(--c-surface); }

.faq__list {
  display: grid;
  gap: var(--sp-3);
}

.faq__item {
  border-radius: var(--r-md);
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-border);
  transition: box-shadow var(--t-fast) var(--ease);
}

.faq__item[open] { box-shadow: inset 0 0 0 1px #C2D6E4, var(--shadow-sm); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 3.5rem;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
}

.faq__item summary:hover { color: var(--c-secondary); }

.faq__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--c-secondary);
  transition: transform var(--t-med) var(--ease);
}

.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__answer {
  padding: 0 var(--sp-5) var(--sp-5);
}

.faq__answer p { font-size: var(--fs-sm); color: var(--c-text-soft); }
.faq__answer p + p { margin-top: var(--sp-3); }

.faq__answer a {
  font-weight: 700;
  color: var(--c-secondary);
  text-underline-offset: .2em;
}

.faq__item--apoio { background: var(--c-bg-psi); box-shadow: inset 0 0 0 1px #DFD2EE; }

.faq__cta {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin-inline: auto;
}

/* --- Contacto ------------------------------------------------------------- */
.contacto { background: var(--c-bg); }

.contacto__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: start;
}

.contacto__list {
  display: grid;
  gap: var(--sp-5);
}

.contacto__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}

.contacto__item:last-child { border-bottom: 0; padding-bottom: 0; }

.contacto__item > .icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: .55rem;
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
  color: var(--c-secondary);
}

.contacto__item h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: var(--sp-2);
}

.contacto__item p { font-size: var(--fs-base); color: var(--c-text); }

.contacto__item a {
  font-weight: 600;
  color: var(--c-primary);
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.contacto__item a:hover { color: var(--c-secondary); }

.contacto__nota {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs) !important;
  color: var(--c-text-soft);
}

.contacto__horario {
  display: grid;
  gap: var(--sp-2);
}

.contacto__horario li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  max-width: 22rem;
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.contacto__horario li span:last-child { font-weight: 600; color: var(--c-primary); }

.contacto__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.contacto__aside {
  display: grid;
  gap: var(--sp-5);
}

.mapa { margin: 0; }

.mapa__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 768 / 512;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg-alt);
  box-shadow: var(--shadow-md);
}

.mapa__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mapa__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-3);
}

.mapa__morada {
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
}

.mapa__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-secondary);
  text-decoration: none;
}

.mapa__cta .icon { transition: transform var(--t-fast) var(--ease); }
.mapa__cta:hover { color: var(--c-secondary-hover); text-decoration: underline; text-underline-offset: .2em; }
.mapa__cta:hover .icon { transform: translate(2px, -2px); }

.contacto__urgencia {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--c-bg-psi);
}

.contacto__urgencia h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-2);
}

.contacto__urgencia p { font-size: var(--fs-sm); color: var(--c-text); }

.contacto__urgencia a {
  font-weight: 700;
  color: var(--c-primary);
  text-underline-offset: .2em;
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--c-text);
  color: var(--c-text-on-dark);
  padding-top: clamp(3rem, 2.4rem + 2.4vw, 5rem);
}

.site-footer :focus-visible { box-shadow: var(--focus-ring-dark); }

.footer__grid {
  display: grid;
  gap: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.brand--footer { color: var(--c-text-on-dark); }
.brand--footer .brand__name { color: #BFE4F7; }
.brand--footer .brand__name strong { color: var(--c-text-on-dark); }
.brand--footer .brand__tag { color: #A9D98A; }
.brand--footer .brand__mark { box-shadow: none; }

.footer__claim {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .82);
}

.footer__fundadora {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .82);
}

.footer__fundadora strong { color: var(--c-text-on-dark); }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.footer__social li { max-width: none; }

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-on-dark);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}

.footer__social a:hover { background: rgba(255, 255, 255, .16); }

.footer__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9DD6F3;
  margin-bottom: var(--sp-4);
}

.footer__col ul {
  display: grid;
  gap: var(--sp-2);
  list-style: none;
}

.footer__col li {
  max-width: none;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .82);
}

.footer__nav a,
.footer__contact a {
  display: inline-block;
  padding: .25rem 0;
  color: var(--c-text-on-dark);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: #BFE4F7;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer__contact p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .82);
  overflow-wrap: anywhere;
}

.footer__contact p + p { margin-top: var(--sp-3); }

.footer__fine { font-size: var(--fs-xs); color: rgba(255, 255, 255, .7); }

.footer__horario {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .82);
}

.footer__horario strong { color: var(--c-text-on-dark); }

.footer__aviso {
  padding-bottom: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.footer__aviso p {
  max-width: none;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .9);
}

.footer__aviso a { color: #BFE4F7; font-weight: 700; text-underline-offset: .2em; }

.footer__bottom-wrap { border-top: 1px solid rgba(255, 255, 255, .16); }

.footer__bottom {
  display: grid;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .78);
}

.footer__bottom p { font-size: var(--fs-xs); max-width: none; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  list-style: none;
}

.footer__legal li { max-width: none; }

.footer__legal .link-btn {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .9);
  min-height: 2.25rem;
}

.footer__legal .link-btn:hover { color: #BFE4F7; }

.footer__credit a { color: #BFE4F7; font-weight: 600; text-underline-offset: .2em; }

/* --- Barra fixa mobile ---------------------------------------------------- */
.mobile-bar {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--gutter) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 -1px 0 var(--c-border), 0 -8px 24px rgba(43, 52, 64, .08);
  transform: translateY(110%);
  transition: transform var(--t-med) var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .mobile-bar { background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); }
}

.mobile-bar .btn:first-child { flex: 1 1 auto; }
.mobile-bar.is-visible { transform: translateY(0); }

/* --- Cookies e modais ----------------------------------------------------- */
.cookie {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: clamp(.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  width: min(100% - 1.5rem, 56rem);
  padding: clamp(1rem, .8rem + 1vw, 1.5rem);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}

.cookie[hidden] { display: none; }

.cookie__inner {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
}

.cookie__text p { font-size: var(--fs-sm); color: var(--c-text-soft); }
.cookie__text strong { color: var(--c-text); }

.cookie__link { margin-top: var(--sp-2); }

.cookie__link .link-btn {
  font-size: var(--fs-sm);
  color: var(--c-secondary);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.cookie__actions .btn { flex: 1 1 auto; }

.modal {
  width: min(100% - 2rem, 42rem);
  max-height: min(84vh, 48rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal[open] {
  display: flex;
  flex-direction: column;
}

.modal::backdrop { background: rgba(43, 52, 64, .55); }

.modal__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.modal__head h2 {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--fs-h3);
}

.modal__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-primary);
  box-shadow: inset 0 0 0 1.5px var(--c-border-strong);
}

.modal__close:hover { background: var(--c-bg-alt); }

.modal__body {
  padding: var(--sp-5);
  overflow-y: auto;
  min-height: 0;
  overflow-wrap: anywhere;
  max-height: calc(min(84vh, 48rem) - 6rem);
}

.modal__body h3 {
  font-size: var(--fs-h4);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.modal__body p { font-size: var(--fs-sm); color: var(--c-text-soft); }
.modal__body p + p { margin-top: var(--sp-3); }
.modal__body p strong { color: var(--c-text); }

.modal__body ul,
.modal__body ol {
  padding-left: 1.5rem;
  margin-block: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
}

.modal__body li + li { margin-top: var(--sp-2); }
.modal__body .legal-list--letters { list-style-type: lower-alpha; }
.modal__body .legal-list--parenthesis > li::marker { content: counter(list-item, lower-alpha) ") "; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

@keyframes morph {
  0%   { border-radius: 48% 52% 60% 40% / 45% 38% 62% 55%; }
  50%  { border-radius: 58% 42% 44% 56% / 52% 55% 45% 48%; }
  100% { border-radius: 42% 58% 56% 44% / 38% 48% 52% 62%; }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Até 61.99em: menu em painel */
@media (max-width: 71.99em) {
  .nav__toggle { display: inline-flex; }

  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--gutter) var(--sp-6);
    background: var(--c-surface);
    box-shadow: 0 16px 32px rgba(43, 52, 64, .12);
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform var(--t-med) var(--ease), visibility var(--t-med);
  }

  .nav__menu.is-open { transform: translateY(0); visibility: visible; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list a {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid var(--c-border);
    font-size: var(--fs-base);
  }

  .nav__list a::after { display: none; }

  .nav__cta { width: 100%; }
}

@media (max-width: 47.99em) {
  .mobile-bar { display: flex; }
  .cookie { bottom: 5.25rem; }

  /* Espaço para a barra fixa não tapar o fim do rodapé */
  .footer__bottom-wrap { padding-bottom: 4.5rem; }

  .tabs__tab { padding: .6rem 1rem; }
  .tabs__list { gap: var(--sp-1); }

  /* Hero compacto: cabe praticamente num ecrã sem perder conteúdo */
  .hero {
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2.25rem;
  }

  .hero__inner { gap: 1.25rem; }

  .eyebrow--hero { margin-bottom: var(--sp-2); }

  .hero__title {
    font-size: clamp(1.95rem, 1.35rem + 3vw, 2.6rem);
    margin-bottom: var(--sp-3);
  }

  .hero__lead {
    font-size: var(--fs-sm);
    line-height: 1.55;
    max-width: none;
  }

  .hero__actions { gap: var(--sp-2); margin-top: var(--sp-5); }
  .hero__actions .btn { width: 100%; }

  .hero__trust {
    margin-top: var(--sp-5);
    padding-top: var(--sp-4);
    gap: var(--sp-1);
  }

  .hero__trust li { font-size: var(--fs-xs); }

  .hero__visual { width: min(74%, 14rem); }

  .hero__chip { font-size: var(--fs-xs); padding: .4rem .75rem; }
  .hero__chip--c { display: none; }

  .hero__cue { display: none; }

  .sobre__blob { right: 0; bottom: -6%; }

  .contacto__item > .icon { width: 2.25rem; height: 2.25rem; }
  .contacto__item p { font-size: var(--fs-sm); }
}

/* Ecrãs muito estreitos (reflow a 320px) */
@media (max-width: 23.5em) {
  .contacto__item { gap: var(--sp-3); }
  .contacto__item p,
  .contacto__item a { font-size: var(--fs-xs); }
}

/* A partir de 30em */
@media (min-width: 30em) {
  .cookie__actions .btn { flex: 0 0 auto; }
}

/* A partir de 48em */
@media (min-width: 48em) {
  .faixa__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }

  .identidade__intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pilares { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }

  .momentos { grid-template-columns: repeat(3, 1fr); }

  .passos__list { grid-template-columns: repeat(3, 1fr); }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .quotes { grid-template-columns: repeat(2, 1fr); }
  .quotes li:first-child { grid-column: span 2; }

  .card--int { grid-template-columns: 1.2fr .8fr; }

  .evento__inner { grid-template-columns: 1fr auto; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__bottom {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-5);
  }

  .footer__legal { justify-content: center; }
  .footer__credit { text-align: right; }

  .cookie__inner { grid-template-columns: 1fr auto; gap: var(--sp-5); }
}

/* Tablet em retrato: hero numa coluna, visual mais contido */
@media (min-width: 48em) and (max-width: 61.99em) {
  .hero__visual { width: min(66%, 19rem); }
  .hero__lead { max-width: 46ch; }
}

/* Ecrãs baixos (portáteis pequenos e landscape): hero cabe num ecrã */
@media (min-width: 48em) and (max-height: 44em) {
  .hero {
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2.25rem;
  }

  .hero__title { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 2.75rem); margin-bottom: var(--sp-3); }
  .hero__lead { font-size: var(--fs-sm); }
  .hero__actions { margin-top: var(--sp-5); }
  .hero__trust { margin-top: var(--sp-4); padding-top: var(--sp-3); }
  .hero__trust li { font-size: var(--fs-xs); }
  .hero__visual { width: min(100%, 21rem); }
  .hero__cue { display: none; }
}

/* A partir de 72em: cabeçalho horizontal sem quebra de linha */
@media (min-width: 72em) {
  .nav { flex-wrap: nowrap; gap: var(--sp-3); }

  .nav__brand { flex: 0 0 auto; }

  .nav__menu {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: clamp(.5rem, .8vw, 1rem);
  }

  .nav__list {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: clamp(.4rem, .65vw, .75rem);
  }

  .nav__list li,
  .nav__list a,
  .nav__cta { white-space: nowrap; }

  .nav__list li,
  .nav__cta { flex: 0 0 auto; }
}

/* A partir de 62em */
@media (min-width: 62em) {
  .hero__inner {
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
  }

  .hero__visual { width: min(100%, 34rem); justify-self: end; }

  .hero__content { padding-right: var(--sp-5); }

  .equipa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .sobre__grid { grid-template-columns: .85fr 1.15fr; }

  .sobre__media { position: sticky; top: calc(var(--nav-h) + 2rem); }

  .sobre__blob { right: -8%; bottom: -10%; }

  .marcacao__grid { grid-template-columns: .9fr 1.1fr; }

  .marcacao__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }

  .contacto__grid { grid-template-columns: 1.05fr .95fr; }

  .contacto__aside { position: sticky; top: calc(var(--nav-h) + 2rem); }

  .footer__grid { grid-template-columns: 1.5fr .8fr 1fr 1.2fr; }
}

/* A partir de 75em */
@media (min-width: 75em) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quotes li:first-child { grid-column: span 3; }
}

/* Preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Impressão */
@media print {
  .site-header,
  .mobile-bar,
  .cookie,
  .hero__cue { display: none !important; }

  body { background: #FFFFFF; }
}
