/* ==========================================================================
   Estúdio Amanda Niak — Versão 2 (modelo institucional / editorial)
   Hero com imagem única → O estúdio (3 pilares) → Quem cuida → Cuidados
   → Contato → Portfólio → Rodapé
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #17110F;        /* fundo escuro / texto principal */
  --ink-2: #110C0B;      /* rodapé */
  --paper: #F6EFEA;      /* fundo claro (marfim rosado) */
  --rose: #9C3F57;       /* destaque primário (legível no claro) */
  --rose-hover: #7F3146;
  --blush: #E6A2B2;      /* destaque no escuro */
  --brass: #C9A35E;      /* fios e linhas (ouro do logo) */
  --muted: #6A5B54;
  --muted-dark: #BFB3AC;
  --line: #E3D6CC;
  --white: #FFFCFA;

  --display: "Playfair Display", Georgia, serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(28px, 5.5vw, 42px); margin-bottom: 16px; }
h3 { font-size: 20px; }
p { color: var(--muted); }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible,
.cookie :focus-visible, .site-header:not(.solid) :focus-visible { outline-color: var(--blush); }

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

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.section { padding: clamp(64px, 10vw, 96px) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark p { color: var(--muted-dark); }
.section-dark .eyebrow { color: var(--brass); }
.max-60 { max-width: 600px; }
.rule { width: 48px; height: 2px; background: var(--brass); margin: 18px 0 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-icon { flex: none; }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--rose); border-color: var(--rose); }
.btn-rose { background: var(--rose); border-color: var(--rose); color: var(--white); }
.btn-rose:hover { background: var(--rose-hover); border-color: var(--rose-hover); }
.btn-ghost-light { background: transparent; border-color: rgba(246,239,234,.55); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(246,239,234,.08); }
.btn-sm { min-height: 44px; padding: 0 20px; }

.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
.inline-link { color: var(--rose); text-decoration: underline; text-underline-offset: .3em; font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: background-color .25s ease, padding .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.solid { background: var(--paper); border-bottom-color: var(--line); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 34px; width: auto; }
.logo .logo-dark { display: none; }
.site-header.solid .logo .logo-light { display: none; }
.site-header.solid .logo .logo-dark { display: block; }
.nav-links { display: none; gap: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.nav-links a:hover { color: var(--brass); }
.site-header.solid .nav-links { color: var(--ink); }
.site-header.solid .nav-links a:hover { color: var(--rose); }
.btn-header { min-height: 44px; padding: 0 20px; background: transparent; border-color: var(--white); color: var(--white); }
.btn-header:hover { background: var(--white); color: var(--ink); }
.site-header.solid .btn-header { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site-header.solid .btn-header:hover { background: var(--rose); border-color: var(--rose); }

/* ---------- Hero (imagem única) ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; overflow: hidden; background: var(--ink); color: var(--white); display: flex; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide:nth-child(1) { object-position: 50% 35%; }
.slides::after {   /* véu escuro: garante leitura do texto sobre as fotos */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,17,15,.92) 0%, rgba(23,17,15,.62) 50%, rgba(23,17,15,.55) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 88px; }
.hero-content .eyebrow { color: var(--brass); }
.hero h1 { font-size: clamp(38px, 8vw, 68px); max-width: 720px; margin: 8px 0 20px; font-style: italic; }
.hero-content > p { color: #EDE6DE; max-width: 500px; margin-bottom: 30px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: .35em; }
.hero-link:hover { color: var(--blush); }
.hero .hero-note { margin-top: 20px; margin-bottom: 0; font-size: 13px; color: #D9CFC7; }


/* ---------- O estúdio / pilares ---------- */
.intro-text { max-width: 700px; font-size: 17px; margin-bottom: 48px; }
.pillars { display: grid; grid-template-columns: 1fr; gap: 36px; }
.pillar { border-top: 1px solid var(--line); padding-top: 22px; }
.pillar .num { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--rose); }
.pillar h3 { font-size: 24px; margin: 10px 0 10px; }
.pillar p { font-size: 15.5px; }
.pillar-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rose); }
.pillar-link::after { content: "→"; }
.pillar-link:hover { color: var(--rose-hover); }

/* ---------- Quem cuida ---------- */
.mvt { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.mvt-media { aspect-ratio: 4 / 5; background: #2A211E; overflow: hidden; max-width: 460px; }
.mvt-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mvt-list { display: flex; flex-direction: column; gap: 26px; margin-top: 28px; }
.mvt-list h3 { color: var(--paper); margin-bottom: 6px; }
.mvt-list p { font-size: 15.5px; }

/* ---------- Cuidados ---------- */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 44px; }
.cert-item { background: var(--white); padding: 32px 26px; }
.cert-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }
.cert-item h3 { font-size: 19px; margin-bottom: 10px; }
.cert-item p:not(.cert-label) { font-size: 15px; }
.cert-more { margin-top: 24px; font-size: 15px; }
.cert-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--rose); text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
.contact-card { border-top: 2px solid var(--brass); padding-top: 18px; }
.contact-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brass); margin-bottom: 8px; font-weight: 700; }
.contact-card a, .contact-hours { font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--paper) !important; }
.contact-card a { text-decoration: underline; text-decoration-color: rgba(246,239,234,.35); text-underline-offset: .25em; }
.contact-card a:hover { color: var(--blush) !important; }
.contact-cta { margin-top: 40px; }

/* ---------- Portfólio ---------- */
.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 44px; }
.port-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.port-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.port-item:hover img { transform: scale(1.05); }
.port-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.port-cta p { font-family: var(--display); font-size: 20px; color: var(--ink); max-width: 520px; }

/* ---------- Depoimentos (prints do WhatsApp) ---------- */
/* Celular: carrossel com deslize lateral. A partir de 700px: três colunas. */
.dep-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; margin: 44px -20px 0; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
.dep-item { scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: #2a2220; border: 1px solid rgba(201, 163, 94, .35); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.dep-item img { width: 100%; height: auto; }

/* ---------- Dúvidas (acordeão) ---------- */
.section-faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  display: flex; align-items: center; min-height: 68px; padding: 18px 48px 18px 0;
  font-family: var(--display); font-size: clamp(18px, 2.4vw, 21px); line-height: 1.3; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-size: 26px; font-weight: 400; line-height: 1; color: var(--rose);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--rose); }
.faq-answer { padding: 0 0 24px; }
.faq-answer p { font-size: 16px; max-width: 62ch; }
.faq-item[open] .faq-answer { animation: faq-in .3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink-2); color: var(--muted-dark); padding: 64px 0 96px; }  /* 96px: respiro para o botão flutuante */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer .footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer p { color: var(--muted-dark); font-size: 14.5px; }
.footer-title { color: var(--paper); font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.site-footer ul li a, .site-footer ul li .linklike { display: inline-flex; align-items: center; min-height: 40px; font-size: 14.5px; color: var(--muted-dark); }
.site-footer ul li a:hover, .site-footer ul li .linklike:hover { color: var(--paper); }

/* Assinatura de autoria */
.mm-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  border-top: 1px solid #34302C; padding-top: 22px;
}
.site-footer .mm-footer-copy { font-size: 13px; color: rgba(246,239,234,.72); }
.mm-credit {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .35rem .75rem .35rem .5rem;
  border: 1px solid rgba(246,239,234,.2); border-radius: 0;
  color: rgba(246,239,234,.75);
  font-family: var(--body); font-size: .8125rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.mm-credit:hover, .mm-credit:focus-visible { color: var(--paper); border-color: #fdd301; }
.mm-credit__icon { flex: none; display: block; }
.mm-credit--plate .mm-credit__plate { fill: #00165c; }
.mm-credit--plate .mm-credit__m-back { fill: #f7faf7; }
.mm-credit--bare .mm-credit__plate { fill: none; }
.mm-credit--bare .mm-credit__m-back { fill: currentColor; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + var(--cookie-offset, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1D8F4E; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: bottom .2s ease, background-color .2s ease;
}
.wa-float:hover { background: #17783F; }

/* ---------- Banner de cookies ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  display: grid; gap: 14px; padding: 18px;
  background: var(--ink); color: var(--paper); border: 1px solid #3A322E;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.cookie[hidden] { display: none; }
.cookie-text { font-size: 14.5px; line-height: 1.55; color: var(--paper); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Política (modal) ---------- */
.policy { width: calc(100% - 24px); max-width: 680px; max-height: 88vh; margin: auto; padding: 0; border: 0; background: var(--white); color: var(--ink); }
.policy::backdrop { background: rgba(10,7,6,.72); }
.policy-inner { display: flex; flex-direction: column; max-height: 88vh; }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.policy-head h2 { font-size: 24px; margin: 0; }
.policy-close { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.policy-body { padding: 8px 24px 28px; overflow-y: auto; font-size: 15px; }
.policy-body h3 { font-size: 17px; margin: 22px 0 6px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 700px) {
  .wrap { padding: 0 28px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .port-grid { grid-template-columns: repeat(3, 1fr); }
  .dep-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 24px; margin: 44px 0 0; padding: 0; overflow: visible; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
  .cookie { left: 50%; right: auto; transform: translateX(-50%); width: min(880px, calc(100% - 32px)); grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 18px 22px; }
  .cookie-actions { grid-template-columns: auto auto; }
    .logo img { height: 42px; }
  .wa-float { right: 24px; bottom: calc(24px + var(--cookie-offset, 0px)); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .mvt { grid-template-columns: 1fr 1fr; gap: 64px; }
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .mvt-media { max-width: none; }
  .port-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-content { padding-bottom: 88px; }
}

@media (min-width: 1180px) {
  .nav-links { gap: 30px; }
}

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