/* ═══════════════════════════════════════════════════════════
   CAMILA FACHIN — LANDING PAGE
   Paleta: off-white · charcoal escuro · ouro/bronze
   ═══════════════════════════════════════════════════════════ */

/* Visually hidden — acessível a leitores de tela, invisível visualmente */
.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;
}

:root {
  --bg:         #F7F6F2;
  --bg-alt:     #EFEDE7;
  --bg-dark:    #1C1C2E;
  --text:       #1C1C2E;
  --text-muted: #636370;
  --gold:       #B8956A;
  --gold-light: #D4B896;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-sm:  6px;
  --shadow:     0 4px 24px rgba(28,28,46,.08);
  --shadow-md:  0 8px 40px rgba(28,28,46,.14);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --container:  1100px;
  --section-py: 80px;
}

/* ─── RESET / BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── BOTÕES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: #1C1C2E;
  box-shadow: 0 4px 16px rgba(184,149,106,.35);
}
.btn-primary:hover {
  background: #A6824F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,149,106,.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* btn-secondary variant para fundos claros (bg-alt) */
.btn-secondary-alt {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(28,28,46,.3);
}
.btn-secondary-alt:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,149,106,.06);
}

.btn-large { padding: 18px 40px; font-size: 1rem; }

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(28,28,46,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .04em;
}

.header-cta {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212,184,150,.4);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all .2s;
}
.header-cta:hover {
  background: rgba(212,184,150,.12);
  border-color: var(--gold-light);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: 80px; /* header height */
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 15%; /* 65%: centra Camila que está à direita no frame */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Escuro nas laterais (oculta backdrop), claro no centro (Camila visível) */
  background:
    linear-gradient(to right,
      rgba(28,28,46,.96) 0%,
      rgba(28,28,46,.55) 25%,
      rgba(28,28,46,.12) 45%,
      rgba(28,28,46,.12) 55%,
      rgba(28,28,46,.80) 72%,
      rgba(28,28,46,.96) 100%
    ),
    linear-gradient(to bottom,
      rgba(28,28,46,.60) 0%,
      rgba(28,28,46,.10) 20%,
      rgba(28,28,46,.10) 75%,
      rgba(28,28,46,.50) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-top: 60px;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 0 40px rgba(0,0,0,.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── DIFERENCIAIS ────────────────────────────────────────── */
.diferenciais {
  padding: var(--section-py) 0;
  background: var(--white);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card-dif {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(28,28,46,.07);
  transition: box-shadow .2s, transform .2s;
}
.card-dif:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}
.card-icon svg { width: 100%; height: 100%; }

.card-dif h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.card-dif p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-dif strong { color: var(--text); }

/* ─── COMO FUNCIONA ───────────────────────────────────────── */
.como-funciona {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 48px;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.path-card {
  padding: 40px 36px;
  border-radius: var(--radius);
  position: relative;
}

.path-rapido {
  background: var(--bg-dark);
  color: var(--white);
}

.path-camila {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid rgba(28,28,46,.1);
}

.path-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.path-rapido .path-badge {
  background: var(--gold);
  color: #1C1C2E;
}

.path-camila .path-badge {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.path-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.path-card ul {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.path-card ul li {
  font-size: .92rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.path-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.path-rapido ul li { color: rgba(255,255,255,.82); }
.path-camila ul li { color: var(--text-muted); }

.btn-path {
  background: var(--gold);
  color: #1C1C2E;
  padding: 13px 26px;
}
.btn-path:hover { background: #A6824F; }

.btn-path-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(28,28,46,.25);
}
.btn-path-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── PRODUTOS ────────────────────────────────────────────── */
.produtos {
  padding: var(--section-py) 0;
  background: var(--white);
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 700px) {
  .produtos-grid { grid-template-columns: repeat(4, 1fr); }
}

.produto-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.produto-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* imagem de fundo */
.produto-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.produto-item:hover::before { transform: scale(1.04); }

/* overlay gradiente escuro em cima da imagem */
.produto-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,28,46,.10) 0%,
    rgba(28,28,46,.65) 55%,
    rgba(28,28,46,.88) 100%
  );
}

/* imagens individuais */
.produto-item--fios::before   { background-image: url('../images/produtos/fios-pdo.webp'); }
.produto-item--regen::before  { background-image: url('../images/produtos/pdrn.webp'); }
.produto-item--bio::before    { background-image: url('../images/produtos/filler.webp'); }
.produto-item--outros::before { background-image: url('../images/produtos/catalogo.webp'); }

/* texto sobre o overlay */
.produto-body {
  position: relative;
  z-index: 1;
  padding: 24px 22px 22px;
  text-align: left;
}

.produto-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: .01em;
}

.produto-item p {
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  margin: 0;
}

.produtos-cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px dashed rgba(184,149,106,.4);
}

.produtos-cta p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* produto-item como link */
a.produto-item { cursor: pointer; }
a.produto-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* galeria-item como link */
a.galeria-item { display: block; }
.galeria-overlay-cta {
  font-size: .82rem;
  font-weight: 500;
  color: var(--white);
}

/* ─── GALERIA MODELOS + PRODUTOS ──────────────────────────── */
.galeria-mix {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
@media (max-width: 900px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

}
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .galeria-item--tall { grid-row: span 1; }
}

.galeria-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.galeria-item--tall { grid-row: span 2; }

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}
.galeria-item:hover img { transform: scale(1.05); }

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,46,.82) 0%, rgba(28,28,46,.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background .3s ease;
}
.galeria-item:hover .galeria-overlay {
  background: linear-gradient(to top, rgba(28,28,46,.95) 0%, rgba(28,28,46,.35) 60%, transparent 100%);
}

.galeria-overlay span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.galeria-overlay a {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.galeria-item:hover .galeria-overlay a,
.galeria-overlay a:hover { color: var(--white); }

/* ─── SOBRE ───────────────────────────────────────────────── */
.sobre {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr; /* texto à esquerda, foto à direita */
  gap: 60px;
  align-items: center;
}

.sobre-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
}

.sobre-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ─ PNG recortado (Camila sem fundo) ─────────────────────────
   Adicionar classe "sobre-img-transparente" ao .sobre-img-wrap
   quando usar um PNG com fundo transparente. */
.sobre-img-transparente {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  align-self: flex-end; /* ancora Camila pela base */
  /* Fade suave na base — elimina o corte reto da imagem */
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 92%);
  mask-image:         linear-gradient(to bottom, black 55%, transparent 92%);
}
.sobre-img-transparente img {
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: unset;
}

.sobre-texto h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sobre-texto p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.sobre-texto strong {
  color: var(--text);
  font-style: italic;
}

.sobre-texto .btn-secondary {
  color: var(--text);
  border-color: rgba(28,28,46,.3);
  margin-top: 8px;
}
.sobre-texto .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* ─── CTA FINAL ───────────────────────────────────────────── */
.cta-final {
  padding: 100px 0;
  background: var(--bg-dark);
  text-align: center;
}

.cta-final-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-final-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  background: #141424;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links svg { width: 16px; height: 16px; }

.footer-legal {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .hero-content { max-width: 100%; }

  .hero-title { font-size: 2.6rem; }

  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* PNG transparente no mobile: invade a seção escura abaixo (sem fade necessário) */
  .sobre-img-transparente {
    -webkit-mask-image: none;
    mask-image:         none;
    aspect-ratio:       auto;
    max-height:         none;
    position:           relative;
    z-index:            1;
    margin-bottom:      -160px;
    width:              55%;
    margin-left:        auto;
    margin-right:       0;
  }

  .sobre-img-wrap {
    aspect-ratio: 4/3;
    max-height: 320px;
  }

  .sobre-img-wrap img {
    object-position: center 20%;
  }

  /* CTA: texto alinhado à esquerda (Camila ocupa a direita); botão usa largura total */
  .cta-final {
    padding-top: 40px;
    position: relative;
  }
  .cta-final-inner {
    text-align: left;
  }
  .cta-final-inner h2,
  .cta-final-inner p {
    max-width: 58%;
  }

  .btn-large { width: 100%; justify-content: center; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .diferenciais-grid,
  .paths-grid,
  .produtos-grid { grid-template-columns: 1fr; }
}

/* ─── FAQ SECTION ──────────────────────────────────────────── */
.pf-faq {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.pf-faq h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #E8E6DF;
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  transition: all .2s ease;
}

.faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.faq-item[open] {
  border-color: var(--gold);
  background: #FEFDFB;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.4;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '▼';
  font-size: .75rem;
  color: var(--gold);
  transition: transform .2s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin-top: 16px;
}
