/* AVOR - pagina de captare (I1). Identitate: navy #13233F, auriu #C99A3B, crem #EBD9A8, Lora + Poppins. */

/* Fonturi auto-găzduite. latin-ext este obligatoriu pentru ș, ț, ă, â, î. */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/lora-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/lora-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/lora-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/lora-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/poppins-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/poppins-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/poppins-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/poppins-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #13233F;
  --navy-deep: #0E1A30;
  --gold: #C99A3B;
  --gold-ink: #9A7420;
  --paper: #FBF8F0;
  --ink: #1C2536;
  --ink-soft: #4A5468;
  --line: rgba(19, 35, 63, 0.14);
  --max: 62rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.22; margin: 0 0 0.75rem; color: var(--navy); }
p { margin: 0 0 1rem; max-width: 40rem; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Antet: deschis, aerisit, o singură linie de separare */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 1.2rem; letter-spacing: 0.16em; color: var(--navy); text-decoration: none; }
.brand span { color: var(--gold-ink); }
.header-note { font-size: 0.82rem; color: var(--ink-soft); }

/* Hero: fundal deschis, două coloane, tipografie temperată */
.hero { background: var(--paper); padding: 3.25rem 0 3.5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.hero .lead { font-size: 1.02rem; color: var(--ink-soft); }
.hero .timeline {
  display: inline-block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-ink); border: 1px solid var(--gold); border-radius: 2rem; padding: 0.25rem 0.9rem; margin-bottom: 1.1rem; background: #FFFFFF;
}
.rule { width: 3.5rem; height: 2px; background: var(--gold); border: 0; margin: 1.1rem 0 1.25rem; }

/* Cartonașul formularului: alb, contur fin, accent auriu discret */
.card {
  background: #FFFFFF; color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(19, 35, 63, 0.07);
  padding: 1.75rem;
}
.card h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card .hint { font-size: 0.88rem; color: var(--ink-soft); }

label { display: block; font-weight: 500; font-size: 0.88rem; margin-bottom: 0.35rem; }
input[type="email"] {
  width: 100%; padding: 0.7rem 0.85rem; font: inherit;
  border: 1.5px solid var(--line); border-radius: 4px; background: var(--paper);
}
input[type="email"]:focus { outline: 3px solid rgba(201, 154, 59, 0.4); border-color: var(--gold); }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.55; color: var(--ink-soft); margin: 0.9rem 0 1.1rem; }
.consent input { margin-top: 0.25rem; width: 1rem; height: 1rem; accent-color: var(--navy); flex: none; }
.consent label { font-weight: 400; font-size: inherit; margin: 0; }

button[type="submit"] {
  width: 100%; padding: 0.8rem 1.2rem; font: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--navy-deep); background: var(--gold); border: 0; border-radius: 4px; cursor: pointer;
}
button[type="submit"]:hover { background: #D8AC53; }
button[type="submit"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: wait; }

.form-msg { margin-top: 0.9rem; font-size: 0.88rem; display: none; padding: 0.7rem 0.9rem; border-radius: 4px; }
.form-msg.ok { display: block; background: #EEF6EC; color: #23522B; border: 1px solid #BFDCC2; }
.form-msg.err { display: block; background: #FBEFEF; color: #7A2E2E; border: 1px solid #E5C4C4; }

.hp { position: absolute; left: -6000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Secțiuni: alb și hârtie, delimitate de linii fine, fără blocuri de culoare */
section { padding: 2.75rem 0; }
section h2 { font-size: 1.35rem; }
.section-white { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-cream { background: var(--paper); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }

.deadline { border-left: 3px solid var(--gold); padding-left: 1.1rem; margin: 1.25rem 0; }
.deadline strong { color: var(--navy); }

ul.plain { padding-left: 1.2rem; margin: 0 0 1rem; max-width: 40rem; }
ul.plain li { margin-bottom: 0.55rem; }
ul.plain li::marker { color: var(--gold-ink); }

/* Subsol: navy, compact */
.site-footer { background: var(--navy); color: rgba(251, 248, 240, 0.75); font-size: 0.82rem; padding: 1.9rem 0; }
.site-footer a { color: #F5EEDC; text-decoration-color: var(--gold); }
.site-footer p { margin: 0 0 0.4rem; max-width: none; }

/* Pagini de stare */
.status-page { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 3.5rem 1.5rem; }
.status-page h1 { font-size: 1.7rem; }

@media (max-width: 46rem) {
  .hero .wrap, .two-col { grid-template-columns: 1fr; }
  .hero { padding: 2.25rem 0; }
  section { padding: 2rem 0; }
  .header-note { display: none; }
}
