/* ============================================================
   Salime Makeup · Dia de Noiva · style.css
   Versao principal. Usada pelo index.html.
   Paleta e fontes iguais as do site principal (index-v2.html):
   Cormorant Garamond nos titulos, Jost nos textos e botoes.
   ============================================================ */

/* ── Variaveis de cor + altura do header ── */
:root {
  --canvas:   #FDFAF6;   /* fundo off-white */
  --fog:      #F5F0EA;   /* fundo das secoes alternadas */
  --onyx:     #0D0D0D;   /* quase preto: titulos e paineis escuros */
  --gold:     #B8966E;   /* dourado champanhe: destaques e botoes */
  --graphite: #3D3530;   /* grafite quente: texto principal */
  --muted:    #7A7268;   /* texto secundario */
  --ash:      #E8E3DC;   /* bordas de cards */
  --sand:     #EFE5D8;   /* areia clara: fundo do topo e do final da pagina */
  --gold-deep:#8A6A45;   /* dourado mais escuro: links e textos pequenos em fundo claro */
  --white:    #ffffff;
  --border:   rgba(184, 150, 110, 0.15);  /* borda dourada sutil */
  --dur: 0.35s;

  /* Altura do header fixo (o conteudo desce esse tanto para nao ficar escondido) */
  --header-height: 72px;
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
}

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

/* ── Protecao contra rolagem lateral ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  background-color: var(--canvas);
  color: var(--graphite);
  position: relative;
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ao clicar no menu, a secao para logo abaixo do header fixo */
section[id] { scroll-margin-top: calc(var(--header-height) + 8px); }

img, video, iframe, svg { max-width: 100%; display: block; }
img, svg { height: auto; }
img { object-fit: cover; }

section, header, footer { max-width: 100%; }

/* Itens de grade podem encolher (evita estourar a largura da tela) */
.services-grid > *,
.packages-grid > *,
.packages-extra > *,
.process-intro > *,
.process-steps > *,
.portfolio-grid > *,
.about > *,
.about-images > * { min-width: 0; }

h1, h2, h3, p, blockquote, cite, figcaption {
  overflow-wrap: break-word;
  hyphens: none; /* nunca separar palavra com hifen (ex: "ma-quiagem") */
}

a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Contorno visivel para quem navega pelo teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* ── Tipografia ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--onyx);
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: 0.005em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 3.5rem;
}

h3 {
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

p  { margin-bottom: 1rem; }
em { font-style: italic; }


/* ── Auxiliares ── */
.center { text-align: center; }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-top: -2.2rem;   /* aproxima o subtitulo do titulo */
  margin-bottom: 3.5rem;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

section { padding: 7rem 5%; position: relative; }


/* ============================================================
   BOTOES (mesmo padrao do site principal: dourado cheio)
   ============================================================ */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.btn:hover {
  background: transparent;
  color: var(--gold);
}

/* Variante so com borda (usada no header) */
.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}


/* ============================================================
   HEADER (fixo no topo)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) ease;
}
.header.scrolled { box-shadow: 0 1px 30px rgba(13, 13, 13, 0.06); }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--onyx);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  flex-wrap: nowrap;
}
.nav a {
  white-space: nowrap;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color var(--dur) ease;
}
.nav a:hover { color: var(--gold); }

.header-cta {
  padding: 0.65rem 1.3rem;
  font-size: 0.66rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Botao do menu (aparece so em telas menores) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--onyx);
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Fundo escurecido atras do menu aberto (criado pelo script) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(13, 13, 13, 0.4);
  display: none;
}
.nav-backdrop.open { display: block; }


/* ============================================================
   HERO
   ============================================================ */
/* Computador: painel claro com o texto a esquerda e a foto real a direita */
.hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas: "texto foto";
  padding: 0;
  background-color: var(--sand);
  position: relative;
  overflow: hidden;
}

.hero-photo {
  grid-area: foto;
  position: relative;
  min-height: 100%;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 22%;
}

/* Video do topo: so aparece no celular (ver o bloco de ate 768px).
   Fica por cima da imagem parada, no mesmo espaco. */
.hero-video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  grid-area: texto;
  align-self: center;
  position: relative;
  max-width: 680px;
  padding: 2.5rem 3rem 2.5rem 8%;
  color: var(--graphite);
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.6rem;
}

.hero h1 {
  /* Tamanho pensado para o titulo caber em 3 linhas e o botao
     aparecer sem rolar, mesmo em notebook de tela baixa */
  font-size: clamp(2.3rem, 3.7vw, 3.5rem);
  color: var(--onyx);
  margin-bottom: 1.4rem;
}
.hero h1 em { color: var(--gold-deep); }

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 2.4rem;
}

.cta-hero { margin-bottom: 0; }


/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.services {
  background-color: var(--fog);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--ash);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.service-card:hover {
  border-color: rgba(184, 150, 110, 0.3);
  box-shadow: 0 16px 64px rgba(13, 13, 13, 0.09);
}

.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ash);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-position: center 40%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-image img { transform: scale(1.04); }

.service-card h3 {
  font-size: 1.4rem;
  margin: 1.6rem 1.6rem 0.6rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 1.6rem 1.8rem;
}


/* ============================================================
   PORTFOLIO (fotos reais de clientes)
   ============================================================ */
.portfolio { background-color: var(--canvas); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* 8 fotos: 2 fileiras de 4 */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ash);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-position: center 25%;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-item:hover img { transform: scale(1.04); }



/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.process {
  background-color: var(--fog);
  overflow: hidden;
}

/* Foto de pinceis bem clarinha no fundo */
.process-bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/opus/makeup_brushes_luxury.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
}
.process > * { position: relative; z-index: 1; }
.process > .process-bg { position: absolute; z-index: 0; }

/* Texto de abertura a esquerda e video a direita */
.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 5rem;
}
.process-intro h2 { margin-bottom: 1.6rem; }
.process-intro-text p:not(.section-label) {
  color: var(--muted);
  line-height: 1.8;
}

.process-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ash);
}

/* Foto que troca de lugar com o video no celular */
.process-foto { display: none; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step { position: relative; }

.step-number {
  width: 72px;
  height: 72px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--fog);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.step:hover .step-number {
  background-color: var(--gold);
  color: var(--white);
}

.step h3 { font-size: 1.5rem; }
.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}


/* ============================================================
   INVESTIMENTO (valores para atendimento externo)
   ============================================================ */
.packages {
  background-color: var(--canvas);
  text-align: center;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.package-card {
  background: var(--white);
  padding: 2.6rem 2.2rem;
  border: 1px solid var(--ash);
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.package-card:hover {
  border-color: rgba(184, 150, 110, 0.3);
  box-shadow: 0 16px 64px rgba(13, 13, 13, 0.09);
}

/* Card do meio em painel escuro, so para dar ritmo visual */
.package-card.featured {
  background: var(--onyx);
  border-color: var(--onyx);
  color: var(--white);
}

.package-card h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.package-card.featured h3 { color: var(--white); }

/* Lado a lado, todos os titulos ocupam 2 linhas para os precos ficarem alinhados */
@media (min-width: 901px) {
  .package-card h3 { min-height: 2.4em; }
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.package-card ul {
  margin-bottom: 2rem;
  flex-grow: 1;
}
.package-card li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ash);
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--graphite);
}
.package-card li:last-child { border-bottom: none; }
.package-card.featured li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.package-card .btn { width: 100%; }

/* Opcoes menores: noiva civil e convidadas extras */
.packages-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: left;
}
.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--ash);
}
.extra-item h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.extra-item p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.extra-item .extra-price {
  flex-shrink: 0;
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--gold);
}
.extra-price span {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
}

.packages-note {
  margin: 2.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}


/* ============================================================
   DEPOIMENTOS (carrossel)
   Texto sempre visivel. A foto so aparece quando o arquivo existe
   (o script liga a classe "com-foto" depois que a foto carrega).
   ============================================================ */
.testimonials {
  background: var(--fog);
  text-align: center;
}

.testimonials-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Trilho que rola para o lado; cada card "encaixa" ao soltar o dedo */
.testimonials-track {
  order: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;   /* cada card com a sua altura (abrir um nao estica os outros) */
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;           /* esconde a barra de rolagem */
  padding-bottom: 0.25rem;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);   /* 3 cards visiveis no computador */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--ash);
  text-align: left;
}

/* Foto escondida por padrao: evita o quadro preto de imagem quebrada */
.testimonial-media {
  display: none;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ash);
}
.testimonial-card.com-foto .testimonial-media { display: block; }
.testimonial-media img {
  width: 100%;
  height: 100%;
  object-position: center 20%;
}

.testimonial-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.9rem 1.8rem;
}

.testimonial-quote-mark {
  display: block;
  height: 2.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
}

.testimonial-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--onyx);
  margin-bottom: 1rem;
}

/* Texto completo: aparece cortado em 4 linhas ate clicar em "Ler" */
.testimonial-full {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.testimonial-full.aberto {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.ler-mais {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0.3rem 0;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}
.ler-mais:hover { color: var(--onyx); }

.testimonial-card figcaption {
  margin-top: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--onyx);
}
.testimonial-card figcaption span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Setas abaixo do carrossel */
.carousel-btn {
  order: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  transition: background-color var(--dur) ease, color var(--dur) ease, opacity var(--dur) ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--gold); color: var(--white); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

/* Dica "arraste para o lado": so aparece no celular */
.carousel-hint {
  display: none;
  margin: 1rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   QUEM SOU
   ============================================================ */
.about {
  background-color: var(--canvas);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.6rem; }

.about-text p:not(.section-label) {
  color: var(--muted);
  line-height: 1.8;
}

.about-text .btn { margin-top: 1.2rem; }

.about-images {
  display: grid;
  gap: 1rem;
  width: 100%;
  overflow: hidden;
  padding-bottom: 1rem;
}

.about-img-main {
  width: 100%;
  height: 540px;
  overflow: hidden;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-position: center top;
}

.about-img-accent {
  width: 60%;
  height: 220px;
  overflow: hidden;
  margin-left: auto;
  margin-top: -3.5rem;
  border: 6px solid var(--canvas);
  position: relative;
  z-index: 1;
}
.about-img-accent img {
  width: 100%;
  height: 100%;
  object-position: center 20%;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq { background-color: var(--fog); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--ash);
  margin-bottom: 12px;
  transition: border-color var(--dur) ease;
}
.faq-item.active { border-color: var(--gold); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--onyx);
  transition: color var(--dur) ease;
}
.faq-question:hover { color: var(--gold); }

.faq-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--dur) ease;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;   /* fechada: fora da leitura de tela e do teclado */
  transition: max-height 0.5s ease, visibility 0s linear 0.5s;
}
.faq-item.active .faq-answer {
  max-height: 420px;
  visibility: visible;
  transition: max-height 0.5s ease, visibility 0s;
}

.faq-answer p {
  margin: 0;
  padding: 1.2rem 1.7rem 1.5rem;
  border-top: 1px solid var(--ash);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}


/* ============================================================
   CTA FINAL (fundo areia claro, com o formulario)
   ============================================================ */
.cta-section {
  background: var(--sand);
  text-align: center;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section .section-label { color: var(--gold-deep); }

.cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--graphite);
  max-width: 560px;
  margin: 0 auto 2.6rem;
}

/* Formulario da noiva (abre o WhatsApp com a mensagem pronta) */
.form-noiva {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.4rem;
  background: var(--canvas);
  border: 1px solid var(--ash);
  text-align: left;
}
.form-noiva > * { min-width: 0; }
.campo-largo,
.form-erro { grid-column: 1 / -1; }

.campo label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}

.campo input,
.campo select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;          /* 16px: evita o zoom automatico do iPhone */
  font-weight: 300;
  color: var(--onyx);
  background: var(--white);
  border: 1px solid #D9D1C6;
  border-radius: 0;
  transition: border-color var(--dur) ease;
}
.campo input::placeholder { color: #A9A197; }
.campo input:focus,
.campo select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Campo que faltou preencher fica com a borda avermelhada */
.campo [aria-invalid="true"] { border-color: #B4533A; }

/* Aviso que aparece logo embaixo de um campo (ex.: telefone errado) */
.campo-erro {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #A8472F;
}
.campo-erro:empty { display: none; }

.form-erro {
  margin: 0;
  font-size: 0.88rem;
  color: #A8472F;
}
.form-erro:empty { display: none; }

/* Aviso de privacidade embaixo do botao */
.form-aviso {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Campo isca contra robos: fora da tela, sem ocupar espaco */
.campo-isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-noiva .btn { width: 100%; margin-top: 0.4rem; }

.cta-direto {
  margin: 2.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.cta-direto a {
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  margin-left: 0.3rem;
}
.cta-direto a:hover { color: var(--onyx); }


/* ============================================================
   FOOTER (claro)
   ============================================================ */
.footer {
  background-color: var(--canvas);
  border-top: 1px solid var(--ash);
  padding: 3rem 5%;
  text-align: center;
}
.footer p { margin-bottom: 0.9rem; }

.footer-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--onyx);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a { color: var(--gold-deep); transition: color var(--dur) ease; }
.footer-links a:hover { color: var(--onyx); }

.footer-cursos {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-cursos a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-cursos a:hover { color: var(--onyx); }

.footer-copy {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--dur) ease, background-color var(--dur) ease;
}
.wpp-float:hover { background: #1ebe5a; transform: scale(1.08); }
.wpp-float svg { width: 28px; height: 28px; }


/* ============================================================
   APARECER AO ROLAR
   A classe "fade-in" e colocada pelo script. Depois que o elemento
   aparece, o script tira a classe, para o hover voltar a ser rapido.
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada em sequencia nos cards */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Quem pediu "reduzir movimento" no aparelho ve tudo sem animacao */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-in { opacity: 1; transform: none; }
}


/* ============================================================
   RESPONSIVO: NOTEBOOKS (ate 1400px)
   Menu mais enxuto para caber os 7 itens e o botao
   ============================================================ */
@media (max-width: 1400px) {
  .header { padding: 0 3%; gap: 1rem; }
  .nav { gap: 1.15rem; }
  .nav a { letter-spacing: 0.14em; }
  .header-cta { letter-spacing: 0.14em; padding: 0.6rem 1rem; }
}


/* ============================================================
   RESPONSIVO: MENU VIRA "HAMBURGUER" (ate 1260px)
   ============================================================ */
@media (max-width: 1260px) {
  .header { padding: 0 5%; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }

  /* O menu abre como uma gaveta logo abaixo do header */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 5% 1.4rem;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(13, 13, 13, 0.08);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.9rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-child { border-bottom: none; }
}


/* ============================================================
   RESPONSIVO: TABLET (ate 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  section { padding: 5.5rem 5%; }
  h2 { margin-bottom: 3rem; }
  .section-sub { margin-top: -1.8rem; margin-bottom: 3rem; }

  .hero-content { padding-left: 6%; padding-right: 2rem; }

  .process-intro { gap: 2.5rem; }
  .process-steps { gap: 2rem; }

  .about { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .about-img-main { height: 440px; }

  /* 2 depoimentos visiveis */
  .testimonial-card { flex-basis: calc((100% - 1.5rem) / 2); }
}


/* ============================================================
   RESPONSIVO: TABLET PEQUENO (ate 900px)
   Cards em 3 colunas ficariam estreitos demais: viram 1 coluna
   ============================================================ */
@media (max-width: 900px) {
  .services-grid,
  .packages-grid,
  .packages-extra,
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .process-intro { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}


/* ============================================================
   RESPONSIVO: CELULAR (ate 768px)
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 4.5rem 6%; }
  h2 { margin-bottom: 2.4rem; }
  .section-sub { margin-top: -1.4rem; margin-bottom: 2.4rem; }
  .section-label { letter-spacing: 0.22em; font-size: 0.66rem; }

  .logo { font-size: 1.05rem; letter-spacing: 0.2em; }

  /* Hero no celular: foto em cima, texto embaixo em painel claro.
     A foto e baixa de proposito, para o botao aparecer sem rolar. */
  .hero {
    display: block;
    min-height: 0;
  }
  /* A foto usa o espaco que sobra na tela depois do texto e do botao:
     em celular alto ela fica maior (menos cortada), em celular baixo, menor. */
  .hero-photo {
    height: clamp(150px, calc(100vh - 470px), 300px);
    height: clamp(150px, calc(100svh - 470px), 300px);
  }
  .hero-photo img { object-position: center 40%; }
  .hero-video { display: block; object-position: center 40%; }
  /* No celular o video sobe para o topo e a foto desce para o "Como funciona" */
  .process-video video { display: none; }
  .process-foto {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-position: center 22%;
  }
  .hero-content {
    max-width: 100%;
    padding: 1.4rem 6% 2rem;
    animation: none;
  }
  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    line-height: 1.6;
    margin-bottom: 0.7rem;
  }
  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.08;
    margin-bottom: 0.8rem;
    color: var(--onyx);
  }
  /* No celular o titulo quebra sozinho (as quebras fixas so valem no desktop) */
  .hero h1 br { display: none; }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    color: var(--graphite);
  }
  .cta-hero {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    letter-spacing: 0.14em;
  }

  .btn { padding: 0.95rem 1.4rem; letter-spacing: 0.16em; }

  /* Portfolio: 2 colunas (8 fotos, 4 fileiras) */
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }

  .process-intro { margin-bottom: 3.5rem; }

  /* Depoimentos: 1 card e um pedaco do proximo, para mostrar que da para arrastar */
  .testimonials-track { gap: 1rem; }
  .testimonial-card { flex-basis: 85%; }
  .testimonial-body { padding: 1.7rem 1.5rem 1.5rem; }
  .testimonial-highlight { font-size: 1.3rem; }
  .carousel-btn { width: 42px; height: 42px; }
  .carousel-hint { display: block; }

  .about-img-main   { height: 360px; }
  .about-img-accent { height: 170px; width: 70%; }

  .package-card { padding: 2.2rem 1.6rem; }
  .extra-item { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.6rem; gap: 0.8rem; }
  .extra-item .extra-price { text-align: left; }

  .form-noiva { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 1.3rem; }

  .faq-question { padding: 1.2rem; }
  .faq-answer p { padding: 1rem 1.2rem 1.2rem; }

  .wpp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wpp-float svg { width: 24px; height: 24px; }
}

/* O botao do topo some em telas estreitas (nao cabe ao lado do logo) */
@media (max-width: 640px) {
  .header-cta { display: none; }
}


/* ============================================================
   RESPONSIVO: CELULAR PEQUENO (ate 340px)
   ============================================================ */
@media (max-width: 340px) {
  .logo { font-size: 0.95rem; letter-spacing: 0.15em; }
  .hero h1 { font-size: 1.8rem; }
  .btn { font-size: 0.66rem; letter-spacing: 0.1em; }
}
