/* ==========================================================================
   TEMPLATE BARBEARIA — style.css
   Índice
   1. Tokens (CORES, FONTES, ESPAÇOS)  ← troque a identidade visual aqui
   2. Base
   3. Componentes (botões, títulos, ícones)
   4. Header e menu mobile
   5. Hero
   6. Sobre
   7. Serviços
   8. Galeria
   9. Diferenciais
   10. Avaliações
   11. CTA
   12. Localização
   13. Footer e botão flutuante
   14. Acessibilidade e movimento reduzido
   ========================================================================== */


/* ==========================================================================
   1. TOKENS — para trocar de cliente/nicho, altere principalmente este bloco
   ========================================================================== */
:root {
  /* ----- CORES ----- */
  --color-bg:        #050505;                 /* fundo principal (preto profundo) */
  --color-surface:   #0e0e0e;                 /* cards e painéis */
  --color-surface-2: #151515;                 /* painéis em destaque */
  --color-text:      #ffffff;                 /* texto principal */
  --color-muted:     rgba(255, 255, 255, .68);/* texto secundário */
  --color-line:      rgba(255, 255, 255, .11);/* linhas discretas */

  --color-accent:       #c9a55c;              /* dourado principal */
  --color-accent-light: #e6cd92;              /* dourado claro (hover, brilho) */
  --color-accent-dark:  #9c7b38;              /* dourado escuro (gradiente) */
  --color-accent-line:  rgba(201, 165, 92, .38);
  --color-on-accent:    #0a0a0a;              /* texto sobre botões dourados */

  /* ----- TIPOGRAFIA ----- */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ----- LAYOUT ----- */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ----- TRATAMENTO DAS FOTOS (deixa fotos de fontes diferentes com o mesmo tom) ----- */
  --photo-grade:       saturate(.78) contrast(1.06) brightness(.94);
  --photo-grade-hover: saturate(1) contrast(1.06) brightness(1);
}


/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 7.4vw + .6rem, 6.4rem); font-weight: 600; white-space: pre-line; }
h2 { font-size: clamp(2.2rem, 3.6vw + 1rem, 3.7rem); }
h3 { font-size: 1.6rem; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
a  { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-space); position: relative; }

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

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--color-accent); color: var(--color-on-accent);
  padding: .7rem 1.1rem; font-weight: 500; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }


/* ==========================================================================
   3. COMPONENTES
   ========================================================================== */

/* Linha dourada curta que abre cada seção */
.rule { display: block; width: 3rem; height: 1px; background: var(--color-accent); margin-bottom: 1.6rem; }

.section-head { max-width: 40rem; margin: 0 auto clamp(2.75rem, 5vw, 4.25rem); text-align: center; }
.section-head .rule { margin-inline: auto; }
.section-head p { margin-top: 1.1rem; color: var(--color-muted); }

/* Ícones */
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--lg { width: 2.25rem; height: 2.25rem; }
.icon--star { width: 1rem; height: 1rem; fill: var(--color-accent); stroke: var(--color-accent); }
.icon-wrap { display: inline-flex; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.75rem;
  font: 500 1rem/1 var(--font-body);
  letter-spacing: .02em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: scale(1.12) rotate(-6deg); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--gold {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent) 50%, var(--color-accent-dark));
  background-size: 160% 100%; background-position: 0 0;
  color: var(--color-on-accent);
}
.btn--gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 10px 30px -8px rgba(201, 165, 92, .55); }

.btn--ghost { border-color: rgba(255, 255, 255, .34); color: var(--color-text); background: transparent; }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-light); transform: translateY(-2px); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn--sm { padding: .72rem 1.25rem; font-size: .95rem; }

.link-gold { display: inline-flex; align-items: center; gap: .6rem; color: var(--color-accent-light); border-bottom: 1px solid var(--color-accent-line); padding-bottom: .25rem; transition: border-color .3s var(--ease), color .3s var(--ease); }
.link-gold:hover { color: var(--color-text); border-color: var(--color-accent); }


/* ==========================================================================
   4. HEADER E MENU MOBILE
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(5, 5, 5, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--color-line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; position: relative; z-index: 120; }
.brand img { height: 46px; width: auto; }
.brand__text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: .2em; color: var(--color-accent); }

/* Menu — mobile primeiro: painel de tela cheia */
.nav {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  background: rgba(5, 5, 5, .98);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.nav__list { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.nav__list a { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--color-muted); transition: color .25s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--color-accent-light); }

/* Botão hambúrguer */
.menu-toggle { position: relative; z-index: 120; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--color-text); }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child  { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { top: 21.5px; transform: rotate(-45deg); }

/* Desktop: menu horizontal */
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .nav {
    position: static; inset: auto; z-index: auto; flex-direction: row; gap: 2.5rem;
    background: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__list { flex-direction: row; gap: 2rem; }
  .nav__list a { position: relative; font-family: var(--font-body); font-size: .97rem; font-weight: 400; padding-block: .4rem; color: rgba(255, 255, 255, .8); }
  .nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav__list a:hover, .nav__list a[aria-current] { color: var(--color-text); }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
  .nav__cta { padding: .8rem 1.4rem; font-size: .95rem; }
}


/* ==========================================================================
   5. HERO — a entrada da página é a única animação "de cena" do site
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: var(--photo-grade); animation: hero-zoom 2.8s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, .1) 35%, rgba(5, 5, 5, .9) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .9) 0%, rgba(5, 5, 5, .45) 50%, rgba(5, 5, 5, 0) 100%);
}

.hero__content { display: flex; flex-direction: column; align-items: flex-start; }
.hero__tagline { color: var(--color-accent-light); font-size: 1.05rem; letter-spacing: .04em; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.hero__tagline::before { content: ""; width: 3rem; height: 1px; background: var(--color-accent); }
.hero h1 { max-width: 16em; text-wrap: balance; }
.hero__lead { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem); color: rgba(255, 255, 255, .8); }
.hero__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: .15s; }
.hero__content > :nth-child(2) { animation-delay: .3s; }
.hero__content > :nth-child(3) { animation-delay: .5s; }
.hero__content > :nth-child(4) { animation-delay: .65s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }

@media (max-width: 599px) {
  .hero__actions .btn { width: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 5, 5, .7) 0%, rgba(5, 5, 5, .55) 45%, rgba(5, 5, 5, .96) 100%); }
}


/* ==========================================================================
   6. SOBRE — moldura em arco (formato de espelho de barbearia)
   ========================================================================== */
.about__grid { display: grid; gap: 3.5rem; align-items: center; }

.arch { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.arch::before {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--color-accent-line);
  border-radius: inherit; transform: translate(12px, 12px); transition: transform .5s var(--ease);
}
.arch img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: var(--photo-grade); }
.arch:hover::before { transform: translate(18px, 18px); }

.about__text h2 { max-width: 16ch; }
.prose { margin-top: 1.75rem; display: grid; gap: 1.1rem; max-width: 34rem; color: var(--color-muted); }

.stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; max-width: 34rem; }
.stats > div { padding-inline: 1.5rem; border-left: 1px solid var(--color-line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 600; color: var(--color-accent-light); line-height: 1; }
.stats dd { margin-top: .5rem; font-size: .9rem; color: var(--color-muted); line-height: 1.35; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(4rem, 8vw, 7rem); }
  .arch { margin-left: 0; }
  .arch::before { transform: translate(18px, 18px); }
}


/* ==========================================================================
   7. SERVIÇOS
   ========================================================================== */
.services { background: linear-gradient(180deg, var(--color-bg), var(--color-surface) 12%, var(--color-surface) 88%, var(--color-bg)); }

.services__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { border-color: var(--color-accent-line); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(201, 165, 92, .35); }

.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-surface-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform .8s var(--ease), filter .5s var(--ease); }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, .75)); pointer-events: none; }
.service:hover .service__media img { transform: scale(1.06); filter: var(--photo-grade-hover); }

.service__body { flex: 1; display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.75rem 1.7rem; }
.service__body p { color: var(--color-muted); }
.service__foot { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--color-line); }
.service__price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--color-accent-light); line-height: 1; }

.service--featured { background: linear-gradient(160deg, #1a1508 0%, var(--color-bg) 70%); border-color: var(--color-accent-line); }
.service--featured h3 { font-size: 2.1rem; }
.service__badge { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .3rem .85rem; font-size: .8rem; font-weight: 500; color: var(--color-on-accent); background: var(--color-accent); border-radius: 999px; }

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service--featured { grid-column: 1 / -1; flex-direction: row; }
  .service--featured .service__media { flex: 1 1 50%; aspect-ratio: auto; min-height: 300px; }
  .service--featured .service__body { flex: 1 1 50%; justify-content: center; padding: 2.25rem; }
  .service--featured .service__foot { margin-top: 1rem; }
}
@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service--featured { grid-column: span 2; }
}


/* ==========================================================================
   8. GALERIA
   ========================================================================== */
.gallery__grid { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(170px, 44vw, 260px); }
.shot { position: relative; overflow: hidden; background: var(--color-surface); }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform .9s var(--ease), filter .5s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, .85)); opacity: 0; transition: opacity .45s var(--ease); }
.shot figcaption { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.shot:hover img { transform: scale(1.06); filter: var(--photo-grade-hover); }
.shot:hover::after, .shot:hover figcaption { opacity: 1; transform: none; }

.gallery__more { margin-top: 2.5rem; text-align: center; }

@media (min-width: 900px) {
  /* 4 colunas: linha 1 = [foto larga][foto][foto] · linha 2 = [foto][foto][foto larga] */
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 1rem; }
  .shot:nth-child(1), .shot:nth-child(6) { grid-column: span 2; }
}
@media (hover: none) {
  .shot::after, .shot figcaption { opacity: 1; transform: none; }
  .shot::after { opacity: .8; }
}


/* ==========================================================================
   9. DIFERENCIAIS
   ========================================================================== */
.features { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.features__grid { display: grid; gap: 2.75rem 0; grid-template-columns: 1fr; }
.feature { padding-inline: 0; display: flex; flex-direction: column; gap: .8rem; }
.feature__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: .6rem; color: var(--color-accent); border: 1px solid var(--color-accent-line); border-radius: 50%; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.feature__icon .icon { width: 1.4rem; height: 1.4rem; }
.feature:hover .feature__icon { background: var(--color-accent); color: var(--color-on-accent); transform: translateY(-3px); }
.feature h3 { font-size: 1.5rem; }
.feature p { color: var(--color-muted); font-size: 1rem; }

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
}
@media (min-width: 1000px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .feature { padding-inline: 2rem; border-left: 1px solid var(--color-line); }
  .feature:first-child { padding-left: 0; border-left: 0; }
  .feature:last-child { padding-right: 0; }
}


/* ==========================================================================
   10. AVALIAÇÕES
   ========================================================================== */
.reviews__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.review { display: flex; flex-direction: column; gap: 1.2rem; padding: 2.2rem 2rem; background: var(--color-surface); border: 1px solid var(--color-line); border-top: 2px solid var(--color-accent-line); transition: border-color .35s var(--ease), transform .35s var(--ease); }
.review:hover { border-top-color: var(--color-accent); transform: translateY(-3px); }
.review__stars { display: flex; gap: .2rem; }
.review blockquote p { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.4; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .95rem; }
.review figcaption span { color: var(--color-muted); }

@media (min-width: 800px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }


/* ==========================================================================
   11. CTA
   ========================================================================== */
.cta { padding-block: 0 var(--section-space); }
.cta__box {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--color-accent-line);
 background: var(--color-surface);
  isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.cta__box::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 165, 92, .22), transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 5, .78), rgba(5, 5, 5, .9)); }
.cta__box::before { content: ""; position: absolute; inset: 10px; z-index: 0; border: 1px solid rgba(201, 165, 92, .16); pointer-events: none; }
.cta__box h2 { max-width: 18ch; margin-inline: auto; }
.cta__box p { margin: 1.3rem auto 2.4rem; max-width: 32rem; color: var(--color-muted); }


/* ==========================================================================
   12. LOCALIZAÇÃO
   ========================================================================== */
.location { padding-top: 0; }
.location__grid { display: grid; gap: 3rem; }
.location__info h2 { margin-bottom: 2.25rem; }

.contact-list { display: grid; gap: 1.6rem; }
.contact-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-list .icon { margin-top: .3rem; color: var(--color-accent); }
.contact-list h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: .25rem; letter-spacing: 0; }
.contact-list p, .contact-list dd, .contact-list dt { color: var(--color-muted); }
.contact-list a { transition: color .25s var(--ease); }
.contact-list a:hover { color: var(--color-accent-light); }
.hours { display: grid; gap: .2rem; }
.hours > div { display: flex; gap: 1.5rem; justify-content: space-between; max-width: 20rem; }
.location__actions { margin-top: 2.25rem; }

.map { position: relative; min-height: 340px; border: 1px solid var(--color-line); background: var(--color-surface); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem; color: var(--color-muted);
  background:
    linear-gradient(var(--color-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--color-surface);
}
.map__placeholder .icon { color: var(--color-accent); }

@media (min-width: 900px) {
  .location__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: stretch; }
  .map { min-height: 460px; }
}


/* ==========================================================================
   13. FOOTER E BOTÃO FLUTUANTE
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-line); background: var(--color-surface); padding-top: 4rem; }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; color: var(--color-muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.footer__links a { color: var(--color-muted); transition: color .25s var(--ease); }
.footer__links a:hover { color: var(--color-accent-light); }
.footer__social { display: flex; gap: .75rem; }
.footer__social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid var(--color-line); border-radius: 50%; transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.footer__social a:hover { border-color: var(--color-accent); color: var(--color-accent-light); transform: translateY(-3px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--color-line); font-size: .9rem; color: var(--color-muted); }
.footer__note { flex-basis: 100%; }
.footer__bottom a:hover { color: var(--color-accent-light); }

@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.2fr 1.6fr auto; align-items: start; gap: 3rem; }
}

.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark)); color: var(--color-on-accent);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.fab .icon { width: 1.6rem; height: 1.6rem; }
.fab.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab.is-visible:hover { transform: translateY(-3px) scale(1.05); }
body.menu-open .fab { display: none; }


/* ==========================================================================
   14. ACESSIBILIDADE E MOVIMENTO REDUZIDO
   ========================================================================== */
:focus-visible { outline: 2px solid var(--color-accent-light); outline-offset: 3px; }

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