/* ============================================================
   Abraço de Algodão — Landing page de representantes
   Paleta e tipografia extraídas da landing page original
   ============================================================ */
:root {
  --cream: #f7f6f2;        /* fundo do hero */
  --sand: #f1ede5;         /* fundo da seção de expansão */
  --linen: #f3efea;        /* fundo da seção do formulário */
  --card: #f5f2ec;         /* fundo dos cards de produto */
  --white: #ffffff;
  --ink: #1e1f1c;          /* texto e fundo escuro */
  --ink-2: #232321;        /* botões escuros */
  --text: #4c4a45;         /* texto corrido */
  --muted: #7b776f;
  --line: #e4ded3;
  --gold: #b09068;         /* destaque tipográfico */
  --gold-logo: #bea179;    /* dourado do logotipo */
  --gold-soft: #d8c4a6;
  --blue: #84b9d5;         /* azul do logotipo */
  --dark-card: rgba(255, 255, 255, 0.035);
  --dark-line: rgba(255, 255, 255, 0.08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
main:focus, section:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.center { text-align: center; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold-logo);
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--blue); border-radius: 50%; }

.display,
.heading,
.manifesto__quote,
.panel__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.display em,
.heading em,
.manifesto__quote em,
.panel__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.display {
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.06;
}

.heading {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.14;
}
.heading--narrow { max-width: 620px; }
.heading--light { color: #fff; }
.heading--light em { color: var(--gold-soft); }

/* ---------- Botões ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--dark { background: var(--ink-2); color: #fff; box-shadow: 0 6px 18px rgba(30, 31, 28, 0.16); }
.btn--dark:hover { background: #3a3935; }

.btn--outline { background: transparent; color: var(--ink); border-color: #d9d3c8; }
.btn--outline:hover { border-color: var(--ink); background: #fff; }

.btn--light { background: var(--linen); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--ghost {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.text-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 26px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--gold); }

/* ---------- Padrões de fundo (quadrados suaves da referência) ---------- */
.pattern-light {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Crect x='16' y='16' width='32' height='32' rx='9' fill='none' stroke='%23efebe4' stroke-width='1.2'/%3E%3C/svg%3E");
}
.pattern-dark {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Crect x='16' y='16' width='32' height='32' rx='9' fill='%23262724'/%3E%3C/svg%3E");
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid #efebe4;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header__logo img { width: auto; height: 48px; }

.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: var(--gold); }
.site-nav .site-nav__cta { color: var(--gold); font-weight: 600; }
.site-nav .site-nav__cta:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero__content { max-width: 520px; }
.hero__lead { margin-top: 22px; font-size: 17px; max-width: 470px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero .btn-row { margin-top: 30px; }

.checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dbe9f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%235f93b1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1.72fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1.3 / 1;
}
.hero__img {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: 0 18px 40px -22px rgba(30, 31, 28, 0.35);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { grid-row: 1 / span 2; }
.hero__img--main img { object-position: 50% 30%; }

.hero__badge {
  position: absolute;
  left: -14px;
  bottom: -14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px -8px rgba(30, 31, 28, 0.35);
}
.hero__badge img { width: 28px; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--white { background: var(--white); }

/* ---------- Produtos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0 48px;
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
}
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ece6db;
}
.product-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform .6s ease;
}
.product-card:hover .product-card__media > img { transform: scale(1.035); }

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-card__body { padding: 20px 20px 24px; }
.product-card__body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.product-card__body p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Expansão (manifesto) ---------- */
.manifesto { position: relative; overflow: hidden; padding: 72px 0; background: var(--sand); }
.manifesto__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
}
.manifesto__img {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -28px rgba(30, 31, 28, 0.4);
}
.manifesto__img img { width: 100%; aspect-ratio: 1.47 / 1; object-fit: cover; object-position: 50% 30%; }
.manifesto__content { position: relative; z-index: 1; max-width: 440px; }
.manifesto__quote { font-size: clamp(28px, 2.9vw, 36px); line-height: 1.22; }
.manifesto__text { margin-top: 18px; font-size: 16px; }
.manifesto__mark {
  position: absolute;
  right: calc(var(--gutter) * -1 - 70px);
  top: 50%;
  width: 150px;
  transform: translateY(-50%);
  opacity: 0.13;
  pointer-events: none;
}

/* ---------- Diferenciais (escuro) ---------- */
.dark { padding: 100px 0 104px; color: rgba(255, 255, 255, 0.7); }
.dark__head { max-width: 640px; margin: 0 auto; text-align: center; }
.dark__lead { margin-top: 16px; font-size: 15.5px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.feature {
  padding: 26px 22px 28px;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  transition: border-color .25s ease, background-color .25s ease;
}
.feature:hover { border-color: rgba(216, 196, 166, 0.3); background: rgba(255, 255, 255, 0.05); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(160deg, #c8ab82, #a8875e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin-top: 18px; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.35; }
.feature p { margin-top: 10px; font-size: 14px; line-height: 1.6; }

.panel {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 56px 56px 52px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
}
.panel__title {
  max-width: 560px;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.2;
  color: #fff;
}
.panel__lead { max-width: 560px; margin-top: 16px; font-size: 15px; }

.steps {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
}
.step {
  padding: 24px 22px 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-line);
}
.step__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--gold-soft);
}
.step h3 { margin-top: 14px; font-size: 15.5px; font-weight: 600; color: #fff; }
.step p { margin-top: 8px; font-size: 14px; line-height: 1.6; }

.panel__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.panel__note { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.panel__mark {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 170px;
  opacity: 0.05;
  pointer-events: none;
}

/* ---------- Formulário ---------- */
.form-section { padding: 104px 0; background: var(--linen); }
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 72px;
}
.form-section__content { max-width: 460px; }
.form-section__lead { margin-top: 18px; font-size: 16px; }

.bullets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.bullets li { position: relative; padding-left: 28px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: url("../img/logo-simbolo.png") center / contain no-repeat;
}
.bullets strong { color: var(--ink); font-weight: 600; }
.form-section__mark { width: 34px; margin-top: 36px; opacity: 0.7; }

.form-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(30, 31, 28, 0.28), 0 1px 0 rgba(30, 31, 28, 0.03);
}
.form-card__slot { position: relative; }
.form-card__iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background: #fff;
}
.form-pending {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 420px;
  padding: 40px;
  text-align: center;
}
.form-pending__title { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.form-pending__text { font-size: 14px; color: var(--muted); padding: 24px; }
.form-pending code { font-size: 13px; background: var(--card); padding: 1px 6px; border-radius: 4px; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 64px 0 36px; background: #1d1d1b; color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__brand img { width: auto; height: 56px; }
.site-footer__brand p { max-width: 280px; margin: 18px 0 20px; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__col h2 {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__col a { text-decoration: none; transition: color .2s ease; word-break: break-word; }
.site-footer__col a:hover { color: var(--gold-soft); }
.site-footer__copy { margin-top: 28px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 40px; }
  .manifesto__grid { gap: 40px; }
  .form-section__grid { gap: 48px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .site-nav a:not(.site-nav__cta) { display: none; }
  .site-header__logo img { height: 42px; }

  .hero { padding: 44px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__media { max-width: 560px; width: 100%; }

  .section { padding: 72px 0; }

  .manifesto { padding: 64px 0; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__content { max-width: 560px; }
  .manifesto__mark { display: none; }

  .dark { padding: 72px 0; }
  .panel { padding: 40px 28px; }
  .steps { grid-template-columns: 1fr; }

  .form-section { padding: 72px 0; }
  .form-section__grid { grid-template-columns: 1fr; }
  .form-section__content { max-width: 560px; }
  .form-section__mark { display: none; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }

  .site-nav { gap: 0; }
  .site-nav .site-nav__cta {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--ink-2);
    color: #fff;
    font-size: 13px;
  }
  .site-nav .site-nav__cta:hover { color: #fff; background: #3a3935; }
  .site-nav__cta span { display: none; }
  .site-header__logo img { height: 38px; }

  .eyebrow { font-size: 10px; letter-spacing: 0.14em; }
  .display { font-size: 38px; }
  .hero__lead { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .checks { flex-direction: column; gap: 10px; }

  .hero__media { gap: 10px; aspect-ratio: 1.05 / 1; }
  .hero__img { border-radius: 12px; }
  .hero__badge { left: -8px; bottom: -10px; width: 40px; height: 40px; }
  .hero__badge img { width: 24px; }

  .product-grid { gap: 12px; margin: 32px 0 36px; }
  .product-card__body { padding: 14px 14px 18px; }
  .product-card__body h3 { font-size: 16px; }
  .product-card__body p { font-size: 13px; }
  .tag { top: 8px; left: 8px; font-size: 8.5px; padding: 4px 8px; }

  .feature-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .feature { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px; }
  .feature__icon { grid-row: span 2; }
  .feature h3 { margin-top: 0; }
  .feature p { margin-top: 6px; }

  .panel { margin-top: 40px; padding: 32px 20px; border-radius: 18px; }
  .panel__cta .btn { width: 100%; }
  .panel__mark { display: none; }

  .form-card { border-radius: 16px; }
  .form-card__iframe { height: 640px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
