/* ===========================
   Accès Capital — styles partagés
   =========================== */

:root {
  --navy: #0f2440;
  --navy-light: #1c3b63;
  --navy-dark: #0a1930;
  --gold: #b08d4f;
  --gold-light: #d4b983;
  --bg: #f6f7f9;
  --bg-alt: #eef1f5;
  --text: #22293a;
  --text-light: #636e82;
  --white: #ffffff;
  --border: #e2e6ec;
  --shadow: 0 10px 30px rgba(15, 36, 64, 0.08);
  --radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-pill {
  border-radius: 999px;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
}

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== Header / Nav ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
}
.logo span {
  color: var(--gold-light);
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-brand .logo-img {
  height: 64px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
}

.main-nav .btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
}
.main-nav .btn-nav:hover {
  background: var(--navy-light);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open {
    max-height: 480px;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    color: var(--text);
  }
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--gold);
  }
  .main-nav .btn-nav {
    margin: 14px 24px;
    border-radius: 6px;
  }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  color: var(--white);
  padding: 140px 0 100px;
}

.hero-with-image {
  background-image: linear-gradient(180deg, rgba(10,25,48,0.92) 0%, rgba(15,36,64,0.55) 40%, rgba(15,36,64,0.2) 70%, rgba(10,25,48,0.08) 100%), url("../images/Villea 3d.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
}
.hero-with-image > .container {
  width: 100%;
}

.hero.hero-page {
  padding: 160px 0 70px;
}

.hero .eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 16px;
  display: inline-block;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  max-width: 920px;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255,255,255,0.82);
  max-width: 760px;
  font-size: 1.08rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Feature / domain cards (home) ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.93rem;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
}
.stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cta-band p {
  color: rgba(255,255,255,0.75);
}

/* ===== À propos — co-fondateurs ===== */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 760px) {
  .founders { grid-template-columns: 1fr; }
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.founder-body {
  padding: 26px 28px 30px;
}
.founder-body .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}
.founder-body h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.founder-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.founder-body p + p {
  margin-top: 14px;
}
.placeholder-text {
  font-style: italic;
  color: #9aa3b4;
}

/* ===== Entreprises — 4 cartes logo ===== */
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.company-logo {
  background: var(--navy);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.company-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.company-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.company-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  flex: 1;
}
.company-link {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

/* ===== Portefeuille / terrains / financement — grilles de petits carrés ===== */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tab:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .property-grid { grid-template-columns: 1fr; }
}

.property-grid-wide {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) {
  .property-grid-wide { grid-template-columns: 1fr; }
}

.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.property-photo {
  min-height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px;
  position: relative;
}
.property-photo:has(img) {
  display: block;
  padding: 0;
}
.property-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.property-body {
  padding: 16px 18px 20px;
}
.property-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.property-body p {
  color: var(--text-light);
  font-size: 0.86rem;
}

.property-meta {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.property-meta div {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.property-meta div:first-child {
  border-right: 1px solid var(--border);
}
.property-card-detailed .property-body {
  padding: 26px 24px;
}
.property-card-detailed .property-body h4 {
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.property-card-detailed .property-body p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.property-link {
  display: block;
  margin: 0 24px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.property-link:hover {
  color: var(--gold);
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 56px 0 24px;
}
.subsection-title:first-of-type {
  margin-top: 0;
}
.subsection-title h3 {
  font-size: 1.2rem;
  white-space: nowrap;
}
.subsection-title .line {
  height: 1px;
  background: var(--border);
  flex: 1;
}

/* ===== Financement privé ===== */
.finance-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  .finance-types { grid-template-columns: 1fr; }
}
.finance-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.finance-type-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.finance-type-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 14px;
}
.finance-tagline {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.finance-list-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px !important;
}
.finance-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.finance-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-light);
  font-size: 0.93rem;
}
.finance-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.finance-cta-text {
  font-weight: 600;
  color: var(--navy);
}

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-info h3 {
  margin-bottom: 18px;
  font-size: 1.15rem;
}
.contact-info ul li {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.contact-info ul li strong {
  display: block;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.map-embed {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.93rem;
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.form-success {
  display: none;
  background: #eaf6ee;
  color: #256b3a;
  border: 1px solid #bfe3cb;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.88rem;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ===== Homepage intro / excellence split ===== */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.intro-split-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.intro-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-split-copy h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0;
}
.intro-split-copy .accent {
  color: var(--gold);
}
.intro-split-foot {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.intro-split-foot p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .intro-split,
  .intro-split-foot {
    grid-template-columns: 1fr;
  }
  .intro-split-photo {
    order: -1;
  }
}

/* ===== Page intro text block (reused) ===== */
.intro-block {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--text-light);
}
.intro-block h1, .intro-block h2 {
  color: var(--navy);
}
