/* ============================================================
   IMPORT POLICE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;500;700&display=swap');


/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --rouge:  #cc1628;
  --creme:  #faf9f7;
  --gris:   #f0ede8;
  --texte:  #2a2a2a;
  --doux:   #7a7570;
  --nav-h:  72px; /* hauteur de la navbar fixe */

  --font:   'Red Hat Text', sans-serif;
}


/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* compense la navbar fixe pour les ancres */
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-style: normal;
  background: var(--creme);
  color: var(--texte);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
p, a, li, span, button,
input, textarea, label, small {
  font-family: var(--font);
  font-style: normal;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo { display: flex; align-items: center; gap: 1rem; }
.nav-logo img { height: 38px; width: auto; }

.nav-logo-texte {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--doux);
  line-height: 1.4;
}

.nav-logo-texte strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--texte);
}

.nav-sep { width: 1px; height: 30px; background: rgba(0, 0, 0, 0.12); }
.nav-atal img { height: 34px; width: auto; }

.nav-liens { display: flex; align-items: center; gap: 2.5rem; }

.nav-liens a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--doux);
  transition: color 0.3s;
}

.nav-liens a:hover { color: var(--rouge); }

.nav-btn-rouge {
  background: var(--rouge);
  color: white !important;
  padding: 0.55rem 1.4rem;
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: opacity 0.3s !important;
}

.nav-btn-rouge:hover { opacity: 0.85; color: white !important; }


/* ============================================================
   HERO — Image visible complètement (879x491px)
   ============================================================ */
.hero {
  position: relative;
  /* Ajouter padding-top pour la navbar fixe */
  padding-top: var(--nav-h);
  /* Hauteur basée sur le ratio de l'image pour qu'elle soit visible en entier */
  height: 0;
  padding-bottom: 55.86%; /* 491/879 * 100 = ratio de l'image */
  overflow: hidden;
  background: var(--gris);
}

.hero img {
  position: absolute;
  top: var(--nav-h); /* commence après la navbar */
  left: 0;
  width: 100%;
  height: calc(100% - var(--nav-h)); /* ajuste la hauteur */
  object-fit: contain; /* montre l'image en entier sans crop */
  object-position: center center;
  display: block;
}

.hero::before {
  content: '';
  position: absolute;
  top: var(--nav-h); /* commence après la navbar */
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 35%),
    linear-gradient(to top,    rgba(0,0,0,0.55) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-contenu {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  z-index: 2;
  padding: 0 5rem;
  color: white;
  animation: fadeup 1.2s ease both 0.3s;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-surtitle {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
}

.hero-sous {
  margin-top: 1.2rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions { margin-top: 2rem; display: flex; gap: 1.5rem; align-items: center; }

.scroll-ind {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-ind::after { content: '↓'; font-size: 1rem; color: white; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   BOUTONS
   ============================================================ */
.btn-blanc {
  display: inline-block;
  background: white;
  color: var(--texte);
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-blanc:hover { background: var(--rouge); color: white; }

.btn-contour-blanc {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-contour-blanc:hover { background: rgba(255, 255, 255, 0.15); }

.btn-blanc-plein {
  display: inline-block;
  background: white;
  color: var(--rouge);
  padding: 1rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}
.btn-blanc-plein:hover { background: var(--texte); color: white; }


/* ============================================================
   BANDEAU TÉLÉPHONE
   ============================================================ */
.bandeau-tel {
  background: var(--rouge);
  color: white;
  text-align: center;
  padding: 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.bandeau-tel a { color: white; font-weight: 700; }
.bandeau-tel a:hover { text-decoration: underline; }


/* ============================================================
   ÉLÉMENTS RÉUTILISABLES
   ============================================================ */
.etiquette {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1.2rem;
}

.etiquette::before {
  content: '';
  display: block;
  width: 25px;
  height: 1px;
  background: var(--rouge);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--texte);
  margin-bottom: 1.8rem;
}

h2 em { font-style: normal; font-weight: 700; color: var(--rouge); }

.texte-corps {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--doux);
}
.texte-corps p + p { margin-top: 1rem; }

.lien-rouge {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
  border-bottom: 1px solid var(--rouge);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.lien-rouge:hover { opacity: 0.7; }


/* ============================================================
   INTRO
   ============================================================ */
.intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }

.intro-texte {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-image { position: relative; overflow: hidden; background: var(--gris); }

.intro-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.intro-image:hover img { transform: scale(1.03); }

.badge-img {
  position: absolute;
  bottom: 2rem; left: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.badge-img span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--rouge); line-height: 1; }
.badge-img small { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--doux); }


/* ============================================================
   CAROUSEL PLEIN ÉCRAN
   ============================================================ */
#plein-ecran { position: relative; width: 100%; }
#carouselOpoczyńska { width: 100%; }

.carousel-item {
  height: 80vh;
  background-color: #8c8c8c;
  position: relative;
}

.carousel-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#carouselOpoczyńska .carousel-item { transition: opacity 0.8s ease-in-out !important; }

.plein-ecran-texte {
  position: absolute;
  bottom: 60px; left: 60px;
  z-index: 10;
  color: #fff;
  max-width: 520px;
}

.plein-ecran-texte h2 { font-size: 2.8rem; font-weight: 300; line-height: 1.2; margin-bottom: 14px;color: white; }
.plein-ecran-texte h2 em { font-style: italic; }
.plein-ecran-nom { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }

.carousel-control-prev, .carousel-control-next { width: 60px; opacity: 1; z-index: 20; }
.carousel-control-prev-icon, .carousel-control-next-icon { background-image: none !important; }
.carousel-control-prev-icon::before { content: '\2039'; font-size: 3rem; font-weight: 100; color: rgba(0, 0, 0, 0.7); line-height: 1; }
.carousel-control-next-icon::before { content: '\203A'; font-size: 3rem; font-weight: 100; color: rgba(0, 0, 0, 0.7); line-height: 1; }
.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::before { color: rgb(0, 0, 0); }


/* ============================================================
   PROJETS — Nouvelle grille de 7 cartes verticales
   ============================================================ */
.projets { padding: 6rem 4rem; background: #fafafa; }

.projets-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

/* Grille responsive avec 7 cartes */
.grille-projets-nouvelle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Carte projet verticale */
.projet-carte {
  background: white;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.projet-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Image projet */
.projet-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.projet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.projet-carte:hover .projet-image img {
  transform: scale(1.05);
}

/* Infos projet */
.projet-infos {
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.projet-localisation {
  font-size: 0.75rem;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.projet-nom {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--texte);
  line-height: 1.2;
  margin: 0;
}

/* Détails (appartements + date) */
.projet-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.2rem 0;
}

.projet-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.projet-detail-item span {
  color: #666;
  font-weight: 400;
}

.projet-detail-item strong {
  color: var(--texte);
  font-weight: 600;
}

/* Bouton VIEW */
.projet-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 2px solid var(--rouge);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--texte);
  cursor: pointer;
  font-family: var(--font);
  padding-bottom: 0.3rem;
  transition: color 0.3s, border-color 0.3s;
}

.projet-btn svg {
  transition: transform 0.3s;
}

.projet-carte:hover .projet-btn {
  color: var(--rouge);
}

.projet-carte:hover .projet-btn svg {
  transform: translateX(4px);
}


/* ============================================================
   MODALS PROJETS
   ============================================================ */

/* Overlay sombre semi-transparent */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 12, 10, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.actif {
  opacity: 1;
  pointer-events: all;
}

/* Boîte du modal */
.modal-boite {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  max-width: 1000px;
  width: 100%;
  max-height: 85vh;
  background: var(--creme);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.modal-overlay.actif .modal-boite {
  transform: translateY(0) scale(1);
}

/* Côté image */
.modal-image {
  overflow: hidden;
  position: relative;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.modal-boite:hover .modal-image img {
  transform: scale(1.03);
}

/* Côté description */
.modal-desc {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.modal-desc h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--texte);
  margin-bottom: 1.2rem;
}

.modal-desc h3 em { font-style: normal; color: var(--rouge); }

.modal-desc p {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--doux);
  margin-bottom: 1.5rem;
}

.modal-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.modal-liste li {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--texte);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.modal-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--rouge);
}

/* Bouton dans le modal */
.modal-btn {
  display: inline-block;
  background: var(--rouge);
  color: white;
  padding: 0.85rem 1.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}
.modal-btn:hover { background: var(--texte); color: white; }

/* Bouton fermer */
.modal-fermer {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 36px; height: 36px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--texte);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: background 0.25s, color 0.25s;
}
.modal-fermer:hover { background: var(--rouge); color: white; }


/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e8e4df; border-top: 1px solid #e8e4df; }
.chiffre-case { background: var(--creme); padding: 3.5rem 2rem; text-align: center; transition: background 0.3s; }
.chiffre-case:hover { background: var(--gris); }
.chiffre-val { display: block; font-size: 3.2rem; font-weight: 700; color: var(--rouge); line-height: 1; }
.chiffre-unite { font-size: 1.4rem; font-weight: 500; color: #c55; }
.chiffre-lib { margin-top: 0.6rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--doux); }


/* ============================================================
   GUIDE INVESTISSEUR
   ============================================================ */
.guide-investisseur { background: var(--texte); padding: 6rem 0; }
.guide-investisseur-inner { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }

.guide-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1rem; }
.guide-header .etiquette { color: rgba(255,255,255,0.5); }
.guide-header .etiquette::before { background: rgba(255,255,255,0.5); }
.guide-header h2 { color: white; margin-bottom: 0.5rem; }
.guide-header h2 em { color: var(--rouge); }
.guide-header p { font-size: 0.88rem; font-weight: 400; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 420px; }

/* Tabs */
.guide-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0; }

.guide-tab {
  padding: 1rem 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  transition: color 0.3s, border-color 0.3s;
  font-family: var(--font);
}
.guide-tab:hover { color: rgba(255,255,255,0.75); }
.guide-tab.active { color: white; border-bottom-color: var(--rouge); }

/* Panneaux */
.guide-panel { display: none; padding: 3rem 0; }
.guide-panel.active { display: block; }

/* Chiffres intro */
.guide-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-bottom: 3rem; }
.guide-intro-item { background: rgba(255,255,255,0.03); padding: 2rem; text-align: center; transition: background 0.3s; }
.guide-intro-item:hover { background: rgba(255,255,255,0.07); }
.guide-intro-val { font-size: 2rem; font-weight: 700; color: var(--rouge); line-height: 1; display: block; }
.guide-intro-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.5rem; display: block; }
.guide-intro-sub { font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.25); margin-top: 0.3rem; display: block; }

/* Accordéon */
.guide-accordeon { display: flex; flex-direction: column; gap: 1px; }
.accord-item { border: 1px solid rgba(255,255,255,0.07); overflow: hidden; transition: border-color 0.3s; }
.accord-item:hover { border-color: rgba(255,255,255,0.15); }

.accord-header { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 2rem; cursor: pointer; background: rgba(255,255,255,0.02); transition: background 0.3s; }
.accord-header:hover { background: rgba(255,255,255,0.05); }

.accord-left { display: flex; align-items: center; gap: 1.5rem; }
.accord-num { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; color: var(--rouge); }
.accord-title { font-size: 0.92rem; font-weight: 600; color: white; }
.accord-montant { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.35); }

.accord-arrow { width: 20px; height: 20px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: rgba(255,255,255,0.4); transition: transform 0.3s, border-color 0.3s; flex-shrink: 0; }
.accord-item.open .accord-arrow { transform: rotate(180deg); border-color: var(--rouge); color: var(--rouge); }

.accord-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accord-body-inner { padding: 0 2rem 1.8rem 4.5rem; font-size: 0.88rem; font-weight: 400; line-height: 1.85; color: rgba(255,255,255,0.5); }
.accord-body-inner strong { color: rgba(255,255,255,0.8); font-weight: 600; }

/* Tableau synthèse */
.guide-synthese { margin-top: 3rem; border: 1px solid rgba(255,255,255,0.08); }
.guide-synthese-title { padding: 1.2rem 2rem; background: rgba(204,22,40,0.15); border-bottom: 1px solid rgba(204,22,40,0.3); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); }

.synthese-ligne { display: grid; grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid rgba(255,255,255,0.05); }
.synthese-ligne:last-child { border-bottom: none; }
.synthese-ligne.header { background: rgba(255,255,255,0.03); }

.synthese-cell { padding: 1rem 2rem; font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.5); border-right: 1px solid rgba(255,255,255,0.05); }
.synthese-cell:last-child { border-right: none; }
.synthese-ligne.header .synthese-cell { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.25); padding: 0.8rem 2rem; }
.synthese-cell.label { color: rgba(255,255,255,0.75); font-weight: 500; }
.synthese-cell.montant { color: var(--rouge); font-weight: 600; }

.guide-conclusion { margin-top: 2rem; padding: 1.5rem 2rem; background: rgba(204,22,40,0.08); border-left: 3px solid var(--rouge); font-size: 0.88rem; font-weight: 400; line-height: 1.8; color: rgba(255,255,255,0.55); }
.guide-conclusion strong { color: rgba(255,255,255,0.85); }

/* Régimes fiscaux */
.fiscal-types { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); margin-top: 1rem; }
.fiscal-type { background: rgba(255,255,255,0.02); padding: 1.5rem 2rem; }
.fiscal-type-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 0.5rem; }
.fiscal-type-val { font-size: 1.6rem; font-weight: 700; color: var(--rouge); }
.fiscal-type-desc { font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.4); margin-top: 0.4rem; line-height: 1.6; }

.guide-alert { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.8rem; background: rgba(204,22,40,0.08); border: 1px solid rgba(204,22,40,0.2); margin-top: 1.5rem; }
.guide-alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.guide-alert-text { font-size: 0.82rem; font-weight: 400; color: rgba(255,255,255,0.5); line-height: 1.7; }
.guide-alert-text strong { color: rgba(255,255,255,0.85); }

/* Panel contrat */
.contrat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); }
.contrat-bloc { background: rgba(255,255,255,0.02); padding: 2.5rem; transition: background 0.3s; }
.contrat-bloc:hover { background: rgba(255,255,255,0.04); }

.contrat-bloc h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem; }
.contrat-bloc h3::before { content: ''; display: block; width: 20px; height: 1px; background: var(--rouge); }

.contrat-liste { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.contrat-liste li { font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.5); line-height: 1.6; padding-left: 1rem; position: relative; }
.contrat-liste li::before { content: '—'; position: absolute; left: 0; color: rgba(204,22,40,0.5); font-size: 0.75rem; }
.contrat-liste li strong { color: rgba(255,255,255,0.8); font-weight: 600; }

.contrat-bloc-full { background: rgba(255,255,255,0.02); padding: 2.5rem; grid-column: span 2; }

.clause-polonais { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 2rem; margin-top: 1.5rem; }
.clause-polonais-title { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.2rem; }
.clause-polonais p { font-size: 0.82rem; font-style: italic; color: rgba(255,255,255,0.4); line-height: 1.9; font-family: 'Georgia', serif; }


/* ============================================================
   CTA CONTACT
   ============================================================ */
.cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; }

.cta-gauche { background: var(--rouge); color: white; padding: 6rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.cta-gauche .etiquette { color: rgba(255,255,255,0.65); }
.cta-gauche .etiquette::before { background: rgba(255,255,255,0.65); }
.cta-gauche h2 { color: white; }
.cta-gauche h2 em { color: rgba(255,255,255,0.75); }
.cta-gauche p { font-size: 0.95rem; font-weight: 400; line-height: 1.8; color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }

.cta-droite { background: var(--gris); padding: 6rem 5rem; display: flex; flex-direction: column; justify-content: center; }

.contact-infos { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icone { width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px; background: var(--rouge); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.contact-val { font-size: 0.95rem; font-weight: 400; color: var(--texte); line-height: 1.6; }
.contact-val small { display: block; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--doux); margin-bottom: 0.2rem; }
.contact-val a { color: var(--texte); font-weight: 500; transition: color 0.3s; }
.contact-val a:hover { color: var(--rouge); }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--texte);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logos { display: flex; align-items: center; gap: 1.5rem; }
.footer-logos img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.6; }
footer p { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.08em; }
.footer-lien { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 1px; transition: color 0.3s; }
.footer-lien:hover { color: white; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .modal-boite { grid-template-columns: 1fr; max-height: 90vh; }
  .modal-image { height: 280px; }
  .modal-desc { padding: 2rem; }
}

@media (max-width: 900px) {
  nav { padding: 0 2rem; }
  .nav-liens { gap: 1rem; }
  .hero { padding-bottom: 100%; } /* ratio carré sur mobile pour mieux voir */
  .hero-contenu { padding: 0 2rem; bottom: 1.5rem; }
  .intro { grid-template-columns: 1fr; }
  .intro-image { min-height: 350px; }
  .projets { padding: 4rem 2rem; }
  .grille-projets-nouvelle { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .cta-gauche, .cta-droite { padding: 4rem 2.5rem; }
  .guide-investisseur-inner { padding: 0 2rem; }
  .guide-intro-grid { grid-template-columns: 1fr; }
  .contrat-grid { grid-template-columns: 1fr; }
  .contrat-bloc-full { grid-column: span 1; }
  .fiscal-types { grid-template-columns: 1fr; }
  .synthese-ligne { grid-template-columns: 1fr 1fr; }
  .synthese-ligne .synthese-cell:last-child,
  .synthese-ligne.header .synthese-cell:last-child { display: none; }
  footer { padding: 2rem; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .carousel-item { height: 100svh; }
  .plein-ecran-texte { left: 24px; bottom: 36px; }
  .plein-ecran-texte h2 { font-size: 1.8rem; }
  .guide-tab { padding: 0.8rem 1rem; font-size: 0.62rem; }
  .accord-header { padding: 1.2rem; }
  .accord-body-inner { padding: 0 1.2rem 1.5rem 1.2rem; }
  .modal-overlay { padding: 1rem; }
  .modal-image { height: 200px; }
  .modal-desc { padding: 1.5rem; }
}