/* ═══════════════════════════════════════════════════════
   GC PACK IMMO — Feuille de style principale
   Auteur : gcpackimmo.fr
   ═══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --copper   : #C9962C;
  --copper-d : #F0C869;
  --copper-l  : rgba(201,150,44,0.14);
  --copper-b  : rgba(240,200,105,0.35);
  --bg        : #0D0904;
  --white     : #170F08;
  --text      : #F5EFE3;
  --muted     : #A89880;
  --border    : rgba(240,200,105,0.16);
  --r         : 12px;
  --rs        : 8px;
  --max-w     : 1320px;
  --nav-h     : 64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── UTILITAIRES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .pre {
  font-size: 11px; font-weight: 500; color: var(--copper);
  text-transform: uppercase; letter-spacing: 1.2px; display: block; margin-bottom: .5rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500; margin-bottom: .5rem;
}
.section-header p { font-size: 16px; color: var(--muted); }

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--rs);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: opacity .2s, background .2s; border: none;
}
.btn-primary { background: var(--copper); color: #17110A; }
.btn-primary:hover { opacity: .88; }
.nav-btn-deposer {
  padding: 8px 16px !important; font-size: 13px !important;
  white-space: nowrap; flex-shrink: 0;
}
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ── NAVIGATION ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--text);
  display: flex; align-items: center;
  flex-shrink: 0;
}
.logo span { color: var(--copper); }
.logo-img { height: 32px; width: auto; display: block; }
.nav-inner nav {
  min-width: 0;
}
.nav-links {
  display: flex; gap: 1.1rem; list-style: none;
  margin-left: 2rem;
}
.nav-links a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-btn-dossier {
  font-size: 12.5px; color: var(--copper); font-weight: 500;
  border: 1.5px solid var(--copper); border-radius: var(--rs);
  padding: 8px 13px; background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background .15s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-btn-dossier:hover { background: var(--copper-l); }

/* ── HERO ── */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--copper-l); color: var(--copper-d);
  border: 1px solid var(--copper-b); border-radius: 20px;
  font-size: 13px; font-weight: 500; padding: 5px 16px;
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero h1 em { font-style: italic; color: var(--copper); }
.hero p {
  font-size: 17px; color: var(--muted);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.trust-item i { color: var(--copper); font-size: 18px; }

/* ── ACTIVITÉS ── */
.activities { background: var(--bg); padding: 5rem 2rem; }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.activity-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem 1.5rem;
  transition: border-color .2s, transform .2s; cursor: pointer;
}
.activity-card:hover { border-color: var(--copper); transform: translateY(-2px); }
.act-icon {
  width: 52px; height: 52px; border-radius: var(--rs);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 1.25rem;
}
.ic-construction { background: var(--copper-l); color: var(--copper); }
.ic-renovation   { background: rgba(59,109,17,.22); color: #8FCB5C; }
.ic-immo         { background: rgba(24,95,165,.22); color: #6FB0E8; }
.ic-credit       { background: rgba(83,74,183,.22); color: #A79EF0; }
.activity-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.activity-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.activity-card .card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--copper); font-weight: 500; margin-top: 1rem;
}

/* ── AGENCE IMMO ── */
.agence { background: var(--white); padding: 5rem 2rem; border-top: 1px solid var(--border); }
.agence-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px;
}
.agence-card {
  background: var(--bg); border-radius: var(--r);
  padding: 1.5rem; text-align: center;
}
.agence-card i { font-size: 32px; color: var(--copper); display: block; margin-bottom: 10px; }
.agence-card h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.agence-card p  { font-size: 13px; color: var(--muted); }
.agence-cta {
  background: linear-gradient(135deg, #000000, #221709);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 28px; color: white;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.agence-cta h4 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 4px; }
.agence-cta p  { font-size: 13px; opacity: .8; }
.agence-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.agence-cta-btns a {
  padding: 10px 20px; border-radius: var(--rs);
  font-size: 13px; font-weight: 500;
}
.agence-cta-btns a.main { background: var(--copper); color: #17110A; }
.agence-cta-btns a.sec  { background: rgba(255,255,255,.15); color: white; }

/* ── COURTIER ── */
.courtier { background: var(--bg); padding: 5rem 2rem; }
.courtier-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: start; max-width: 900px; margin: 0 auto;
}
.sim-card {
  background: var(--white); border-radius: var(--r);
  padding: 24px; border: 1px solid var(--border);
}
.sim-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; margin-bottom: 16px;
}
.sim-field { margin-bottom: 12px; }
.sim-field label {
  font-size: 12px; color: var(--muted);
  display: block; margin-bottom: 4px;
}
.sim-field input,
.sim-field select {
  width: 100%; border: 1px solid var(--border);
  border-radius: var(--rs); padding: 9px 12px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; outline: none;
  transition: border-color .15s;
  background: var(--bg); color: var(--text);
}
.sim-field input:focus,
.sim-field select:focus { border-color: var(--copper); }
.sim-result {
  background: var(--copper-l); border-radius: var(--rs);
  padding: 14px; text-align: center; display: none; margin-bottom: 14px;
}
.sim-result .amount {
  font-size: 28px; font-weight: 700; color: var(--copper);
}
.sim-result .label { font-size: 12px; color: var(--muted); }
.sim-result .detail { font-size: 11px; color: var(--muted); margin-top: 4px; }
.sim-result .mention { font-size: 10px; color: var(--muted); margin-top: 4px; }
.courtier-feature {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px;
}
.courtier-feature-icon {
  width: 42px; height: 42px; background: var(--copper-l);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.courtier-feature-icon i { color: var(--copper); font-size: 20px; }
.courtier-feature strong { font-size: 14px; display: block; margin-bottom: 2px; }
.courtier-feature p { font-size: 12px; color: var(--muted); }
.courtier-phone {
  background: var(--white); border: 1px solid var(--copper-b);
  border-radius: 10px;
  padding: 16px; color: var(--text); text-align: center;
}
.courtier-phone .label { font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--copper-d); }
.courtier-phone a {
  display: block; font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.courtier-phone .mail { font-size: 11px; opacity: .8; color: var(--muted); }

/* ── RÉSEAU ── */
.reseau { background: var(--white); padding: 5rem 2rem; border-top: 1px solid var(--border); }
.distinction-bar {
  background: linear-gradient(135deg, #000000, var(--copper));
  border-radius: var(--r); padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 16px; margin-bottom: 2rem;
}
.distinction-bar i { font-size: 28px; color: var(--copper-d); flex-shrink: 0; }
.distinction-bar h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: white; margin-bottom: 4px;
}
.distinction-bar p { font-size: 13px; color: rgba(255,255,255,.75); }
.reseau-locked {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 40px; text-align: center;
}
.reseau-locked .lock { font-size: 48px; margin-bottom: 16px; }
.reseau-locked h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; margin-bottom: 10px;
}
.reseau-locked p {
  color: var(--muted); font-size: 14px;
  max-width: 480px; margin: 0 auto 24px; line-height: 1.7;
}
.reseau-locked-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.reseau-locked-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.reseau-locked-note a { color: var(--copper); }

/* ── COMMENT ÇA MARCHE ── */
.how { background: var(--bg); padding: 5rem 2rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.75rem 1.5rem;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700;
  color: var(--copper-l); line-height: 1; margin-bottom: 14px;
  -webkit-text-stroke: 1px var(--copper-b);
}
.step h4 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.step p   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── COMMISSIONS ── */
.commission {
  background: var(--white); padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.com-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.com-card {
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.5rem; text-align: center;
}
.com-pct {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700;
  color: var(--copper); line-height: 1; margin-bottom: 8px;
}
.com-label { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.com-desc  { font-size: 13px; color: var(--muted); }

/* ── ZONE GÉOGRAPHIQUE ── */
.zone { background: var(--bg); padding: 5rem 2rem; }
.zone-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.zone-box i { font-size: 48px; color: var(--copper); margin-bottom: 1rem; }
.zone-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; margin-bottom: .5rem;
}
.zone-box p { color: var(--muted); font-size: 15px; }
.zone-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-top: 1.5rem;
}
.zone-tag {
  background: var(--copper-l); color: var(--copper-d);
  border: 1px solid var(--copper-b);
  border-radius: 20px; padding: 5px 16px;
  font-size: 13px; font-weight: 500;
}

/* ── FORMULAIRE PROJET ── */
.form-projet {
  background: var(--white); padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.form-projet-inner {
  max-width: 680px; margin: 0 auto;
}
.proj-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem;
}
.proj-tab {
  padding: 9px 18px; border: 1.5px solid var(--copper-b);
  background: var(--white); border-radius: 20px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 500; cursor: pointer; color: var(--copper-d);
  transition: all .15s;
}
.proj-tab.active {
  background: var(--copper); color: #17110A; border-color: transparent;
}
.proj-form { display: none; }
.proj-form.active { display: block; }
.fg { margin-bottom: 14px; }
.fg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl {
  font-size: 12px; color: var(--muted);
  font-weight: 500; display: block; margin-bottom: 4px;
}
.fi {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--rs); padding: 10px 13px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  outline: none; transition: border-color .15s;
  background: var(--bg); color: var(--text);
}
.fi:focus { border-color: var(--copper); }
textarea.fi { resize: vertical; min-height: 70px; }
.oui-non {
  padding: 8px 14px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); border-radius: var(--rs);
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  cursor: pointer; transition: all .15s;
}
.oui-non.sel {
  border-color: var(--copper); background: var(--copper-l);
  color: var(--copper-d); font-weight: 600;
}
.check-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 20px; font-size: 12px; cursor: pointer;
  margin-bottom: 6px; transition: all .15s;
}
.check-pill:hover { border-color: var(--copper); }
.check-pill input { accent-color: var(--copper); }
.form-success {
  background: rgba(6,95,70,.18); border: 1px solid rgba(110,231,183,.4);
  border-radius: var(--r); padding: 1.5rem; text-align: center;
}
.form-success h3 { color: #6EE7B7; font-size: 18px; margin-bottom: 6px; }
.form-success p  { color: #A7F3D0; font-size: 14px; }
.form-error {
  background: rgba(153,27,27,.18); border: 1px solid rgba(252,165,165,.4);
  border-radius: var(--rs); padding: .75rem 1rem;
  font-size: 13px; color: #FCA5A5; margin-bottom: 14px;
}

/* ── MODALE CODE ── */
.modale-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.5);
  align-items: center; justify-content: center;
}
.modale-overlay.open { display: flex; }
.modale-box {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; width: 90%; max-width: 380px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.modale-box h3 {
  color: var(--text); font-family: 'Playfair Display', serif;
  font-size: 20px; margin-bottom: 6px;
}
.modale-box .sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.modale-code-input {
  width: 100%; border: 2px solid var(--copper);
  border-radius: 10px; padding: 14px;
  text-align: center; font-size: 28px;
  letter-spacing: 10px; font-weight: 700;
  color: var(--text); background: var(--bg); outline: none; margin-bottom: 8px;
}
.modale-msg { font-size: 12px; min-height: 16px; margin-bottom: 14px; }
.modale-btns { display: flex; gap: 10px; }
.modale-btns .cancel {
  flex: 1; padding: 12px; border: 1.5px solid var(--copper);
  background: transparent; border-radius: var(--rs);
  font-family: 'DM Sans', sans-serif; cursor: pointer; color: var(--copper-d);
}
.modale-btns .confirm {
  flex: 2; padding: 12px;
  background: var(--copper); color: #17110A;
  border: none; border-radius: var(--rs);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; cursor: pointer;
}
.modale-note { font-size: 11px; color: var(--muted); margin-top: 14px; }
.modale-note a { color: var(--copper); }

/* ── CTA SOMBRE ── */
.cta-dark {
  background: #000000; padding: 5rem 2rem; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-dark h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 700; color: var(--copper-d); margin-bottom: 1rem;
}
.cta-dark p { color: var(--muted); font-size: 16px; margin-bottom: 2.5rem; }
.cta-dark-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact {
  background: var(--white); padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 500; margin-bottom: 1.5rem;
}
.contact-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; font-size: 15px;
}
.contact-row i { font-size: 20px; color: var(--copper); width: 24px; }
.contact-row a { color: var(--text); }
.contact-row a:hover { color: var(--copper); }
.contact-card {
  background: var(--bg); border-radius: var(--r); padding: 2rem; text-align: center;
}
.contact-card .icon { font-size: 40px; margin-bottom: 12px; }
.contact-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 500; margin-bottom: 10px;
}
.contact-card .note {
  font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.6;
}
.contact-divider {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.contact-divider p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.btn-espace {
  width: 100%; padding: 11px;
  border: 1.5px solid var(--copper);
  background: transparent; border-radius: var(--rs);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--copper); cursor: pointer; font-weight: 500;
}

/* ── FOOTER ── */
footer {
  background: var(--white); border-top: 1px solid var(--border);
  padding: 2rem; text-align: center;
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--copper); }
footer .footer-links {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: .75rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp .6s ease both; }
.anim-2 { animation: fadeUp .6s ease .1s both; }
.anim-3 { animation: fadeUp .6s ease .2s both; }
.anim-4 { animation: fadeUp .6s ease .3s both; }
@media (prefers-reduced-motion: reduce) {
  .anim-1,.anim-2,.anim-3,.anim-4 { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .courtier-grid { grid-template-columns: 1fr; }
  .agence-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links,
  .nav-btn-deposer { display: none; }
  .contact-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .agence-grid     { grid-template-columns: 1fr; }
  .fg-2col         { grid-template-columns: 1fr; }
  .nav-btn-dossier { font-size: 12px; padding: 8px 12px; }
}
