@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
  --gold: #c99a2e;
  --gold-light: #cda341;
  --gold-dark: #9b6a18;
  --black: #ffffff;
  --black2: #f8f6f0;
  --black3: #f2eee5;
  --white: #16120d;
  --gray: #5f584d;
  --muted: rgba(22, 18, 13, 0.78);
  --serif: 'Playfair Display', serif;
  --sans: 'Montserrat', sans-serif;
  --radius: 30px;
  --side-space: clamp(1.2rem, 4vw, 2rem);
  --container-width: min(90%, 1700px);
  --section-bg: #ffffff;
  --section-border: rgba(201, 154, 46, 0.18);
  --card-bg: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 240, 0.92)),
    #ffffff;
  --card-bg-hover: 
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 239, 226, 0.96)),
    #ffffff;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

::selection {
  background: var(--gold);
  color: #11100d;
}

::-moz-selection {
  background: var(--gold);
  color: #11100d;
}
/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  color: var(--black);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* NAV BUTTON */
.nav-right {
  display: flex;
  align-items: center;
  gap: .8rem;
  height: 100%;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(201,154,46,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  top: 0;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus,
.nav-toggle:focus-visible,
.nav-toggle:active {
  outline: none;
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}
.nav-btn {
  padding: 0.75rem 1.3rem;
  font-size: 0.63rem;

  background: var(--gold);
  border: 1px solid var(--gold);

  box-shadow:
    0 10px 28px rgba(201,154,46,.16);

  transition:
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.nav-btn:hover {
  background: rgba(255,255,255,.06);

  color: var(--gold);

  border-color: var(--gold-light);

  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(201,154,46,.14),
    0 0 18px rgba(201,154,46,.08);
}
/* Bouton Contact hover pour pages non-home (legal, mentions, politique, etc.) */
body:not(.home) .nav-btn:hover {
  background: var(--gold);   /* fond doré */
  color: var(--black);        /* texte noir */
  border-color: var(--gold);  /* bordure assortie */
  box-shadow:
    0 10px 28px rgba(201,154,46,.16),
    0 0 12px rgba(201,154,46,.2); /* légère lueur dorée */
  transform: translateY(-2px);
}
.nav-btn,
.nav-btn:hover {
  color: #fffaf2;
}

/* Garder le bouton Contact blanc même si le header est scrollé */
nav.scrolled .nav-btn {
    color: #fffaf2 !important;
}
/* Bouton Contact hover quand nav scrollé */
nav.scrolled .nav-btn:hover {
  background: var(--gold);   /* fond doré */
  color: var(--black);        /* texte noir pour contraste */
  border-color: var(--gold);  /* bordure assortie */
  box-shadow:
    0 10px 28px rgba(201,154,46,.16),
    0 0 12px rgba(201,154,46,.2); /* légère lueur dorée */
  transform: translateY(-2px);
}

.btn-gold {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;
}

.btn-gold {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;

  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    background .35s ease,
    box-shadow .45s cubic-bezier(.22,1,.36,1),
    filter .35s ease;

  box-shadow:
    0 10px 24px rgba(201,154,46,.18);

  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: "";

  position: absolute;
  top: -120%;
  left: -35%;

  width: 26%;
  height: 320%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );

  transform: rotate(25deg);
  transition: transform .9s cubic-bezier(.22,1,.36,1);

  pointer-events: none;
}

.btn-gold:hover {

  background: var(--gold-light);

  transform:
    translateY(-3px)
    scale(1.015);

  box-shadow:
    0 16px 38px rgba(201,154,46,.24),
    0 0 22px rgba(201,154,46,.14);

  filter: brightness(1.03);
}

.btn-gold:hover::after {
  transform: translateX(420%) rotate(25deg);
}

.btn-gold:active {
  transform: translateY(-1px) scale(.995);
}
/* ================================
   NAVIGATION
   ================================ */
nav {
  height: 80px;
  padding: 0 2.5rem;

  background: transparent;
  border: 1px solid transparent;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);

  width: var(--container-width);

  z-index: 1000;

  border-radius: 30px;
  box-sizing: border-box;

  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(201, 154, 46, 0.22);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);

  backdrop-filter: blur(12px);
}

.nav-brand img {
  width: 80px;
  margin-left: -15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;

  list-style: none;
}

.nav-links a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.68rem;
  font-weight: 500;

  letter-spacing: 0.16em;
  line-height: 1;

  text-transform: uppercase;

  color: rgba(255, 248, 235, 0.92);

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);

  padding-right: -0.16em;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

nav.scrolled .nav-links a {
  color: #16120d;
  text-shadow: none;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1.5px;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--gold),
    var(--gold-dark)
  );

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-btn {
  padding: 0.75rem 1.3rem;
  font-size: 0.63rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero::after {
  display: none;
}

.hero-moroccan-divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 130px;
  z-index: 60;
  pointer-events: none;
}

.hero-moroccan-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-moroccan-divider path {
  fill: #ffffff;
}
.hero-left {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 100vh;
  padding: 8.5rem 3.5rem 8.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-desc {
  margin-left: auto;
  margin-right: auto;
}
.hero-actions .btn {
  padding: 1.1rem 2.1rem;

  font-size: .72rem;
}
.hero-actions {
  justify-content: center;
}

.hero-cta {
  align-self: center;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(5px);
  animation: heroFadeIn .9s ease forwards;
  animation-delay: .25s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-photo-sim {
  width: 100%;
  height: 100%;

  position: relative;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: .82;

  filter:
    brightness(.62)
    contrast(1.12)
    saturate(1.02);

  transform: scale(1.02);

  animation: heroImageFade 1.2s ease forwards;
}

.hero-photo-sim::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.34) 0%,
      rgba(0,0,0,.18) 28%,
      rgba(0,0,0,.30) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0,0,0,.24) 0%,
      rgba(0,0,0,.08) 42%,
      rgba(0,0,0,.22) 100%
    );

  pointer-events: none;
}
@keyframes heroImageFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  background: rgba(0,0,0,0.5);
  padding: 10px 17px;
  border-radius: 30px;
}

.highlight {
  color: var(--gold);
}
.title-italic {
  font-style: italic;
  font-weight: 400;
}
.hero-title {
  font-family: var(--serif);

  font-size: clamp(4.2rem, 7vw, 7.8rem);

  font-weight: 900;

  line-height: .98;

  letter-spacing: -.03em;

  margin-bottom: 2rem;
}
.hero-title {
  color: #fffaf2;

  text-shadow:
    0 4px 30px rgba(0,0,0,.45);
}

.services-title,
.how-title,
.faq-title,
.contact-form-title,
.legal-title,
.commission-title {
  color: #000;
}
.hero-title .line1,
.hero-title .line2 {
  display: block;
  white-space: nowrap;
}

.hero-title .line2 {
  padding-bottom: .08em;
}

.hero-desc {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 2;
  max-width: 760px;
  color: rgba(255,248,235,.9);
  text-shadow:
    0 2px 18px rgba(0,0,0,.35);
  margin-bottom: 3rem;
}
.commission-kicker,
.commission-ttc,
.how-step p,
.faq-answer,
.contact-desc,
.legal-intro,
.legal-card p,
.legal-card li {
  color: rgba(22,18,13,.78);
}

.hero-cta {
  align-self: flex-start;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  z-index: -1;
}

.hero-cta:hover::before {
  transform: scaleX(1);
}


.hero-cta-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.hero-cta:hover .hero-cta-icon {
  color: var(--black);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* HERO BUTTONS PREMIUM HOVER */

.hero-cta,
.hero-audit-btn {
  position: relative;
  overflow: hidden;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    box-shadow .45s cubic-bezier(.22,1,.36,1),
    border-color .35s ease,
    background .35s ease;
  border: 1px solid var(--gold);
}

/* lumière qui traverse */
.hero-cta::after,
.hero-audit-btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 28%;
  height: 320%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  transform: rotate(25deg);
  transition: transform .9s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

/* hover */
.hero-cta:hover,
.hero-audit-btn:hover {
  transform: none;

  box-shadow:
    0 14px 35px rgba(201,154,46,.18),
    0 0 22px rgba(201,154,46,.12);
}

/* animation lumière */
.hero-cta:hover::after,
.hero-audit-btn:hover::after {
  transform: translateX(430%) rotate(25deg);
}

/* icône dynamique */
.hero-cta-icon {
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    color .3s ease;
}

.hero-cta:hover .hero-cta-icon {
  transform: translateX(5px);
}

.hero-audit-btn:hover {
  background: var(--gold-light);
  transform: none;
  box-shadow:
    0 16px 38px rgba(201,154,46,.24),
    0 0 22px rgba(201,154,46,.14);

  filter: brightness(1.03);
  border-color: var(--gold-light);
  color: var(--black);
}
.hero-audit-btn {
  width: auto;
}
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  z-index: 120;
  opacity: .92;
  transition:
    transform .35s ease,
    opacity .35s ease;
}

.hero-scroll-indicator:hover {
  transform: translateX(-50%) translateY(4px);
  opacity: 1;
}

.scroll-mouse {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  background: rgba(255,255,255,.04);

  box-shadow:
    0 8px 25px rgba(0,0,0,.22),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

.scroll-dot {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: var(--radius);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* SECTIONS BASE */

.services,
.commission,
.how,
.faq,
.contact {
  position: relative;
}


.commission::before,
.how::before,
.faq::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 88%;
  max-width: 1700px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(201,154,46,.45),
    transparent
  );
}
.services{
  scroll-margin-top: 65px;
}
.how{
  scroll-margin-top: 90px;
}
.faq{
  scroll-margin-top: 8px;
}
.services-label,
.sec-label,
.contact-eyebrow {
  display: block;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ================================
   ABOUT
   ================================ */

.about{
  position:relative;
  padding:1rem var(--side-space) 6rem;
  background:#ffffff;
  overflow:hidden;
}

.about::after{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:88%;
  max-width:1700px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,154,46,.45),transparent);
}

.hero-moroccan-divider path{
  fill:#ffffff;
}

.about::before{
  display:none;
}

.about-wrapper{
  max-width:820px;
  margin:0 auto;
  text-align:center;
}

.about-avatar{
  position:relative;
  width:170px;
  height:170px;
  margin:0 auto 2.2rem;
  border-radius:50%;
  background:#11100d;
  box-shadow:0 25px 60px rgba(0,0,0,.16),0 0 35px rgba(201,154,46,.08);
}

.about-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

.about-content{
  padding:0;
}

.about-label{
  margin-bottom:1rem;
}

.about-title{
  font-family:var(--serif);
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.05;
  color:#120f0b;
  margin-bottom:1.8rem;
}

.about-text{
  max-width:760px;
  margin:0 auto 1.3rem;
  color:rgba(22,18,13,.74);
  font-size:.96rem;
  line-height:2;
}

.about-quote{
  max-width:520px;
  margin:2.4rem auto .9rem;
  font-family:var(--serif);
  font-size:clamp(1.15rem,2vw,1.5rem);
  line-height:1.6;
  font-style:italic;
  color:#16120d;
  opacity:.92;
}

.about-founder{
  margin:-1.1rem auto 2.1rem;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.about-values{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:2rem;
}

.about-values span{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.68rem .95rem;
  border-radius:999px;
  background:rgba(201,154,46,.05);
  border:1px solid rgba(201,154,46,.10);
  color:rgba(22,18,13,.72);
  font-size:.64rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.about-values i{
  color:var(--gold);
  font-size:.72rem;
}
.nav-brand,
.footer-brand-link {
  display: inline-block;
  line-height: 0;

  -webkit-tap-highlight-color: transparent;

  outline: none !important;
  box-shadow: none !important;
}

.nav-brand:focus,
.nav-brand:focus-visible,
.nav-brand:active,
.footer-brand-link:focus,
.footer-brand-link:focus-visible,
.footer-brand-link:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nav-brand img,
.footer-brand-link img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 750px) {

  .about {
    padding: 4.5rem var(--side-space);
  }

  .about-avatar {
    width: 135px;
    height: 135px;
  }

  .about-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .about-text {
    font-size: .88rem;
    line-height: 1.85;
  }

  .about-values {
    gap: .6rem;
  }

  .about-values span {
    width: 100%;
    justify-content: center;
  }
}
/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {

  .about-inner {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

  .about-content {
    padding: 2.2rem;
  }

  .about-content,
  .about-label {
    text-align: center;
  }

  .about-image {
    margin: 0 auto;
  }
}

@media (max-width: 750px) {

  .about {
    padding: 4.5rem var(--side-space);
  }

  .about-content {
    padding: 2rem 1.4rem;
    border-radius: 28px;
  }

  .about-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .about-content p:not(.sec-label) {
    font-size: .88rem;
    line-height: 1.9;
  }

  .about-image {
    border-radius: 28px;
  }
}
/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {

  .about-inner {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

  .about-content,
  .about-label {
    text-align: center;
  }

  .about-content p:not(.sec-label) {
    margin-left: auto;
    margin-right: auto;
  }

  .about-image {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 750px) {

  .about {
    padding: 4.5rem var(--side-space);
  }

  .about-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .about-content p:not(.sec-label) {
    font-size: .88rem;
    line-height: 1.85;
  }

  .about-image {
    max-width: 100%;
    border-radius: 28px;
  }
}
/* SERVICES */

.services {
  padding: 6rem var(--side-space);
}

.services-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3.2rem;
}

.services-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* SERVICES REVEAL */

.services-grid .svc {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(4px);
  transition:
    opacity .75s ease,
    transform .75s ease,
    filter .75s ease,
    border-color .3s ease,
    background .3s ease;
}

.services-content.visible .svc {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* DELAYS */

.services-content.visible .svc:nth-child(1) {
  transition-delay: .05s;
}

.services-content.visible .svc:nth-child(2) {
  transition-delay: .12s;
}

.services-content.visible .svc:nth-child(3) {
  transition-delay: .19s;
}

.services-content.visible .svc:nth-child(4) {
  transition-delay: .26s;
}

.services-content.visible .svc:nth-child(5) {
  transition-delay: .33s;
}

.services-content.visible .svc:nth-child(6) {
  transition-delay: .40s;
}

/* CARD */

.svc {
  position: relative;
  min-height: 245px;
  perspective: 1000px;
  background: transparent;
  border: none;
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.svc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 245px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
  border-radius: var(--radius);
}

@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc-inner {
    transform: rotateY(180deg);
  }
}

.svc.is-flipped .svc-inner {
  transform: rotateY(180deg);
}

/* FACES */

.svc-face {
  position: absolute;
  inset: 0;
  padding: 2rem 2rem;
  border: .5px solid rgba(212,167,44,.22);
  border-radius: var(--radius);
  background: var(--card-bg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: grid;
  grid-template-rows: 58px 68px auto;
  justify-items: center;
  align-content: center;
  row-gap: 0;
  text-align: center;
}

/* ICON */

.svc-icon {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.2rem;
}

/* TITLE */

.svc h3 {
  min-height: 68px;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
}

/* TEXT */

.svc p {
  max-width: 260px;
  margin: 0 auto;
  font-size: .78rem;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

/* FRONT */

.svc-front {
  transform: rotateY(0deg);
}

/* BACK */

/* BACK */

.svc-back {
  transform: rotateY(180deg);
  border-radius: var(--radius);
  background: var(--card-bg-hover);
  border-color: rgba(212,167,44,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0 round var(--radius));
}

.svc-back p {
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
  max-height: none;
  overflow: visible;
}

/* HOVER */

.svc:hover {
  transform: none;
}

/* RESPONSIVE */

@media (max-width: 950px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {

  .services {
    padding: 5rem 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .svc,
  .svc-inner {
    min-height: 230px;
  }

  .svc-face {
    padding: 2rem 1.5rem;
  }

  .svc p {
    max-width: 100%;
  }
}
/* ================================
   COMMISSION
   ================================ */

.commission {
  padding: 6rem 7%;
  background: radial-gradient(circle at center, rgba(212,167,44,.11), transparent 38%),
              var(--section-bg);
}

.commission-inner {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
}

.commission-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 3rem;
}

.commission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}

.commission-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 3.8rem 3rem;
  border: 1px solid rgba(212,167,44,.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(212,167,44,.035)),
              rgba(15,15,13,.96);
  box-shadow: none;
}

.commission::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,154,46,.45), transparent);
}

.commission-kicker,
.commission-ttc {
  color: rgba(240,235,224,.72);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.counter-box {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: .1rem auto 1rem;
  font-family: var(--serif);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  width: 100%;
}

#commission-counter {
  font-size: clamp(6rem, 14vw, 10rem);
  text-align: center;
}

.percent {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.commission-divider {
  width: 120px;
  height: 1px;
  margin: 2.4rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.commission-promise {
  display: inline-block;
  padding: 1rem 1.6rem;
  border: 1px solid rgba(201,154,46,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: #f7f2e8;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.commission-note {
  max-width: 470px;
  margin: 0 auto;
  color: rgba(255,248,235,.72);
  line-height: 1.8;
  font-size: .9rem;
}

.commission-details {
  padding: 3rem 2.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,242,232,.95));
  box-shadow: 0 10px 35px rgba(0,0,0,.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commission-details h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: #120f0b;
  margin-bottom: 1.8rem;
}

.commission-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commission-details li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  color: #1a1611;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.8;
}
.commission-details li.reveal {
  opacity: 0;
  transform: translateX(28px);
  filter: blur(4px);
}

.commission-details li.reveal.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.commission-details li.reveal:nth-child(1) { transition-delay: .05s; }
.commission-details li.reveal:nth-child(2) { transition-delay: .12s; }
.commission-details li.reveal:nth-child(3) { transition-delay: .19s; }
.commission-details li.reveal:nth-child(4) { transition-delay: .26s; }
.commission-details li.reveal:nth-child(5) { transition-delay: .33s; }
.commission-details li.reveal:nth-child(6) { transition-delay: .40s; }
.commission-details li.reveal:nth-child(7) { transition-delay: .47s; }
.commission-details li.reveal:nth-child(8) { transition-delay: .54s; }
.commission-details li.reveal:nth-child(9) { transition-delay: .61s; }
.commission-details li i {
  color: var(--gold);
  font-size: .8rem;
  margin-top: .35rem;
  flex-shrink: 0;
}
 
/* ================================
   HOW
   ================================ */

.how.how-apple {
  padding: 6rem var(--side-space);
  background: #ffffff;
  height: auto;
  overflow: hidden;
}
/* Empêche la section HOW entière de faire reveal */
.how.how-apple.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.how-apple-sticky {
  position: relative;
  top: auto;
  height: auto;
  overflow: visible;
  padding: 0;
  display: block;
  background: transparent;
}

.how-apple .how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-apple .how-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.how-apple-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  height: auto;
  transform: none !important;
}
.how-apple-card {
  transition:
    transform .04s linear,
    background .12s ease,
    border-color .12s ease,
    box-shadow .12s ease,
    opacity .45s ease,
    filter .3s ease;
}

.how-apple-card:hover {
  transform: translateY(-10px) !important;
}
/* HOW CARDS REVEAL LEFT -> RIGHT */

.how-apple-card {
  min-height: 280px;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201,154,46,.22);

  background:
    radial-gradient(
      circle at center top,
      rgba(201,154,46,.12),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f8f6f0
    );

  text-align: center;
  margin: 0;

  opacity: 0;
  transform: translateX(-28px);
  filter: blur(2px);

  will-change: transform, opacity;

  transition:
    opacity .8s cubic-bezier(.22,1,.36,1),
    transform .8s cubic-bezier(.22,1,.36,1),
    filter .8s ease,
    background .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}
.how-apple-card:hover {
  transition-duration: .3s;
}
/* visible */

.how-apple.visible .how-apple-card {
  opacity: 1;

  transform: translateX(0);

  filter: blur(0);
}

.how-apple.visible .how-apple-card:nth-child(1) {
  transition-delay: .12s;
}

.how-apple.visible .how-apple-card:nth-child(2) {
  transition-delay: .32s;
}

.how-apple.visible .how-apple-card:nth-child(3) {
  transition-delay: .52s;
}

.how-apple .how-apple-card:hover,
.how-apple.visible .how-apple-card:hover,
.how-apple-card.reveal.visible:hover {
  transform: translateY(-10px) !important;
  transition-delay: 0s !important;

  box-shadow:
    0 18px 40px rgba(0,0,0,.08),
    0 0 22px rgba(201,154,46,.10);
}
/* hover */

.how-apple-card:hover {
  transform: translateY(-8px);

  border-color: rgba(201,154,46,.38);

  background:
    radial-gradient(
      circle at center top,
      rgba(201,154,46,.18),
      transparent 48%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f5efe2
    );

  box-shadow:
    0 18px 40px rgba(0,0,0,.08),
    0 0 22px rgba(201,154,46,.10);
}

.how-big-num {
  display: block;

  font-family: var(--serif);
  font-size: clamp(4rem, 6vw, 5.8rem);
  font-weight: 900;

  line-height: 1.15;
  padding-bottom: .12em;

  margin-bottom: .5rem;

  background:
    linear-gradient(
      180deg,
      var(--gold-light),
      var(--gold),
      var(--gold-dark)
    );

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-big-icon {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.how-apple-card h3 {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.how-apple-card p {
  color: rgba(22,18,13,.76);
  font-size: .9rem;
  line-height: 1.6;
}

/* MOBILE */

@media (max-width: 950px) {

  .how.how-apple {
    padding: 5rem 1.4rem;
  }

  .how-apple .how-header {
    margin-bottom: 2rem;
  }

  .how-apple-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .how-apple-card {
    min-height: auto;
    padding: 2rem 1.4rem;
  }

  /* Délais mobile */

  .how-apple.visible .how-apple-card:nth-child(1) {
    transition-delay: .08s;
  }

  .how-apple.visible .how-apple-card:nth-child(2) {
    transition-delay: .22s;
  }

  .how-apple.visible .how-apple-card:nth-child(3) {
    transition-delay: .36s;
  }
}

/* ================================
   FAQ
   ================================ */

.faq {
  padding: 5.5rem var(--side-space);
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 3rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.faq-item {
  border: 1px solid rgba(212,167,44,.22);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform .3s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows .55s cubic-bezier(.22,1,.36,1),
    opacity .35s ease,
    padding .45s ease;
  opacity: 0;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.9;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 0 1.5rem 1.3rem;
}

.faq-icon {
  color: var(--gold);
  font-size: 1.2rem;

  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg) scale(1.08);
}

.svc:hover,
.faq-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212,167,44,.38);
  background: var(--card-bg-hover);
}

.faq-item.active:hover {
  transform: none;
}
/* FAQ NUMBERS */

.faq-question {
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-left {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;

  min-width: 0;
}

.faq-number {
  width: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(201,154,46,.95);
  transform: translateY(1px);
}

.faq-text {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--white);
}

/* hover premium */

.faq-item {
  transition:
    transform .35s ease,
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
}

.faq-item:hover {
  border-color: rgba(212,167,44,.38);
  background: var(--card-bg-hover);
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(0,0,0,.04);
}

.faq-item:hover .faq-number {
  transform: translateX(2px);
  color: var(--gold);
  transition:
    transform .35s ease,
    color .35s ease;
}

/* ================================
   CONTACT
   ================================ */

.contact {
  padding: 6rem var(--side-space);

  background:
    radial-gradient(
      circle at center top,
      rgba(212,167,44,.055),
      transparent 34%
    ),
    var(--section-bg);

  opacity: 1;
  transform: none;
  filter: none;
}

/* HEADER */

.contact-header {
  width: 100%;
  max-width: 850px;

  margin: 0 auto 3rem;

  text-align: center;
}

.contact-header .contact-desc {
  color: var(--muted);
}

/* CARD */

.contact-card {
  flex-direction: column;
  align-items: center;
  width: min(1250px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(32px);
  filter: blur(5px);

  transition:
    opacity .85s cubic-bezier(.22,1,.36,1),
    transform .85s cubic-bezier(.22,1,.36,1),
    filter .85s ease;
}

.contact-card.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* LAYOUT */

.contact-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 30px 0 30px 30px;
  max-width: 980px;
  align-items: stretch;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: #11100d;

  transition:
    box-shadow .35s ease,
    transform .35s ease;
}

.contact-layout:hover {
  box-shadow:
    0 18px 45px rgba(0,0,0,.12),
    0 0 24px rgba(201,154,46,.10);
}

/* IMAGE */

.contact-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 30px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
}

.contact-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(17,16,13,.08),
      rgba(17,16,13,.55)
    ),
    radial-gradient(
      circle at top left,
      rgba(201,154,46,.22),
      transparent 42%
    );
}

/* FORM SIDE */

.contact-content {
  display: flex;

  align-items: center;
  justify-content: center;

  padding: 2rem  3.2rem;

  background:
    linear-gradient(
      180deg,
      rgba(17,16,13,.98),
      rgba(10,10,10,1)
    );
}

.contact-content form {
  width: 100%;
  max-width: 480px;
}

/* FORM */

.contact form {
  width: 100%;

  padding: 0;

  border: none;
  border-radius: 0;

  background: transparent;
}

.contact form .form-row {
  display: block;
}

.contact form input,
.contact form textarea,
.contact form select {
  width: 100%;
  min-height: 52px;
  background: rgba(255,255,255,.06);
  color: #fff8eb;
  border: 1px solid rgba(201,154,46,.28);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 15px;
  outline: none;
  font-family: var(--sans);
  font-size: .82rem;
  transition:
  border-color .03s ease,
}

.contact form input:not([type="checkbox"]):not([type="radio"]),
.contact form textarea,
.contact form select {
  -webkit-appearance: none;
  appearance: none;
}

.contact form input:active,
.contact form textarea:active,
.contact form select:active,
.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
  border-color: var(--gold);

  background: rgba(255,255,255,.09);

  box-shadow:
    0 0 0 1px rgba(201,154,46,.14);
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: rgba(255,248,235,.55);
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {

  border-color: var(--gold);

  background: rgba(255,255,255,.09);

  box-shadow:
    0 0 0 1px rgba(201,154,46,.18),
    0 0 18px rgba(201,154,46,.08);
}

.rooms-choice {
  width: 100%;
  margin-bottom: 15px;
}

.rooms-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,248,235,.62);
  font-size: .82rem;
}

.rooms-options {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.rooms-options label {
  cursor: pointer;
}

.rooms-options input {
  display: none;
}

.rooms-options span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,154,46,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff8eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 600;
  transition: .3s ease;
}

.rooms-options label:first-child span {
  width: auto;
  padding: 0 18px;
  border-radius: 999px;
}

.rooms-options input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.rooms-options span:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,.09);
}

/* BUTTON */

.audit-form .btn {
  margin-top: 1.2rem;
}

/* NOTE */

.form-note {
  margin-top: 1rem;

  font-size: .7rem;

  color: rgba(255,248,235,.55);

  text-align: center;

  letter-spacing: .05em;
}
.form-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 1.5px;
}

/* REVEAL */

.audit-form.reveal-field {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);

  transition:
    opacity .75s ease,
    transform .75s ease,
    filter .75s ease;
}

.reveal-field {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);

  transition:
    opacity .65s ease,
    transform .65s ease,
    filter .65s ease;
}

.contact-card.visible .reveal-field {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.contact-card.visible .field-1 {
  transition-delay: .05s;
}

.contact-card.visible .field-2 {
  transition-delay: .12s;
}

.contact-card.visible .field-3 {
  transition-delay: .19s;
}

.contact-card.visible .field-4 {
  transition-delay: .26s;
}

.contact-card.visible .field-5 {
  transition-delay: .33s;
}

.contact-card.visible .field-6 {
  transition-delay: .40s;
}

.contact-card.visible .field-7 {
  transition-delay: .47s;
}

/* TEXT */

.contact-eyebrow {
  letter-spacing: .28em;
}

.contact-form-title {
  font-family: var(--serif);

  font-size: clamp(2rem, 4vw, 3rem);

  margin-bottom: 1.2rem;
}

.contact-desc {
  max-width: 700px;
  color: #fff;
  margin: 0 auto 2.2rem;

  line-height: 1.8;

  font-size: .9rem;
}

/* SUCCESS / ERROR */
#form-message {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.form-success,
.form-error {

  width: min(100%, 620px);

  margin: 0 auto 1.4rem;

  padding: 1rem 1.2rem;

  border-radius: var(--radius);

  font-size: .72rem;

  font-weight: 600;

  letter-spacing: .08em;

  line-height: 1.8;

  text-align: center;

  text-transform: uppercase;

  opacity: 1 !important;
  transform: none !important;
  filter: none !important;

  animation: formMessageReveal .45s ease both;
}

.form-success {

  background:
    linear-gradient(
      180deg,
      rgba(201,154,46,.10),
      rgba(201,154,46,.04)
    ),
    #11100d;

  color: #f3dfab;

  border: 1px solid rgba(201,154,46,.28);
}

.form-error {

  background:
    linear-gradient(
      180deg,
      rgba(180,60,60,.14),
      rgba(180,60,60,.05)
    ),
    #11100d;

  color: #ffb8b8;

  border: 1px solid rgba(190,70,70,.28);
}

@keyframes formMessageReveal {

  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .contact {
    padding: 4rem 1rem;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
  }

  .contact-layout {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    padding: 20px;
    min-height: auto;
    border-radius: 26px;
    box-sizing: border-box;
  }

  .contact-content {
    width: 100%;
    padding: 2rem 1rem;
  }

  .contact-content form,
  .contact form {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .contact-image {
    display: none;
  }

  .rooms-options {
    flex-wrap: wrap;
  }
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: .2rem 0 1rem;
  color: rgba(255,248,235,.62);
  font-size: .82rem;
  line-height: 1.6;
  cursor: pointer;
}

.contact-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;

  position: relative;

  width: 15px !important;
  height: 15px !important;

  min-width: 15px !important;
  min-height: 15px !important;

  margin: 2px 0 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(201,154,46,.55);
  border-radius: 3px;

  background: rgba(255,255,255,.04);

  display: inline-block;
  flex: none;
}

.contact-consent input[type="checkbox"]::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 4px;
  height: 8px;

  border-right: 2px solid #16120d;
  border-bottom: 2px solid #16120d;

  transform:
    translate(-50%, -58%)
    rotate(45deg)
    scale(0);

  transform-origin: center;

  transition: transform .12s ease;
}

.contact-consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.contact-consent input[type="checkbox"]:checked::before {
  transform:
    translate(-50%, -58%)
    rotate(45deg)
    scale(1);
}

.contact-consent span {
  display: block;
}
.contact-consent,
.contact-consent span,
.contact-consent input[type="checkbox"] {
  cursor: pointer;
}

.contact form input:not([type="checkbox"]):not([type="radio"]):hover,
.contact form textarea:hover,
.contact form select:hover {
  border-color: rgba(201,154,46,.5);
  background: rgba(255,255,255,.085);
  box-shadow: 0 0 14px rgba(201,154,46,.06);
}

/* Hover sur les boutons du choix de pièces */
.rooms-options span:hover {
  border-color: var(--gold);
  background: rgba(201,154,46,.12);
  color: #fff8eb;
  transform: translateY(-2px);
}

.contact-consent input[type="checkbox"]:not(:checked):hover {
  border-color: var(--gold);
  background: rgba(201,154,46,.12);
  box-shadow: 0 0 10px rgba(201,154,46,.12);
}

.contact-consent input[type="checkbox"]:checked:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201,154,46,.16);
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
  background: #11100d;
  border-top: 0.5px solid rgba(212,167,44,0.16);
  padding: 3.2rem var(--side-space) 1.3rem;
  width: 100%;
  /* border-top-left-radius: 50px; */
  /* border-top-right-radius: 50px; */
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-logo {
  width: 170px;
  margin: -25px auto 0;
  display: block;
  pointer-events: auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.footer-col a,
.footer-col span {
  color: rgba(255,248,235,0.68);
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col i {
  color: var(--gold);
  margin-right: 0.45rem;
  font-size: 0.75rem;
  display: flex;
  align-items: baseline;
}

.footer-col .fa-whatsapp,
.footer-col .fa-location-dot {
  font-size: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-socials i {
  font-size: 1.1rem;
  margin: 0;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212,167,44,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 18px rgba(212,167,44,0.35);
}

.footer-socials a:hover i {
  color: #000;
}

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,167,44,0.1);
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom span,
.footer-bottom-right {
  color: rgba(255,248,235,0.38);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-right a {
  color: rgba(255,248,235,0.38);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-right a:hover {
  color: var(--gold);
}

/* ================================
   REVEAL
   ================================ */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  filter: blur(5px);
  transition: opacity .9s ease, transform .9s ease, filter .9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ================================
   LEGAL PAGE
   ================================ */

.legal-page {
  min-height: calc(100vh - 80px);
  padding: 10.5rem var(--side-space) 6rem;
}

.legal-container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.legal-card {
  padding: 2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(212,167,44,.22);
  border-radius: var(--radius);
  background: var(--card-bg);
}

.legal-card h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.legal-card p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.85;
  margin-bottom: .9rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: #16120d;
  font-weight: 600;
}

.legal-card a {
  color: var(--gold);
  transition: color .3s ease;
}

.legal-card a:hover {
  color: var(--gold-light);
}

.legal-card ul {
  padding-left: 1.2rem;
  margin: .8rem 0 0;
}

.legal-card li {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: .35rem;
}

.legal-card li::marker {
  color: var(--gold);
}

.legal-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.legal-actions .btn {
  gap: .7rem;
}

.legal-card:nth-of-type(1) { transition-delay: 0.05s; }
.legal-card:nth-of-type(2) { transition-delay: 0.1s; }
.legal-card:nth-of-type(3) { transition-delay: 0.15s; }
.legal-card:nth-of-type(4) { transition-delay: 0.2s; }
.legal-card:nth-of-type(5) { transition-delay: 0.25s; }
.legal-card:nth-of-type(6) { transition-delay: 0.3s; }
.legal-card:nth-of-type(7) { transition-delay: 0.35s; }
.legal-card:nth-of-type(8) { transition-delay: 0.4s; }
.legal-card:nth-of-type(9) { transition-delay: 0.45s; }
.legal-card:nth-of-type(10) { transition-delay: 0.5s; }

/* NAVIGATION DANS LEGAL */
.legal-page nav .nav-links a,
body:not(.home) nav .nav-links a {
  color: #16120d;
  text-shadow: none;
}
section[id] {
  scroll-margin-top: 115px;
}

/* TITLE ZOOM EFFECT */

h2.title-zoom {
  opacity: 0;
  transform: scale(.82);
  filter: blur(8px);

  transition:
    transform 1s cubic-bezier(.22,1,.36,1),
    opacity .8s ease,
    filter .8s ease;
}

h2.title-zoom.title-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
.how-title.title-zoom {
  opacity: 0 !important;
  transform: scale(.82) !important;
  filter: blur(8px) !important;
}

.how-title.title-zoom.title-visible {
  opacity: 1 !important;
  transform: scale(1) !important;
  filter: blur(0) !important;
}
/* ================================
   RESPONSIVE CSS GLOBAL ORDONNÉ
   ================================ */

/* TABLETTE LARGE - MAX WIDTH 1000px */
@media (max-width: 1000px) {

  .how-apple-sticky {
    justify-content: flex-start;
    padding: 8.5rem 2rem 2rem,
  }
  /* Services & How */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-line {
    grid-template-columns: repeat(4, 1fr);
  }

  .how-arrow {
    display: none;
  }

  /* Navigation */
  nav {
    padding: 0 1.2rem;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1200;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.65rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(201,154,46,0.22);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: none;
    z-index: 1100;
  }

  .nav-links li {
    width: auto;
    flex: 0 0 auto;
  }

  .nav-links a {
    display: inline-flex;
    width: auto;
    flex: 0 0 auto;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    color: #16120d;
    text-shadow: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-decoration: none;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    background: rgba(201,154,46,0.10);
  }

  nav.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  nav.menu-animated .nav-links {
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  nav.menu-open .nav-toggle {
    background: var(--gold);
  }

  nav.menu-open .nav-toggle span {
    background: #16120d;
  }

  /* FOOTER RESPONSIVE */
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-row {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .footer-socials {
    margin: 0 auto 50px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-bottom-right {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    line-height: 1.3;
  }

  .footer-bottom span {
    margin-bottom: 6px;
  }

  .footer-logo {
    width: 150px;
    margin: 0 auto;
  }
}

/* TABLETTE INTERMEDIAIRE - MAX WIDTH 900px */
@media (max-width: 900px) {

  .commission-layout {
    grid-template-columns: 1fr;
  }

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

  .commission-details li {
    text-align: left;
  }

  .how-apple-track {
    height: auto;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .how-apple-card {
    margin-bottom: 0;
  }
}

/* MOBILE - MAX WIDTH 750px */
@media (max-width: 750px) {
  /* Navigation */
  nav {
    width: calc(100% - 24px);
    top: 12px;
    border-radius: 22px;
  }

  .nav-brand img {
    width: 88px;
  }

  .nav-btn {
    font-size: 0.55rem;
    padding: 0.65rem 0.9rem;
  }

  /* Hero */
  .hero {
    min-height: 92vh;
  }

  .hero-left {
    width: 100%;
    min-height: 92vh;
    padding: 7.5rem 1.4rem 7rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
    line-height: 1.02;
  }

  .hero-title .line1,
  .hero-title .line2 {
    white-space: normal;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 92%;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 310px;
    padding: 0.95rem 1.2rem;
    font-size: 0.62rem;
  }

  .hero-moroccan-divider {
    height: 70px;
  }

  .hero-scroll-indicator {
    bottom: 62px;
  }

  /* Grilles */
  .services-grid,
  .how-line {
    grid-template-columns: 1fr;
  }

  /* Commission */
  .commission {
    padding: 4.5rem var(--side-space);
  }

  .commission-card {
    padding: 2.6rem 1.5rem;
  }

  .how-step {
    padding: 2.2rem 1.5rem;
  }

  /* Sections FAQ / Contact / Legal */
  .faq,
  .contact,
  .legal-page {
    padding: 4rem var(--side-space);
  }

  .faq-question {
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
  }

  .faq-left {
    gap: .9rem;
  }

  .faq-number {
    font-size: 1rem;
    margin-top: .08rem;
  }

  .faq-text {
    font-size: .68rem;
    line-height: 1.5;
  }

  .contact-infos {
    flex-direction: column;
  }

  .contact form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-card {
    padding: 1.5rem;
  }

  .legal-actions .btn {
    width: 100%;
  }

  /* How Apple Sticky */
  .how-apple-sticky {
    padding-bottom: 0;
  }

  .how-apple-track {
    height: auto;
  }
}
