/* =============================================
   Arte Bordada – style.css
   artebordada.com.br
   ============================================= */

/* ── RESET & VARIÁVEIS ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:      #f5f0e8;
  --cream-dark: #ede6d6;
  --pink:       #e8a0a0;
  --pink-light: #f2c4c4;
  --pink-dark:  #d47a7a;
  --brown:      #8B5E3C;
  --steel:      #5b7a8a;
  --gold:       #c8963e;
  --text:       #3a2e28;
  --text-light: #7a6a60;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,150,62,0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.nav-logo-icon {
  width: 220px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}

.nav-logo-icon img {
  width: 100%; height: 100%; object-fit: contain;
}

.nav-links {
  display: flex; gap: 32px; align-items: center;
}

.nav-links a {
  text-decoration: none; color: var(--text-light);
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; transition: color .2s;
}

.nav-links a:hover { color: var(--brown); }

.nav-cta {
  background: #25d366 !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 24px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  display: flex; align-items: center; gap: 6px;
}

.nav-cta:hover { background: #1db954 !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #e8ddd0 0%, #f0e8dc 40%, #e4d5c8 100%);
  display: flex; align-items: center;
  padding: 100px 48px 60px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,150,62,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(91,122,138,0.08) 0%, transparent 40%);
}

/* Textura de tecido */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23c8963e' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,62,0.12);
  border: 1px solid rgba(200,150,62,0.3);
  color: var(--brown);
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15; color: var(--text);
  margin-bottom: 12px;
}

.hero h1 em { font-style: italic; color: var(--brown); }

.hero-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 26px; color: var(--steel);
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px; color: var(--text-light);
  line-height: 1.7; margin-bottom: 40px; max-width: 440px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── BOTÕES ── */
.btn-primary {
  background: var(--brown);
  color: white; border: none; padding: 14px 32px;
  border-radius: 32px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all .25s; display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: .3px;
}

.btn-primary:hover {
  background: #6e4a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,94,60,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--brown); border: 1.5px solid var(--brown);
  padding: 13px 28px; border-radius: 32px; font-size: 15px;
  cursor: pointer; text-decoration: none;
  transition: all .25s; display: inline-flex; align-items: center; gap: 8px;
}

.btn-ghost:hover {
  background: var(--brown); color: white;
  transform: translateY(-2px);
}

/* ── HERO VISUAL (cards decorativos) ── */
.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; display: flex; align-items: center; justify-content: center;
}

.hero-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 120px 60px 60px 20px;
}

.hero-card {
  background: white; border-radius: 16px;
  overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: transform .3s;
}

.hero-card:hover { transform: scale(1.03); }

.hero-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; position: relative; overflow: hidden;
}

/* Quando tiver foto real: <div class="hero-card-img"><img src="foto.jpg" alt="..."></div> */
.hero-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.hero-card:hover .hero-card-img img {
  transform: scale(1.05);
}

/* Paleta de cores dos cards/serviços/galeria */
.c1 { background: linear-gradient(135deg, #f2e8d9, #e8d5bc); }
.c2 { background: linear-gradient(135deg, #f5d5d5, #f0c0c0); }
.c3 { background: linear-gradient(135deg, #d5e8f2, #c0d8e8); }
.c4 { background: linear-gradient(135deg, #e8f2d5, #d5e8bc); }

.hero-card-label {
  padding: 12px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  text-align: center;
}

/* ── TÍTULOS DE SEÇÃO ── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px); color: var(--text);
  margin-bottom: 16px;
}

.section-title em { font-style: italic; color: var(--brown); }

.section-desc {
  color: var(--text-light); font-size: 15px;
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}

.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  border-radius: 2px; margin: 20px auto 0;
}

/* ── SERVIÇOS ── */
.services {
  padding: 100px 48px;
  background: var(--cream);
}

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

/* 4º card centralizado sozinho na segunda linha */
.service-card:last-child {
  grid-column: 2 / 3;
}

.service-card {
  background: white; border-radius: 20px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all .3s; cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* Área de imagem — pronta para foto real ou emoji */
.service-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; position: relative; overflow: hidden;
}

/* Quando tiver foto real, adicionar a classe .service-img-photo */
.service-img-photo {
  height: 200px;
  position: relative; overflow: hidden;
}

.service-img-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.service-card:hover .service-img-photo img {
  transform: scale(1.05);
}

.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.08));
}

.service-body { padding: 24px; }

.service-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--text); margin-bottom: 8px;
}

.service-body p {
  font-size: 14px; color: var(--text-light);
  line-height: 1.6; margin-bottom: 20px;
}

.service-tag {
  display: inline-block;
  background: var(--cream); color: var(--brown);
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 12px;
}

.service-card-cta {
  display: flex; align-items: center; justify-content: space-between;
}

.service-whatsapp {
  background: #25d366; color: white;
  border: none; padding: 8px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: background .2s;
}

.service-whatsapp:hover { background: #1db954; }

/* ── GALERIA ── */
.gallery {
  padding: 80px 48px;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px; max-width: 1100px; margin: 0 auto;
}

.gallery-item {
  border-radius: 16px; overflow: hidden;
  background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; position: relative;
  transition: transform .3s;
}

.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall  { grid-row: span 2; min-height: 360px; }
.gallery-item.short { min-height: 165px; }

.g1 { background: linear-gradient(135deg, #f5e8d5, #edd5bb); }
.g2 { background: linear-gradient(135deg, #f5d5d5, #efc0c0); }
.g3 { background: linear-gradient(135deg, #d5e8d5, #bce0bc); }
.g4 { background: linear-gradient(135deg, #d5d5f5, #bcbce8); }
.g5 { background: linear-gradient(135deg, #f5f0d5, #e8e0bc); }

.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  color: white; padding: 20px 16px 12px;
  font-size: 14px; font-weight: 500;
}

/* ── PROCESSO ── */
.process {
  padding: 100px 48px;
  background: var(--cream);
}

.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; max-width: 1000px; margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute; top: 32px; left: 16%; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--pink-dark));
  z-index: 0;
}

.step {
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}

.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: white; border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; color: var(--gold);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(200,150,62,0.2);
}

.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px; color: var(--text); margin-bottom: 8px;
}

.step p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ── FOOTER ── */
footer {
  background: var(--pink);
  padding: 64px 48px 32px;
}

.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.85); font-size: 14px;
  line-height: 1.7; margin-top: 16px; margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }

.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: white; font-size: 18px;
  transition: background .2s;
}

.social-btn:hover { background: rgba(255,255,255,0.35); }

.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: white; margin-bottom: 20px;
}

.contact-form { display: flex; flex-direction: column; gap: 12px; }

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px; padding: 12px 16px;
  color: white; font-size: 14px; outline: none;
  transition: border-color .2s; font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.65); }

.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,0.7); }

.contact-form textarea { resize: none; height: 80px; }

.btn-submit {
  background: white; color: var(--pink-dark);
  border: none; padding: 12px 28px; border-radius: 24px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; align-self: flex-start;
}

.btn-submit:hover { background: var(--cream); transform: translateY(-2px); }

.footer-cta {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
}

.footer-cta h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: white; margin-bottom: 12px;
}

.footer-cta p {
  color: rgba(255,255,255,0.85); font-size: 14px;
  margin-bottom: 28px; line-height: 1.6;
}

.btn-whatsapp-big {
  background: #25d366; color: white;
  padding: 16px 36px; border-radius: 32px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s; box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}

.btn-whatsapp-big:hover {
  background: #1db954;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}

.footer-bottom p  { font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-domain    { font-size: 13px; color: rgba(255,255,255,0.75); }

/* ── BOTÃO FLUTUANTE WHATSAPP ── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all .25s;
  animation: pulse 2s infinite;
}

.float-wa:hover { transform: scale(1.1); }

@keyframes pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.65); }
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  nav                    { padding: 14px 24px; }
  .nav-links             { display: none; }
  .hero                  { padding: 90px 24px 60px; flex-direction: column; }
  .hero-visual           { display: none; }
  .services,
  .gallery,
  .process               { padding: 60px 24px; }
  .services-grid         { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .gallery-grid          { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall     { grid-row: span 1; }
  .process-steps         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .footer-top            { grid-template-columns: 1fr; gap: 32px; }
  footer                 { padding: 48px 24px 24px; }
}
