/* ============================================================
   SYPH CONSULTING & TRAINING — STYLE.CSS
   Masterpiece de sobriété. Chaque pixel pensé.
   ============================================================ */

/* --- RESET ------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- CSS VARIABLES ----------------------------------------- */
:root {
  --color-primary:        #102030;
  --color-accent:         #3060B0;
  --color-background:     #FFFFFF;
  --color-text:           #102030;
  --color-text-secondary: #4A5568;
  --color-border:         #E2E8F0;
  --color-bg-alt:         #F7FAFC;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  128px;
  --space-2xl: 192px;

  --max-width:      1200px;
  --max-width-text: 720px;
  --padding-x:      24px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --transition: 0.2s ease;
}

@media (min-width: 1024px) {
  :root {
    --padding-x: 48px;
  }
}

/* --- TYPOGRAPHY -------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h4 {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.3;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-secondary {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.text-accent {
  color: var(--color-accent);
}

/* --- LAYOUT ------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
}

.container--narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
}

.section {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--color-text-secondary);
  max-width: var(--max-width-text);
  line-height: 1.6;
}

/* --- HEADER ------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo img {
  height: 58px;
  width: auto;
}

.header__tagline {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
  display: none;
}

.header__tagline-w1 { color: #102030; }
.header__tagline-w2 { color: #2a4a78; }
.header__tagline-w3 { color: #5a8ac0; }

@media (min-width: 1024px) {
  .header__logo img {
    height: 67px;
  }

  .header__tagline {
    display: block;
  }
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
}

.header__nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.header__nav a:not(.header__cta)::before {
  content: '\2192';
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  width: 0;
  opacity: 0;
  transform: translateX(-100%);
  transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.header__nav a:not(.header__cta):hover::before {
  width: 20px;
  opacity: 1;
  transform: translateX(0);
}

.header__nav a:not(.header__cta):hover {
  color: var(--color-accent);
  text-decoration: none;
}

.header__nav a.active {
  color: var(--color-accent);
}

.header__cta {
  display: none;
}

.header__nav a.header__cta {
  color: #FFFFFF;
}

.header__nav a.header__cta:hover {
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
  }
}

/* --- BURGER MENU ------------------------------------------- */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 110;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- MOBILE OVERLAY ---------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 105;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* --- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 16px 32px;
  box-shadow: 0 1px 2px rgba(16, 32, 48, 0.05);
}

.btn--primary:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  padding: 16px 32px;
  border: 1px solid var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn--small {
  padding: 14px 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* --- LOADER ------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
  pointer-events: none;
}

.loader__word {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.025em;
  line-height: 1.1;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.loader__char.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loader__char.is-exiting {
  opacity: 0;
  transform: translateY(-24px);
  filter: blur(6px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0, 1), filter 0.35s ease;
}

.loader__line {
  width: clamp(120px, 20vw, 200px);
  height: 2px;
  background-color: var(--color-border);
  border-radius: 1px;
  overflow: hidden;
}

.loader__line-fill {
  height: 100%;
  width: 0;
  background-color: var(--color-primary);
  border-radius: 1px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-loading {
  overflow: hidden;
}

/* --- ROTATE WORDS ------------------------------------------ */
.rotate-words {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.15em;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-words__item {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  white-space: nowrap;
}

.rotate-words__item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rotate-words__item.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.7, 0.2), opacity 0.35s ease;
}

.rotate-words__item--accent {
  color: var(--color-accent);
}

.rotate-words__item--underline.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* --- TYPEWRITER -------------------------------------------- */
.tw-word {
  display: inline-block;
}

.tw-char {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tw-char.is-revealed {
  opacity: 1;
}

.tw-highlight {
  color: var(--color-accent);
}

.tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background-color: var(--color-accent);
  border-radius: 1px;
  margin-left: 4px;
  vertical-align: baseline;
  animation: tw-blink 0.8s ease-in-out infinite alternate;
}

@keyframes tw-blink {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* --- HERO -------------------------------------------------- */
.hero {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-xl);
  min-height: 0;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(72px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}

.hero__content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: var(--space-md);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hero abstract element — typographic composition */
.hero__abstract {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__abstract-text {
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.04;
  line-height: 0.85;
  letter-spacing: -0.05em;
  user-select: none;
}

.hero__abstract-line {
  position: absolute;
  background-color: var(--color-accent);
  opacity: 0.12;
}

.hero__abstract-line--h {
  width: 60%;
  height: 1px;
  top: 50%;
  left: 20%;
}

.hero__abstract-line--v {
  width: 1px;
  height: 60%;
  left: 50%;
  top: 20%;
}

/* --- HERO INNER (for non-split hero pages) ----------------- */
.hero--center {
  text-align: center;
}

.hero--center .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero--center .hero__actions {
  justify-content: center;
}

/* --- HERO COMPACT (for inner pages) ------------------------ */
.hero--compact {
  padding-top: calc(72px + var(--space-lg));
  padding-bottom: var(--space-lg);
  min-height: 0;
}

@media (min-width: 1024px) {
  .hero--compact {
    padding-top: calc(72px + var(--space-xl));
    padding-bottom: var(--space-xl);
    min-height: 0;
    display: block;
  }
}

.hero--compact h1 {
  font-size: clamp(36px, 5vw, 56px);
}

/* --- CONVICTION / MANIFESTE -------------------------------- */
.conviction {
  text-align: center;
}

.conviction p {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- BIG NUMBERS ------------------------------------------- */
.big-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .big-numbers {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.big-numbers--single {
  display: flex;
  justify-content: center;
}

.big-number {
  text-align: center;
  padding: var(--space-md) 0;
}

.big-number__value {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.big-number__label {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* --- OFFER CARDS ------------------------------------------- */
.offers-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.offer-card__number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.offer-card__title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.offer-card__text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.offer-card__link {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.offer-card__link:hover {
  gap: 10px;
  text-decoration: none;
}

.offer-card__link::after {
  content: '\2192';
}

/* --- BRAND SIGNATURE --------------------------------------- */
.brands-signature {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.brands-signature p {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}

.brands-list span {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* --- LOGO CAROUSEL ----------------------------------------- */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-carousel {
  padding: var(--space-lg) 0;
}

.logo-carousel__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

.logo-carousel__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, white 80px, white calc(100% - 80px), transparent);
  mask-image: linear-gradient(to right, transparent, white 80px, white calc(100% - 80px), transparent);
}

.logo-carousel__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logo-scroll 25s linear infinite;
}

.logo-carousel__mask:hover .logo-carousel__track {
  animation-play-state: paused;
}

.logo-carousel__track img {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.logo-carousel__track img:hover {
  opacity: 1;
}

.logo-carousel__caption {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  letter-spacing: 0.05em;
  margin-top: 32px;
}

/* --- CTA SECTION ------------------------------------------- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
  min-height: 2.6em;
}

/* --- FULL-WIDTH OFFER BLOCKS (offres.html hub) ------------- */
.offer-block {
  display: grid;
  gap: var(--space-md);
  align-items: start;
}

@media (min-width: 1024px) {
  .offer-block {
    grid-template-columns: 200px 1fr auto;
    align-items: center;
  }
}

.offer-block__number {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.12;
  line-height: 1;
}

.offer-block__content h3 {
  margin-bottom: var(--space-sm);
}

.offer-block__content p {
  max-width: 600px;
}

/* --- APPROACH BLOCKS --------------------------------------- */
.approach-block {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.approach-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.approach-block h3 {
  margin-bottom: var(--space-md);
}

.approach-block p {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

/* --- PULL QUOTE -------------------------------------------- */
.pull-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--color-text);
  font-style: italic;
  line-height: 1.7;
}

/* --- CABINET PRINCIPLES ------------------------------------ */
.principles {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.principle h4 {
  margin-bottom: var(--space-sm);
}

/* --- METHOD STEPS ------------------------------------------ */
.method-steps {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .method-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.method-step {
  position: relative;
  padding: var(--space-md);
}

.method-step__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.method-step h4 {
  margin-bottom: var(--space-xs);
}

.method-step p {
  font-size: 15px;
}

/* --- INNER PAGE: INFO SECTIONS ----------------------------- */
.info-section {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.info-section h3 {
  margin-bottom: var(--space-md);
}

.info-section h4 {
  margin-bottom: var(--space-sm);
}

.info-section ul {
  list-style: none;
  padding: 0;
}

.info-section ul li {
  position: relative;
  padding-left: 0;
  margin-bottom: var(--space-sm);
}

/* --- TAG / BADGE ------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

/* --- FORMATS GRID ------------------------------------------ */
.formats-grid {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.format-item {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.format-item h4 {
  margin-bottom: var(--space-xs);
}

.format-item p {
  font-size: 15px;
}

/* --- CONTACT FORM ------------------------------------------ */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 639px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 16px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0AEC0;
}

.form-note {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: var(--max-width-text);
}

/* Contact aside */
.contact-aside h3 {
  margin-bottom: var(--space-md);
}

.contact-info-item {
  margin-bottom: var(--space-md);
}

.contact-info-item__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.contact-info-item p {
  font-size: 16px;
}

.contact-final-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
}

/* --- FOOTER ------------------------------------------------ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__qualiopi {
  height: 60px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
}

.footer__logo img {
  height: 67px;
  width: auto;
  margin-bottom: var(--space-xs);
  margin-left: -3px;
}

.footer__tagline {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-left: 5px;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer__nav a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer__nav a::before {
  content: '\2192';
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  width: 0;
  opacity: 0;
  transform: translateX(-100%);
  transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.footer__nav a:hover::before {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

.footer__nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer__contact {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer__contact a {
  color: var(--color-text-secondary);
}

.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__legal a {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--color-accent);
}

/* --- KNAL SIGNATURE --------------------------------------- */
.footer__knal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 200ms ease, transform 200ms ease;
}

.footer__knal:hover {
  background-color: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer__knal-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #71757F;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.footer__knal-name {
  font-family: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #0F0F11;
}

.footer__knal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #FF2E2E;
  border-radius: 50%;
  vertical-align: 1px;
  margin-left: 2px;
}

/* --- BIG TAGLINE (cabinet.html) ---------------------------- */
.big-tagline {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  text-align: center;
}

.big-tagline__text {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* --- REVEAL ANIMATIONS ------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* --- UTILITIES --------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.text-center { text-align: center; }

/* --- SPECIFIC: Offres hub full-width blocks ---------------- */
.offer-full {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.offer-full:last-child {
  border-bottom: none;
}

.offer-full__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.offer-full__number {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.12;
  line-height: 1;
  flex-shrink: 0;
}

.offer-full__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-text);
}

.offer-full__body {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-md);
}

.offer-full__body p {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

/* --- SPECIFIC: Qualiopi banner ----------------------------- */
.qualiopi-img {
  margin-top: var(--space-lg);
  height: 273px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

.qualiopi-banner {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.qualiopi-banner h4 {
  margin-bottom: var(--space-sm);
}

/* --- SPECIFIC: What we don't do ---------------------------- */
.not-block {
  border-left: 3px solid var(--color-border);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
}

.not-block h4 {
  margin-bottom: var(--space-sm);
}

/* --- SPECIFIC: Confidentiality block ----------------------- */
.confidentiality-block {
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.confidentiality-block h4 {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* --- RESPONSIVE ADJUSTMENTS -------------------------------- */
@media (max-width: 639px) {
  .hero h1 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .big-number__value {
    font-size: clamp(48px, 12vw, 72px);
  }

  .section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .offer-card {
    padding: var(--space-md);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .offer-card__number {
    flex-shrink: 0;
  }
}
