/*!
 * Creativity App — page d'accueil, thème clair (accueil.css)
 * À charger après base.css et clair.css. Toutes les classes de cette feuille commencent par « c- ».
 *
 * Sommaire
 *   1. Étiquette et en-tête de section     6. Méthode
 *   2. Premier écran                       7. Réalisations
 *   3. Tableau de bord d'exemple           8. Ce à quoi nous tenons, journal
 *   4. Bandeau des services, cartes        9. Questions fréquentes
 *   5. Bande « automatisation »           10. Contact
 * Le mouvement ne vaut que sous .js, hors .no-motion et hors mouvement réduit.
 */

/* ==========================================================================
   1. Étiquette et en-tête de section
   ========================================================================== */

.c-tag{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.375rem .875rem;
  border:1px solid var(--rule); border-radius:999px;
  background:#FFFFFF; box-shadow:0 1px 2px rgba(14,14,16,.04);
  font-size:.875rem; font-weight:500; line-height:1.4; color:var(--text);
}
.c-tag::before{ content:""; flex:none; width:.4375rem; height:.4375rem; border-radius:50%; background:var(--or); }
.c-tag--sombre{ border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.08); box-shadow:none; color:#FFFFFF; }
.c-tag--sombre::before{ background:#D9BC7E; }

.c-entete{ max-width:46rem; }
.c-entete .h2{ margin-top:1.25rem; }
.c-entete__texte{ max-width:38rem; margin-top:1.25rem; }

.c-grille{ display:grid; gap:1rem; margin-top:clamp(2.25rem,5vw,3.5rem); padding:0; list-style:none; }
@media (min-width:40rem){
  .c-grille--2,.c-grille--3,.c-grille--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:64rem){
  .c-grille{ gap:1.25rem; }
  .c-grille--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .c-grille--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}

/* ==========================================================================
   2. Premier écran
   ========================================================================== */

.c-hero{
  position:relative; overflow:hidden;
  padding-top:calc(var(--header-h) + env(safe-area-inset-top,0px) + clamp(2rem,6vw,4.5rem));
  padding-bottom:clamp(3rem,6vw,5rem);
}
/* Deux halos très légers, derrière le texte et derrière le tableau de bord. */
.c-hero::before{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(46rem 26rem at 88% 8%,rgba(176,138,71,.13),transparent 62%),
    radial-gradient(38rem 24rem at 4% 0%,rgba(14,14,16,.045),transparent 60%);
}
.no-js .c-hero{ padding-top:2rem; }
.c-hero__grille{ display:grid; gap:clamp(2.5rem,6vw,4rem); align-items:center; }
@media (min-width:64rem){
  .c-hero__grille{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
}
/* Deux lignes sur un grand écran : la phrase, puis sa suite en italique. */
.c-hero__titre{ margin-top:1.5rem; font-size:clamp(2.375rem,1rem + 4.2vw,3.75rem); }
.c-hero__chapo{ max-width:35rem; margin-top:1.5rem; }
.c-hero__actions{ display:flex; flex-wrap:wrap; gap:.75rem; margin-top:2rem; }
.c-hero__faits{
  display:flex; flex-wrap:wrap; gap:.5rem 1.5rem;
  margin-top:2rem; padding:0; list-style:none;
  font-size:.9375rem; color:var(--mute);
}
.c-hero__faits li{ display:inline-flex; align-items:center; gap:.5rem; }
.c-hero__faits svg{ flex:none; width:1.125rem; height:1.125rem; color:var(--or); }
@media (max-width:26rem){
  .c-hero__actions .btn{ flex:1 1 100%; }
}

/* ==========================================================================
   3. Tableau de bord d'exemple (décor : aria-hidden dans la page)
   ========================================================================== */

.c-console{
  position:relative;
  border:1px solid var(--rule); border-radius:28px;
  background:#FFFFFF; box-shadow:var(--ombre-2);
  overflow:hidden;
}
.c-console__barre{
  display:flex; align-items:center; gap:.375rem;
  padding:.875rem 1.125rem;
  border-bottom:1px solid var(--rule); background:var(--smoke);
}
.c-console__barre i{ flex:none; width:.625rem; height:.625rem; border-radius:50%; background:#D5D5DB; }
.c-console__barre p{ margin-left:auto; font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.06em; text-transform:uppercase; color:var(--mute); }
.c-console__corps{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; padding:.75rem; }
@media (min-width:30rem){
  .c-console__corps{ gap:.875rem; padding:1rem; }
}
.c-bloc{ padding:1rem; border:1px solid var(--rule); border-radius:18px; background:#FFFFFF; }
@media (min-width:30rem){
  .c-bloc{ padding:1.125rem; }
}
.c-bloc--taches{ grid-column:1 / -1; }
.c-bloc__titre{ display:flex; align-items:center; justify-content:space-between; gap:.75rem; font-size:.8125rem; font-weight:500; line-height:1.3; color:var(--mute); }
.c-pastille{ display:inline-flex; align-items:center; gap:.375rem; padding:.1875rem .5rem; border-radius:999px; background:rgba(27,127,79,.1); font-size:.75rem; font-weight:500; color:#1B7F4F; white-space:nowrap; }
.c-pastille::before{ content:""; width:.375rem; height:.375rem; border-radius:50%; background:#1B7F4F; }
.c-taches{ display:grid; gap:.625rem; margin-top:.875rem; padding:0; list-style:none; }
.c-taches li{ display:flex; align-items:center; gap:.625rem; font-size:.9375rem; line-height:1.3; }
.c-taches b{ margin-left:auto; font-size:.8125rem; font-weight:500; color:var(--mute); white-space:nowrap; }
.c-coche{ flex:none; display:grid; place-items:center; width:1.25rem; height:1.25rem; border-radius:50%; background:#0E0E10; color:#FFFFFF; }
.c-coche svg{ width:.75rem; height:.75rem; }
.c-chiffre{ margin-top:.5rem; font-size:clamp(1.5rem,5vw,2rem); font-weight:600; line-height:1.1; letter-spacing:-.03em; white-space:nowrap; }
.c-barres{ display:flex; align-items:flex-end; gap:.3125rem; height:3.25rem; margin-top:.875rem; }
.c-barres i{ flex:1; height:40%; border-radius:4px 4px 2px 2px; background:var(--smoke-2); transform-origin:50% 100%; }
.c-barres i:nth-child(2){ height:58%; }
.c-barres i:nth-child(3){ height:46%; }
.c-barres i:nth-child(4){ height:72%; }
.c-barres i:nth-child(5){ height:64%; }
.c-barres i:nth-child(6){ height:86%; }
.c-barres i:nth-child(7){ height:100%; background:var(--or); }
.c-bloc--avis{ display:grid; align-content:start; gap:.625rem; border-color:transparent; background:#0E0E10; color:#FFFFFF; }
.c-bloc--avis .c-bloc__titre{ color:rgba(255,255,255,.62); }
.c-avis{ font-size:.9375rem; line-height:1.35; }
.c-avis b{ font-weight:600; color:#D9BC7E; }
.c-choix{ display:flex; flex-wrap:wrap; gap:.375rem; margin-top:.125rem; }
.c-choix span{ padding:.25rem .625rem; border-radius:999px; background:rgba(255,255,255,.12); font-size:.75rem; font-weight:500; white-space:nowrap; }
.c-choix span:first-child{ background:#FFFFFF; color:#0E0E10; }

/* Une entrée, une fois : les coches se posent l'une après l'autre, les barres montent. */
@media (prefers-reduced-motion:no-preference){
  .js:not(.no-motion) .c-coche{ animation:c-coche .5s var(--ease) both; }
  .js:not(.no-motion) .c-taches li:nth-child(1) .c-coche{ animation-delay:.9s; }
  .js:not(.no-motion) .c-taches li:nth-child(2) .c-coche{ animation-delay:1.3s; }
  .js:not(.no-motion) .c-taches li:nth-child(3) .c-coche{ animation-delay:1.7s; }
  .js:not(.no-motion) .c-taches li:nth-child(4) .c-coche{ animation-delay:2.1s; }
  .js:not(.no-motion) .c-barres i{ animation:c-barre .9s var(--ease) both; }
  .js:not(.no-motion) .c-barres i:nth-child(1){ animation-delay:1.0s; }
  .js:not(.no-motion) .c-barres i:nth-child(2){ animation-delay:1.08s; }
  .js:not(.no-motion) .c-barres i:nth-child(3){ animation-delay:1.16s; }
  .js:not(.no-motion) .c-barres i:nth-child(4){ animation-delay:1.24s; }
  .js:not(.no-motion) .c-barres i:nth-child(5){ animation-delay:1.32s; }
  .js:not(.no-motion) .c-barres i:nth-child(6){ animation-delay:1.4s; }
  .js:not(.no-motion) .c-barres i:nth-child(7){ animation-delay:1.48s; }
  .js:not(.no-motion) .c-pastille::before{ animation:c-pouls 2.4s ease-in-out 2.6s infinite; }
}
@keyframes c-coche{ from{ transform:scale(0); opacity:0; } to{ transform:scale(1); opacity:1; } }
@keyframes c-barre{ from{ transform:scaleY(.08); } to{ transform:scaleY(1); } }
@keyframes c-pouls{ 0%,100%{ box-shadow:0 0 0 0 rgba(27,127,79,.45); } 50%{ box-shadow:0 0 0 .3125rem rgba(27,127,79,0); } }

/* ==========================================================================
   4. Bandeau des services, cartes
   ========================================================================== */

/* Les six services défilent sous le premier écran (décor : la liste complète suit juste après). */
.c-defile{
  margin-top:clamp(2.75rem,6vw,4.5rem); overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);
}
.c-defile__piste{ display:flex; gap:.75rem; width:max-content; }
.c-defile ul{ display:flex; gap:.75rem; margin:0; padding:0; list-style:none; }
.c-defile li{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.625rem 1.125rem;
  border:1px solid var(--rule); border-radius:999px; background:#FFFFFF;
  font-size:.9375rem; font-weight:500; line-height:1.3; white-space:nowrap;
}
.c-defile svg{ flex:none; width:1.125rem; height:1.125rem; color:var(--mute); }
@media (prefers-reduced-motion:no-preference){
  .js:not(.no-motion) .c-defile__piste{ animation:c-defile 42s linear infinite; }
}
@keyframes c-defile{ to{ transform:translateX(calc(-50% - .375rem)); } }

.c-carte{
  position:relative;
  padding:1.75rem;
  border:1px solid var(--rule); border-radius:24px;
  background:#FFFFFF; box-shadow:var(--ombre);
  transition:transform var(--t-micro) var(--ease),box-shadow var(--t-micro) var(--ease-std);
}
.c-carte__icone{
  display:grid; place-items:center;
  width:3rem; height:3rem; border-radius:14px;
  background:var(--smoke); color:var(--text);
  transition:background-color var(--t-micro) var(--ease-std),color var(--t-micro) var(--ease-std);
}
[data-world="ivory"] .c-carte__icone{ background:var(--paper); }
.c-carte__icone svg{ width:1.375rem; height:1.375rem; }
.c-carte__titre{ margin-top:1.5rem; font-size:1.3125rem; font-weight:600; line-height:1.2; letter-spacing:-.02em; }
.c-carte__texte{ margin-top:.5rem; font-size:1rem; line-height:1.55; color:var(--mute); text-wrap:pretty; }
@media (hover:hover){
  .c-carte:hover{ transform:translateY(-4px); box-shadow:var(--ombre-2); }
  .c-carte:hover .c-carte__icone{ background:#0E0E10; color:#FFFFFF; }
}
/* Téléphone : l'icône à gauche, le titre et la phrase à droite. La page y gagne un tiers de hauteur. */
@media (max-width:39.99rem){
  .c-carte{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:1rem; padding:1.25rem; border-radius:20px; }
  .c-carte__icone{ grid-row:1 / span 2; width:2.75rem; height:2.75rem; }
  .c-carte__titre{ margin-top:.125rem; font-size:1.1875rem; }
  .c-carte__texte{ margin-top:.25rem; }
}
.c-services__suite{ margin-top:2rem; color:var(--mute); }

/* ==========================================================================
   5. Bande « automatisation » : la photo du sillon, dans un cadre arrondi
   ========================================================================== */

.c-bande-section{ padding-bottom:var(--section); }
.c-bande{
  position:relative; isolation:isolate; overflow:hidden;
  display:grid;
  border-radius:28px;
  background:#0D0C0A; color:#FFFFFF;
}
.c-bande__image{ display:block; }
.c-bande__image img{ width:100%; aspect-ratio:4 / 3; object-fit:cover; }
.c-bande__texte{ display:grid; justify-items:start; gap:1.25rem; padding:1.75rem 1.5rem 2rem; }
.c-bande__titre{ color:#FFFFFF; }
.c-bande__titre em{ color:#D9BC7E; }
.c-bande__chapo{ max-width:30rem; color:rgba(255,255,255,.74); text-wrap:pretty; }
.c-btn-clair{ background:#FFFFFF; color:#0E0E10; --btn-veil:rgba(14,14,16,.08); }
@media (min-width:48rem){
  .c-bande{ min-height:30rem; align-items:end; }
  .c-bande__image{ position:absolute; inset:0; z-index:-2; }
  .c-bande__image img{ height:100%; aspect-ratio:auto; }
  /* Un voile à gauche, où se pose le texte ; la bille, à droite, reste en pleine lumière. */
  .c-bande::after{
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background:linear-gradient(to right,rgba(13,12,10,.9),rgba(13,12,10,.62) 38%,rgba(13,12,10,0) 66%);
  }
  .c-bande__texte{ max-width:36rem; padding:clamp(2rem,4.5vw,3.5rem); }
}
/* La photo glisse très légèrement pendant que la bande traverse l'écran (voir home.css, §8). */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference) and (min-width:48rem){
    .js:not(.tier-light):not(.no-motion) .c-bande__image img{
      animation:c-glisse linear both;
      animation-timeline:view();
      animation-range:entry 0% exit 100%;
    }
  }
}
@keyframes c-glisse{
  from{ transform:scale(1.1) translateY(-3.5%); }
  to{ transform:scale(1.1) translateY(3.5%); }
}

/* ==========================================================================
   6. Méthode
   ========================================================================== */

.c-etapes{ display:grid; gap:2rem 1.5rem; margin-top:clamp(2.25rem,5vw,3.5rem); padding:0; list-style:none; counter-reset:etape; }
@media (min-width:40rem){
  .c-etapes{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:64rem){
  .c-etapes{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.c-etape{ padding-top:1.5rem; border-top:1px solid var(--rule-2); }
.c-etape__num{ font-family:var(--font-mono); font-size:.8125rem; font-weight:500; letter-spacing:.08em; color:var(--accent); }
.c-etape__titre{ margin-top:1rem; font-size:1.3125rem; font-weight:600; line-height:1.2; letter-spacing:-.02em; }
.c-etape__texte{ margin-top:.5rem; font-size:1rem; line-height:1.55; color:var(--mute); text-wrap:pretty; }
.c-methode__note{
  margin-top:clamp(2.5rem,5vw,3.5rem);
  font-family:var(--font-serif); font-style:italic; font-size:clamp(1.375rem,1.1rem + 1.2vw,1.875rem); line-height:1.25; letter-spacing:-.01em;
  color:var(--text);
}

/* ==========================================================================
   7. Réalisations
   ========================================================================== */

.c-projet{
  display:grid; align-content:start; gap:.625rem;
  padding:1rem 1rem 1.75rem;
  border:1px solid var(--rule); border-radius:28px;
  background:#FFFFFF; box-shadow:var(--ombre);
}
.c-projet__visuel{
  position:relative; overflow:hidden;
  aspect-ratio:16 / 10; margin-bottom:.875rem;
  border-radius:18px; background:#0E0E10;
}
.c-projet__visuel img{ width:100%; height:100%; object-fit:cover; object-position:0 0; transition:transform .9s var(--ease); }
.c-projet__visuel--qr{ display:grid; place-items:center; background:#0E0E10; color:#D9BC7E; }
.c-projet__visuel--qr svg{ width:38%; height:auto; transition:transform .9s var(--ease); }
@media (hover:hover){
  .c-projet:hover .c-projet__visuel img{ transform:scale(1.04); }
  .c-projet:hover .c-projet__visuel--qr svg{ transform:scale(1.06) rotate(-3deg); }
}
.c-projet > :not(.c-projet__visuel){ margin-inline:.75rem; }
.c-projet__pour{ font-family:var(--font-mono); font-size:.75rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--mute); }
.c-projet__titre{ font-size:1.625rem; font-weight:600; line-height:1.15; letter-spacing:-.025em; }
.c-projet__texte{ color:var(--mute); text-wrap:pretty; }
.c-projet__lien{ justify-self:start; margin-top:.5rem; }

/* ==========================================================================
   8. Ce à quoi nous tenons, journal
   ========================================================================== */

.c-raison svg{ width:1.5rem; height:1.5rem; color:var(--or); }
.c-raison__titre{ margin-top:1rem; font-size:1.125rem; font-weight:600; line-height:1.25; letter-spacing:-.015em; }
.c-raison__texte{ margin-top:.375rem; font-size:1rem; line-height:1.55; color:var(--mute); text-wrap:pretty; }

.c-journal{
  display:grid; gap:.5rem 2rem; align-items:center;
  margin-top:clamp(3rem,6vw,4.5rem); padding:1.75rem;
  border-radius:24px; background:var(--smoke);
  color:var(--text); text-decoration:none;
  transition:background-color var(--t-micro) var(--ease-std);
}
.c-journal__nom{ font-size:1.3125rem; font-weight:600; line-height:1.2; letter-spacing:-.02em; }
.c-journal__texte{ color:var(--mute); }
.c-journal__lien{ display:inline-flex; align-items:center; gap:.5rem; font-weight:600; white-space:nowrap; }
.c-journal__lien svg{ width:1.25rem; height:1.25rem; transition:translate var(--t-micro) var(--ease); }
@media (min-width:56rem){
  .c-journal{ grid-template-columns:auto minmax(0,1fr) auto; padding:1.75rem 2.25rem; }
}
@media (hover:hover){
  .c-journal:hover{ background:var(--smoke-2); }
  .c-journal:hover .c-journal__lien svg{ translate:4px 0; }
}

/* ==========================================================================
   9. Questions fréquentes
   ========================================================================== */

.c-faq__grille{ display:grid; gap:2.5rem; }
@media (min-width:64rem){
  .c-faq__grille{ grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:4rem; align-items:start; }
}
.c-faq__liste{ border-top:1px solid var(--rule-2); }
.c-question{ border-bottom:1px solid var(--rule-2); }
.c-question summary{
  display:flex; align-items:center; justify-content:space-between; gap:1.25rem;
  padding:1.375rem 0;
  font-size:1.1875rem; font-weight:500; line-height:1.3; letter-spacing:-.01em;
  cursor:pointer; list-style:none;
}
.c-question summary::-webkit-details-marker{ display:none; }
.c-question summary::after{
  content:""; flex:none; width:1.5rem; height:1.5rem; border-radius:50%;
  background:
    linear-gradient(currentColor,currentColor) center / .625rem 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) center / 1.5px .625rem no-repeat,
    var(--smoke);
  transition:rotate var(--t-micro) var(--ease),background-color var(--t-micro) var(--ease-std);
}
.c-question[open] summary::after{ rotate:45deg; }
.c-question summary:focus-visible{ outline:2px solid var(--focus); outline-offset:4px; border-radius:6px; }
.c-question p{ max-width:40rem; padding-bottom:1.5rem; color:var(--mute); text-wrap:pretty; }

/* ==========================================================================
   10. Contact
   ========================================================================== */

.contact .c-tag{ margin-bottom:1.25rem; }
