/* ============================================================
   components.css — Sections et composants de page
   Vision, Projets, Équipe, Contact, Mentions légales.
   Ajouter ici les nouvelles sections (promoteur, particulier…)
   ============================================================ */

/* ── VISION ──────────────────────────────────────────────── */
.vision-wrap  { padding: var(--section-padding); }
.vision-inner {
  max-width: var(--section-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.vision-h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px); font-weight: 300; line-height: 1.1;
  color: var(--navy); margin-bottom: 18px;
}
.vision-h2 em { font-style: italic; color: var(--gold); }
.vision-lead  { font-size: 15px; line-height: 1.85; color: var(--muted); font-weight: 300; margin-bottom: 36px; }

/* Valeurs */
.values  { display: flex; flex-direction: column; gap: 22px; }
.val     { display: flex; gap: 14px; align-items: flex-start; }
.val-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex-shrink: 0; }
.val h4  { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.val p   { font-size: 13px; line-height: 1.75; color: var(--muted); font-weight: 300; }

/* Carte citation */
.vcard       { background: var(--navy); border-radius: 4px; padding: 44px; position: relative; overflow: hidden; }
.vcard-quote { font-family: var(--font-serif); font-size: 26px; font-weight: 300; font-style: italic; line-height: 1.55; color: var(--white); margin-bottom: 20px; }
.vcard-quote span { color: var(--gold); }
.vcard-attr  { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* Stats */
.vstats  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.vstat   { border-top: 1px solid rgba(229,168,35,.25); padding-top: 14px; }
.vstat-n { font-family: var(--font-serif); font-size: 38px; font-weight: 300; color: var(--gold); line-height: 1; }
.vstat-l { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: 1px; margin-top: 3px; }

/* ── PROJETS ─────────────────────────────────────────────── */
.projets-wrap { background: var(--navy-dark); padding: var(--section-padding); }
.projets-head {
  max-width: var(--section-max-width); margin: 0 auto 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.projets-h2    { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 52px); font-weight: 300; line-height: 1.1; color: var(--white); }
.projets-h2 em { font-style: italic; color: var(--gold); }
.projets-sub   { font-size: 13px; color: rgba(255,255,255,.35); max-width: 280px; text-align: right; line-height: 1.7; }
.projets-grid  { max-width: var(--section-max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

/* Carte projet */
.pcard       { background: rgba(255,255,255,.04); border: 1px solid rgba(229,168,35,.14); border-radius: 4px; overflow: hidden; transition: all .3s; }
.pcard:hover { border-color: rgba(229,168,35,.42); transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,.35); }
.pcard-img   {
  height: 250px;
  background: linear-gradient(135deg, rgba(229,168,35,.07) 0%, rgba(43,52,81,.55) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pcard-img::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 38px, rgba(229,168,35,.03) 38px, rgba(229,168,35,.03) 76px);
}
.pcard-img svg     { width: 54px; height: 54px; opacity: .38; }
.pcard-img-lbl     { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(229,168,35,.45); white-space: nowrap; }
.pcard-body        { padding: 34px; }
.pbadge            { display: inline-flex; align-items: center; gap: 6px; background: rgba(229,168,35,.09); border: 1px solid rgba(229,168,35,.22); border-radius: 2px; padding: 5px 12px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.pbadge-dot        { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: blink 1.5s ease-in-out infinite; }
.pcard-h3          { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--white); margin-bottom: 4px; }
.pcard-loc         { font-size: 11px; color: rgba(255,255,255,.38); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.pcard-desc        { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.58); font-weight: 300; margin-bottom: 26px; }
.pcard-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid rgba(229,168,35,.1); padding-top: 22px; }
.pdetail-l         { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 3px; }
.pdetail-v         { font-size: 13px; color: rgba(255,255,255,.82); }

/* ── ÉQUIPE ──────────────────────────────────────────────── */
.team-wrap  { padding: var(--section-padding); background: var(--cream); }
.team-inner { max-width: var(--section-max-width); margin: 0 auto; }
.team-h2    { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 52px); font-weight: 300; line-height: 1.1; color: var(--navy); margin-bottom: 18px; }
.team-h2 em { font-style: italic; color: var(--gold); }
.team-lead  { font-size: 15px; line-height: 1.8; color: var(--muted); font-weight: 300; max-width: 520px; margin-bottom: 56px; }
.team-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* Carte membre */
.tcard         { background: var(--white); border-radius: 4px; overflow: hidden; border: 1px solid rgba(43,52,81,.07); transition: all .3s; }
.tcard:hover   { box-shadow: 0 16px 44px rgba(43,52,81,.13); transform: translateY(-4px); }

.tcard-photo {
  height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, #3d4d6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(10%) brightness(1);
  transition: filter 0.3s ease;
}

.tcard-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 52, 81, 0.15) 50%,
    rgba(43, 52, 81, 0.5) 100%
  );
}

.tcard:hover .tcard-photo img {
  filter: grayscale(0%) brightness(1);
}

.tcard-badge    { width: 62px; height: 62px; border-radius: 50%; background: rgba(229,168,35,.13); border: 1.5px solid rgba(229,168,35,.3); display: flex; align-items: center; justify-content: center; }
.tcard-initials { font-family: var(--font-serif); font-size: 20px; color: var(--gold); font-weight: 300; }
.tcard-photo-lbl { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(229,168,35,.45); z-index: 1; white-space: nowrap; }
.tcard-info    { padding: 22px; }
.tcard-name    { font-family: var(--font-serif); font-size: 19px; font-weight: 400; color: var(--navy); margin-bottom: 3px; }
.tcard-role    { font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.tcard-bio     { font-size: 12.5px; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-wrap { background: var(--navy); padding: var(--section-padding); position: relative; overflow: hidden; }
.contact-wrap::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,168,35,.07) 0%, transparent 70%);
}
.contact-inner {
  max-width: var(--section-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 2;
}
.contact-h2    { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 52px); font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 18px; }
.contact-h2 em { font-style: italic; color: var(--gold); }
.contact-lead  { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.55); font-weight: 300; margin-bottom: 38px; }

/* Infos de contact */
.cinfo-list { display: flex; flex-direction: column; gap: 18px; }
.cinfo      { display: flex; gap: 14px; align-items: flex-start; }
.cinfo-icon { width: 38px; height: 38px; flex-shrink: 0; background: rgba(229,168,35,.1); border: 1px solid rgba(229,168,35,.2); border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.cinfo-icon svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cinfo-lbl  { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.cinfo-val  { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.5; }
.cinfo-val a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.cinfo-val a:hover { color: var(--gold); }

/* Formulaire */
.cform         { background: rgba(255,255,255,.04); border: 1px solid rgba(229,168,35,.14); border-radius: 4px; padding: 44px; }
.cform-title   { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--white); margin-bottom: 24px; }
.fg            { margin-bottom: 18px; }
.fg label      { display: block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 7px; }
.fg input, .fg textarea, .fg select {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px; padding: 11px 14px; color: var(--white);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 300;
  outline: none; transition: border-color .2s; -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: rgba(229,168,35,.5); }
.fg textarea   { height: 96px; resize: vertical; }
.fg select option { background: var(--navy-dark); color: var(--white); }
.cform-submit  { width: 100%; background: var(--gold); color: var(--navy-dark); border: none; padding: 13px 34px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; font-family: var(--font-sans); border-radius: 2px; cursor: pointer; margin-top: 6px; transition: all .25s; }
.cform-submit:hover { background: var(--gold-lt); box-shadow: 0 8px 24px rgba(229,168,35,.32); }
.form-feedback { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 2px; font-size: 13px; text-align: center; }
.form-feedback.success { display: block; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.form-feedback.error   { display: block; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #f87171; }

/* ── MENTIONS LÉGALES ────────────────────────────────────── */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 140px 56px 100px; }
.legal-wrap h1 { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 58px); font-weight: 300; color: var(--navy); margin-bottom: 12px; }
.legal-wrap h1 em { color: var(--gold); font-style: italic; }
.legal-updated    { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 56px; }
.legal-section    { margin-bottom: 44px; }
.legal-section h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(43,52,81,.1); }
.legal-section p,
.legal-section li { font-size: 14px; line-height: 1.9; color: var(--muted); font-weight: 300; margin-bottom: 10px; }
.legal-section ul { padding-left: 20px; }
.legal-section a  { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-back       { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-decoration: none; margin-bottom: 48px; transition: gap .2s; }
.legal-back:hover { gap: 12px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .vision-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .projets-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
  .projets-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .projets-sub  { text-align: left; }
}
@media (max-width: 560px) {
  .vision-wrap, .projets-wrap, .team-wrap, .contact-wrap { padding-left: 22px; padding-right: 22px; }
  .team-grid  { grid-template-columns: 1fr; }
  .legal-wrap { padding-left: 22px; padding-right: 22px; }
}
