/* ============================================================
   ARIANE STUDIO — CSS CUSTOM
   Tes styles uniquement. Rien d'autre.
   ============================================================ */

/* Typekit — 1 seule fois */
@import url("https://use.typekit.net/kzi3tqw.css");


/* ─────────────────────────────────────────────────────────────
   SERVICES — mots vertical swap
───────────────────────────────────────────────────────────── */

.as-services-slide {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 4.2vw, 4.4rem);
  line-height: 1.15;
  font-weight: 900;
}

.as-slide-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .35em;
  flex-wrap: nowrap;
  will-change: transform;
}

.as-services-slide.is-stacked .as-slide-wrap {
  flex-direction: column;
  align-items: center;
  gap: .18em;
}

.as-prefix { white-space: nowrap; }

.as-viewport {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: var(--as-vh, 1.2em);
  width: var(--as-vw, auto);
  max-width: 92vw;
  vertical-align: baseline;
}

.as-viewport::before {
  content: "\200b";
  display: inline-block;
  width: 0;
}

.as-word {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(-110%);
  transition: transform 550ms ease, opacity 550ms ease;
  white-space: nowrap;
}

.as-word.is-active { opacity: 1; transform: translateY(0); }
.as-word.is-prev   { opacity: 0; transform: translateY(110%); }

.as-services-slide.is-stacked .as-viewport { width: min(92vw, 44rem); }

.as-services-slide.is-stacked .as-word {
  left: 50%;
  width: 100%;
  text-align: center;
  white-space: normal;
  transform: translate(-50%, -110%);
}

.as-services-slide.is-stacked .as-word.is-active { transform: translate(-50%, 0); }
.as-services-slide.is-stacked .as-word.is-prev   { transform: translate(-50%, 110%); }

@media (prefers-reduced-motion: reduce) {
  .as-word { transition: none; transform: none; opacity: 1; position: static; }
  .as-word:not(.is-active) { display: none; }
}


/* ─────────────────────────────────────────────────────────────
   TITRE INVERT + TYPEKIT
───────────────────────────────────────────────────────────── */

.as-title-invert {
  mix-blend-mode: difference;
  color: #fff;
  font-family: "forma-djr-display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  font-size: clamp(2.6rem, 11vw, 3.8rem);
}

@media (min-width: 640px)  { .as-title-invert { font-size: clamp(4.8rem, 8.8vw, 10.5rem); } }
@media (min-width: 1200px) { .as-title-invert { font-size: clamp(7.2rem, 7.4vw, 14rem); } }

.as-title-invert strong { font-weight: 700 !important; }
.as-title-invert *      { mix-blend-mode: inherit; }


/* ─────────────────────────────────────────────────────────────
   FADE IN / HOLD / FADE OUT
───────────────────────────────────────────────────────────── */

.as-title-fade {
  opacity: 0;
  animation: asTitleFade 7s ease-in-out infinite;
  animation-fill-mode: both;
  will-change: opacity;
}

@keyframes asTitleFade {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .as-title-fade { animation: none; opacity: 1; }
}


/* ─────────────────────────────────────────────────────────────
   BLINK TITLE
───────────────────────────────────────────────────────────── */

.as-blink-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 4.2rem);
  line-height: 1.05;
}

.as-ul-pulse { position: relative; display: inline-block; padding-bottom: .06em; }

.as-ul-pulse::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: .10em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  animation: asUnderlinePulse 3s ease-in-out infinite;
}

@keyframes asUnderlinePulse {
  0%   { transform: scaleX(0); }
  18%  { transform: scaleX(1); }
  60%  { transform: scaleX(1); }
  78%  { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .as-ul-pulse::after { animation: none; transform: scaleX(1); }
}


/* ─────────────────────────────────────────────────────────────
   CONTACT ORB
───────────────────────────────────────────────────────────── */

.as-contact-orb {
  position: fixed !important;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  width: clamp(86px, 10vw, 155px);
  height: clamp(86px, 10vw, 155px);
  z-index: 99999;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 640px) {
  .as-contact-orb { width: clamp(74px, 18vw, 92px); height: clamp(74px, 18vw, 92px); }
}

.as-contact-orb__svg {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: 1;
  animation: asOrbSpin 10s linear infinite;
}

.as-contact-orb__text { font-size: 8px; letter-spacing: 1.6px; text-transform: uppercase; fill: currentColor; }

.as-contact-orb__dot {
  position: absolute; z-index: 2;
  width: 12%; height: 12%;
  border-radius: 999px;
  background: #111111;
  opacity: .85;
  transition: opacity .18s ease;
}

.as-contact-orb__label {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  color: #111111;
  font-weight: 600;
  font-size: clamp(10px, 1.15vw, 14px);
  letter-spacing: .02em;
  text-transform: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .as-contact-orb:hover .as-contact-orb__dot   { opacity: 0; }
  .as-contact-orb:hover .as-contact-orb__label { opacity: 1 !important; transform: translateY(0); }
}

.as-contact-orb:focus-visible .as-contact-orb__dot   { opacity: 0; }
.as-contact-orb:focus-visible .as-contact-orb__label { opacity: 1 !important; transform: translateY(0); }
.as-contact-orb:hover { transform: translateY(-2px); transition: transform .2s ease; }

@keyframes asOrbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .as-contact-orb__svg { animation: none; } }


/* ─────────────────────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────────────────────── */

.as-marquee { background: #fff !important; width: 100%; overflow: hidden; padding: 26px 0; }

.as-marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: as-marquee 20s linear infinite;
}

.as-marquee__content { flex: none; white-space: nowrap; color: #000; line-height: 1; margin: 0; }
.as-marquee .uk-heading-large { font-size: clamp(48px, 7vw, 170px); }

@keyframes as-marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce) { .as-marquee__track { animation: none; } }


/* ─────────────────────────────────────────────────────────────
   HERO OVERLAY
───────────────────────────────────────────────────────────── */

.as-hero { position: relative !important; isolation: isolate; }

.as-hero .as-hero-overlay {
  position: absolute !important;
  inset: 0; z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.as-hero .as-hero-title {
  margin: 0 !important;
  text-align: center !important;
  text-transform: lowercase;
  font-weight: 500 !important;
  font-family: "forma-djr-display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  font-size: clamp(1.1rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  mix-blend-mode: difference;
  color: #ffffff;
  white-space: nowrap;
}

.as-hero .as-hero-title strong { font-weight: 700 !important; }
.as-hero .as-hero-title span   { font-weight: 500 !important; }

.as-hero .as-hero-fade {
  opacity: 0 !important;
  animation: asHeroFade 7s ease-in-out infinite !important;
  animation-fill-mode: both !important;
  will-change: opacity;
}

@keyframes asHeroFade {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .as-hero .as-hero-fade { animation: none !important; opacity: 1 !important; }
}


/* ─────────────────────────────────────────────────────────────
   CF7 FORMULAIRES
───────────────────────────────────────────────────────────── */

.as-cf7.uk-form input[type="text"],
.as-cf7.uk-form input[type="email"],
.as-cf7.uk-form input[type="tel"],
.as-cf7.uk-form textarea { width: 100% !important; max-width: 100% !important; display: block !important; }

.as-cf7.uk-form textarea { min-height: 90px !important; height: 90px !important; resize: vertical; }

.as-cf7.uk-form input[type="submit"] {
  width: 100% !important;
  border: 1px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.as-cf7.uk-form input[type="submit"]:hover { background: #fff !important; color: #000 !important; }

.as-cf7.uk-form input[type="text"],
.as-cf7.uk-form input[type="email"],
.as-cf7.uk-form input[type="tel"],
.as-cf7.uk-form textarea { margin-bottom: 6px !important; }

.as-cf7 textarea     { min-height: 90px !important; height: 90px !important; resize: vertical; }

.as-cf7 input[type="submit"] {
  width: auto !important;
  display: inline-block !important;
  padding: 14px 24px !important;
  font-size: 17px !important;
  border: 1px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.as-cf7 input[type="submit"]:hover { background: #fff !important; color: #000 !important; }
.as-cf7 .form-note { font-size: 12px !important; font-style: italic !important; opacity: .75 !important; }

.as-cf7 input[type="text"],
.as-cf7 input[type="email"],
.as-cf7 input[type="tel"] { padding-top: 14px !important; padding-bottom: 14px !important; }

.as-cf7 input[type="submit"] {
  width: auto !important;
  min-width: 180px !important;
  max-width: 240px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.as-cf7 input[type="text"],
.as-cf7 input[type="email"],
.as-cf7 input[type="tel"],
.as-cf7 textarea { border-radius: 8px !important; font-size: 17px !important; padding-left: 16px !important; }

.as-cf7 .wpcf7-not-valid-tip { font-size: 11px !important; font-style: italic !important; line-height: 1.2 !important; }

.as-cf7 .cf-turnstile,
.as-cf7 .cf-turnstile > div {
  position: fixed !important;
  right: 16px !important; bottom: 16px !important;
  left: auto !important; top: auto !important;
  z-index: 999999 !important;
  width: auto !important; margin: 0 !important;
  transform: scale(0.80) !important;
  transform-origin: bottom right !important;
}

.as-cf7 .cf-turnstile iframe { position: static !important; display: block !important; }
.as-cf7 .cf-turnstile { height: 0 !important; overflow: visible !important; }
.as-cf7 .turnstile-legal { font-size: 11px; font-style: italic; opacity: 0.6; margin-top: 6px; }

@media (max-width: 768px) {
  .as-cf7 { max-width: 100% !important; width: 100% !important; overflow-x: hidden !important; }
  .as-cf7 * { min-width: 0 !important; box-sizing: border-box !important; }
  .as-cf7 input[type="text"],
  .as-cf7 input[type="email"],
  .as-cf7 input[type="tel"],
  .as-cf7 textarea,
  .as-cf7 select { width: 100% !important; max-width: 100% !important; display: block !important; }
  .as-cf7 .wpcf7-checkbox { grid-template-columns: 1fr !important; justify-items: flex-start !important; }
  .as-cf7 input[type="submit"] { display: inline-block !important; max-width: 100% !important; }
  .as-cf7 textarea {
    box-sizing: border-box !important;
    width: 100% !important; max-width: 100% !important;
    min-width: 0 !important; display: block !important;
  }
}

.wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0; padding: 12px 14px;
  border-radius: 10px; font-size: 14px; line-height: 1.35;
  border: 1px solid rgba(0,0,0,.10); background: rgba(0,0,0,.03);
}

.wpcf7 form.sent .wpcf7-response-output    { border-color: rgba(46,204,113,.35); background: rgba(46,204,113,.10); }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { border-color: rgba(231,76,60,.35); background: rgba(231,76,60,.08); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: rgba(241,196,15,.45); background: rgba(241,196,15,.10); }

@media (prefers-reduced-motion: no-preference) {
  .wpcf7 form .wpcf7-response-output { animation: cf7Pop .22s ease-out both; }
  @keyframes cf7Pop { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }
}

.wpcf7 form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 form select,
.wpcf7 form textarea { transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }

.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus { box-shadow: 0 0 0 3px rgba(0,0,0,.08); transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .wpcf7 form input,
  .wpcf7 form select,
  .wpcf7 form textarea { transition: none; }
  .wpcf7 form input:focus,
  .wpcf7 form select:focus,
  .wpcf7 form textarea:focus { transform: none; }
}
