/* SADE INVEST GROUP — styles vitrine */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1a1d24;
  --text-muted: #5c6370;
  --text-light: #8b919c;
  --border: #e2e4e9;
  --border-light: #eceef1;
  --accent: #1b324f;
  --accent-deep: #0f1f33;
  --accent-light: #2a4a6e;
  --gold: #a08050;
  --gold-muted: rgba(160, 128, 80, 0.12);
  --radius: 2px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

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

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

/* ===== HEADER ===== */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.logo:hover {
  color: var(--gold);
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

/* ===== HERO ===== */

.hero {
  background: var(--accent);
  color: #fff;
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(160,128,80,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.hero__inner {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}

.hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(160,128,80,0.35);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 38rem;
}

/* ===== MAIN / SECTIONS ===== */

main {
  flex: 1;
}

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section--border {
  border-bottom: 1px solid var(--border-light);
}

/* ===== BLOCK ===== */

.block {
  max-width: 42rem;
}

.block h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--text);
}

.block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.block p:last-child {
  margin-bottom: 0;
}

/* ===== PILLARS / GRID ===== */

.pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(160,128,80,0.3);
}

.pillar__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.pillar h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.pillar p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-muted);
}

/* ===== DIVIDER ===== */

.divider {
  width: 40px;
  height: 1.5px;
  background: var(--gold);
  border: none;
  margin: 3rem 0;
}

/* ===== CTA ===== */

.cta-row {
  margin-top: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

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

/* ===== CONTACT PAGE ===== */

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.page-intro {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 40rem;
}

/* Contact form */

.contact-form {
  max-width: 36rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(27,50,79,0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

/* Honeypot */
.form-group--hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Captcha inline */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-row .captcha-question {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.captcha-row input {
  max-width: 80px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* Messages */
.msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.msg--ok {
  background: #edf7ed;
  color: #1e4620;
  border: 1px solid #c3e6c3;
}

.msg--err {
  background: #fdecea;
  color: #611a15;
  border: 1px solid #f5c6cb;
}

/* Contact info */
.contact-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  max-width: 36rem;
}

.contact-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.note-muted {
  margin-top: 2.5rem;
  max-width: 40rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===== FOOTER ===== */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--accent);
  color: rgba(255,255,255,0.55);
  padding: 1.5rem 2rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 639px) {
  .site-header__inner {
    padding: 0.75rem 1.25rem;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .site-footer {
    padding: 1.25rem;
  }
}
