/* ============================================================
   GeraArts — Chinelos Havaianas Personalizados — LP de vendas
   Design system herdado de geraarts.com (paleta rosa/dourado)
   ============================================================ */

/* ── TOKENS ── */
:root {
  --rose:        #D4718A;
  --rose-light:  #E8A0B2;
  --rose-dark:   #B85A72;
  --gold:        #C9A87A;
  --gold-light:  #EAD5B0;
  --dark:        #1A1214;
  --warm-white:  #FEF9F6;
  --light-rose:  #FDF0F4;
  --gray:        #7A636B;
  --border:      #F0D8E4;
  --green:       #4C8A6A;
  --green-light: #E9F5EE;
  --grad:        linear-gradient(135deg, #B85A72 0%, #D4718A 60%, #E8A0B2 100%);
  --grad-gold:   linear-gradient(135deg, #C9A87A 0%, #EAD5B0 100%);
  --grad-light:  linear-gradient(135deg, #FDF0F4 0%, #FEF9F6 100%);

  --text-sm:   clamp(0.8rem,  0.75rem + 0.2vw, 0.9rem);
  --text-base: clamp(1rem,    0.92rem + 0.4vw, 1.125rem);
  --text-lg:   clamp(1.2rem,  1rem   + 1vw,   1.6rem);
  --text-xl:   clamp(1.6rem,  1rem   + 2.5vw, 2.5rem);
  --text-hero: clamp(2.2rem,  1rem   + 4vw,   3.8rem);

  --sp-xs: clamp(0.5rem,  0.4rem + 0.4vw, 0.75rem);
  --sp-sm: clamp(0.75rem, 0.6rem + 0.8vw, 1.25rem);
  --sp-md: clamp(1.25rem, 0.8rem + 2vw,   2.5rem);
  --sp-lg: clamp(2.5rem,  1rem   + 4vw,   5rem);
  --sp-xl: clamp(4rem,    2rem   + 5vw,   8rem);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 2px 16px rgba(212,113,138,0.08);
  --shadow-md: 0 8px 40px rgba(212,113,138,0.13);
  --shadow-lg: 0 20px 60px rgba(212,113,138,0.18);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--warm-white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── LANGUAGE TOGGLE ── */
html[data-lang="en"] [lang="pt"] { display: none !important; }
html[data-lang="pt"] [lang="en"] { display: none !important; }

.container { width: min(1160px, 92%); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover { box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

.btn-secondary {
  background: #fff;
  color: var(--rose);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(201,168,122,0.12);
}
.btn-secondary:hover { background: var(--light-rose); border-color: var(--rose-light); }

.btn-white {
  background: #fff;
  color: var(--rose);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

.btn-lg { padding: 18px 38px; font-size: var(--text-base); }
.btn-block { width: 100%; }

/* ══════════════════════════════
   MINI NAV
══════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--sp-md);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  max-width: 1160px;
  margin-inline: auto;
  gap: var(--sp-sm);
}
.logo-link img { height: 52px; width: auto; border-radius: 12px; box-shadow: var(--shadow-sm); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { color: var(--rose); }
.lang-btn.active { background: var(--grad); color: #fff; }
.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  padding: 106px 0 0;
  background: var(--grad-light);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,32,104,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-lg);
  align-items: center;
  padding: var(--sp-lg) 0;
  max-width: 1160px;
  margin-inline: auto;
  width: 92%;
}
.hero-text { display: flex; flex-direction: column; gap: var(--sp-xs); position: relative; z-index: 1; }
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--dark);
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: var(--text-base);
  color: var(--gray);
  max-width: 480px;
  line-height: 1.7;
  margin-top: 4px;
}
.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: var(--sp-xs);
}
.hero-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.hero-price-note { font-size: var(--text-sm); color: var(--gray); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-xs); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: var(--sp-sm);
  font-size: 12.5px;
  color: var(--gray);
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }

.hero-visual { position: relative; }
.hc {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hc-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.hc-slide { min-width: 100%; height: 100%; flex-shrink: 0; position: relative; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; }
.hc-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
}
.hc-dots {
  position: absolute;
  bottom: 16px; right: 16px;
  display: flex; gap: 6px;
  z-index: 3;
}
.hc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none; cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.hc-dot.active { background: #fff; transform: scale(1.4); }
.hc-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(196,32,104,0.3);
  z-index: 2;
}

.hero-wave { position: relative; height: 70px; margin-top: var(--sp-md); }
.hero-wave svg { position: absolute; bottom: 0; width: 100%; }
.hero-wave path { fill: #fff; }

/* ══════════════════════════════
   TRUST BAND
══════════════════════════════ */
.trust-band { background: #fff; padding: var(--sp-md) 0 var(--sp-lg); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--sp-sm);
  background: var(--light-rose);
  border-radius: var(--r-md);
}
.trust-item .ic { font-size: 26px; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13.5px; }
.trust-item span { font-size: 12px; color: var(--gray); }

/* ══════════════════════════════
   SECTION HEADER (shared)
══════════════════════════════ */
.section-header { text-align: center; margin-bottom: var(--sp-lg); }
.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
}
.section-header .eyebrow::before { margin-right: 2px; }
.section-header .eyebrow::after { margin-left: 2px; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark);
  margin-top: var(--sp-xs);
}
.section-title::after {
  content: '';
  display: block;
  width: 48px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-sub {
  max-width: 560px;
  margin: var(--sp-xs) auto 0;
  color: var(--gray);
  font-size: var(--text-base);
}

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery { padding: var(--sp-xl) 0; background: var(--warm-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ══════════════════════════════
   ORDER BUILDER
══════════════════════════════ */
.order-section { padding: var(--sp-xl) 0; background: #fff; }
.order-card {
  background: var(--grad-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  max-width: 760px;
  margin-inline: auto;
  box-shadow: var(--shadow-md);
}
.order-field { margin-bottom: var(--sp-md); }
.order-field > label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--dark);
}
.order-field > label .sel-value { color: var(--rose-dark); font-weight: 700; }

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
  text-align: center;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.active { border-color: var(--rose); box-shadow: var(--shadow-sm); }
.swatch-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.swatch-label { font-size: 10.5px; font-weight: 600; line-height: 1.25; color: var(--dark); }

.size-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--dark);
  cursor: pointer;
}
.size-guide-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}

.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  background: #fff;
  border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-md);
  margin-top: var(--sp-sm);
  flex-wrap: wrap;
}
.order-summary-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.order-summary-note { font-size: 12px; color: var(--gray); max-width: 260px; }

/* ══════════════════════════════
   OCCASIONS
══════════════════════════════ */
.occasions { padding: var(--sp-xl) 0; background: var(--light-rose); }
.occ-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-sm);
}
.occ-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-xs);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.occ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.occ-icon { font-size: 30px; margin-bottom: 8px; }
.occ-card span { font-size: 13px; font-weight: 700; }

/* ══════════════════════════════
   MAKER
══════════════════════════════ */
.maker { padding: var(--sp-xl) 0; background: #fff; }
.maker-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: var(--sp-lg);
  align-items: center;
}
.maker-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fff, 0 0 0 12px rgba(212,113,138,0.18), var(--shadow-lg);
  margin-inline: auto;
}
.maker-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}
.maker-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.maker-p { color: var(--gray); font-size: var(--text-base); line-height: 1.8; margin-bottom: 10px; }
.maker-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-xs); }
.maker-badge {
  background: var(--light-rose);
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ══════════════════════════════
   FAQ
══════════════════════════════ */
.faq { padding: var(--sp-xl) 0; background: var(--warm-white); }
.faq-list { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--light-rose);
  color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform .25s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 22px 20px; }

/* ══════════════════════════════
   FINAL CTA
══════════════════════════════ */
.final-cta {
  background: var(--grad);
  padding: var(--sp-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.final-cta::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 620px; margin-inline: auto; }
.final-cta .eyebrow { color: rgba(255,255,255,0.75); justify-content: center; }
.final-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-xs);
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-base);
  margin-bottom: var(--sp-md);
  line-height: 1.7;
}

/* ══════════════════════════════
   STICKY MOBILE CTA
══════════════════════════════ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-price { font-weight: 700; font-size: 15px; }
.sticky-cta-price small { display: block; font-weight: 500; font-size: 10.5px; color: var(--gray); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: var(--sp-lg) 0 var(--sp-md); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}
.footer-logo { height: 56px; width: auto; border-radius: 12px; }
.footer-tagline { margin-top: 12px; font-size: var(--text-sm); font-style: italic; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background .2s;
}
.footer-social a:hover { background: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════
   MOBILE
══════════════════════════════ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hc { max-width: 420px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .maker-inner { grid-template-columns: 1fr; text-align: center; }
  .maker-p { text-align: left; }
  .occ-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .occ-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .order-card { padding: var(--sp-md); }
  .hero-ctas .btn,
  .final-cta .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .order-summary { flex-direction: column; align-items: stretch; text-align: center; }
}
