/* ==========================================================================
   Novo Stylos — folha de estilo única, compartilhada pelas 4 páginas.
   Escrita mobile-first: o padrão é o celular; telas maiores só ampliam.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Paleta — mantida da identidade original (nude, rosé e marrom quente) */
  --bg: #f7eee9;
  --paper: #fffaf6;
  --text: #35291f;
  --text-soft: #5b514d;
  --text-light: #7a766e;
  --line: #e9d5cd;
  --sage: #b29488;
  --sage-light: #f7ece5;
  --sage-deep: #59453f;
  --brown: #4a372e;
  --brown-deep: #2c2020;
  --rose: #bf7464;
  --rose-deep: #a35a4b;
  --cream: #faf6f2;
  --gold: #d6af84;
  --shadow: rgba(44, 25, 16, 0.15);

  --serif: "Times New Roman", Georgia, serif;
  --sans: "Inter", "Poppins", "Avenir", "Helvetica Neue", Arial, sans-serif;

  --shell: 1180px;
  --pad: 20px;
  --radius: 18px;
  --topbar-h: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

/* Acessibilidade: foco sempre visível para quem navega por teclado */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Topbar + navegação
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--topbar-h);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Posicionamento fixo ao lado da marca, nas 4 páginas. No celular fica
   oculto: a barra tem espaço para o nome e o botão de menu, e nada mais. */
.brand-tagline {
  display: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--sage);
}

@media (min-width: 720px) {
  .brand-tagline {
    display: block;
  }
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--brown-deep);
}

.brand-name span {
  color: var(--rose);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* No celular a navegação vira um painel que desce sob a topbar */
.main-nav {
  position: fixed;
  inset: var(--topbar-h) 0 auto 0;
  display: grid;
  gap: 2px;
  padding: 12px var(--pad) 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px var(--shadow);
  transform: translateY(-120%);
  transition: transform 0.28s ease;
  max-height: calc(100dvh - var(--topbar-h));
  overflow-y: auto;
}

.main-nav.open {
  transform: translateY(0);
}

.nav-link {
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  border-bottom: 1px solid var(--line);
}

.nav-link[aria-current="page"] {
  color: var(--rose);
}

.main-nav .btn {
  margin-top: 14px;
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 14px 26px -16px var(--rose-deep);
}

.btn-primary:hover {
  background: var(--rose-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--sage);
}

.btn-ghost:hover {
  background: var(--sage-light);
}

.btn-light {
  background: var(--paper);
  color: var(--brown-deep);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Blocos de seção
   ========================================================================== */

.section {
  padding-block: 56px;
}

.section-tint {
  background: var(--sage-light);
}

.section-paper {
  background: var(--paper);
}

.mini-title {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.section-head {
  max-width: 640px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(28px, 7vw, 40px);
  color: var(--brown-deep);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-soft);
}

.section-foot {
  margin-top: 32px;
}

/* ==========================================================================
   Hero: texto à esquerda, foto num cartão à direita. Sem sangrar de ponta a
   ponta — no tamanho de cartão os 800px do arquivo bastam sem ampliação.
   ========================================================================== */

.hero {
  padding-block: 40px 56px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(38px, 10.5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--brown-deep);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--rose);
  font-style: italic;
}

.hero-text {
  max-width: 44ch;
  margin-bottom: 28px;
  color: var(--text-soft);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  text-align: center;
}

.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 6.5vw, 34px);
  font-weight: 400;
  color: var(--rose);
}

.hero-stats em {
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-light);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -34px var(--shadow);
}

/* ==========================================================================
   Faixa de destaques
   ========================================================================== */

.strip {
  background: var(--brown-deep);
  color: var(--cream);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding-block: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.strip-inner span {
  opacity: 0.86;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.cards {
  display: grid;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 21px;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.card p {
  color: var(--text-soft);
  font-size: 15px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--sage-light);
  color: var(--rose);
  font-size: 20px;
}

/* ==========================================================================
   Antes e depois
   ========================================================================== */

.ba-grid {
  display: grid;
  gap: 18px;
}

.ba {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ba img {
  width: 100%;
  object-fit: cover;
}

/* Antes/depois ligado ao post do Instagram — só aparece quando há link */
.ba-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.ba-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.94);
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-deep);
  box-shadow: 0 10px 22px -14px var(--shadow);
  transition: transform 0.2s ease;
}

.ba-link:hover .ba-tag {
  transform: translateY(-2px);
}

.ba-link:hover img {
  filter: brightness(1.03);
}

.ba figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-soft);
}

.ba figcaption b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--brown-deep);
}

/* ==========================================================================
   Destaque (dia da noiva)
   ========================================================================== */

.feature {
  display: grid;
  gap: 24px;
}

/* Uma foto por bloco, sempre do mesmo tamanho, para os blocos terem o mesmo
   peso visual. Antes um bloco tinha 2 fotos na metade do tamanho e outro
   tinha 1 ocupando a coluna inteira. */
.feature-media {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.feature-media img,
.feature-media video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sage-light);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--rose);
}

/* ==========================================================================
   Selo do Google
   ========================================================================== */

.google-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.google-badge-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--rose);
  font-family: var(--serif);
  font-size: 21px;
}

.google-badge-text {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-deep);
}

.google-badge-text .testimonial-stars {
  display: block;
}

/* ==========================================================================
   Depoimentos — os 4 cards existem UMA vez só no HTML e se revezam no mesmo
   lugar. Como só um fica visível por vez, é impossível ver nome repetido.
   ========================================================================== */

.testimonial-rotator {
  margin-top: 30px;
}

/* Os cards ocupam a mesma célula da grade: a altura é a do maior deles,
   então trocar de depoimento não faz a página pular. */
.testimonial-stage {
  display: grid;
  max-width: 680px;
  margin-inline: auto;
}

.testimonial-stage > .testimonial {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.testimonial-stage > .testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
}

.testimonial-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.testimonial-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
  transition: width 0.25s ease, background 0.25s ease;
}

.testimonial-dot:hover::before {
  background: var(--sage);
}

.testimonial-dot.is-active::before {
  width: 26px;
  background: var(--rose);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 44px -34px var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.testimonial blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.testimonial blockquote::before {
  content: "“";
  display: block;
  margin-bottom: -14px;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  color: var(--line);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--rose);
  font-family: var(--serif);
  font-size: 19px;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  color: var(--brown-deep);
}

.testimonial-meta {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   Sobre
   ========================================================================== */

.about-grid {
  display: grid;
  gap: 28px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -34px var(--shadow);
}

.about-text p + p {
  margin-top: 14px;
}

.about-text blockquote {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--rose);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--brown);
}

/* Credenciais em pílula, logo abaixo do nome — o mesmo recurso que os salões
   de alto padrão usam para marcar a especialidade de cada profissional. */
.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.cred-tags li {
  padding: 6px 13px;
  background: var(--sage-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brown);
}

.credentials {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 12px 16px;
  background: var(--sage-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

/* ==========================================================================
   Contato
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list b {
  flex-shrink: 0;
  width: 30px;
  font-size: 19px;
  color: var(--rose);
  text-align: center;
}

.contact-list span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.contact-list strong {
  font-weight: 600;
  color: var(--brown-deep);
}

/* As duas portas de entrada: agendar um serviço e pedir um diagnóstico.
   Empilhadas, porque vivem numa coluna estreita ao lado do mapa. */
.contact-doors {
  display: grid;
  gap: 12px;
}

.contact-doors .btn {
  width: 100%;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ==========================================================================
   Chamada final
   ========================================================================== */

.cta {
  background: var(--brown-deep);
  color: var(--cream);
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 7vw, 38px);
  margin-bottom: 12px;
}

.cta p {
  max-width: 46ch;
  margin: 0 auto 26px;
  opacity: 0.82;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.footer {
  padding-block: 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 22px;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-note {
  font-size: 12px;
  color: var(--text-light);
}

/* Selo de autoria — MADAN, quem criou o site.
   Cores tiradas da própria marca: navy #0E1030 e laranja #FF5417. */
.madan-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  white-space: nowrap;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.madan-credit img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 7px;
}

.madan-credit b {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e1030;
}

.madan-credit:hover {
  border-color: #ff5417;
  box-shadow: 0 8px 20px -14px #ff5417;
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Tablet — a partir de 720px
   ========================================================================== */

@media (min-width: 720px) {
  :root {
    --pad: 32px;
  }

  .section {
    padding-block: 76px;
  }

  .hero-actions {
    grid-auto-flow: column;
    justify-content: start;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px 40px;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Desktop — a partir de 1024px
   ========================================================================== */

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  /* A navegação deixa de ser painel e volta a ser barra horizontal */
  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-link {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
  }

  .nav-link:hover {
    color: var(--rose);
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--rose);
  }

  .main-nav .btn {
    margin-top: 0;
    min-height: 42px;
    padding-block: 9px;
  }

  .section {
    padding-block: 96px;
  }

  .hero {
    padding-block: 56px 88px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stats div {
    text-align: left;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 56px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 56px;
  }

  .map-embed iframe {
    height: 420px;
  }

  .floating-whatsapp {
    right: 28px;
    bottom: 28px;
  }
}

/* ==========================================================================
   Respeita quem pediu menos animação no sistema
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* Sem autoplay: o rotador só troca quando a pessoa clica num ponto */
}
