/* =========================================================
   Kamila com A — 2270 pra Federal
   Layout fluido: escala proporcional do Figma (1440px) até mobile
   ========================================================= */

:root {
  --magenta: #c02487;       /* Stats & Footer bg */
  --magenta-soft: #ee28b3;  /* Hero & CTA bg */
  --purple: #2a17d9;        /* Polygon blue */
  --yellow: #FFE600;
  --green: #13cc5d;         /* CTA btn */
  --pink-badge: #FF7FC1;
  --text-dark: #000000;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Anybody', sans-serif;
  --font-footer: 'Carlito', sans-serif;

  /* largura de referência do layout do Figma */
  --design-w: 1440;
  /* 1 unidade fluida = 1px do Figma, travada a partir de 1440px */
  --u: min(calc(100vw / 1440), 1px);
  /* respiro lateral em telas pequenas */
  --gutter: clamp(20px, 5vw, 50px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

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

a:focus-visible,
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* ---------- CONTAINER GERAL ---------- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background-color: var(--magenta-soft);
  color: #fff;
  overflow: hidden;
}

.hero > .container {
  min-height: calc(1020 * var(--u));
}

.hero-shapes {
  position: absolute;
  top: calc(-372 * var(--u));
  right: calc(-200 * var(--u));
  width: calc(901 * var(--u));
  height: calc(1259 * var(--u));
  background-color: var(--purple);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
}

.logo-pl {
  position: absolute;
  top: calc(50 * var(--u));
  /* acompanha a foto: acima de 1440px fica preso à borda da tela */
  right: calc(50 * var(--u) + min(0px, (1440px - 100vw) / 2));
  width: calc(146 * var(--u));
  height: auto;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: calc(163 * var(--u));
  padding-bottom: calc(60 * var(--u));
  margin-left: calc(82 * var(--u));
  max-width: calc(800 * var(--u));
  text-align: left;
}

.hero-title {
  width: calc(750 * var(--u));
  max-width: 100%;
  margin-bottom: calc(30 * var(--u));
}

.hero-subtitle {
  width: calc(796 * var(--u));
  max-width: 100%;
}

.foto-kamila {
  position: absolute;
  bottom: 0;
  /* acima de 1440px a foto continua colada na borda da tela, não do container */
  right: min(0px, calc((1440px - 100vw) / 2));
  width: calc(886 * var(--u));
  aspect-ratio: 886 / 984;
  height: auto;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
}

/* ---------- STATS / BADGES ---------- */
.stats {
  background: var(--magenta);
}
.stats-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 4.2vw, 61px) var(--gutter);
  min-height: calc(497 * var(--u));
}
.stats-img {
  width: 100%;
  max-width: 1196px;
}

/* ---------- SOBRE / DEPOIMENTO ---------- */
.sobre {
  background: #fff;
}
.sobre-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5.9vw, 85px);
  padding: clamp(56px, 6vw, 86px) var(--gutter);
}
.galeria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 34px);
  flex: 1 1 clamp(280px, 47vw, 717px);
  max-width: 717px;
}
.galeria img {
  width: 100%;
  aspect-ratio: 341 / 455;
  height: auto;
  object-fit: cover;
  border-radius: clamp(16px, 2.8vw, 40px);
}
.texto {
  flex: 1 1 clamp(280px, 36vw, 523px);
  max-width: 523px;
}
.texto p {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.74;
  color: #000000;
  margin: 0 0 clamp(20px, 3.3vw, 47px) 0;
  text-align: justify;
  hyphens: auto;
}
.texto p:last-child { margin-bottom: 0; }

/* ---------- CTA WHATSAPP ---------- */
.cta {
  background: var(--magenta-soft);
}
.cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(305 * var(--u));
  padding: clamp(48px, 6vw, 86px) var(--gutter);
}
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  width: min(654px, 100%);
  min-height: 1.66em;              /* 133 / 80 */
  padding: 0.3em 1em 0.3em 0.6em;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 80px);
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease;
  position: relative;
  /* espaço pro ícone que "vaza" pra fora do botão */
  margin-right: 1.25em;
}
.whatsapp-btn:hover { transform: translateY(-4px); }
.icon-whatsapp {
  position: absolute;
  width: 2.16em;                   /* 173 / 80 */
  height: auto;
  right: -0.91em;                  /* -73 / 80 */
  top: -0.16em;                    /* -13 / 80 */
}

/* ---------- RODAPÉ ---------- */
.rodape {
  background: var(--magenta);
}
.rodape .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(359 * var(--u));
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  font-family: var(--font-footer);
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.rodape p {
  margin: 0;
  font-size: clamp(18px, 3.8vw, 55px);
  line-height: 1.31;
  overflow-wrap: anywhere;
}
.rodape-titulo {
  text-transform: uppercase;
}

/* ---------- TABLET / MOBILE: empilha o hero ---------- */
@media (max-width: 860px) {
  :root { --u: 1px; }

  .hero > .container {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-shapes {
    width: 130vw;
    height: 150vw;
    top: -55vw;
    right: -30vw;
  }

  .logo-pl {
    top: clamp(16px, 4vw, 32px);
    right: var(--gutter);
    width: clamp(72px, 13vw, 110px);
  }

  .hero-content {
    margin-left: 0;
    max-width: 100%;
    padding: clamp(96px, 22vw, 150px) var(--gutter) clamp(24px, 6vw, 40px);
  }

  .hero-title { width: min(560px, 100%); margin-bottom: clamp(14px, 3vw, 26px); }
  .hero-subtitle { width: min(560px, 100%); }

  .foto-kamila {
    position: static;
    width: min(520px, 100%);
    margin: 0 0 0 auto;
    aspect-ratio: auto;
  }

  /* alturas do Figma não valem em mobile: deixa o conteúdo mandar */
  .stats-container,
  .cta-container,
  .rodape .container { min-height: 0; }

  .sobre-container { flex-direction: column; }
  .galeria,
  .texto { flex: 1 1 auto; width: 100%; max-width: 560px; }
  .texto p { text-align: left; }

  .whatsapp-btn {
    width: 100%;
    max-width: 420px;
    font-size: clamp(28px, 8vw, 46px);
  }
}

@media (max-width: 420px) {
  .galeria { gap: 12px; }
  .whatsapp-btn { font-size: clamp(24px, 7.2vw, 34px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .whatsapp-btn:hover { transform: none; }
}
