/* ==========================================================================
   Altamente 4You · folha de estilos
   Direção: capítulos de cor. Cada secção é um campo de cor plana, de ponta a
   ponta; a cor e a letra são as da marca (laranja do logótipo, Baloo 2).
   ========================================================================== */

:root {
  /* campos de cor */
  --orange: #EE7015;      /* a marca */
  --orange-2: #F3843A;    /* segunda tinta do laranja, para alternar linhas */
  --deep: #A94505;        /* laranja queimado */
  --sand: #FFD3A8;        /* areia */
  --peach: #F7A762;       /* a parede laranja-clara do centro */
  --paper: #F2F1EE;       /* papel */
  --ink: #2A1A10;         /* tinta */
  --ink-deep: #1C110A;    /* chão do rodapé */
  --white: #FFFFFF;

  /* letra */
  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;

  /* cinco tamanhos */
  --t-xl: clamp(64px, min(9.6vw, 19svh), 170px);
  --t-l: clamp(40px, 5.6vw, 88px);
  --t-m: clamp(24px, 2.2vw, 32px);
  --t-body: 18px;
  --t-small: 15px;

  /* medidas */
  --margin: clamp(18px, 3vw, 44px);
  --head-h: 76px;

  /* movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.wrap {
  padding-left: var(--margin);
  padding-right: var(--margin);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-l);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.h2--light { color: var(--white); }

.link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-body);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* -------------------------------------------------------------------- botões */
/* Uma só forma: cápsula, cor plana, sem sombra. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-body);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.96); }
.btn--sm { min-height: 46px; padding: 10px 22px; }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--paper { background: var(--paper); color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #000; }
  .btn--paper:hover { background: var(--white); }
  .link:hover { text-decoration-thickness: 4px; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

/* ----------------------------------------------------------------- cabeçalho */
/* Assinatura: o cabeçalho toma a cor do capítulo que passa por baixo. */

.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--head-bg, var(--orange));
  color: var(--head-fg, var(--ink));
  transition: background-color 300ms ease, color 300ms ease;
}
.head__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: var(--head-h);
  padding: 10px var(--margin);
}
.head__logo { position: relative; display: block; flex: 0 0 auto; height: 50px; width: 110px; }
.head__logo-img {
  position: absolute;
  inset: 0;
  height: 50px;
  width: auto;
  transition: opacity 300ms ease;
}
.head__logo-img--orange { opacity: 0; }
.head[data-current="light"] .head__logo-img--orange,
.head[data-current="sand"] .head__logo-img--orange { opacity: 1; }
.head[data-current="light"] .head__logo-img--white,
.head[data-current="sand"] .head__logo-img--white { opacity: 0; }

.head__nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
  font-weight: 700;
  font-size: var(--t-small);
}
.head__nav a { text-decoration: none; padding: 6px 0; }
.head__nav a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
@media (hover: hover) and (pointer: fine) {
  .head__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
}

.btn--head {
  background: var(--head-btn-bg, var(--ink));
  color: var(--head-btn-fg, var(--white));
  min-height: 46px;
  padding: 10px 22px;
}

.head[data-current="orange"] { --head-bg: var(--orange); --head-fg: var(--ink); }
.head[data-current="light"]  { --head-bg: var(--paper);  --head-fg: var(--ink); }
.head[data-current="sand"]   { --head-bg: var(--sand);   --head-fg: var(--ink); }
.head[data-current="dark"]   { --head-bg: var(--ink);    --head-fg: var(--white); --head-btn-bg: var(--paper); --head-btn-fg: var(--ink); }
.head[data-current="deep"]   { --head-bg: var(--deep);   --head-fg: var(--white); --head-btn-bg: var(--paper); --head-btn-fg: var(--ink); }

/* ---------------------------------------------------------------------- hero */
/* A montra de frente, como se vê da avenida: o letreiro em cima e, por baixo,
   três vãos separados pela caixilharia. O do meio é a porta, que abre ao
   chegar à página e deixa ver quem está lá dentro. */

.hero {
  --frame: 12px;
  height: calc(100svh - var(--head-h));
  min-height: 640px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--frame);
  background: var(--ink);
  color: var(--ink);
}
.hero__sign {
  background: var(--white);
  padding: 10px var(--margin) 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-xl);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  white-space: nowrap;
}
.hero__name span { color: var(--ink); }
.hero__lead {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-m);
  line-height: 1.15;
  text-align: right;
}
.hero__bays {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--frame);
  min-height: 0;
}

/* a lista do vidro */
.hero__poster {
  background: var(--orange);
  display: flex;
  align-items: center;
  padding: 20px 16px 20px var(--margin);
}
.window {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(6px, 1.4svh, 14px);
}
.window a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.15;
}
.window__box {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  background: var(--ink);
  border-radius: 6px;
  transition: transform var(--t-press) var(--ease-out);
}
.window__box path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.window a span {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: text-decoration-color var(--t-hover) ease;
}
.window a:active .window__box { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .window a:hover span { text-decoration-color: currentColor; }
}

/* a porta: duas folhas de vidro correm para os lados */
.hero__door {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
}
.hero__inside {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 60%;
}
.leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center;
  border: var(--frame) solid var(--ink);
  transition: transform 700ms var(--ease-in-out);
}
.leaf::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 14%;
  width: 9px;
  border-radius: 9px;
  background: #C9CBC9;
}
.leaf--l { left: 0; background-image: url(../assets/porta-vidro-esq.jpg); transform: translateX(-80%); }
.leaf--l::after { right: 8px; }
.leaf--r { right: 0; background-image: url(../assets/porta-vidro-dir.jpg); transform: translateX(80%); }
.leaf--r::after { left: 8px; }
.hero__cta {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .hero__door:hover .leaf--l { transform: translateX(-90%); }
  .hero__door:hover .leaf--r { transform: translateX(90%); }
}

/* a janela: quem brinca, e por baixo a faixa branca do cartaz */
.hero__window {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--frame);
  min-height: 0;
}
.hero__photo { margin: 0; min-height: 0; overflow: hidden; }
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 12%;
}
.hero__strip {
  background: var(--white);
  padding: 18px 16px 18px 24px;
}
.hero__hours {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.1;
  color: var(--deep);
}
.hero__where { margin: 4px 0 0; font-size: var(--t-small); }
.hero__where a { white-space: nowrap; }

/* --------------------------------------------------------------- o dia */

.day {
  background: var(--paper);
  padding-top: clamp(96px, 12vw, 168px);
  padding-bottom: clamp(96px, 12vw, 168px);
}
.day__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  align-items: end;
  margin-bottom: 64px;
}
.day__intro .h2 { grid-column: 1 / 6; }
.day__text { grid-column: 7 / 12; max-width: 36em; }

.stages {
  display: flex;
  height: 540px;
}
.stage {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  transition: flex-grow 450ms var(--ease-in-out);
}
.stage.is-open { flex-grow: 5.6; }

.stage__head { font: inherit; }
.stage__btn {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 28px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-body);
  line-height: 1.1;
  gap: 0.4em;
}
.stage__btn:focus-visible { outline: 3px solid currentColor; outline-offset: -8px; }
/* fatia fechada: nome rodado, a ler para cima */
.stage:not(.is-open) .stage__btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-items: flex-start;
  justify-content: flex-start;
  white-space: nowrap;
}
/* fatia aberta: o nome sobe para o canto de cima, em grande */
.stage.is-open .stage__btn {
  position: relative;
  inset: auto;
  cursor: default;
  align-items: flex-start;
  flex-direction: column;
  padding: 32px 36px 0;
  font-size: var(--t-m);
  line-height: 1.05;
}
.stage.is-open .stage__time { font-size: var(--t-l); line-height: 0.9; letter-spacing: -0.02em; }

.stage__body { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 240ms ease; }
.stage.is-open .stage__body { pointer-events: auto; opacity: 1; transition-delay: 220ms; }
.stage__inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.stage__text {
  grid-column: 1;
  padding: 0 36px 36px;
  max-width: 36ch;
}
.stage__photo {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage:not(:has(.stage__photo)) .stage__text { grid-column: 1 / -1; max-width: 40ch; }

@media (hover: hover) and (pointer: fine) {
  .stage:not(.is-open) .stage__btn:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
}

/* Sem JavaScript: as cinco etapas em lista, todas abertas. */
html:not(.js) .stages { flex-direction: column; height: auto; }
html:not(.js) .stage__btn { position: relative; writing-mode: horizontal-tb; transform: none; padding: 28px 28px 8px; font-size: var(--t-m); }
html:not(.js) .stage__body { position: relative; opacity: 1; }
html:not(.js) .stage__inner { position: relative; display: block; }
html:not(.js) .stage__text { padding: 0 28px 28px; }
html:not(.js) .stage__photo { height: 320px; }

/* ------------------------------------------------------- folhas que empilham */

.sheets {
  background: var(--ink);
  padding-top: clamp(96px, 12vw, 168px);
}
.sheets__intro { padding-bottom: 56px; }

.sheet {
  position: sticky;
  top: calc(var(--head-h) + var(--i) * 72px);
  min-height: calc(100svh - var(--head-h) - var(--i) * 72px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 72px 1fr;
  column-gap: 24px;
  color: var(--ink);
}
.sheet--sand { background: var(--sand); }
.sheet--orange { background: var(--orange); }
.sheet--paper { background: var(--paper); }

.sheet__name {
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: center;
  padding-left: var(--margin);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1;
}
.sheet__copy {
  grid-column: 1 / 7;
  grid-row: 2;
  align-self: end;
  padding: 40px 0 clamp(40px, 6svh, 72px) var(--margin);
  max-width: calc(40ch + var(--margin));
}
.sheet__copy p + p { margin-top: 1em; }

.sheet__media {
  grid-column: 7 / -1;
  grid-row: 2;
  position: relative;
  overflow: hidden;
}
.sheet__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sheet__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  padding: 12px 20px 12px var(--margin);
  font-weight: 700;
  font-size: var(--t-small);
}

.checks { margin-top: 18px; display: grid; gap: 10px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-m);
  line-height: 1.1;
}
.checks li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.9em;
  height: 0.9em;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232A1A10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* O mapa de estudo é uma tabela a sério: aqui as linhas são da tabela. */
.sheet__media--map {
  display: flex;
  align-items: center;
  padding: 40px var(--margin) 56px 0;
}
.studymap {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: var(--t-body);
}
.studymap caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.1;
  padding-bottom: 16px;
}
.studymap th, .studymap td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--sand);
}
.studymap thead th { background: var(--ink); color: var(--white); font-weight: 700; font-size: var(--t-small); }
.studymap tbody th { font-weight: 700; }
.studymap .is-test td:first-of-type { background: var(--orange); font-weight: 700; }

/* ------------------------------------------------------------------- férias */

.holidays {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.holiday {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: 40% 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.holiday--deep { background: var(--deep); color: var(--white); }
.holiday--sand { background: var(--sand); color: var(--ink); }

.holiday__corner {
  grid-column: 1;
  grid-row: 1;
  padding: 48px 24px 24px var(--margin);
}
.holiday__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.05;
}
.holiday__text { margin-top: 20px; }

.holiday__photo {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  position: relative;
  overflow: hidden;
  height: 64svh;
  min-height: 320px;
}
.holiday__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.holiday--sand .holiday__photo img { mix-blend-mode: multiply; }

.holiday__foot {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 24px;
  padding: 0 28px 32px var(--margin);
}
.holiday__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.05;
}
.holiday__fact { margin-top: 6px; }
.holiday__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.holiday--deep .btn--ink { background: var(--ink); }

/* ----------------------------------------------------------------- a voz */

.voice {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 56svh;
}
.voice__name {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px var(--margin);
}
.voice__who { font-family: var(--font-display); font-weight: 800; font-size: var(--t-m); line-height: 1.1; }
.voice__quote {
  background: var(--orange);
  color: var(--ink);
  padding: 56px var(--margin) 56px 56px;
}
.voice__quote p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.15;
  max-width: 28ch;
  text-indent: -0.45em;
}

/* ------------------------------------------------------------------ equipa */

.team {
  background: var(--paper);
  padding-top: clamp(96px, 12vw, 168px);
  padding-bottom: clamp(96px, 12vw, 168px);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.person__tile {
  background: var(--tint);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.person__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
  transition: transform 600ms var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__tile img { transform: scale(1.03); }
}
.person__name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.1;
}
.person__role { margin-top: 4px; }

/* --------------------------------------------------------------- contactos */

.contact { background: var(--orange); color: var(--ink); }

.row {
  display: flex;
  align-items: flex-end;
  min-height: clamp(96px, 10.5vw, 152px);
  padding: 0 var(--margin) 0.16em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-l);
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.row--a { background: var(--orange); }
.row--b { background: var(--orange-2); }
a.row .row__text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  a.row:hover .row__text { text-decoration-color: currentColor; }
}

/* A coisa viva: a lista da montra, para marcar e enviar. */
.ask {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) var(--margin);
}
.ask__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.ask__legend {
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-m);
  line-height: 1.1;
  margin-bottom: 24px;
}
.ask__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 22px 10px 14px;
  border-radius: 999px;
  background: #3D2819;
  font-weight: 700;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip span::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--paper);
  transition: background-color var(--t-hover) ease;
}
.chip input:checked + span { background: var(--orange); color: var(--ink); }
.chip input:checked + span::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23EE7015' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span { background: #4E3523; }
}

.ask__send {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 32px;
  margin-top: 56px;
}
.ask__hello { color: var(--orange); }
.ask__message { font-size: var(--t-m); font-family: var(--font-display); font-weight: 700; line-height: 1.2; max-width: 40em; }
.ask__go {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.ask__go svg { transition: transform var(--t-hover) var(--ease-out); }
.ask__go:active { transform: scale(0.94); }
.ask__go:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .ask__go:hover { background: var(--peach); }
  .ask__go:hover svg { transform: translateX(4px); }
}

/* ------------------------------------------------------------------ rodapé */

.foot { background: var(--ink-deep); padding: 10px; }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}
.tile {
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.tile__lead { font-family: var(--font-display); font-weight: 700; font-size: var(--t-m); line-height: 1.15; }
.tile__small { font-size: var(--t-small); }

.tile--statement { grid-column: 1 / 5; background: var(--sand); color: var(--ink); }
.tile--nav { grid-column: 5 / 8; background: var(--paper); color: var(--ink); justify-content: flex-start; gap: 8px; font-weight: 700; }
.tile--nav a { text-decoration: none; }
.tile--time { grid-column: 8 / 10; background: var(--peach); color: var(--ink); }
.tile--mail { grid-column: 10 / -1; background: var(--paper); color: var(--ink); justify-content: space-between; }
.tile__mail { font-family: var(--font-display); font-weight: 700; font-size: var(--t-body); line-height: 1.2; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .tile--nav a:hover, .tile__mail:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
}

.tile--mark {
  grid-column: 1 / 9;
  min-height: 320px;
  background: var(--ink);
  align-items: center;
  justify-content: center;
}
.tile--mark img { width: min(62%, 640px); height: auto; }

.tile--go {
  grid-column: 9 / -1;
  min-height: 320px;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.tile__go-text { font-family: var(--font-display); font-weight: 800; font-size: var(--t-l); line-height: 0.95; letter-spacing: -0.02em; }
.tile__arrow { align-self: flex-end; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile--go:hover { background: var(--orange-2); }
  .tile--go:hover .tile__arrow { transform: translateX(6px); }
}

/* -------------------------------------------------------------- movimento */

@media (prefers-reduced-motion: no-preference) {
  .js .window li {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 520ms var(--ease-out) forwards;
    animation-delay: calc(480ms + var(--i) * 80ms);
  }
  .js .window__box path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: tick 420ms var(--ease-out) forwards;
    animation-delay: calc(700ms + var(--i) * 80ms);
  }
  /* a porta abre: as folhas partem do centro */
  .js .leaf--l { animation: door-l 1500ms var(--ease-in-out) 500ms backwards; }
  .js .leaf--r { animation: door-r 1500ms var(--ease-in-out) 500ms backwards; }
  .js .hero__inside { transform: scale(1.08); animation: settle 2200ms var(--ease-expo) 500ms forwards; }
  .js .hero [data-load] {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 520ms var(--ease-out) forwards;
    animation-delay: var(--d, 0ms);
  }

  /* entradas por secção, uma vez */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* uma imagem em movimento: as fotografias das férias derivam devagar */
  .holiday__photo img { animation: drift 18s var(--ease-soft) infinite alternate; }
  .holiday--sand .holiday__photo img { animation-delay: -9s; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes door-l { from { transform: none; } }
@keyframes door-r { from { transform: none; } }
@keyframes settle { to { transform: none; } }
@keyframes drift {
  from { transform: scale(1.04) translate3d(-1.2%, 0, 0); }
  to { transform: scale(1.14) translate3d(1.2%, -1.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----------------------------------------------------------- ecrãs médios */

@media (max-width: 1100px) {
  .holidays { grid-template-columns: 1fr; }
  .holiday { min-height: 80svh; }
}

@media (max-width: 960px) {
  :root { --t-xl: 12.4vw; }
  .hero { height: auto; min-height: 0; }
  .hero__sign { display: block; padding-bottom: 14px; }
  .hero__lead { max-width: none; margin-top: 8px; text-align: left; }
  .hero__bays { grid-template-columns: 1fr; }
  .hero__door { order: -1; height: 52svh; min-height: 340px; }
  .hero__poster { padding: 28px var(--margin); }
  .hero__strip { padding: 18px var(--margin); }
  .window { grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
  .hero__photo { height: 62vw; }

  .day__intro .h2, .day__text { grid-column: 1 / -1; }

  /* o acordeão fica vertical */
  .stages { flex-direction: column; height: auto; }
  .stage { flex: none; transition: none; }
  .stage .stage__btn,
  .stage:not(.is-open) .stage__btn,
  .stage.is-open .stage__btn {
    position: relative;
    inset: auto;
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
    align-items: center;
    min-height: 68px;
    padding: 14px 22px;
    font-size: var(--t-body);
    cursor: pointer;
  }
  .stage.is-open .stage__time { font-size: inherit; letter-spacing: 0; line-height: inherit; }
  .stage__body { position: static; display: grid; grid-template-rows: 0fr; opacity: 1; transition: grid-template-rows 320ms var(--ease-out); }
  .stage.is-open .stage__body { grid-template-rows: 1fr; transition-delay: 0ms; }
  .stage__body > .stage__inner { position: static; overflow: hidden; display: block; min-height: 0; }
  .stage__text { padding: 0 22px 24px; max-width: 46ch; }
  .stage__photo { height: auto; aspect-ratio: 4 / 3; }

  .sheet { grid-template-columns: 1fr 1fr; }
  .sheet__name, .sheet__copy { grid-column: 1; }
  .sheet__media { grid-column: 2; }
  .sheet__media--map { padding-left: 0; }
  .studymap th, .studymap td { padding: 12px 12px; }

  .tile--statement { grid-column: 1 / 7; }
  .tile--nav { grid-column: 7 / -1; }
  .tile--time { grid-column: 1 / 7; }
  .tile--mail { grid-column: 7 / -1; }
  .tile--mark { grid-column: 1 / -1; }
  .tile--go { grid-column: 1 / -1; min-height: 220px; }
}

/* ---------------------------------------------------------------- telemóvel */

@media (max-width: 720px) {
  :root { --t-xl: 19vw; }
  .hero__name { white-space: normal; line-height: 0.9; padding-top: 10px; }
  .hero__name span { display: block; }
  .window { grid-template-columns: 1fr; gap: 10px; }
  :root { --head-h: 64px; --margin: 18px; --t-m: 22px; --t-body: 17px; }

  .head__nav { display: none; }
  .head__logo, .head__logo-img { height: 42px; }
  .head__logo { width: 93px; margin-right: auto; }
  .btn--head { min-height: 44px; padding: 8px 18px; }

  .btn-row .btn { width: 100%; }

  /* Ao telemóvel as folhas deixam de colar: são mais altas do que o ecrã. */
  .sheet {
    position: relative;
    top: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .sheet__name { order: 0; align-self: stretch; padding: 24px var(--margin) 18px; }
  .sheet__media { order: 1; aspect-ratio: 4 / 3; }
  .sheet__media--map { aspect-ratio: auto; padding: 0 var(--margin); }
  .sheet__copy { order: 2; padding: 24px var(--margin) 40px; max-width: none; }
  .studymap { font-size: var(--t-small); }
  .studymap th, .studymap td { padding: 10px 8px; }

  .holiday { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .holiday__corner { padding: 40px var(--margin) 24px; }
  .holiday--sand .holiday__corner { display: none; }
  .holiday__photo { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .holiday__foot { grid-row: 3; padding: 24px var(--margin) 40px; flex-direction: column; align-items: stretch; }
  .holiday__actions .btn { flex: 1 1 0; }

  .voice { grid-template-columns: 1fr; min-height: 0; }
  .voice__quote { order: 0; padding: 48px var(--margin) 72px; }
  .voice__quote p { font-size: 24px; text-indent: -0.4em; padding-left: 0.4em; }
  .voice__name { order: 1; padding: 24px var(--margin); min-height: 96px; }

  .team__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .team__grid .person:first-child { grid-column: 1 / -1; }
  .team__grid .person:first-child .person__tile { aspect-ratio: 1 / 1; }

  .row { min-height: 84px; font-size: 9.4vw; padding-top: 14px; padding-bottom: 0.2em; }
  .ask__go { width: 64px; height: 64px; }

  .foot { padding: 6px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .tile--mark { grid-column: 1 / -1; order: 0; min-height: 160px; }
  .tile--go { grid-column: 1 / -1; order: 1; min-height: 160px; }
  .tile--nav { grid-column: 1; order: 2; }
  .tile--time { grid-column: 2; order: 3; }
  .tile--mail { grid-column: 1 / -1; order: 4; min-height: 120px; }
  .tile--statement { grid-column: 1 / -1; order: 5; }
}

@media print {
  .head, .ask { display: none; }
  .sheet { position: static; }
}
