/* ORAH — feuille de style */

@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --noir: #0A0A0A;
  --blanc: #FFFFFF;
  --clair: #F5F5F5;
  --gris-logo: #3F3F3F;
  --gris: #5C5C5C;
  --gris-moyen: #9A9A9A;
  --gris-clair: #BDBDBD;
  --symbole: #8C8C8C;
  --ligne: rgba(255, 255, 255, .14);
  --texte: "Jost", "Futura Std", Futura, sans-serif;
  --titre: "Inter", "Aktiv Grotesk", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-doux: cubic-bezier(.65, 0, .35, 1);
  --large: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noir); color: var(--blanc); font-family: var(--texte); font-weight: 300; line-height: 1.5; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
strong.fort, .fort { font-family: var(--titre); font-weight: 600; letter-spacing: -.01em; }
.conteneur { max-width: var(--large); margin: 0 auto; }
.section { padding: 140px 32px; }
.clair { background: var(--clair); color: var(--noir); }
.sur-titre { margin: 0; font-size: 14px; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; color: var(--gris-moyen); }
.titre-section { margin: 0; font-size: clamp(38px, 5vw, 72px); font-weight: 300; line-height: 1.02; text-transform: uppercase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 32px; background: var(--blanc); color: var(--noir); font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border: 0; cursor: pointer; transition: transform .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); background: var(--gris-logo); color: var(--blanc); }
.btn--noir { background: var(--noir); color: var(--blanc); }
.btn--contour { background: transparent; color: var(--blanc); border: 1px solid rgba(255, 255, 255, .4); font-weight: 300; }
.btn--contour:hover { background: var(--blanc); color: var(--noir); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 10, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.entete__in { max-width: var(--large); margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 14px; font-family: var(--titre); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.marque svg { width: 26px; height: 28px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.nav a:not(.btn) { color: var(--gris-clair); transition: color .3s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blanc); }
.nav .btn { min-height: 44px; padding: 0 24px; font-size: 14px; }

/* Ouverture */
.ouverture { position: relative; padding: 110px 32px 130px; overflow: hidden; }
.halo { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 40%, rgba(10, 10, 10, 0) 70%); }
.ouverture .halo { top: 0; right: 4%; width: 640px; height: 640px; }
.ouverture__in { position: relative; max-width: var(--large); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.ouverture__texte { flex: 999 1 560px; min-width: 0; }
.ouverture h1 { margin: 0; font-weight: 300; font-size: clamp(48px, 7.4vw, 112px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.ouverture h1 span { display: block; }
.ouverture__intro { margin: 40px 0 0; max-width: 520px; font-size: 20px; line-height: 1.6; color: var(--gris-clair); }
.ouverture__actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }
.ouverture__symbole { flex: 1 1 300px; display: flex; justify-content: center; padding-right: 96px; }
.ouverture__symbole svg { width: 320px; height: auto; }

/* Bandeau défilant */
.bandeau { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); padding: 26px 0; overflow: hidden; white-space: nowrap; }
.bandeau__piste { display: inline-flex; gap: 48px; font-size: 30px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); animation: defile 34s linear infinite; }
.bandeau__piste i { font-style: normal; color: var(--gris); }

/* Vision */
.vision__in { display: flex; flex-wrap: wrap; align-items: center; gap: 96px; }
.vision__visuel { flex: 1 1 320px; max-width: 460px; aspect-ratio: 3 / 4; background: var(--noir); overflow: hidden; }
.vision__visuel svg { width: 100%; height: 100%; }
.vision__texte { flex: 999 1 480px; min-width: 0; max-width: 640px; }
.vision__etiquette { margin: 0 0 32px; display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); }
.vision__etiquette::before { content: ""; width: 40px; height: 1px; background: var(--gris); }
.vision h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; line-height: 1.15; }
.vision p.corps { margin: 20px 0 0; font-size: 19px; line-height: 1.7; color: var(--gris-logo); }
.vision p.corps:first-of-type { margin-top: 40px; }
.vision .btn { margin-top: 40px; min-height: 52px; font-size: 14px; }

/* Services */
.entete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.entete-section p { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.6; color: var(--gris-moyen); }
.poles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 1px solid rgba(255, 255, 255, .2); }
.pole { display: flex; flex-direction: column; gap: 20px; padding: 48px 36px 56px; color: var(--blanc); border-right: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); transition: background .4s, color .4s; }
.pole:last-child { border-right: 0; }
.pole:hover { background: var(--blanc); color: var(--noir); }
.pole__num { font-size: 15px; letter-spacing: .2em; }
.pole__titre { font-family: var(--titre); font-size: 36px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.pole__texte { font-size: 17px; line-height: 1.6; }

/* Cartes projet (communes) */
.carte { display: block; color: var(--noir); }
.carte__media { overflow: hidden; background: var(--blanc); }
.carte__cadre { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; transition: transform .9s var(--ease); }
.carte__cadre img { width: 100%; height: auto; object-fit: contain; }
.carte__cadre--photo img, .carte__cadre video { width: 100%; height: 100%; object-fit: cover; }
.carte:hover .carte__cadre { transform: scale(1.04); }
.carte__legende { margin: 20px 0 6px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.carte__nom { margin: 0; font-size: 26px; font-weight: 400; }

/* Carrousel (accueil) */
.fleches { display: flex; align-items: center; gap: 24px; }
.lien-souligne { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.fleches__boutons { display: flex; gap: 8px; }
.fleche { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--noir); background: transparent; color: var(--noir); cursor: pointer; padding: 0; transition: background .3s, color .3s; }
.fleche:hover { background: var(--noir); color: var(--blanc); }
.carrousel { --cw: clamp(240px, 26vw, 340px); position: relative; overflow: hidden; height: calc(var(--cw) * 1.25 + 150px); padding-top: 24px; }
.carrousel .carte { position: absolute; top: 24px; left: 50%; width: var(--cw); opacity: 0; will-change: transform, filter, opacity; backface-visibility: hidden; }
.carrousel.est-pret .carte { transition: transform 1.4s var(--ease-doux), filter 1.4s var(--ease-doux), opacity 1.4s var(--ease-doux); }
.carrousel .carte__media { transition: box-shadow 1.4s var(--ease-doux); }
.carrousel .carte.est-centre .carte__media { box-shadow: 0 30px 60px rgba(10, 10, 10, .14); }
.carrousel .carte:not(.est-centre):hover .carte__cadre { transform: none; }
.points { margin-top: 16px; display: flex; justify-content: center; gap: 4px; }
.point { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; cursor: pointer; }
.point span { display: block; height: 2px; width: 14px; background: var(--gris-clair); transition: width .8s var(--ease-doux), background .8s; }
.point[aria-current="true"] span { width: 32px; background: var(--noir); }

/* Appel à l'action */
.appel { position: relative; padding: 180px 32px; text-align: center; overflow: hidden; }
.appel .halo { left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(10, 10, 10, 0) 65%); }
.appel__in { position: relative; max-width: 960px; margin: 0 auto; }
.appel h2 { margin: 0; font-size: clamp(40px, 6vw, 92px); font-weight: 300; line-height: 1.02; text-transform: uppercase; }
.appel p { margin: 32px auto 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--gris-clair); }
.appel .btn { margin-top: 48px; min-height: 60px; padding: 0 40px; font-size: 16px; }
.appel .appel__mail { margin-top: 20px; font-size: 15px; color: var(--gris-moyen); }
.appel__mail a { color: var(--blanc); border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* Pied de page */
.pied { border-top: 1px solid var(--ligne); padding: 56px 32px; }
.pied__in { max-width: var(--large); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; font-size: 15px; color: var(--gris-moyen); }
.pied__marque { display: flex; align-items: center; gap: 18px; }
.pied__marque svg { width: 44px; height: 48px; }
.pied__nom { display: block; color: var(--blanc); font-family: var(--titre); font-size: 28px; font-weight: 600; line-height: 1; }
.pied__slogan { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pied__col { display: flex; flex-direction: column; gap: 8px; }
.pied__col a { transition: color .3s; }
.pied__col a:hover { color: var(--blanc); }

/* Page projets */
.page-titre { position: relative; padding: 110px 32px 100px; overflow: hidden; }
.page-titre .halo { top: -120px; right: 2%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, rgba(10, 10, 10, 0) 70%); }
.page-titre h1 { margin: 28px 0 0; font-weight: 300; font-size: clamp(48px, 7vw, 104px); line-height: 1; text-transform: uppercase; }
.page-titre .intro { margin: 36px 0 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: var(--gris-clair); }
.fil a { color: var(--gris-moyen); }
.fil a:hover { color: var(--blanc); }
.portfolio { padding: 72px 32px 140px; }
.barre-filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; }
.filtre { min-height: 44px; padding: 0 22px; border: 1px solid var(--gris-clair); background: transparent; color: var(--noir); font-size: 14px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filtre:hover { border-color: var(--noir); }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.compteur { margin: 0; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 56px 32px; }
.grille .carte { animation: apparait .7s var(--ease) both; }
.carte__bas { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.carte__tags { margin: 0; font-size: 14px; color: var(--gris); text-align: right; }

/* Animations */
@keyframes monte { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes respire { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes barre { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes jambage { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes apparait { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.monte { animation: monte 1.1s var(--ease) both; }
.halo { animation: respire 6s ease-in-out infinite; }
.symbole-barre { animation: barre 1.2s cubic-bezier(.7, 0, .2, 1) .2s both; }
.symbole-jambage { transform-box: fill-box; animation: jambage 1.1s var(--ease) .9s both; }
.js .rv { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.est-visible { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 720px) {
  .section { padding: 96px 20px; }
  .entete__in { padding: 14px 20px; }
  .nav { gap: 18px; font-size: 12px; }
  .nav .btn { display: none; }
  .ouverture { padding: 72px 20px 96px; }
  .ouverture__symbole { padding-right: 0; }
  .ouverture__symbole svg { width: 200px; }
  .vision__in { gap: 56px; }
  .pole:last-child, .pole { border-right: 0; }
  .appel { padding: 120px 20px; }
  .page-titre { padding: 72px 20px 64px; }
  .portfolio { padding: 56px 20px 96px; }
  .carrousel { --cw: 64vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
