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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --accent: #e63c5e;
  --accent2: #ff8c42;
  --gray: #6b6b6b;
  --light: #f5f5f5;
  --border: #e8e8e8;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
  background: #fff;
  position: relative;
}

/* ===== FUNDO PEROLADO ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 0% 20%,   rgba(255, 180, 220, 0.72) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 100% 10%,  rgba(200, 185, 255, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 100% 80%,  rgba(255, 215, 175, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 0%  85%,   rgba(180, 225, 255, 0.60) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%,   rgba(255, 200, 230, 0.35) 0%, transparent 60%),
    linear-gradient(160deg, #fff8fc 0%, #fdf5ff 30%, #fff9f5 60%, #f8fbff 100%);
  animation: pearl-shift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pearl-shift {
  0% {
    opacity: 1;
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    opacity: 0.95;
    filter: hue-rotate(8deg) brightness(1.02);
  }
  100% {
    opacity: 1;
    filter: hue-rotate(-6deg) brightness(1);
  }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(1.9rem, 4vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--gray); line-height: 1.75; }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 700; color: var(--black); }

/* ===== BUTTONS ===== */
:root {
  --mx: 50%;
  --my: 50%;
  --holo-angle: 135deg;
}

.btn-primary,
.btn-ghost,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  isolation: isolate;
  /* base de vidro */
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(200, 180, 255, 0.18);
}

/* Shimmer perolado — sempre visível, gira com o cursor */
.btn-primary::before,
.btn-ghost::before,
.btn-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    var(--holo-angle),
    rgba(255, 180, 220, 0.45) 0%,
    rgba(210, 190, 255, 0.40) 25%,
    rgba(175, 225, 255, 0.38) 50%,
    rgba(255, 215, 175, 0.40) 75%,
    rgba(255, 175, 225, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Brilho specular que segue o cursor */
.btn-primary::after,
.btn-ghost::after,
.btn-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.80) 0%,
    rgba(255, 255, 255, 0.20) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(200, 180, 255, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.btn-full { width: 100%; text-align: center; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
section { padding: clamp(5rem, 10vw, 8rem) 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

/* ===== SECTION TAG ===== */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section-header h2 { margin-bottom: 1rem; }

/* ===== DECO ===== */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco img { opacity: 0.5; }
.deco-br { bottom: -140px; right: 30px; width: 340px; z-index: 10; }
.deco-br img { opacity: 1; }

/* Ícone do tubo — acima do formulário, lado direito */
.deco-contato { top: 40px; right: 10px; width: 180px; z-index: 10; }
.deco-contato img { opacity: 1; }

/* Pomba — canto inferior esquerdo, grande e harmônica */
.deco-contato-bl { bottom: 30px; left: 60px; width: 200px; }
.deco-contato-bl img { opacity: 0.88; }

/* ===== WILL-CHANGE para elementos animados ===== */
h1, .hero-sub, .hero-ctas, .hero-card, .deco-br img,
.section-tag, section h2, .nicho-card, .card, .processo-step,
.sobre-img-wrap, .float-ig {
  will-change: transform, opacity;
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  position: relative;
  z-index: 5;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  white-space: nowrap;
  padding-right: 3rem;
  letter-spacing: 0.08em;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s var(--transition), box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--black);
  display: block;
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: 5rem;
  position: relative;
}

.hero-content {
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  padding-left: clamp(3rem, 8vw, 7rem);
  z-index: 1;
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--gray);
  max-width: 440px;
  margin-bottom: 2.25rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 2rem 0;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* Frame é o elemento de referência de tamanho */
.hero-frame {
  position: relative;
  width: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* Estrelas — layer separada com brilho metálico suave */
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  z-index: 3;
  animation: star-metallic 4s ease-in-out infinite;
}

@keyframes star-metallic {
  0%, 100% {
    filter: brightness(1) saturate(1);
    opacity: 1;
  }
  50% {
    filter: brightness(1.4) saturate(1.3) drop-shadow(0 0 5px rgba(255,215,80,0.4));
    opacity: 0.92;
  }
}

/* Foto posicionada dentro da janela do frame polaroid — valores medidos pixel a pixel */
.hero-photo-wrap {
  position: absolute;
  top: 20.7%;
  left: 26.2%;
  right: 26.5%;
  bottom: 31%;
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ===== SOBRE ===== */
#sobre { position: relative; }

.sobre-img-wrap { position: relative; }

.sobre-bg-block {
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: linear-gradient(135deg, rgba(230,60,94,0.12), rgba(255,140,66,0.12));
  border-radius: var(--radius);
  z-index: 0;
}

.sobre-img-placeholder {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.sobre-deco { width: 80px; opacity: 0.5; }
.img-hint { font-size: 0.85rem; color: var(--gray); }

.sobre-text h2 { margin-bottom: 1.25rem; }
.sobre-text p  { margin-bottom: 1rem; }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.skills-list li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  color: var(--black);
  backdrop-filter: blur(4px);
}

/* ===== SERVIÇOS ===== */
#servicos { position: relative; }

.card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  border-color: rgba(230,60,94,0.2);
}

.card-highlight {
  border-color: rgba(230,60,94,0.3);
  background: rgba(255,255,255,0.8);
}

.card-icon { width: 56px; height: 56px; }
.card-icon img { width: 100%; height: 100%; object-fit: contain; }

.card h3 { font-size: 1.1rem; }
.card p   { font-size: 0.88rem; flex: 1; }

.card-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ===== PROCESSO CRIATIVO ===== */
#processo { position: relative; }

.processo-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 4rem;
}

.processo-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.processo-step:first-child { border-top: 1px solid var(--border); }
.processo-step:hover { background: rgba(255,255,255,0.4); padding-left: 1rem; border-radius: 12px; }

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
  min-width: 52px;
  line-height: 1;
  padding-top: 2px;
}

.step-content h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-content p  { font-size: 0.9rem; max-width: 580px; }

/* Pacote base */
.processo-pacote {
  display: flex;
  justify-content: center;
}

.pacote-inner {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.pacote-inner h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.pacote-inner > p { font-size: 0.9rem; margin-bottom: 1.5rem; }

.pacote-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.pacote-list li {
  font-size: 0.9rem;
  color: var(--black);
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.6);
  border-radius: 100px;
  border: 1px solid var(--border);
}
.pacote-list li::before {
  content: '— ';
  color: var(--accent);
  font-weight: 600;
}

.pacote-cta-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* ===== PROJETOS ===== */
#projetos { position: relative; }

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.projeto-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.projeto-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }

.projeto-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.projeto-img-1 { background: linear-gradient(135deg, #ffd6e7, #ffb3c6); }
.projeto-img-2 { background: linear-gradient(135deg, #d6e4ff, #b3c6ff); }
.projeto-img-3 { background: linear-gradient(135deg, #d6ffed, #b3ffd9); }
.projeto-img-4 { background: linear-gradient(135deg, #fff3d6, #ffe0b3); }

.projeto-tag-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  color: var(--black);
}

.projeto-info { padding: 1.5rem; }
.projeto-info h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.projeto-info p  { font-size: 0.85rem; margin-bottom: 1rem; }

.link-arrow {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}
.link-arrow:hover { text-decoration: underline; }

/* ===== CONTATO ===== */
#contato {
  position: relative;
}

.contato-cols { align-items: start; }

.contato-text h2 { margin-bottom: 1.25rem; }
.contato-text > p { margin-bottom: 2rem; color: var(--gray); }

.contato-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contato-links a {
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.contato-links a:hover { color: var(--black); }

.contato-form {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: rgba(255,255,255,0.8);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  font-size: 0.875rem;
  color: var(--accent);
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner p { font-size: 0.82rem; color: var(--gray); }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  font-size: 0.82rem;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--black); }

/* ===== NICHOS ===== */
#nichos { position: relative; }

/* Cascata de flores */
.flores-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.flor-item {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Garante que o conteúdo dos nichos fica sobre as flores */
#nichos .container { position: relative; z-index: 1; }

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.nichos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nicho-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.nicho-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  border-color: rgba(230,60,94,0.2);
}

.nicho-highlight {
  background: linear-gradient(135deg, rgba(255,180,220,0.30) 0%, rgba(200,185,255,0.25) 100%);
  border-color: rgba(230,60,94,0.2);
}

.nicho-icon {
  font-size: 2rem;
  line-height: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
}

.nicho-content h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.nicho-content p  { font-size: 0.88rem; }

/* ===== VIDEOS ===== */
.videos-header {
  margin-bottom: 1.5rem;
}
.videos-header h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Carrossel horizontal estilo Netflix */
.videos-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}
.videos-grid:active { cursor: grabbing; }

.videos-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #b06080;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 2px 16px rgba(210,170,220,0.25),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* shimmer perolado igual aos outros botões */
.carousel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,180,220,0.45) 0%,
    rgba(210,190,255,0.40) 35%,
    rgba(175,225,255,0.38) 65%,
    rgba(255,215,175,0.40) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.carousel-btn svg {
  position: relative;
  z-index: 1;
}

.carousel-btn:hover {
  transform: scale(1.12);
  box-shadow:
    0 6px 24px rgba(210,170,220,0.38),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Esconde scrollbar mas mantém scroll funcional */
.videos-grid::-webkit-scrollbar { height: 4px; }
.videos-grid::-webkit-scrollbar-track { background: transparent; }
.videos-grid::-webkit-scrollbar-thumb {
  background: rgba(200, 180, 255, 0.4);
  border-radius: 4px;
}

.video-placeholder {
  flex: 0 0 220px;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  scroll-snap-align: start;
  transition: transform 0.2s ease;
}
.video-placeholder:hover { transform: scale(1.03); }

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== SOBRE BG BLOCK ===== */
.sobre-bg-block { display: none; }

/* ===== CARDS GRID 4 COL ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ===== CURSOR PERSONALIZADO ===== */
#cursor-custom {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb6d9, #e63c5e 60%, #ff8c42);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
#cursor-custom.cursor-hover {
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

.cursor-shell {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  animation: shell-fade 0.9s ease-out forwards;
  opacity: 1;
}

@keyframes shell-fade {
  0%   { opacity: 1;    transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1); }
  50%  { opacity: 0.92; }
  100% { opacity: 0;    transform: translate(-50%, -62%) rotate(var(--r, 0deg)) scale(0.65); }
}

/* ===== FLOATING BUTTONS ===== */
.float-ig {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  color: #c2517a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(210, 160, 200, 0.30);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-ig:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(210, 160, 200, 0.45); }

.float-wa {
  bottom: 88px;
  color: #4aaa80;
  box-shadow: 0 4px 20px rgba(160, 210, 185, 0.30);
}
.float-wa:hover { box-shadow: 0 8px 28px rgba(160, 210, 185, 0.45); }

.float-sub {
  bottom: 148px;
  color: #e06c3a;
  box-shadow: 0 4px 20px rgba(224, 108, 58, 0.25);
}
.float-sub:hover { box-shadow: 0 8px 28px rgba(224, 108, 58, 0.4); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}
.mobile-menu a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
/* Nav mobile open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-links.open a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}
.nav-links.open a:hover { color: var(--accent); }

/* ===== TABLET (≤900px) ===== */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }
  .hero-content {
    padding: 0 1.5rem;
    text-align: center;
  }
  .hero-content .hero-sub { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-visual {
    display: flex;
    justify-content: center;
    padding: 0 1.5rem 1rem;
    order: -1; /* foto aparece antes do texto no mobile */
  }
  .hero-card { max-width: 260px; width: 260px; }
  .hero-frame { width: 260px; display: block; }
  .hero-stars { width: 260px; }

  /* Sobre */
  .two-col { grid-template-columns: 1fr; }
  .sobre-img-wrap { display: none; }

  /* Nichos */
  .nichos-grid { grid-template-columns: 1fr; }

  /* Serviços */
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  /* Processo */
  .processo-step { gap: 1rem; padding: 1.25rem 0; }
  .step-num { font-size: 1.1rem; min-width: 38px; }

  /* Projetos / Vídeos */
  .projetos-grid { grid-template-columns: 1fr; }
  .videos-header h3 { font-size: 1.8rem; }
  .video-placeholder { flex: 0 0 160px; }
  .videos-carousel-wrap { gap: 0.5rem; }
  .carousel-btn { width: 36px; height: 36px; }

  /* Contato */
  .contato-cols { grid-template-columns: 1fr; }
  .deco-contato { display: none; }
  .deco-contato-bl { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }

  /* Pacote */
  .processo-pacote { padding: 0; }
}

/* ===== MOBILE (≤600px) ===== */
@media (max-width: 600px) {
  /* Tipografia */
  h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas a { width: 100%; text-align: center; }
  .hero-card { max-width: 240px; }
  .hero-content { padding-left: 1.5rem !important; }

  /* Serviços */
  .cards-grid { grid-template-columns: 1fr; }

  /* Vídeos */
  .video-placeholder { flex: 0 0 140px; }

  /* Processo */
  .step-content p { font-size: 0.85rem; }
  .pacote-inner { padding: 1.5rem; }

  /* Botões flutuantes — menores no mobile */
  .float-ig { width: 42px; height: 42px; bottom: 20px; right: 16px; }
  .float-wa { bottom: 72px; }
  .float-sub { bottom: 124px; }

  /* Cursor — esconde no mobile (touch) */
  #cursor-custom { display: none; }
  .cursor-shell { display: none; }

  /* Flores — menos no mobile para performance */
  .flores-canvas { opacity: 0.7; }

  /* Deco hero */
  .deco-br { display: none; }

  /* Logo */
  .logo { font-size: 1.6rem; }
}
