/*
Theme Name: Artecka — Divi Child
Theme URI: https://www.artecka.fr/
Description: Thème enfant Divi 5 sur mesure pour Artecka Informatique & Telecom.
Author: Artecka
Author URI: https://www.artecka.fr/
Template: Divi
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: artecka
*/

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --font-geist-sans: "Geist", Arial, Helvetica, sans-serif;
  --font-geist-mono: "Geist Mono", Consolas, monospace;
}

body.artecka-site {
  min-width: 320px;
  overflow-x: hidden;
}

body.artecka-site #main-content.site-shell {
  background-color: var(--artecka-navy, #06111f);
}

.artecka-skip-link {
  position: fixed;
  z-index: 999999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #06111f;
  background: #fff;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.artecka-skip-link:focus {
  transform: translateY(0);
}

.site-header.is-scrolled {
  border-color: rgba(67, 161, 230, 0.25);
  background: rgba(5, 16, 29, 0.93);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

body.admin-bar .site-header {
  top: 46px;
}

.artecka-scroll-progress {
  position: fixed;
  z-index: 99998;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #1574c2, #45b7ff);
  box-shadow: 0 0 18px rgba(49, 162, 244, 0.65);
}

.artecka-motion .artecka-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.artecka-motion .artecka-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual,
.detail-hero-visual {
  translate: var(--artecka-shift-x, 0) var(--artecka-shift-y, 0);
  transition: translate 280ms ease-out;
}

.artecka-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.artecka-form-notice {
  grid-column: 1 / -1;
  margin: 0 0 20px !important;
  padding: 14px 16px;
  border: 1px solid rgba(117, 216, 166, 0.32);
  border-radius: 14px;
  color: #d9ffea !important;
  background: rgba(48, 147, 99, 0.18);
  font-size: 0.86rem !important;
  line-height: 1.55;
}

.artecka-form-notice.is-error {
  border-color: rgba(255, 150, 150, 0.32);
  color: #ffe2e2 !important;
  background: rgba(165, 52, 52, 0.2);
}

.callback-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.site-shell :focus-visible {
  outline: 3px solid #72c4ff;
  outline-offset: 4px;
}

.artecka-not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 150px 24px 80px;
  text-align: center;
  color: #f6fbff;
  background:
    radial-gradient(circle at 50% 25%, rgba(21, 116, 194, 0.3), transparent 32%),
    #06111f;
}

.artecka-not-found > div {
  max-width: 760px;
}

.artecka-not-found .eyebrow {
  justify-content: center;
}

.artecka-not-found h1 {
  margin: 22px 0;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.artecka-not-found p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 30px;
  color: rgba(224, 239, 249, 0.72);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artecka-scroll-progress {
    display: none;
  }

  .hero-visual,
  .detail-hero-visual {
    translate: none;
  }
}
