/* =========================================================
   Studio Laila — style « affiche » (accueil)
   Très gros titres noirs, grands aplats de couleur, étiquettes et fenêtres qui flottent.
   Chargé après style.css : il reprend les mêmes variables et change seulement le rendu.
   Règle gardée : le texte est noir sur soleil et ciel, crème sur bleu et sur noir.
   ========================================================= */

:root { --affiche: 'Archivo', 'Arial Black', Impact, sans-serif; }

/* ---------- Titres en grosses capitales ---------- */
.titre { font-family: var(--affiche); font-weight: 900; font-stretch: 100%; text-transform: uppercase; letter-spacing: -.035em; }
.titre--xxl { font-size: clamp(44px, 8.4vw, 150px); line-height: .88; }
.titre--xl { font-size: clamp(42px, 7.6vw, 132px); line-height: .88; }
.service__nom, .projet__nom, .etape__titre, .tarif__prix, .p-suivant__nom {
  font-family: var(--affiche); font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: -.03em; line-height: .95;
}
.projet__nom { font-size: clamp(36px, 4.4vw, 74px); }
.service__nom { font-size: clamp(30px, 3.2vw, 52px); }
.etape__titre { font-size: clamp(26px, 2.5vw, 38px); }
.etape__num { font-family: var(--affiche); font-weight: 900; font-stretch: 100%; letter-spacing: -.04em; }
.tarif__prix { font-size: clamp(28px, 2.8vw, 42px); }
.mot { padding-top: .1em; }
.pixel { width: .14em; height: .14em; }

/* ---------- Fond : le crème d'origine partout (la couleur vient des stickers, des scènes et des cartes) ---------- */
.hero, .projets, .services, .tarifs, .methode, .laila { --fond: var(--ivoire); background: var(--ivoire); color: var(--encre); }
.tarif--vedette { background: var(--soleil); }
.laila__sticker { background: var(--ciel); }

/* ---------- Hero : éléments qui flottent ---------- */
.hero { isolation: isolate; }
.hero__haut, .hero__titre, .hero__pied { position: relative; z-index: 2; }
.hero__titre { max-width: none; }
.flotte { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.flotte__el { position: absolute; z-index: 1; will-change: transform; }
.flotte__el[class*="t-"], .flotte__el[class*="d-"] { z-index: 3; }

.fenetre {
  width: clamp(190px, 21vw, 330px);
  border: 1px solid var(--encre); border-radius: 14px; overflow: hidden;
  background: var(--ivoire);
  transform: rotate(var(--rot, 0deg));
  animation: flotte-haut-bas var(--duree, 7s) ease-in-out infinite alternate;
}
.fenetre__barre { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--encre); background: var(--ivoire); }
.fenetre__barre i { width: 8px; height: 8px; border: 1px solid var(--encre); border-radius: 50%; }
.fenetre__barre span { margin-left: 8px; font: 500 11px/1 var(--sans); letter-spacing: .04em; }
.fenetre img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.etiquette {
  display: inline-block; padding: 10px 18px;
  border: 1px solid var(--encre); border-radius: 12px;
  font: 700 clamp(13px, 1.25vw, 18px)/1.1 var(--sans); letter-spacing: -.01em; white-space: nowrap;
  transform: rotate(var(--rot, 0deg));
  animation: flotte-haut-bas var(--duree, 6s) ease-in-out infinite alternate;
}
.etiquette--ciel { background: var(--ciel); color: var(--encre); }
.etiquette--ivoire { background: var(--ivoire); color: var(--encre); }
.etiquette--bleu { background: var(--bleu); color: var(--ivoire); }
.etiquette--noir { background: var(--encre); color: var(--ivoire); }

.flotte__el svg { display: block; color: var(--bleu); transform: rotate(var(--rot, 0deg)); animation: flotte-haut-bas var(--duree, 8s) ease-in-out infinite alternate; }
.forme { position: absolute; width: 18px; height: 18px; border: 1px solid var(--encre); animation: tourne 14s linear infinite; }
.forme--carre { background: var(--bleu); }
.forme--rond { background: var(--ciel); border-radius: 50%; width: 22px; height: 22px; animation-duration: 20s; }
@keyframes flotte-haut-bas { from { translate: 0 -8px; } to { translate: 0 10px; } }
@keyframes tourne { to { rotate: 360deg; } }

/* Positions (ordinateur) : elles passent derrière le titre, sans le cacher entièrement */
.f-a { right: 3%; top: 12%; --rot: 5deg; }
.f-a .fenetre { --duree: 7s; }
.f-b { right: 21%; top: 33%; --rot: -6deg; }
.f-b .fenetre { --duree: 8.5s; width: clamp(170px, 18vw, 280px); }
.f-c { right: 2%; top: 44%; --rot: 4deg; }
.f-c .fenetre { --duree: 9s; width: clamp(140px, 13vw, 210px); }
.t-1 { left: 44%; top: 17%; --rot: -6deg; }
.t-2 { left: 41%; top: 60%; --rot: 4deg; }
.t-3 { left: 50%; top: 36%; --rot: 7deg; }
.t-4 { left: 33%; top: 82%; --rot: -5deg; }
.d-1 { left: 36%; top: 11%; --rot: -8deg; }
.d-2 { right: 31%; top: 8%; --rot: 12deg; color: var(--encre); }
.d-2 svg { color: var(--encre); }
.d-3 { left: 3%; top: 26%; }
.f-s1 { left: 48%; top: 74%; }
.f-s2 { left: 62%; top: 70%; }
.f-s3 { left: 22%; top: 20%; }

/* ---------- Grand bandeau de mots qui défile ---------- */
.mots { overflow: hidden; background: var(--encre); color: var(--soleil); border-block: 1px solid var(--encre); }
.mots__piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.mots p { display: flex; align-items: center; padding: 18px 0; font: 900 clamp(40px, 7vw, 110px)/1 var(--affiche); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.mots i { display: inline-block; width: .32em; height: .32em; margin: 0 .5em; background: var(--bleu); border: 2px solid var(--soleil); }

/* ---------- Détails ---------- */
.surtitre { font-weight: 700; }
.bouton { font-family: var(--sans); font-weight: 700; }
.etape.est-active .etape__num { color: var(--bleu); }
.projet__tags li { font-weight: 700; }

@media (max-width: 960px) {
  .f-b, .f-c, .t-3, .d-3, .f-s2, .f-s3 { display: none; }
  .f-a { right: -4%; top: 22%; }
  .t-1 { left: auto; right: 6%; top: 11%; }
  .t-2 { left: 4%; top: 70%; }
  .t-4 { left: auto; right: 6%; top: 76%; }
  .d-1 { left: 8%; top: 12%; }
  .d-2 { right: 45%; top: 8%; }
}
@media (max-width: 640px) {
  .f-a .fenetre { width: 150px; }
  .mots p { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fenetre, .etiquette, .flotte__el svg, .forme, .mots__piste { animation: none; }
}

.projets .projet__tags li { color: var(--encre); }

/* ---------- « Je suis Laila » : scène avec un ordinateur qui montre un projet, des notes collées ---------- */
@media (min-width: 961px) {
  .laila__interieur { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 96px); align-items: start; }
  .laila__interieur > .surtitre, .laila__interieur > .laila__titre, .laila__interieur > .laila__texte { grid-column: 1; }
  .laila__interieur > .scene { grid-column: 2; grid-row: 1 / span 3; }
  .laila__sticker { right: auto; left: 48%; top: 96px; }
}
.scene { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--encre); border-radius: 28px; background: var(--bleu); margin-top: 28px; }
.scene__forme { position: absolute; border: 1px solid var(--encre); }
.scene__forme--a { width: 34%; aspect-ratio: 1; left: -8%; top: -6%; border-radius: 50%; background: var(--ciel); animation: tourne 40s linear infinite; }
.scene__forme--b { width: 28%; aspect-ratio: 1; right: -6%; top: 14%; border-radius: 40% 60% 55% 45%; background: var(--soleil); animation: tourne 55s linear infinite reverse; }
.scene__forme--c { width: 22%; aspect-ratio: 1; right: 8%; bottom: -8%; background: var(--ivoire); transform: rotate(18deg); }
.portable { position: absolute; left: 9%; right: 9%; bottom: 20%; }
.portable__ecran { padding: 7px; border: 1px solid var(--encre); border-radius: 12px 12px 0 0; background: #1b1b1b; }
.portable__ecran img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.portable__base { width: 112%; height: 14px; margin-left: -6%; border: 1px solid var(--encre); border-radius: 0 0 16px 16px; background: #CFCAC2; }
.note {
  position: absolute; padding: 18px 20px 24px; min-width: 38%;
  border: 1px solid var(--encre); border-radius: 4px;
  color: var(--encre); font: 800 clamp(18px, 2.2vw, 30px)/1 var(--affiche); letter-spacing: -.02em; text-transform: uppercase;
  transform: rotate(var(--rot, 0deg));
  animation: flotte-haut-bas var(--duree, 6s) ease-in-out infinite alternate;
}
.note--soleil { background: var(--soleil); }
.note--ciel { background: var(--ciel); }
.note--ivoire { background: var(--ivoire); }
.n-1 { left: 5%; top: 36%; --rot: -7deg; }
.n-2 { right: 6%; top: 8%; --rot: 6deg; --duree: 7s; }
.n-3 { right: 8%; bottom: 7%; --rot: -4deg; --duree: 8s; }
@media (max-width: 960px) {
  .scene { max-width: 520px; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene__forme, .note { animation: none; }
}

/* ---------- Scènes dans les en-têtes de Services et de Tarifs ---------- */
.scene--soleil { background: var(--soleil); }
.scene--soleil .scene__forme--a { background: var(--bleu); }
.scene--soleil .scene__forme--b { background: var(--ciel); }
.scene--ciel { background: var(--ciel); }
.scene--ciel .scene__forme--a { background: var(--soleil); }
.scene--ciel .scene__forme--b { background: var(--bleu); }
@media (min-width: 961px) {
  .section__entete > div { grid-column: 2; grid-row: 1 / span 2; }
  .section__entete > .scene--entete { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .section__entete > .surtitre { align-self: start; }
}
@media (max-width: 960px) {
  .section__entete > .scene--entete { order: 3; width: 100%; max-width: 440px; }
}

/* Téléphone : on découpe un écran dans la capture (trois écrans côte à côte) */
.telephone { position: absolute; width: 38%; bottom: 8%; }
.telephone__ecran { position: relative; overflow: hidden; aspect-ratio: 350 / 728; border: 1px solid var(--encre); border-radius: 22px; background: #26120A; }
.telephone__ecran img { position: absolute; width: 457%; max-width: none; height: auto; top: -18.7%; }
.telephone--a { left: 12%; transform: rotate(-6deg); }
.telephone--a img { left: -65.1%; }
.telephone--b { right: 10%; bottom: 14%; transform: rotate(5deg); }
.telephone--b img { left: -292.6%; }

.scene--entete .note { min-width: 0; padding: 9px 12px 13px; font-size: clamp(13px, 1.3vw, 18px); }
.scene--entete .n-1 { top: 10%; left: 5%; }
.scene--entete .n-2 { top: 24%; right: 5%; }
.scene--entete .n-3 { bottom: 5%; right: 8%; }

/* ---------- Hero : seuls les sites flottent, derrière le titre (qui reste bien lisible) ---------- */
.flotte { z-index: 0; }
.fenetre { opacity: .55; }
.f-a { right: 4%; top: 9%; --rot: 5deg; }
.f-b { right: 28%; top: 36%; --rot: -6deg; }
.f-c { right: 1%; top: 40%; --rot: 4deg; }
.f-d { left: 3%; top: 14%; --rot: -5deg; }
.f-d .fenetre { --duree: 8s; width: clamp(170px, 17vw, 270px); }
.f-e { left: 30%; top: 8%; --rot: 4deg; }
.f-e .fenetre { --duree: 9.5s; width: clamp(150px, 15vw, 240px); }
.f-b .fenetre, .f-c .fenetre { opacity: .55; }
@media (max-width: 960px) {
  .f-b, .f-c, .f-d, .f-e { display: block; }
  .f-a { right: -6%; top: 14%; }
  .f-b { right: auto; left: -4%; top: 38%; }
  .f-c { display: none; }
  .f-d { left: auto; right: 2%; top: 46%; }
  .f-e { left: 6%; top: 12%; }
}
@media (max-width: 640px) {
  .f-d { display: none; }
  .f-b .fenetre, .f-e .fenetre { width: 130px; }
}

/* ---------- Contact (et « projet suivant ») en crème ; seul le pied de page reste noir ---------- */
.contact { background: var(--ivoire); color: var(--encre); border-top: 1px solid var(--encre); }
.contact .surtitre, .contact .champ > label:not(.choix__option), .contact .champ legend { color: var(--encre); }
.contact__directs { border-top-color: rgba(18, 18, 18, .35); }
.contact__directs a { font-weight: 700; }
.champ input:not([type="radio"]), .champ textarea { color: var(--encre); border-bottom: 1px solid var(--encre); }
.champ input:focus, .champ textarea:focus { border-bottom-color: var(--bleu); }
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris); }
.champ [aria-invalid="true"] { border-bottom-color: #C62828; }
.choix__option span { border-color: var(--encre); font-weight: 500; }
.choix__option input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }
.contact .bouton--clair { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }
.contact .bouton--clair:hover { background: #000; }
.formulaire__message { color: var(--encre); }
.contact .pixel { background: var(--bleu); }

.p-suivant { background: var(--ivoire); color: var(--encre); border-top: 1px solid var(--encre); }
.p-suivant .surtitre { color: var(--encre); }
.p-suivant + .pied { padding-top: 80px; }

@media (max-width: 640px) { .f-b { display: none; } .f-a { top: 16%; } .f-e { top: 9%; } }

.page-simple h2 { font-family: var(--affiche); font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(22px, 2.4vw, 30px); }

.contact__dispo { max-width: 40ch; font-size: 17px; line-height: 1.4; }
