/*
  =====================================
  ATELIÊ DA JOSI - STYLE.CSS
  =====================================
  Cores fáceis de editar:
  --rosa-claro
  --rosa-medio
  --creme
  --bege
  --marrom
  --texto
*/

:root {
  --rosa-claro: #f6d9d8;
  --rosa-medio: #e8bcbc;
  --creme: #fffaf6;
  --bege: #f2e8df;
  --marrom: #8a6858;
  --marrom-escuro: #5e463c;
  --texto: #4f413b;
  --branco: #ffffff;
  --sombra: 0 14px 35px rgba(138, 104, 88, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 80px;
}

/* =====================================
   RESET BÁSICO
===================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background:
    radial-gradient(circle at top left, rgba(246, 217, 216, 0.55), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #fff7f2 100%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =====================================
   UTILITÁRIOS
===================================== */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
}

.section-tag,
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marrom);
  background: rgba(246, 217, 216, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--marrom-escuro);
  line-height: 1.15;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--branco);
  background: linear-gradient(135deg, var(--marrom) 0%, #b88a74 100%);
  box-shadow: var(--sombra);
}

.btn-secondary {
  color: var(--marrom-escuro);
  border-color: rgba(138, 104, 88, 0.18);
  background: rgba(255, 255, 255, 0.8);
}

.btn-card {
  width: 100%;
  background: var(--bege);
  color: var(--marrom-escuro);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

/* =====================================
   HEADER / NAV
===================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 246, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(138, 104, 88, 0.08);
}

.nav-wrap {
  padding: 6px 0;
  /*min-height: var(--header-height);*/
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 120px;
  height: auto;
  display:block;
  object-fit: contain;
  border-radius: 5%;
  background: transparent;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--marrom-escuro);
}

.menu-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: rgba(246, 217, 216, 0.85);
  display: grid;
  place-items: center;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--marrom-escuro);
  margin: 3px 0;
  transition: 0.25s ease;
}

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.98);
  box-shadow: var(--sombra);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 14px;
  border-radius: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(242, 232, 223, 0.85);
}

/* =====================================
   HERO
===================================== */
.hero {
  padding-top: 52px;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-text {
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.hero-meta {
  display: grid;
  gap: 14px;
}

.meta-card,
.info-card,
.testimonial-card,
.contact-box,
.share-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(138, 104, 88, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--sombra);
}

.meta-card {
  padding: 16px 18px;
}

.meta-card strong,
.contact-label {
  display: block;
  color: var(--marrom-escuro);
  margin-bottom: 4px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-image-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra);
  background: var(--branco);
  border: 1px solid rgba(138, 104, 88, 0.08);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-main {
  height: 440px;
}

.hero-image-small {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 42%;
  max-width: 220px;
  height: 180px;
}

/* =====================================
   SOBRE
===================================== */
.about-grid {
  display: grid;
  gap: 24px;
}

.about-highlights {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px;
}

/* =====================================
   PRODUTOS
===================================== */
.products-grid {
  display: grid;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(138, 104, 88, 0.08);
  box-shadow: var(--sombra);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-card-content {
  padding: 20px;
}

/* =====================================
   GALERIA
===================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sombra);
  min-height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* =====================================
   DEPOIMENTOS
===================================== */
.testimonials-grid {
  display: grid;
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  font-size: 1rem;
}

/* =====================================
   COMPARTILHAR
===================================== */
.share-box {
  padding: 28px;
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.share-feedback {
  min-height: 24px;
  margin-top: 14px;
  color: var(--marrom);
  font-weight: 500;
}

/* =====================================
   CONTATO
===================================== */
.contact-box {
  padding: 28px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(242, 232, 223, 0.55);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-note {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* =====================================
   FOOTER
===================================== */
.site-footer {
  padding: 28px 0 40px;
  background: rgba(138, 104, 88, 0.08);
}

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

.site-footer h3 {
  margin-bottom: 8px;
}

/* =====================================
   WHATSAPP FLUTUANTE
===================================== */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #3fcf79, #21a95a);
  box-shadow: 0 18px 32px rgba(33, 169, 90, 0.32);
}

/* =====================================
   ANIMAÇÕES DE ENTRADA
===================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   RESPONSIVO
===================================== */
@media (min-width: 700px) {
  .hero-actions,
  .share-actions,
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-meta,
  .testimonials-grid,
  .footer-grid,
  .contact-details,
  .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: auto;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero-grid,
  .about-grid,
  .contact-box,
  .share-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    align-items: start;
  }

  .section {
    padding: 96px 0;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .brand-logo {
    width: 120px;
    height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
