/* ================================================================
   ISA NOCCI — FOTOGRAFIA ARTÍSTICA
   CSS Principal
================================================================ */

/* ── PAGE LOADER ────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #001A22;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__icon {
  width: 72px;
  height: auto;
  animation: loaderPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(108, 168, 180, 0.5));
}

@keyframes loaderPulse {
  0%   { transform: scale(1);    opacity: 1;    filter: drop-shadow(0 0 12px rgba(108,168,180,0.4)); }
  50%  { transform: scale(1.12); opacity: 0.75; filter: drop-shadow(0 0 32px rgba(108,168,180,0.85)); }
  100% { transform: scale(1);    opacity: 1;    filter: drop-shadow(0 0 12px rgba(108,168,180,0.4)); }
}

.loader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 175px;
  height: 175px;
  animation: loaderRing 2s ease-in-out infinite;
  overflow: visible;
}

.loader__ring:nth-child(2) {
  width: 230px;
  height: 230px;
  animation-delay: 0.4s;
}

.loader__ring polygon {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.loader__ring:nth-child(1) polygon { stroke: rgba(108, 168, 180, 0.35); }
.loader__ring:nth-child(2) polygon { stroke: rgba(108, 168, 180, 0.18); }

@keyframes loaderRing {
  0%   { transform: translate(-50%, -50%) scale(0.8);  opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
}

/* ── VARIÁVEIS ──────────────────────────────────────────────────── */
:root {
  --bg:           #EDECEB;
  --bg-light:     #EEF4F6;
  --white:        #FFFFFF;
  --text:         #2C3638;
  --text-mid:     #567480;
  --text-light:   #8AA8B4;
  --accent:       #6CA8B4;
  --accent-dark:  #005460;
  --accent-light: #CCE4F0;
  --border:       rgba(108,168,180,0.22);
  --border-dark:  rgba(44,56,60,0.12);

  --font-h:  'Julius Sans One', sans-serif;
  --font-b:  'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;

  --hh:  96px;
  --tr:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --sh:  0 2px 24px rgba(44,40,34,0.07);
  --sh2: 0 10px 48px rgba(44,40,34,0.14);
  --r:   2px;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }

/* ── LARGURA MÁXIMA DA PÁGINA ───────────────────────────────────── */
/* A página mantém a proporção da tela de referência da cliente (1920×1080,
   escala 100% — com as barras do sistema e do navegador, a área visível
   fica perto de 2:1). Quanto mais alta a janela, mais larga a página pode
   ser; só quando a janela é mais "esticada" que isso (ultrawide) a página
   para no limite, centralizada, com o entorno no fundo da página
   "Em breve" (--bg). Nunca fica abaixo de 1920px. O teste online
   (body.quiz) tem layout próprio e fica de fora. */
:root { --page-max: max(1920px, 100vh * 2); }
html { background: var(--bg); }
body:not(.quiz) {
  max-width: var(--page-max);
  min-height: 100vh;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(44,56,60,0.12);
}
@media (min-width: 1921px) {
  /* Elementos fixos seguem o limite da página (sem transform: o menu
     mobile, também fixo, mora dentro do cabeçalho). Sem sobra lateral,
     o max() devolve a posição de sempre. */
  body:not(.quiz) .header       { max-width: var(--page-max); margin: 0 auto; }
  body:not(.quiz) .whatsapp-fab { right: max(2rem, (100vw - var(--page-max)) / 2 + 2rem); }
  body:not(.quiz) .toast-stack  { right: max(1.5rem, (100vw - var(--page-max)) / 2 + 1.5rem); }
}
a { text-decoration: none; color: inherit; transition: var(--tr); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
/* Cores do projeto: trilho no fundo do site, barra no acento. Firefox usa
   scrollbar-color; Chrome/Edge/Safari usam os pseudo-elementos webkit. */
html {
  scrollbar-color: var(--accent) var(--bg);
  scrollbar-width: thin;
}
::-webkit-scrollbar        { width: 10px; height: 10px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover  { background: var(--accent-dark); }
::-webkit-scrollbar-corner       { background: var(--bg); }

/* ── TIPOGRAFIA ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { line-height: 1.8; }

.section-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  font-family: var(--font-b);
  margin-bottom: 0.9rem;
}

/* ── UTILITÁRIOS ────────────────────────────────────────────────── */
.container        { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.container--sm    { max-width: 820px;  margin: 0 auto; padding: 0 2rem; }
.section          { padding: 7rem 0; }
.section--sm      { padding: 4rem 0; }
.section--lg      { padding: 10rem 0; }
.text-center      { text-align: center; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible           { opacity: 1; transform: none; }
.reveal-delay-1.visible   { transition-delay: 0.12s; }
.reveal-delay-2.visible   { transition-delay: 0.24s; }
.reveal-delay-3.visible   { transition-delay: 0.36s; }
.reveal-delay-4.visible   { transition-delay: 0.48s; }

/* ── BOTÕES ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-b);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--tr);
  border-radius: var(--r);
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--outline {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--white);
}
.btn--accent {
  background: var(--accent);
  color: var(--white);
}
.btn--accent:hover { background: var(--accent-dark); }

.btn--ghost {
  color: var(--text);
  padding: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.btn--ghost:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

.btn--wa {
  background: #25D366;
  color: var(--white);
  gap: 0.65rem;
}
.btn--wa:hover { background: #1db954; }

/* ── CABEÇALHO ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--hh);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  background: rgba(237,236,235,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(44,56,60,0.32);
}
.header.scrolled .header__logo { color: var(--text); }
.header.scrolled .nav__link    { color: var(--text-mid); }
.header.scrolled .header__social a { color: var(--text-mid); }
.header.scrolled .header__hamburger span { background: var(--text); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.header__logo .logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity var(--tr);
}

/* Two-logo swap: light for dark hero, dark-teal for scrolled/default */
.header__logo .logo-light { display: none; }
.header__logo .logo-dark  { display: block; }

.header.over-dark .header__logo .logo-light { display: block; }
.header.over-dark .header__logo .logo-dark  { display: none; }

.header.scrolled .header__logo .logo-light  { display: none; }
.header.scrolled .header__logo .logo-dark   { display: block; }

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__link {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.header.over-dark .nav__link        { color: rgba(255,255,255,0.7); }
.header.over-dark .nav__link:hover,
.header.over-dark .nav__link.active { color: var(--white); }

/* Social icons */
.header__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__social a {
  color: var(--text-mid);
  display: flex;
  align-items: center;
  opacity: 0.8;
}
.header__social a:hover { opacity: 1; color: var(--accent-dark); }
.header.over-dark .header__social a       { color: rgba(255,255,255,0.65); }
.header.over-dark .header__social a:hover { color: var(--white); }

/* Botão do teste online no menu: retangular como os demais botões do site,
   turquesa, com o ✦ cintilando e um reflexo de luz que passa de tempos em
   tempos. O botão não se desloca; no hover só a cor escurece. */
/* Seletores com .header.scrolled/.over-dark para vencer a cor dos ícones
   sociais em qualquer estado do cabeçalho: o texto é sempre branco. */
.header__social a.header__quiz,
.header.scrolled .header__social a.header__quiz,
.header.over-dark .header__social a.header__quiz {
  position: relative;
  overflow: hidden;
  gap: 0.45rem;
  margin-right: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--r);
  /* O reflexo é parte do próprio fundo (um gradiente que desliza), e não um
     elemento por cima: fundo só é pintado dentro do botão, então o brilho
     nunca passa da borda, em nenhum navegador. */
  background-color: var(--accent);
  background-image: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.5) 50%, transparent 58%);
  background-repeat: no-repeat;
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: quizShine 5s ease-in-out infinite;
  color: var(--white);
  opacity: 1;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--tr);
}
.header__social a.header__quiz:hover,
.header.scrolled .header__social a.header__quiz:hover,
.header.over-dark .header__social a.header__quiz:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}
.header__quiz:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.header__quiz-icon { flex-shrink: 0; animation: quizTwinkle 2.5s ease-in-out infinite; }
@keyframes quizShine {
  0%, 70% { background-position: 200% 0; }
  100%    { background-position: -100% 0; }
}
@keyframes quizTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(0.75) rotate(45deg); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .header__social a.header__quiz, .header__quiz-icon { animation: none; }
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--tr);
}
.header.over-dark .header__hamburger span { background: var(--white); }
.header__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Drawer */
/* Menu mobile: sempre montado, escondido por opacidade/visibilidade para
   poder animar a entrada e a saída (display none/flex não anima). */
.nav--mobile {
  display: flex;
  position: fixed;
  top: var(--hh); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.nav--mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
}
.nav--mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.nav--mobile li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav--mobile.open li { opacity: 1; transform: none; }
.nav--mobile.open li:nth-child(1) { transition-delay: 0.08s; }
.nav--mobile.open li:nth-child(2) { transition-delay: 0.13s; }
.nav--mobile.open li:nth-child(3) { transition-delay: 0.18s; }
.nav--mobile.open li:nth-child(4) { transition-delay: 0.23s; }
.nav--mobile.open li:nth-child(5) { transition-delay: 0.28s; }
.nav--mobile.open li:nth-child(6) { transition-delay: 0.33s; }
@media (prefers-reduced-motion: reduce) {
  .nav--mobile, .nav--mobile.open, .nav--mobile li { transition: none; transform: none; }
}
.nav--mobile .nav__link {
  font-family: var(--font-h);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--text);
  font-weight: 400;
  text-transform: none;
}
.nav--mobile .nav__link:hover { color: var(--accent-dark); }
/* Teste online no menu mobile: mesmo destaque do botão do cabeçalho. */
.nav--mobile .nav__link--quiz {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav--mobile .nav__link--quiz:hover { background: var(--accent-dark); color: var(--white); }

/* ── PAGE HERO (inner pages) ────────────────────────────────────── */
.page-hero {
  padding: calc(var(--hh) + 5rem) 0 5rem;
  text-align: center;
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto;
}

/* ── GALLERY DETAIL ─────────────────────────────────────────────── */
.gallery-grid-section {
  background: var(--white);
  padding: 4rem 0 6rem;
}
/* Títulos das fotos na página da galeria: menores que os dos cards de
   galeria da Home/Trabalhos (1.4rem). */
.gallery-grid-section .portfolio-item__title {
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.gallery-grid-section .portfolio-item__overlay { padding: 1.25rem; }

/* ── GALLERY LIGHTBOX ───────────────────────────────────────────── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox.open { display: flex; }

.gallery-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  overflow: hidden;
}
.gallery-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  display: block;
  user-select: none;
}
.gallery-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0.25rem;
}
.gallery-lightbox__close:hover { opacity: 1; }

.gallery-lightbox__nav {
  background: none;
  border: none;
  color: var(--white);
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 1.75rem;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
  user-select: none;
}
.gallery-lightbox__nav:hover { opacity: 1; }

body.no-scroll { overflow: hidden; }

/* ── HERO (HOME) ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, #001418 0%, #002A35 40%, #003840 70%, #001418 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(108,168,180,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(108,168,180,0.07) 0%, transparent 45%);
}
.hero__img {
  position: absolute;
  left: 0; top: 0; bottom: -350px;
  width: 53%;
  background: linear-gradient(155deg, #002530 0%, #001418 100%);
  background-size: cover;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  z-index: 0;
  opacity: 0.65;
}
.hero__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0,20,24,1) 0%, rgba(0,20,24,0.25) 55%, transparent 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--hh) + 2rem) 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 1rem;
  font-size: 0.67rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero__eyebrow::before { display: none; }
.hero__title {
  font-family: var(--font-h);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  max-width: 620px;
  margin-bottom: 1.75rem;
}
.hero__title span {
  display: block;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-light);
  display: block;
  white-space: nowrap;
}
.hero__sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
  margin-bottom: 3rem;
  line-height: 1.85;
}
.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.4); opacity: 0.4; }
}

/* ── SECTION HEADER ─────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-header__text h2 { margin-top: 0.4rem; }

/* ── PORTFOLIO GRID (HOME) ──────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── PORTFOLIO ITEM ─────────────────────────────────────────────── */
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #1a1410;
}
.portfolio-item__img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Real image support for various containers */
.img-real {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.portfolio-item:hover .portfolio-item__img { transform: scale(1.07); }
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,14,18,0.82) 0%, rgba(0,14,18,0.15) 50%, transparent 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
}
.portfolio-item:hover .portfolio-item__overlay {
  background: linear-gradient(to top, rgba(0,14,18,0.92) 0%, rgba(0,14,18,0.3) 60%, transparent 100%);
}
.portfolio-item__info { color: var(--white); }
.portfolio-item__cat {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CCE4F0;
  margin-bottom: 0.3rem;
  font-family: var(--font-b);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.portfolio-item__title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* ── IMAGENS PLACEHOLDER ────────────────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-b);
}

/* Temas — tonalidades baseadas na paleta teal da marca */
.img--queens      { background: linear-gradient(145deg, #001820 0%, #002A38 45%, #003848 100%); }
.img--fairies     { background: linear-gradient(145deg, #001A24 0%, #00384A 50%, #005060 100%); }
.img--witches     { background: linear-gradient(145deg, #000E14 0%, #001C28 50%, #002030 100%); }
.img--goddesses   { background: linear-gradient(145deg, #001418 0%, #003040 50%, #004050 100%); }
.img--renaissance { background: linear-gradient(145deg, #001014 0%, #002535 50%, #003545 100%); }
.img--feelings    { background: linear-gradient(145deg, #000C10 0%, #001E2A 50%, #002838 100%); }
.img--hero        { background: linear-gradient(155deg, #001418 0%, #002530 40%, #003840 100%); }
.img--about       { background: linear-gradient(145deg, #001A22 0%, #003040 60%, #004050 100%); }
.img--blog-1      { background: linear-gradient(145deg, #001018 0%, #002830 100%); }
.img--blog-2      { background: linear-gradient(145deg, #001820 0%, #003848 100%); }
.img--blog-3      { background: linear-gradient(145deg, #001218 0%, #002535 100%); }
.img--blog-4      { background: linear-gradient(145deg, #001014 0%, #003040 100%); }
.img--blog-5      { background: linear-gradient(145deg, #001418 0%, #002C3C 100%); }
.img--blog-6      { background: linear-gradient(145deg, #000C10 0%, #001E2C 100%); }

/* ── ABOUT TEASER (HOME) ────────────────────────────────────────── */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.about-teaser__img {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.about-teaser__img .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
}
.about-teaser__content {
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5.5rem 5rem 6rem;
}
.about-teaser__content .section-label { color: var(--accent); }
.about-teaser__content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.about-teaser__content p {
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.9;
}
.about-teaser__content .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  width: fit-content;
  margin-top: 1rem;
}
.about-teaser__content .btn--outline:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--white);
}

/* ── TESTEMUNHOS ────────────────────────────────────────────────── */
.testimonials {
  background: var(--white); /* mais claro que o FAQ (--bg-light), logo abaixo */
  text-align: center;
}
.testimonials .section-header {
  justify-content: center;
  margin-bottom: 3.5rem;
}
.testimonials__slider { max-width: 680px; margin: 0 auto; }
.testimonial         { display: none; }
.testimonial.active  { display: block; }
/* Foto da cliente no triângulo do logotipo (ponta para baixo), com um
   triângulo claro deslocado atrás — as duas camadas do logo. */
.testimonial__photo {
  --tri: polygon(0 0, 100% 26%, 42% 100%);
  position: relative;
  width: 230px;
  aspect-ratio: 437 / 517;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}
.testimonial__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  clip-path: var(--tri);
  transform: translate(14px, -10px);
}
.testimonial__photo img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  clip-path: var(--tri);
}
@media (max-width: 640px) {
  .testimonial__photo { width: 180px; }
}
.testimonial__quote {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 2rem;
}
.testimonial__quote::before { content: '\201C'; color: var(--accent); margin-right: 0.1em; }
.testimonial__quote::after  { content: '\201D'; color: var(--accent); margin-left: 0.1em; }
.testimonial__author {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: var(--font-b);
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: var(--tr);
}
.dot.active, .dot:hover { background: var(--accent); }

/* ── BLOG CARDS ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh2);
}
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-card__img .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  transition: transform 0.75s ease;
}
.blog-card:hover .blog-card__img .img-placeholder { transform: scale(1.05); }
.blog-card__body { padding: 1.75rem; }
.blog-card__cat {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.7rem;
  font-family: var(--font-b);
}
.blog-card__title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.blog-card__title a:hover { color: var(--accent-dark); }
.blog-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border-dark);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}

/* ── CTA SECTION ────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #001418 0%, #003040 50%, #001A22 100%);
  color: var(--white);
  text-align: center;
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(108,168,180,0.12) 0%, transparent 65%);
}
.cta .section-label   { color: var(--accent); margin-bottom: 1rem; }
.cta h2               { color: var(--white); margin-bottom: 1.25rem; position: relative; }
.cta p {
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin: 0 auto 3rem;
  font-size: 0.97rem;
  position: relative;
}
.cta__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.cta .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ── RODAPÉ ─────────────────────────────────────────────────────── */
.footer {
  background: #000E12;
  color: rgba(255,255,255,0.45);
  padding: 5.5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer__brand .header__logo {
  display: inline-flex;
  margin-bottom: 1.25rem;
}
.footer__brand .header__logo .logo-img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}
.footer__brand .header__logo .logo-light { display: block; }
.footer__brand .header__logo .logo-dark  { display: none; }
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 270px;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.4);
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: var(--tr);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__col h4 {
  font-family: var(--font-h);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.footer__col ul li { margin-bottom: 0.8rem; }
.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: var(--tr);
}
.footer__col ul li a:hover { color: var(--accent); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer__bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--tr);
}
.footer__bottom a:hover { color: var(--accent-light); }

/* ── BOTÃO WHATSAPP ─────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 3s ease infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,0.65);
  animation: none;
  color: var(--white);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ── PORTFOLIO PAGE ─────────────────────────────────────────────── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.55rem 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: var(--tr);
  background: transparent;
  font-family: var(--font-b);
  font-weight: 500;
  border-radius: var(--r);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.portfolio-full-grid .portfolio-item         { aspect-ratio: 4/5; }
.portfolio-full-grid .portfolio-item.wide    { grid-column: span 1; aspect-ratio: 4/5; }
.portfolio-full-grid .portfolio-item.tall    { grid-row: span 1; aspect-ratio: 4/5; }

/* Página da galeria: foto marcada como "Featured (wide)" ocupa 2 colunas.
   A altura de TODOS os cards vem da largura de uma coluna (container query
   na grade): altura = largura da coluna × 1,25 (4:5). Assim o card largo tem
   exatamente a mesma altura dos demais — com aspect-ratio ele ficaria mais
   alto, porque a largura dele inclui o espaço entre as colunas. */
.gallery-grid-section .portfolio-full-grid {
  /* dense: buraco deixado por uma foto larga que desceu de linha é ocupado
     pela próxima foto que couber nele (reordenação visual automática). */
  grid-auto-flow: dense;
  container-type: inline-size;
  --cols: 3;
  --gap: 1.1rem;
  gap: var(--gap);
}
.gallery-grid-section .portfolio-full-grid .portfolio-item,
.gallery-grid-section .portfolio-full-grid .portfolio-item.wide {
  aspect-ratio: auto;
  height: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 1.25);
}
.gallery-grid-section .portfolio-full-grid .portfolio-item.wide { grid-column: span 2; }
@media (max-width: 1100px) {
  .gallery-grid-section .portfolio-full-grid { --cols: 2; }
}
@media (max-width: 768px) {
  .gallery-grid-section .portfolio-full-grid { --cols: 1; }
  .gallery-grid-section .portfolio-full-grid .portfolio-item.wide { grid-column: span 1; }
}

/* ── BLOG PAGE ──────────────────────────────────────────────────── */
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.blog-full-grid .blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.blog-full-grid .blog-card--featured .blog-card__img {
  aspect-ratio: unset;
  min-height: 380px;
}
.blog-full-grid .blog-card--featured .blog-card__title { font-size: 2.2rem; }
.blog-full-grid .blog-card--featured .blog-card__body {
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-dark);
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { flex-shrink: 0; transition: transform var(--tr); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; }

/* ── SOBRE PAGE ─────────────────────────────────────────────────── */
.about-hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #001418 0%, #003040 50%, #001A22 100%);
  position: relative;
  overflow: hidden;
}
.about-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(108,168,180,0.12) 0%, transparent 55%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: calc(var(--hh) + 4rem);
  padding-bottom: 5rem;
}
.about-hero-photo {
  position: relative;
}
.about-hero-photo .img-placeholder {
  height: 580px;
}
.about-hero-content .section-label { color: var(--accent); }
.about-hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 5.5vw, 5rem);
  margin-bottom: 1.5rem;
}
.about-hero-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.about-hero-content .btn--accent { margin-top: 0.75rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-dark);
}
.value-item {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s ease;
}
.value-item:last-child { border-right: none; }
.value-item:hover { background: var(--bg-light); }
.value-item__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.value-item h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.value-item p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.85; }

/* Services */
.services-section { background: var(--accent-dark); }
.services-section .section-label { color: var(--accent); }
.services-section h2             { color: var(--white); margin-bottom: 0.75rem; }
.services-section > .container > p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 4rem;
  font-size: 0.97rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
.service-item {
  background: rgba(255,255,255,0.02);
  padding: 3.5rem;
  transition: background 0.35s ease;
}
.service-item:hover { background: rgba(196,168,130,0.07); }
.service-item__num {
  font-family: var(--font-h);
  font-size: 3.5rem;
  color: rgba(196,168,130,0.2);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.service-item h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.service-item p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.85; }

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}
.contact-info h2       { margin-bottom: 1rem; }
.contact-info > p      { color: var(--text-mid); margin-bottom: 3rem; line-height: 1.85; }
.contact-detail {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 46px; height: 46px;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
  background: var(--white);
}
.contact-detail__text small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
  font-family: var(--font-b);
}
.contact-detail__text strong { font-size: 0.92rem; font-weight: 500; }
.contact-detail__text a:hover { color: var(--accent-dark); }
.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.contact-social a {
  padding: 0.65rem 1.75rem;
  border: 1px solid var(--border-dark);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: flex; align-items: center; gap: 0.6rem;
  transition: var(--tr);
  font-family: var(--font-b);
  font-weight: 500;
}
.contact-social a:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 3.5rem;
  box-shadow: var(--sh);
}
.form-group        { margin-bottom: 1.6rem; }
.form-group label {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.55rem;
  font-family: var(--font-b);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.1rem;
  border: 1px solid var(--border-dark);
  background: var(--bg);
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--tr);
  outline: none;
  border-radius: var(--r);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,168,130,0.12);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-submit { margin-top: 2rem; }
.form-submit .btn { width: 100%; }

/* ── TOASTS ─────────────────────────────────────────────────────── */
.toast-stack {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 380px;
  width: calc(100vw - 3rem);
  pointer-events: none;
}
.toast {
  pointer-events: all;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-left: 3px solid var(--accent);
  box-shadow: 0 8px 32px rgba(44,40,34,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem 1.15rem 1.1rem;
  animation: toast-in .32s cubic-bezier(.4,0,.2,1) forwards;
}
.toast--success { border-left-color: #2d7d5a; }
.toast--error   { border-left-color: #b84040; }
.toast--warning { border-left-color: #9c6e20; }
.toast__icon { flex-shrink: 0; display: flex; align-items: center; }
.toast--success .toast__icon { color: #2d7d5a; }
.toast--error   .toast__icon { color: #b84040; }
.toast--warning .toast__icon { color: #9c6e20; }
.toast__icon svg { display: block; }
.toast__msg {
  flex: 1;
  font-family: 'Century Gothic','Trebuchet MS',Arial,sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
}
.toast__close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
  transition: color .2s;
  align-self: flex-start;
  margin-top: 1px;
}
.toast__close:hover { color: var(--text); }
.toast__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--accent);
  animation: toast-bar 5s linear forwards;
}
.toast--success .toast__bar { background: #2d7d5a; }
.toast--error   .toast__bar { background: #b84040; }
.toast--warning .toast__bar { background: #9c6e20; }
.toast--out { animation: toast-out .32s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes toast-in  { from { opacity:0; transform:translateX(110%); } to { opacity:1; transform:translateX(0); } }
@keyframes toast-out { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(110%); } }
@keyframes toast-bar { from { width:100%; } to { width:0; } }
/* Captcha do formulário de contato */
.captcha {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.captcha__img {
  display: block;
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  background: var(--white);
}
.captcha__refresh {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  padding: 0 0 1px;
}
.captcha__refresh:hover { color: var(--text); border-color: var(--accent-dark); }

.form-field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #b84040;
  font-family: var(--font-b);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: #b84040;
}

/* ── RESPONSIVO ─────────────────────────────────────────────────── */
/* ── BIO GRID (sobre.html inline → classe) ──────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── STATS GRID (sobre.html inline → classe) ────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.testimonial__quote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 1.25rem;
  text-align: center;
}
.testimonial__author {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
/* Cabeçalho: com o botão do teste, o menu completo só cabe acima de
   1120px — até 1200px os itens ficam mais próximos; até 1120px (tablets e
   notebooks pequenos) entra o menu lateral, que também traz o botão do
   teste. */
@media (max-width: 1200px) {
  .nav__list     { gap: 1.6rem; }
  .header__inner { gap: 1rem; }
}
@media (max-width: 1120px) {
  .nav, .header__social { display: none; }
  .header__hamburger    { display: flex; }
  .header.scrolled.open { background: var(--bg); }
}
/* Foto da feiticeira no banner da Home (fora do celular): o topo do banner
   corta sempre o mesmo ponto da foto — ela começa 15,56% da própria altura
   acima do topo, o enquadramento do print de referência (1920×961: foto
   com 1800px de altura, 280px acima). O tamanho continua o cover de
   sempre; a altura que o cover dá à foto é a maior entre a largura da área
   × proporção da foto (53% da página × 5312/2988 = 94,22cqw; 1cqw = 1% do
   .hero) e a altura da área (100vh + 350px). Antes eram três deslocamentos
   fixos (-100/-190/-280px) que pulavam conforme a resolução. */
.hero { container-type: inline-size; }
@media (min-width: 769px) {
  .hero__img {
    background-position: center -280px;
    background-position: center calc(-0.1556 * max(94.22cqw, 100vh + 350px));
  }
}

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .about-hero-grid  { gap: 3.5rem; }
  .contact-layout   { gap: 3rem; }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
  .footer__brand    { grid-column: span 2; }
  .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .blog-grid           { grid-template-columns: repeat(2, 1fr); }
  .blog-full-grid      { grid-template-columns: 1fr; }
  .blog-full-grid .blog-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .blog-full-grid .blog-card--featured .blog-card__img { min-height: 260px; }
  .services-grid      { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --hh: 68px; }
  .header__logo .logo-img { height: 32px; }

  /* Hero */
  .hero__scroll { display: none; }
  .hero__title  { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__title em { white-space: normal; }
  .hero__sub    { max-width: 100%; }

  /* Hero mobile: foto no topo, preto embaixo */
  .hero__bg { background: #000; }
  .hero__img {
    display: block;
    inset: 0;
    width: 100%;
    clip-path: none;
    opacity: 1;
    background-position: center -100px !important;
  }
  .hero__img::before {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.45) 35%,
      rgba(0,0,0,0.85) 60%,
      #000 75%
    );
  }
  .hero__content {
    padding: calc(var(--hh) + 10rem) 1.5rem 3rem;
    align-items: center;
    text-align: center;
  }
  .hero__eyebrow {
    flex-direction: row;
    margin-bottom: 0.75rem;
  }
  .hero__eyebrow::after { display: none; }
  .hero__eyebrow::before {
    display: block;
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
  }
  .hero__title {
    margin-bottom: 0.75rem;
    line-height: 1.1;
  }
  .hero__sub {
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  /* Portfolio preview */
  .portfolio-grid       { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-grid .portfolio-item { grid-column: span 1 !important; aspect-ratio: 4/3; }

  /* About teaser */
  .about-teaser         { grid-template-columns: 1fr; }
  .about-teaser__img    { min-height: 280px; }
  .about-teaser__content{ padding: 3.5rem 2rem; }

  /* Blog */
  .blog-grid            { grid-template-columns: 1fr; }
  .blog-card__title     { font-size: 1.25rem; }
  .blog-full-grid .blog-card--featured .blog-card__img { min-height: 200px; }

  /* Portfolio page */
  .portfolio-full-grid  { grid-template-columns: 1fr; }
  .portfolio-filters    { gap: 0.35rem; flex-wrap: wrap; justify-content: center; }
  .filter-btn           { padding: 0.45rem 1.1rem; font-size: 0.67rem; }

  /* Sobre */
  .values-grid          { grid-template-columns: 1fr; }
  .value-item           { border-right: none; padding: 2rem 1.5rem; }
  .about-hero-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero-photo     { display: none; }
  .bio-grid             { grid-template-columns: 1fr; gap: 2rem; }
  .bio-grid .img-real   { height: 260px !important; }
  .service-item         { padding: 2rem 1.5rem; }
  .service-item__num    { font-size: 2.5rem; }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Contato */
  .contact-layout       { grid-template-columns: 1fr; gap: 3rem; }
  .form-row             { grid-template-columns: 1fr; gap: 0; }
  .contact-form         { padding: 2rem 1.5rem; }
  .contact-detail       { gap: 0.75rem; }
  .contact-social       { gap: 0.5rem; }
  .contact-social a     { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

  /* Footer */
  .footer__grid         { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__brand        { grid-column: span 1; }

  /* Global */
  .section              { padding: 4rem 0; }
  .section--lg          { padding: 5rem 0; }
  .cta                  { padding: 5rem 0; }
  .section-header       { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .container            { padding: 0 1.25rem; }

  /* Hero */
  .hero__actions        { flex-direction: column; }
  .hero__actions .btn   { width: 100%; text-align: center; }

  /* Portfolio */
  .filter-btn           { padding: 0.4rem 0.9rem; font-size: 0.65rem; }

  /* Blog */
  .blog-card__body      { padding: 1.25rem; }
  .blog-card__title     { font-size: 1.1rem; }
  .blog-full-grid .blog-card--featured .blog-card__body { padding: 1.5rem; }

  /* Sobre */
  .value-item           { padding: 1.75rem 1.25rem; }
  .service-item         { padding: 1.75rem 1.25rem; }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Contato */
  .contact-form         { padding: 1.5rem 1rem; }
  .contact-social a     { padding: 0.5rem 1rem; }

  /* CTA */
  .cta                  { padding: 4rem 0; }
  .cta__actions         { flex-direction: column; align-items: center; }
  .cta__actions .btn    { width: 100%; text-align: center; }

  /* Footer */
  .footer__grid         { gap: 2rem; }

  /* FAQ */
  .faq-item summary     { font-size: 1.05rem; gap: 0.75rem; }

  /* WhatsApp btn */
  .btn--wa              { width: 100%; justify-content: center; }

  /* WhatsApp FAB */
  .whatsapp-fab         { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }

  /* Global */
  .section              { padding: 3rem 0; }
  .section--lg          { padding: 4rem 0; }
}

/* ================================================================
   PÁGINA EXPERIÊNCIA (/experiencia/)
   Introdução → Jornada → Como é o ensaio? → A Entrega → Do seu jeito
   → Encerramento → FAQ. Todo o conteúdo vem do dashboard; as seções
   não têm quantidade fixa de itens.
================================================================ */
/* Sem a introdução (desativada), o conteúdo começa abaixo do cabeçalho;
   com ela, o cabeçalho fica transparente sobre o fundo turquesa. */
.exp-page--plain { padding-top: var(--hh); }

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

/* Textos editados no dashboard (parágrafos + **negrito**) */
.exp-prose p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.9;
}
.exp-prose p + p     { margin-top: 1.15rem; }
.exp-prose strong    { color: var(--text); font-weight: 600; }

/* Cabeçalho das seções */
/* Cabeçalho das seções no padrão da Home ("Depoimentos / O que dizem as
   encantadas"): rótulo pequeno + título grande, centralizados. O texto
   opcional da seção vem logo abaixo. */
.exp-head {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.exp-head .exp-prose      { max-width: 680px; margin: 1.5rem auto 0; }
.exp-head .exp-prose p    { font-size: 0.97rem; }

/* ── Introdução ─────────────────────────────────────────────────── */
/* Mesmo padrão de abertura das páginas internas (.page-hero, como em
   Trabalhos, Contato e Blog): rótulo, título e texto centralizados. O
   texto ocupa toda a largura da página (.container, 1400px), a mesma do
   conteúdo do cabeçalho e do rodapé. */
.exp-hero__text {
  width: 100%;
}
.page-hero .exp-hero__text p {
  max-width: none;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.page-hero .exp-hero__text p + p { margin-top: 1.15rem; }
.exp-hero__text strong           { color: var(--text); font-weight: 600; }
/* Com imagem: mesma disposição da abertura da Sobre (.about-hero-*) —
   foto à esquerda, texto à direita alinhado à esquerda, os dois alinhados
   no topo; no celular, foto em cima e texto embaixo. */
.exp-hero--image {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--hh) + 4rem) 0 5rem;
  text-align: left;
}
.exp-hero--image .exp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start; /* foto alinhada ao topo, junto do início do texto */
}
/* Imagens da Experiência: sempre o arquivo original, ocupando 100% da
   largura do espaço, com a altura na proporção da própria imagem — sem
   corte e sem preenchimento. */
.exp-hero__photo { margin: 0; }
.exp-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
}
.exp-hero--image h1 { margin-bottom: 1.5rem; }
@media (max-width: 1100px) {
  .exp-hero--image .exp-hero__grid { gap: 3.5rem; }
}
@media (max-width: 768px) {
  .exp-hero--image                 { min-height: 0; }
  .exp-hero--image .exp-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── A Jornada do Ensaio (linha do tempo) ──────────────────────── */
.exp-journey { background: var(--white); }
.exp-timeline {
  --progress: 0;
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
/* Traço de base + preenchimento conforme a rolagem (experience.js) */
.exp-timeline::before,
.exp-timeline::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
}
.exp-timeline::before { background: var(--border-dark); }
.exp-timeline::after {
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(var(--progress));
}
.exp-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem minmax(0, 1fr);
  align-items: center;
}
.exp-step + .exp-step { margin-top: 7rem; }
.exp-step__marker {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 7px var(--white);
  transition: background 0.5s ease, transform 0.5s ease;
}
.exp-step.is-active .exp-step__marker {
  background: var(--accent);
  transform: scale(1.25);
}
.exp-step__photo {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 460px);
  margin: 0;
  overflow: hidden;
}
.exp-step__photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.exp-step:hover .exp-step__photo img { transform: scale(1.04); }
.exp-step__body {
  grid-column: 3;
  grid-row: 1;
  max-width: 440px;
}
.exp-step:nth-child(even) .exp-step__photo { grid-column: 3; justify-self: start; }
.exp-step:nth-child(even) .exp-step__body  { grid-column: 1; justify-self: end; }
.exp-step__num {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  transition: color 0.6s ease;
}
.exp-step.is-active .exp-step__num { color: var(--accent); }
.exp-step__title { margin-bottom: 1rem; }

/* ── Como é o ensaio? (vídeo vertical) ─────────────────────────── */
.exp-video {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  background: linear-gradient(135deg, #001418 0%, #003040 55%, #001A22 100%);
  color: var(--white);
}
.exp-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 50%, rgba(108,168,180,0.16) 0%, transparent 55%);
}
.exp-video > .container        { position: relative; }
.exp-video .section-label     { color: var(--accent); }
.exp-video h2                 { color: var(--white); }
.exp-video .exp-prose p       { color: rgba(255,255,255,0.62); }
.exp-video .exp-prose strong  { color: var(--white); }
.exp-reel {
  position: relative;
  width: min(380px, 78vh * 9 / 16);
  margin: 0 auto;
}
/* Triângulo do logotipo em traço, atrás do vídeo */
.exp-reel__shape {
  position: absolute;
  left: -32%;
  top: -9%;
  width: 150%;
  height: 112%;
  overflow: visible;
  pointer-events: none;
}
.exp-reel__shape polygon {
  fill: none;
  stroke: rgba(108,168,180,0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.exp-reel__video {
  position: relative;
  display: block;
  width: 100%;
  height: auto; /* proporção do próprio vídeo */
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.exp-reel__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--tr);
}
.exp-reel__play[hidden] { display: none; }
.exp-reel__play:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}
.exp-reel__play:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 5px;
}
.exp-reel__video:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

/* ── A Entrega ──────────────────────────────────────────────────── */
.exp-delivery { background: var(--bg); }
.exp-delivery__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6rem;
  align-items: start;
  margin-bottom: 4.5rem;
}
.exp-delivery__intro > :only-child { grid-column: 1 / -1; max-width: 680px; margin: 0 auto; text-align: center; }
.exp-delivery__text p          { font-size: 0.97rem; }
.exp-delivery__edit {
  border-left: 1px solid var(--accent);
  padding: 0.5rem 0 0.5rem 2.5rem;
}
.exp-delivery__edit .exp-prose p { color: var(--text); font-size: 0.97rem; }
/* Mosaico: cada imagem no próprio formato (sem corte) */
.exp-mosaic {
  columns: 3 280px;
  column-gap: 1.25rem;
}
.exp-mosaic__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.exp-mosaic figure { margin: 0; }
.exp-mosaic__btn {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--white);
}
.exp-mosaic__btn img {
  width: 100%;
  height: auto;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.exp-mosaic__btn:hover img { transform: scale(1.03); }
.exp-mosaic__btn:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}
.exp-mosaic__caption {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ── Do seu jeito ───────────────────────────────────────────────── */
.exp-style {
  background: var(--white);
  /* Abaixo dos cards, o mesmo espaço que há entre eles (gap de .exp-choices). */
  --exp-choices-gap: 3px;
  padding: 7rem 0 var(--exp-choices-gap);
}
.exp-choices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--exp-choices-gap);
  align-items: start;
}
.exp-choice {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #001418 0%, #003040 60%, #004050 100%);
  color: var(--white);
}
.exp-choice--noimg { min-height: 560px; }
.exp-choice__img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.exp-choice::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,14,18,0.9) 0%, rgba(0,14,18,0.4) 38%, rgba(0,14,18,0) 65%);
  pointer-events: none;
}
.exp-choice:hover .exp-choice__img { transform: scale(1.05); }
.exp-choice__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 3rem 2.75rem;
  transform: translateY(0.6rem);
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.exp-choice:hover .exp-choice__body { transform: none; }
.exp-choice__num {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  margin-bottom: 1.1rem;
}
.exp-choice__num::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.exp-choice__title {
  color: var(--white);
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.exp-choice__text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 360px;
}
.exp-choice__text strong { color: var(--white); font-weight: 600; }

/* ── Encerramento ───────────────────────────────────────────────── */
.exp-closing {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 9rem 0;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, #001418 0%, #003040 50%, #001A22 100%);
}
/* Com imagem: a foto ocupa toda a largura, com a altura na proporção dela;
   pergunta e botões ficam sobre a foto, centralizados (no celular, abaixo
   dela). */
.exp-closing--image {
  display: grid;
  padding: 0;
}
.exp-closing__img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}
.exp-closing--image .exp-closing__content {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.exp-closing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(108,168,180,0.12) 0%, transparent 65%);
}
.exp-closing--image::after {
  background: linear-gradient(to bottom, rgba(0,14,18,0.35) 0%, rgba(0,14,18,0.55) 50%, rgba(0,14,18,0.8) 100%);
}
.exp-closing__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.exp-closing .section-label     { color: var(--accent-light); }
.exp-closing h2 {
  color: var(--white);
  margin-bottom: 2rem;
}
.exp-closing .exp-prose p       { color: rgba(255,255,255,0.82); font-size: 1.1rem; }
.exp-closing .exp-prose strong  { color: var(--white); }
.exp-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
}
.exp-closing .btn--outline {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}
.exp-closing .btn--outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
}
.exp-closing__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* ── FAQ em acordeão (Home, Experiência e Blog) ────────────────── */
/* Cada pergunta é um card; a pergunta inteira é o botão (summary) e o
   ícone redondo vira "−" quando aberto. <details name="faq"> mantém uma
   pergunta aberta por vez. */
.faq-section { background: var(--bg-light); }
.faq-list .faq-item {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  padding: 0;
  cursor: default;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.faq-list .faq-item + .faq-item     { margin-top: 0.9rem; }
.faq-list .faq-item:last-child      { border-bottom: 1px solid var(--border-dark); }
.faq-list .faq-item:hover           { border-color: var(--border); box-shadow: var(--sh); }
.faq-list .faq-item[open]           { border-color: var(--accent); box-shadow: var(--sh); }
.faq-list .faq-item summary {
  padding: 1.35rem 1.6rem;
  font-size: 1.15rem;
  line-height: 1.4;
  transition: color var(--tr);
}
.faq-list .faq-item summary:hover,
.faq-list .faq-item[open] summary   { color: var(--accent-dark); }
.faq-list .faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.faq-list .faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.faq-list .faq-icon::before,
.faq-list .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform var(--tr);
}
.faq-list .faq-icon::after                  { transform: rotate(90deg); }
.faq-list .faq-item summary:hover .faq-icon { background: var(--accent-light); }
.faq-list .faq-item[open] .faq-icon {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: none;
}
.faq-list .faq-item[open] .faq-icon::after  { transform: rotate(0deg); }
.faq-list .faq-item__answer {
  border-top: 1px solid var(--border-dark);
  margin: 0 1.6rem;
  padding: 1.25rem 0 1.5rem;
}
.faq-list .faq-item__answer p       { margin-top: 0; }
.faq-list .faq-item__answer p + p   { margin-top: 0.9rem; }
.faq-list .faq-item[open] .faq-item__answer { animation: faqReveal 0.45s ease; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
  .faq-list .faq-item summary   { padding: 1.1rem 1.15rem; font-size: 1rem; }
  .faq-list .faq-item__answer   { margin: 0 1.15rem; }
  .faq-list .faq-icon           { width: 30px; height: 30px; }
}

/* ── Experiência — responsivo ──────────────────────────────────── */
@media (max-width: 1100px) {
  .exp-delivery__intro { gap: 3.5rem; }
  .exp-step            { grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr); }
  .exp-choice__body    { padding: 2.25rem 1.75rem; }
}

@media (max-width: 900px) {

  /* Jornada: linha à esquerda, foto e texto na mesma coluna */
  .exp-head                         { margin-bottom: 3.5rem; }
  .exp-timeline::before,
  .exp-timeline::after              { left: 6px; }
  .exp-step {
    grid-template-columns: 13px minmax(0, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.75rem;
    align-items: start;
  }
  .exp-step + .exp-step             { margin-top: 4.5rem; }
  .exp-step__marker                 { grid-column: 1; grid-row: 1; margin-top: 0.4rem; }
  .exp-step__photo,
  .exp-step:nth-child(even) .exp-step__photo {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
  }
  .exp-step__body,
  .exp-step:nth-child(even) .exp-step__body {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    max-width: 560px;
  }
  .exp-step--text .exp-step__body   { grid-row: 1; }
  .exp-step__num                    { font-size: 3rem; margin-bottom: 0.75rem; }

  /* Vídeo: texto em cima, vídeo ocupando a tela */
  .exp-video                        { padding: 5rem 0; }
  .exp-reel {
    width: min(100%, 82vh * 9 / 16, 440px);
    margin: 0 auto;
  }
  .exp-reel__shape                  { left: -12%; width: 124%; }

  /* Entrega */
  .exp-delivery__intro              { grid-template-columns: minmax(0, 1fr); margin-bottom: 3.5rem; }
  .exp-delivery__edit               { padding-left: 1.5rem; }
  .exp-mosaic                       { columns: 2 200px; column-gap: 0.75rem; }
  .exp-mosaic__item                 { margin-bottom: 0.75rem; }

  /* Do seu jeito: uma imagem grande por vez */
  .exp-style                        { padding: 4rem 0 var(--exp-choices-gap); }
  .exp-choices {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    height: auto;
    min-height: 0;
  }
  .exp-choice--noimg                { min-height: 440px; }
  .exp-choice__body                 { transform: none; padding: 2.25rem 1.5rem; }

  /* Encerramento */
  .exp-closing                      { padding: 5.5rem 0; }
  .exp-closing--image .exp-closing__content { grid-area: 2 / 1; padding-top: 3.5rem; padding-bottom: 4rem; }
  .exp-closing--image::after        { display: none; }
}

@media (max-width: 540px) {
  .exp-prose p                      { font-size: 0.97rem; }
  .exp-mosaic                       { columns: 1; }
  .exp-style                        { padding: 3rem 0 var(--exp-choices-gap); }
  .exp-mosaic__item                 { margin-bottom: 1rem; }
  .exp-closing .exp-prose p         { font-size: 1rem; }
  .exp-closing__btn {
    white-space: normal;
    width: 100%;
    text-align: center;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp-step__photo img,
  .exp-mosaic__btn img,
  .exp-choice__img,
  .exp-choice__body,
  .exp-step__marker,
  .exp-step__num,
  .exp-reel__play           { transition: none; }
  .exp-timeline::after      { transform: none; }
  .faq-list .faq-item[open] .faq-item__answer { animation: none; }
  .faq-list .faq-item, .faq-list .faq-icon, .faq-list .faq-icon::before, .faq-list .faq-icon::after { transition: none; }
}
