/**
 * Main CSS - Variables, Reset, Global Styles
 * @package Karden_Avenir
 */

/*  FONT TITRES  */
@font-face {
  font-family: "Good Times";
  src: url("../fonts/GoodTimes.otf") format("opentype");
  font-display: swap;
}

/*  RESET  */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*  VARIABLES  */
:root {
  --blue-dark: #00000d;
  --blue: #274383;
  --blue-light: #3a5a9a;
  --cyan: #29c7da;
  --cyan-dark: #1fb3c5;
  --cyan-light: rgba(41, 199, 218, 0.12);
  --cyan-glow: rgba(41, 199, 218, 0.4);
  --text: #465661;
  --text-light: #6b7c87;
  --gray: #e6edf0;
  --gray-dark: #d0dce2;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  --gradient-dark: linear-gradient(180deg, #061226 0%, #00000d 100%);
  --header-height: 90px;
  --header-height-tablet: 76px;
  --header-height-mobile: 64px;
  --section-padding: 80px;
  --section-padding-tablet: 60px;
  --section-padding-mobile: 45px;
  --container-padding: 48px;
  --container-padding-tablet: 32px;
  --container-padding-mobile: 20px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.18);
  --shadow-cyan: 0 12px 32px rgba(41, 199, 218, 0.25);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/*  GLOBAL  */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--cyan);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h2 {
  font-family: "Good Times", sans-serif;
  font-size: clamp(22px, 4.5vw, 40px);
  color: var(--blue);
  margin-bottom: clamp(14px, 2.5vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section.dark h2 {
  color: var(--cyan);
}

p {
  font-size: clamp(13px, 2.2vw, 15px);
  margin-bottom: 12px;
  color: var(--text);
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
  font-size: clamp(12px, 2vw, 14px);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-glow);
}

/*  SECTION LABEL  */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--cyan-light);
  border: 1px solid rgba(41, 199, 218, 0.18);
  border-radius: 50px;
  font-size: clamp(9px, 1.5vw, 11px);
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: clamp(10px, 2vw, 16px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.section-label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.section-label i {
  font-size: clamp(9px, 1.4vw, 11px);
}

.section.dark .section-label {
  background: rgba(41, 199, 218, 0.08);
  border-color: rgba(41, 199, 218, 0.22);
}

.section.gray .section-label {
  background: var(--white);
  border-color: rgba(41, 199, 218, 0.12);
}

/*  SKIP LINK  */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
}

/*  CURSOR GLOW  */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(41, 199, 218, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { display: block; }
}