/* =========================================================
   Sandra Souto · AMeID+
   Estilos do site. Para mudar cores, edite as variáveis
   em :root logo abaixo — elas valem para o site inteiro.
   ========================================================= */

:root {
  --ink: #18141a;        /* fundo escuro principal */
  --ink2: #231d25;
  --paper: #f1ede7;      /* fundo claro (bege) */
  --warm: #e4d9cc;
  --gold: #c7a878;       /* dourado de destaque */
  --bronze: #9d7453;     /* itálicos nas seções claras */
  --muted: #b6aaa8;
  --line: #c7a87857;     /* linhas finas douradas */
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { max-width: 100%; display: block; }

.shell { width: min(100% - 72px, 1330px); margin: auto; }

.skip-link {
  position: absolute; top: -100px; left: 20px; z-index: 20;
  padding: 12px; background: var(--paper); color: #251d24;
}
.skip-link:focus { top: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 86px; }
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: .045em; white-space: nowrap; text-decoration: none; }
.brand span { color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; }
.nav a { font-size: 14px; text-transform: uppercase; letter-spacing: .13em; text-decoration: none; transition: color .2s; }
.nav a:hover, .footer a:hover { color: var(--gold); }
.nav .nav-last { border: 1px solid var(--line); padding: 10px 18px; }

/* ---------- Elementos comuns ---------- */
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.section-index { color: #8f7060; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; padding-top: 13px; }
.text-link {
  display: inline-flex; align-items: center; gap: 13px;
  width: fit-content; max-width: 100%; overflow-wrap: anywhere;
  padding-bottom: 7px; border-bottom: 1px solid var(--gold);
  color: var(--paper); font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.text-link span { color: var(--gold); font-size: 19px; line-height: 1; }
.text-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  align-items: stretch; min-height: 715px; position: relative; overflow: hidden;
}
.hero-copy {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 92px 6vw 88px max(36px, 50vw - 665px);
}
.hero h1 {
  max-width: 780px; margin: 23px 0 34px;
  font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.058em;
  font-size: clamp(58px, 6.4vw, 112px);
}
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 530px; margin: 0 0 34px; color: #d1c9c6; font-size: 18px; line-height: 1.65; }
.hero-photo { position: relative; min-height: 700px; background: #312a2b; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; filter: saturate(.82); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #18141a2e, #0000 32%), linear-gradient(#0000 66%, #18141a47);
}
.hero-photo small {
  position: absolute; right: 36px; bottom: 34px; z-index: 2;
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- Títulos grandes das seções ---------- */
.manifesto h2, .framework h2, .bio h2, .conversation h2 {
  margin: 0; font: 400 clamp(39px, 4.2vw, 66px)/1.1 var(--serif); letter-spacing: -.04em;
}
.manifesto h2 em, .bio h2 em { color: var(--bronze); font-weight: 400; }
.framework h2 em { color: var(--gold); font-weight: 400; }

/* ---------- 01 / A visão ---------- */
.manifesto { background: var(--paper); color: var(--ink); padding: 112px 0 120px; }
.manifesto-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; }
.manifesto h2 { max-width: 900px; }
.manifesto-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; max-width: 850px; margin-top: 54px; }
.manifesto-copy p { margin: 0; color: #4d4342; font-size: 17px; line-height: 1.72; }

/* ---------- AMeID+ ---------- */
.framework { background: #211b23; padding: 116px 0 125px; }
.framework-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 5vw; margin-bottom: 65px; }
.framework-head p { max-width: 505px; margin: 0 0 5px; color: #c4b9b5; font-size: 17px; line-height: 1.7; }
.framework-list { border-top: 1px solid var(--line); }
.framework-row {
  display: grid; grid-template-columns: 100px minmax(190px, .8fr) minmax(0, 1.3fr);
  align-items: start; gap: 22px; padding: 29px 0 33px; border-bottom: 1px solid var(--line);
}
.framework-row .letter { color: var(--gold); font: italic 45px/1 var(--serif); }
.framework-row h3 { margin: 2px 0; font: 400 29px/1.2 var(--serif); }
.framework-row p { max-width: 650px; margin: 2px 0 0; color: #c3b8b6; line-height: 1.6; }
.framework-note { margin: 36px 0 0; color: var(--gold); text-align: right; font: italic 19px/1.5 var(--serif); }

/* ---------- 02 / Quem eu sou ---------- */
.bio { display: grid; grid-template-columns: 48% 52%; min-height: 680px; background: var(--paper); color: var(--ink); }
.bio-image { background: #bbb0a3; }
.bio-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.bio-copy { display: flex; flex-direction: column; justify-content: center; padding: 105px max(36px, 50vw - 665px) 95px 9vw; }
.bio .section-index { margin-bottom: 31px; }
.bio h2 { max-width: 590px; }
.bio p { max-width: 600px; margin: 31px 0 0; color: #4d4342; font-size: 17px; line-height: 1.72; }
.bio p + p { margin-top: 15px; }
.bio .signature { margin-top: 36px; color: var(--bronze); font: italic 24px var(--serif); }

/* ---------- Bem-vinda ao AMeID+ ---------- */
.home-video-invitation { background: #ece7df; color: #251d24; padding: 95px 0; }
.home-video-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 7vw; }
.home-video-invitation .section-index { margin: 0 0 22px; }
.home-video-invitation h2 { margin: 0; font: 400 clamp(38px, 4vw, 62px)/1.1 var(--serif); letter-spacing: -.04em; }
.home-video-invitation p { max-width: 660px; margin: 0 0 26px; color: #554945; font-size: 18px; line-height: 1.7; }
.home-video-invitation .text-link { color: #624335; }
/* Quando o vídeo existir, use <div class="video-frame"><iframe ...></iframe></div> */
.video-frame { aspect-ratio: 16/9; background: #251d24; margin-bottom: 27px; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Ideias em movimento ---------- */
.conversation { position: relative; overflow: hidden; background: #251d24; padding: 110px 0 125px; }
.conversation::before {
  content: "\201C"; position: absolute; top: -175px; right: 2%; pointer-events: none;
  color: #c7a8780e; font: 480px var(--serif);
}
.conversation-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.conversation .eyebrow { margin-bottom: 26px; }
.conversation h2 { max-width: 600px; }
.conversation p { max-width: 530px; margin: 12px 0 29px; color: #c5bab6; font-size: 18px; line-height: 1.7; }
.conversation-links { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 8px 0 32px; }
.conversation-note {
  max-width: 475px; margin-top: 42px; padding-left: 25px; border-left: 1px solid var(--gold);
  color: #b9aaa7; font: italic 20px/1.55 var(--serif);
}

/* ---------- YouTube ---------- */
.youtube-spotlight { border-top: 1px solid var(--line); background: #18141a; padding: 65px 0; }
.youtube-inner { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 4vw; }
.youtube-inner h2 { margin: 8px 0 0; font: 400 clamp(32px, 3vw, 48px)/1.15 var(--serif); }
.youtube-inner p { margin: 0; color: #c8bdb8; font-size: 17px; }
.youtube-inner .text-link { white-space: nowrap; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); background: #171318; padding: 45px 0 33px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 32px; }
.footer .brand { font-size: 21px; }
.footer p { margin: 9px 0; color: #a99b98; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 29px; }
.footer-links a { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.footer-privacy { display: inline-block; margin-top: 24px; font-size: 13px; color: #a99b98; }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid #c7a8782e; color: #877d7b; font-size: 12px; }

/* =========================================================
   Página de Encontros (formulário)
   ========================================================= */
.application-page { background: var(--paper); color: var(--ink); padding: 76px 0 120px; }
.application-layout { display: grid; grid-template-columns: minmax(270px, .66fr) minmax(0, 1.34fr); align-items: start; gap: 8vw; }
.application-layout > * { min-width: 0; }
.application-intro h1, .privacy-content h1, .application-success h1 {
  margin: 22px 0 30px; font: 400 clamp(40px, 4.5vw, 70px)/1.06 var(--serif); letter-spacing: -.045em;
}
.application-intro h1 em { color: var(--bronze); font-weight: 400; }
.application-intro p { margin: 0 0 16px; color: #514746; font-size: 17px; line-height: 1.7; }
.application-aside {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid #b9a693;
  color: #805f4c; font: italic 20px/1.5 var(--serif);
}
.introduction-video { margin-top: 34px; padding: 28px; background: #251d24; color: #f8f1e8; }
.introduction-video .eyebrow { font-size: 11px; letter-spacing: .17em; }
.introduction-video h2 { margin: 11px 0 15px; font: 400 28px/1.18 var(--serif); }
.introduction-video p { margin: 0 0 20px; color: #ded4cc; font-size: 15px; line-height: 1.6; }
.introduction-video a { color: #e2bf89; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 5px; }

.application-form {
  scroll-margin-top: 24px; color-scheme: light;
  background: #fffdfa; border: 1px solid #d7cfc6;
  padding: 42px clamp(23px, 3vw, 48px) 52px; box-shadow: 0 20px 65px #1f161e0d;
}
.application-progress { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid #d6c8ba; }
.application-progress > p:first-child { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.progress-bar { height: 4px; background: #ded2c5; overflow: hidden; }
.progress-bar > div { height: 100%; width: 33.33%; background: #80603e; transition: width .3s; }
.form-help { margin: 14px 0 0; color: #665d59; font-size: 14px; line-height: 1.6; }

.form-group-heading { display: flex; gap: 20px; margin: 0 0 25px; }
.form-group-heading > span { color: var(--bronze); font: italic 29px var(--serif); }
.form-group-heading h2 { margin: 0 0 7px; font: 400 30px/1.2 var(--serif); }
.form-group-heading h2:focus { outline: none; }
.form-group-heading p { margin: 0; color: #665d59; font-size: 15px; line-height: 1.55; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-grid label, .form-full {
  display: flex; flex-direction: column; gap: 8px;
  color: #30292b; font-size: 15px; font-weight: 600; line-height: 1.35;
}
.form-grid label > span.req, .form-full > span.req, .format-options legend span { color: var(--bronze); }
.form-grid label small, .form-full small { color: #786d69; font-size: 14px; font-weight: 400; }
.form-grid .form-wide, .form-full { grid-column: 1 / -1; }
.form-full { margin: 0 0 24px; }

.application-form input[type="text"], .application-form input[type="email"],
.application-form input[type="tel"], .application-form input[type="url"],
.application-form select, .application-form textarea {
  width: 100%; min-height: 47px; padding: 11px 13px;
  background: #fff; color: #241e22; border: 1px solid #c9bfb6; border-radius: 2px;
  font: 400 16px/1.4 var(--sans);
}
.application-form select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23786d69' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center;
}
.application-form textarea { min-height: 96px; resize: vertical; }
.application-form input::placeholder, .application-form textarea::placeholder { color: #8b817e; }
.application-form input:focus, .application-form select:focus, .application-form textarea:focus {
  outline: none; border-color: #a47e53; box-shadow: 0 0 0 3px #a47e5333;
}
.application-form .is-invalid { border-color: #a55c42 !important; }

.format-options { border: 0; margin: 0 0 24px; padding: 0; }
.format-options legend { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.format-option {
  display: flex; align-items: flex-start; gap: 11px; min-height: 70px; padding: 14px;
  border: 1px solid #d5c7ba; cursor: pointer; font-size: 15px; line-height: 1.35;
}
.format-option:hover { border-color: var(--bronze); }
.format-option:has(input:checked) { border-color: #251d24; background: #f7f1ea; }
.application-form input[type="checkbox"] {
  flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #251d24; cursor: pointer;
}

.recording-notice { margin: 10px 0 25px; padding: 18px 20px; background: #f4eee7; border: 1px solid #b99d83; color: #382b2a; }
.recording-notice strong { font-size: 15px; }
.recording-notice p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.consent-line { display: flex; align-items: flex-start; gap: 12px; padding: 22px 0; border-top: 1px solid #d6c8ba; }
.consent-line label { color: #514746; font-size: 14px; line-height: 1.55; cursor: pointer; }
.consent-line a { color: #7e593f; text-decoration: underline; text-underline-offset: 3px; }

.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 18px; padding: 13px; background: #f8ecea; color: #8b2830; font-size: 14px; }
.form-error[hidden] { display: none; }

.form-actions { display: flex; gap: 14px; margin-top: 20px; }
.form-submit, .form-back {
  min-height: 52px; padding: 14px 20px; border-radius: 2px; cursor: pointer;
  font: 700 14px var(--sans); letter-spacing: .05em; text-transform: uppercase;
}
.form-submit { flex: 1; background: #251d24; color: #fff; border: 0; }
.form-submit:hover { background: #5a3d47; }
.form-back { background: transparent; color: #251d24; border: 1px solid #9d7453; }
.form-back:hover { background: #eee6dc; }
.form-back[hidden] { display: none; }
.form-footnote { margin: 18px 0 0; color: #756a66; font-size: 14px; line-height: 1.55; }

/* Quando o JavaScript está ativo, só a etapa atual aparece */
.js .form-step:not(.is-active) { display: none; }
.form-step + .form-step { margin-top: 45px; padding-top: 32px; border-top: 1px solid #d6c8ba; }
.js .form-step + .form-step { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Obrigado ---------- */
.application-success { max-width: 790px; background: #fffdfa; border: 1px solid #d7cfc6; padding: 60px clamp(24px, 4vw, 60px); }
.application-success p { color: #514746; font-size: 18px; line-height: 1.65; }
.application-success .text-link { color: #251d24; margin-top: 25px; }

/* ---------- Privacidade ---------- */
.privacy-page { min-height: 75vh; background: var(--paper); color: var(--ink); padding: 100px 0; }
.privacy-content { max-width: 790px; }
.privacy-content p { margin: 0 0 20px; color: #514746; font-size: 18px; line-height: 1.75; }
.privacy-content p a { color: #7e593f; }
.privacy-content .text-link { color: var(--ink); margin-top: 25px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr 43%; min-height: 620px; }
  .hero-copy { padding: 65px 5vw; }
  .hero h1 { font-size: clamp(53px, 6.6vw, 77px); }
  .hero-photo { min-height: 620px; }
  .bio-copy { padding: 75px 6vw; }
  .manifesto-grid { gap: 4vw; }
  .framework-row { grid-template-columns: 70px minmax(170px, .8fr) 1.2fr; }
}
@media (max-width: 900px) {
  .youtube-inner { display: block; }
  .youtube-inner p { margin: 24px 0; }
  .youtube-inner .text-link { white-space: normal; }
  .application-layout { display: block; }
  .application-intro { max-width: 720px; margin-bottom: 45px; }
  .application-page { padding: 64px 0 88px; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 36px, 560px); }
  .header-inner { flex-wrap: wrap; gap: 16px; height: auto; min-height: 76px; padding: 18px 0; }
  .brand { font-size: 21px; }
  .nav { gap: 12px 16px; }
  .nav a, .nav .nav-last { letter-spacing: .05em; font-size: 14px; }
  .nav .nav-last { padding: 8px 10px; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-photo { height: 48vh; min-height: 320px; max-height: 540px; }
  .hero-photo img { object-position: center 20%; }
  .hero-photo small { right: 18px; bottom: 18px; }
  .hero-copy { padding: 54px 18px 69px; }
  .hero h1 { margin: 20px 0 26px; font-size: clamp(56px, 13vw, 82px); }
  .hero-intro { font-size: 17px; }
  .manifesto, .framework, .conversation { padding: 76px 0 82px; }
  .manifesto-grid, .framework-head, .conversation-grid, .home-video-grid { display: block; }
  .section-index { margin-bottom: 30px; padding: 0; }
  .manifesto h2, .framework h2, .bio h2, .conversation h2 { font-size: clamp(38px, 9vw, 55px); }
  .manifesto-copy { display: block; margin-top: 34px; }
  .manifesto-copy p + p { margin-top: 18px; }
  .framework-head p { margin: 25px 0 0; }
  .framework-list { margin-top: 42px; }
  .framework-row { grid-template-columns: 54px 1fr; gap: 4px 10px; padding: 24px 0; }
  .framework-row .letter { grid-row: span 2; font-size: 39px; }
  .framework-row h3 { font-size: 26px; }
  .framework-row p { grid-column: 2; }
  .framework-note { text-align: left; font-size: 18px; }
  .bio { display: flex; flex-direction: column; }
  .bio-image { height: 430px; }
  .bio-image img { object-position: center 25%; }
  .bio-copy { padding: 75px 18px 85px; }
  .bio p { font-size: 16px; }
  .home-video-invitation { padding: 70px 0; }
  .home-video-invitation h2 { margin-bottom: 28px; }
  .conversation-grid > div + div { margin-top: 28px; }
  .conversation-note { margin-top: 25px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 27px; }
  .privacy-page { padding: 60px 0; }
  .form-actions { gap: 10px; }
  .form-back { padding: 12px 16px; }
}
@media (max-width: 620px) {
  .application-form { padding: 30px 18px 38px; }
  .form-grid, .format-grid { grid-template-columns: 1fr; }
  .form-group-heading { gap: 15px; }
  .form-group-heading h2 { font-size: 27px; }
  .application-intro h1 { font-size: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
