/* ===== Polices (hébergées sur le site, aucun appel à un service externe) ===== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== Couleurs ===== */
:root {
  --nuit: #14283A;      /* bleu nuit */
  --bordeaux: #8C1D40;  /* accent */
  --rose: #D9A0AE;      /* bordeaux clair, sur fond foncé */
  --texte2: #3D5063;    /* texte secondaire */
  --gris: #EEF1F4;      /* fond gris-bleu clair */
  --ligne: #D5DCE3;     /* lignes */
  --pale: #C9D3DD;      /* texte clair sur fond foncé */
  --ligne-nuit: #3A5068;
  --teinte: #F6F0F1;    /* bordeaux très léger (cartes) */
  --ligne-teinte: #E6D5D9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--nuit); font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--bordeaux); }
a:hover { color: #6B1531; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; font-weight: 800; margin: 0; }
p { margin: 0; }

.lien-evitement { position: absolute; left: -9999px; top: 0; background: var(--nuit); color: #fff; padding: 12px 18px; z-index: 10; }
.lien-evitement:focus { left: 12px; top: 12px; }

.conteneur { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.fond-gris { background: var(--gris); }
.fond-nuit { background: var(--nuit); color: #fff; }
.pile { display: flex; flex-direction: column; gap: 14px; }
.grille { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.deux-colonnes { display: grid; gap: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

.surtitre { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bordeaux); }
.fond-nuit .surtitre, .panneau-nuit .surtitre, .carte-nuit .surtitre { color: var(--rose); }
.titre-section { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.texte-intro { font-size: 18px; line-height: 1.6; color: var(--texte2); }
.fond-nuit .texte-intro { color: var(--pale); }

/* ===== Boutons ===== */
.bouton { display: inline-block; font-weight: 600; font-size: 16px; text-decoration: none; padding: 15px 26px; border: 2px solid var(--nuit); background: var(--nuit); color: #fff; transition: background .2s, border-color .2s; }
.bouton:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.bouton-contour { background: transparent; color: var(--nuit); }
.bouton-contour:hover { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== En-tête ===== */
.entete { background: #fff; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 5; }
.entete .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 18px; padding-bottom: 18px; }
.marque { font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--nuit); text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.menu a { font-size: 15px; font-weight: 500; color: var(--nuit); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--bordeaux); }
.menu .bouton { color: #fff; padding: 11px 20px; font-size: 15px; }
.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.barres, .barres::before, .barres::after { display: block; width: 24px; height: 2px; background: var(--nuit); position: relative; transition: transform .2s, opacity .2s; }
.barres::before, .barres::after { content: ""; position: absolute; left: 0; }
.barres::before { top: -7px; }
.barres::after { top: 7px; }
.burger[aria-expanded="true"] .barres { background: transparent; }
.burger[aria-expanded="true"] .barres::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .barres::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Ouverture ===== */
.ouverture .conteneur { display: grid; gap: 56px; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); padding-top: 56px; padding-bottom: 88px; }
.ouverture .texte { display: flex; flex-direction: column; gap: 26px; }
.ouverture h1 { font-size: clamp(56px, 7vw, 104px); line-height: 1.1; letter-spacing: -0.035em; }
.trait { width: 80px; height: 5px; background: var(--bordeaux); }
.ouverture .phrase { font-family: "Manrope", sans-serif; font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.ouverture .signature { font-family: "Manrope", sans-serif; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: var(--bordeaux); }
.ouverture .portrait { width: 100%; height: 640px; object-fit: cover; object-position: 50% 18%; }

/* ===== Chiffres ===== */
.chiffres .conteneur { padding-top: 56px; padding-bottom: 56px; }
.chiffres .grille { gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.chiffre { border-top: 1px solid var(--ligne-nuit); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.chiffre strong { font-family: "Manrope", sans-serif; font-size: clamp(40px, 4vw, 60px); line-height: 1; font-weight: 800; color: var(--rose); }
.chiffre span { color: var(--pale); }

/* ===== Cartes teintées (services, offre) ===== */
.carte { background: var(--teinte); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.carte h3 { font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.lignes { list-style: none; margin: 0; padding: 0; }
.lignes li { border-top: 1px solid var(--ligne-teinte); padding: 14px 0; line-height: 1.45; }
.carte p { color: var(--texte2); line-height: 1.6; }

/* ===== Frise « D'où je viens » ===== */
.frise { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 2px solid var(--nuit); }
.etape { display: flex; flex-direction: column; gap: 10px; }
.etape::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--bordeaux); margin-top: -9px; }
.etape strong { font-family: "Manrope", sans-serif; font-size: 22px; line-height: 1.2; }
.etape span { color: var(--texte2); }

/* ===== Réalisations (accueil) ===== */
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.realisations-grille { display: grid; gap: 56px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.realisation { display: flex; flex-direction: column; gap: 16px; }
.cadre { background: #fff; height: 340px; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 4%; }
.cadre img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 6px 20px rgba(20, 40, 58, 0.12); }
.cadre .couverture { width: 30%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.realisation h3 { font-size: 24px; line-height: 1.2; }
.realisation p { color: var(--texte2); }
.realisation a { font-weight: 600; }

/* ===== Six entités ===== */
.phare h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.phare .lignes li { border-color: var(--ligne-nuit); font-size: 18px; }
.phare a { color: #fff; font-weight: 600; }

/* ===== Pourquoi moi ===== */
.pourquoi h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.pourquoi h2 em { font-style: normal; color: var(--bordeaux); }
.pourquoi .portrait { width: 100%; max-width: 460px; justify-self: end; height: 520px; object-fit: cover; object-position: 50% 15%; }
.table { border-top: 6px solid var(--bordeaux); box-shadow: 0 12px 32px rgba(20, 40, 58, 0.08); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.panneau { background: #fff; padding: 44px 40px; display: flex; flex-direction: column; gap: 12px; }
.panneau-nuit { background: var(--nuit); color: #fff; }
.panneau h3 { font-size: 26px; line-height: 1.15; min-height: 3.45em; margin-bottom: 6px; }
.entrees { list-style: none; margin: 0; padding: 0; }
.entrees li { border-top: 1px solid var(--ligne); padding: 16px 0; display: flex; flex-direction: column; gap: 4px; }
.panneau-nuit .entrees li { border-color: var(--ligne-nuit); }
.entrees strong { font-weight: 600; line-height: 1.4; }
.entrees span { font-size: 15px; color: var(--texte2); }
.panneau-nuit .entrees span { color: var(--pale); }

/* ===== Comment ça se passe ===== */
.etapes { border-top: 1px solid var(--ligne-teinte); padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.etapes .grille { gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.services-grille, .offre-grille { gap: 24px; }
.pas > div { padding-top: 4px; }
.pas { display: flex; gap: 18px; align-items: flex-start; }
.pas .num { font-family: "Manrope", sans-serif; font-size: 48px; font-weight: 800; line-height: 0.9; color: var(--bordeaux); }
.pas strong { display: block; font-size: 18px; margin-bottom: 4px; }
.pas span { color: var(--texte2); }

/* ===== Contact ===== */
.contact h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.coordonnees { list-style: none; margin: 0; padding: 0; max-width: 480px; }
.coordonnees li { border-top: 1px solid var(--ligne); padding: 16px 0; display: flex; flex-direction: column; gap: 4px; }
.coordonnees strong { font-weight: 600; }
.formulaire { background: var(--nuit); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.formulaire .paire { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-size: 14px; color: var(--pale); }
.champ input, .champ textarea { background: transparent; border: none; border-bottom: 1px solid var(--ligne-nuit); color: #fff; font: inherit; font-size: 16px; padding: 8px 0; }
.champ textarea { resize: vertical; min-height: 110px; }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--rose); }
.formulaire button { align-self: flex-start; background: #fff; color: var(--nuit); border: none; font: inherit; font-weight: 600; padding: 14px 28px; cursor: pointer; }
.formulaire button:hover { background: var(--rose); }
.formulaire .note { font-size: 13px; color: var(--pale); }
.formulaire .note a { color: #fff; }
.cache { display: none; }
.message-apercu { font-size: 15px; color: var(--rose); }

/* ===== Pied de page ===== */
.pied { background: var(--nuit); color: #fff; }
.pied .conteneur { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pied .nom { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; }
.pied .role { color: var(--pale); font-size: 15px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.pied a { color: #fff; }
.pied .discret { color: var(--pale); }

/* ===== Page Réalisations ===== */
.index-fiches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.index-fiches a { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; background: var(--teinte); border-top: 4px solid var(--bordeaux); text-decoration: none; color: var(--nuit); transition: background .2s, transform .2s; }
.index-fiches a:hover { background: var(--nuit); color: #fff; transform: translateY(-3px); }
.index-fiches a:hover .surtitre, .index-fiches a:hover .num { color: var(--rose); }
.index-fiches .num { font-family: "Manrope", sans-serif; font-size: 40px; font-weight: 800; line-height: 1; color: var(--bordeaux); }
.index-fiches .titre { font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.fiche { padding-top: 96px; padding-bottom: 96px; scroll-margin-top: 80px; }
.tete-fiche { display: flex; align-items: flex-end; gap: 28px; }
.grand-num { font-family: "Manrope", sans-serif; font-size: clamp(72px, 9vw, 128px); font-weight: 800; line-height: 0.8; letter-spacing: -0.04em; color: var(--bordeaux); }
.fiche h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.bandeau { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bandeau .cadre { height: 380px; padding: 32px; }
.fiche:not(.fond-gris) .bandeau .cadre { background: var(--gris); }
.bandeau .cadre .couverture { width: auto; height: 100%; aspect-ratio: 4 / 5; }
.bandeau figcaption { font-size: 15px; color: var(--texte2); }
.bandeau-duo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: stretch; }
.bandeau-duo .enjeux { align-content: center; }
.paire-visuels { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.paire-visuels .cadre { height: 260px; }
.enjeux { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: var(--nuit); color: #fff; }
.enjeux .bloc { padding: 36px 40px; gap: 12px; }
.enjeux .bloc + .bloc { border-left: 1px solid var(--ligne-nuit); }
.enjeux .bloc strong { color: var(--rose); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.enjeux .bloc p { font-size: 18px; line-height: 1.6; color: #fff; }
.besoin { background: var(--teinte); padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.besoin strong { color: var(--bordeaux); font-family: "Manrope", sans-serif; font-size: 18px; }
.besoin ul { margin: 0; padding-left: 20px; display: grid; gap: 8px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.corps-fiche { display: grid; gap: 40px 56px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.bloc { display: flex; flex-direction: column; gap: 8px; }
.bloc > strong { font-size: 16px; }
.porte { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.resultats { background: var(--nuit); color: #fff; padding: 32px 36px; display: flex; flex-direction: column; gap: 14px; }
.resultats > ul { margin: 0; padding: 0; list-style: none; }
.resultats > ul li { border-top: 1px solid var(--ligne-nuit); padding: 14px 0; font-size: 17px; line-height: 1.5; }
.resultats .surtitre { color: var(--rose); }
.liens-resultats { padding-top: 16px; border-top: 1px solid var(--ligne-nuit); font-size: 15px; line-height: 1.6; color: var(--pale); }
.liens-resultats a { color: #fff; }
.liens-resultats ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.films { display: flex; flex-direction: column; gap: 20px; }
.films-grille { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.film { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--nuit); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { position: absolute; inset: 0; display: block; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade::after { content: ""; position: absolute; inset: 0; background: rgba(20, 40, 58, 0.18); transition: background .2s; }
.facade:hover::after { background: rgba(20, 40, 58, 0.05); }
.lecture { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--bordeaux); z-index: 1; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.lecture::before { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.facade:hover .lecture { transform: scale(1.08); }
.film figcaption { display: flex; flex-direction: column; gap: 2px; }
.film figcaption strong { font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.3; }
.film figcaption a { font-size: 14px; }
.film .credit { font-size: 14px; color: var(--texte2); }
.liens { font-size: 15px; line-height: 1.6; color: var(--texte2); }
.sommaire { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ===== Pages légales ===== */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { line-height: 1.7; color: var(--texte2); }
.legal p + p { margin-top: 12px; }

/* ===== Petits écrans ===== */
@media (max-width: 720px) {
  .conteneur { padding-left: 22px; padding-right: 22px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .entete { position: sticky; }
  .entete .conteneur { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ligne); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 22px; box-shadow: 0 12px 24px rgba(20, 40, 58, 0.08); }
  .menu.ouvert { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 17px; }
  .menu .bouton { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px 20px; }
  .ouverture .conteneur { padding-top: 32px; padding-bottom: 56px; gap: 36px; }
  .ouverture .portrait { height: 420px; }
  .pourquoi .portrait { height: 380px; justify-self: stretch; max-width: none; }
  .cadre { height: 240px; }
  .panneau { padding: 32px 24px; }
  .panneau h3 { min-height: 0; }
  .carte { padding: 28px 22px; }
  .formulaire { padding: 26px 22px; }
  .corps-fiche { grid-template-columns: 1fr; }
  .frise { border-top: none; border-left: 2px solid var(--nuit); padding-left: 26px; gap: 32px; margin-left: 7px; }
  .etape { position: relative; }
  .etape::before { position: absolute; left: -35px; top: 3px; margin: 0; }
  .bandeau .cadre { height: auto; padding: 20px; }
  .paire-visuels .cadre { height: 180px; }
  .bandeau .cadre .couverture { width: 30%; height: auto; }
  .enjeux .bloc { padding: 28px 24px; }
  .enjeux .bloc + .bloc { border-left: none; border-top: 1px solid var(--ligne-nuit); }
  .tete-fiche { flex-direction: column; align-items: flex-start; gap: 14px; }
  .resultats { padding: 28px 24px; }
}
section[id] { scroll-margin-top: 72px; }
