/* ============================================================
   TOKENS & GLOBAL RESET — Conectadas Fitness
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300;1,400;1,600;1,700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&display=swap');

:root {
  --rose-dark:  #D97B96;
  --rose-mid:   #F4A7B9;
  --rose-light: #FAD4DE;
  --cream:      #FFF7F9;
  --blush:      #FDEEF2;
  --charcoal:   #2C2C2C;
  --gold:       #C9956A;

  --accent:     #D97B96;
  --accent2:    #C9956A;
  --bg:         #FFF7F9;
  --bg-alt:     #FDEEF2;

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Italic serif accent — use <em> inside headings for the contrast word */
h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
p { text-wrap: pretty; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.rev-d1 { transition-delay: 0.10s; }
.rev-d2 { transition-delay: 0.20s; }
.rev-d3 { transition-delay: 0.30s; }
.rev-d4 { transition-delay: 0.40s; }
.rev-d5 { transition-delay: 0.50s; }
.rev-d6 { transition-delay: 0.60s; }

/* ── Gradient text ── */
.grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--rose-mid) 55%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--rose-mid));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(217,123,150,0.35);
  transition: transform .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(217,123,150,0.48); }

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid var(--rose-mid);
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-s:hover { background: var(--blush); border-color: var(--accent); }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Section headings ── */
.section-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--charcoal);
  margin-top: 12px;
  letter-spacing: -0.02em;
}

/* ── Gradient text (standalone, not inside heading em) ── */

/* ── Card base ── */
.card {
  background: var(--bg);
  border: 1px solid rgba(217,123,150,0.15);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 2px 16px rgba(217,123,150,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(217,123,150,0.15); }

@media (max-width: 760px) {
  body { font-size: 15px; }
}

/* ============================================================
   MOBILE FIXES — max 760px
   ============================================================ */

/* BUG GLOBAL — overflow horizontal */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  *, *::before, *::after { box-sizing: border-box; }
  img, svg, video, canvas { max-width: 100%; height: auto; }
  section, .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }
}

/* BUG 1 — Foto da Taty cortada no Hero */
@media (max-width: 760px) {
  .hero-photo-box {
    width: 90vw !important;
    height: auto !important;
    aspect-ratio: unset !important;
    overflow: visible !important;
    border-radius: var(--r-lg) !important;
    margin-bottom: 8px;
  }
  .hero-photo-box img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: top center !important;
    display: block;
  }
  .hero-visual { display: none !important; }
  .hero-inner { grid-template-columns: 1fr !important; }
}

/* BUG 2 — Headline quebrando feia */
@media (max-width: 760px) {
  .hero-title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    text-wrap: balance;
  }
  .hero-title s,
  .hero-title em {
    white-space: nowrap;
  }
}

/* BUG 3 — Lede cortado pelo widget flutuante */
@media (max-width: 760px) {
  .hero-lede {
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .tweaks-panel {
    bottom: 16px !important;
    right: 12px !important;
    width: 220px !important;
  }
}

/* BUG 4 — Botões desalinhados */
@media (max-width: 760px) {
  .hero-ctas {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .hero-ctas .btn-p,
  .hero-ctas .btn-s {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* GLOBAL MOBILE — grids para 1 coluna */
@media (max-width: 760px) {
  .args-grid,
  .whynow-grid,
  .dif-inner,
  .tese-inner,
  .servicos-inner,
  .ometodo-pilares-grid,
  .ometodo-cards-grid,
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
  .hero-kpis {
    flex-direction: column;
    gap: 14px;
  }
  p, li, span { line-height: 1.7; }
}
