/* ============================================================
   SIIPAF SA — Style Principal
   Palette : Rouge #e30613 | Noir #0A0A0A | Or #B8972E | Blanc #F8F8F8
============================================================ */

:root {
  --red: #e30613;
  --red-dk: #b3000f;
  --red-lt: #ff2230;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #242424;
  --grey: #888888;
  --light: #F4F4F4;
  --white: #FFFFFF;
  --gold: #B8972E;
  --gold-lt: #D4AF37;
  --gray: var(--grey);
  --font: 'Poppins', sans-serif;
  --serif: 'Playfair Display', serif;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --trans: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ─── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-logo {
  width: 180px;
  margin: 0 auto 24px;
  animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 3px;
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

.loader-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: var(--trans);
}

#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  padding: 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--trans);
}

#navbar.scrolled .nav-logo img {
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--dark2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--trans);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--red);
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: var(--white);
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(227, 6, 19, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(227, 6, 19, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--trans);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO SLIDER ────────────────────────────────────────── */
#hero {
  position: relative;
  height: 400px;
  max-height: 400px;
  overflow: hidden;
  margin-top: 72px;
  /* navbar height */
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.4) 55%,
      rgba(10, 10, 10, 0.15) 100%);
  z-index: 1;
}

.slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.swiper-slide-active .slide-img {
  transform: scale(1.06);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 700px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slide-content h2 {
  font-family: var(--serif);
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.slide-content h2 em {
  color: var(--red-lt);
  font-style: italic;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 480px;
}

.slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Swiper overrides */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--trans);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--red);
  transform: scale(1.3);
}

/* Legacy (kept for fallback) */
.hero-video-wrap {
  display: none;
}

@keyframes heroZoom {}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.5) 50%,
      rgba(10, 10, 10, 0.85) 100%);
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 30, 46, 0.2);
  border: 1px solid rgba(196, 30, 46, 0.4);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .line-1,
.hero-title .line-3 {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: lineUp 0.8s ease forwards;
}

.hero-title .line-2 {
  display: block;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
  animation: lineUp 0.8s ease 0.2s forwards;
}

.hero-title .line-3 {
  animation-delay: 0.4s;
}

.text-red {
  color: var(--red-lt);
}

@keyframes lineUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  min-height: 2em;
  margin-bottom: 40px;
}

#typed-text::after {
  content: '|';
  animation: blink 0.8s ease infinite;
  color: var(--red);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.hstat {
  text-align: center;
}

.hstat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hstat small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.hstat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

/* ─── TICKER ─────────────────────────────────────────────── */
.ticker-wrap {
  background: linear-gradient(90deg, var(--red-dk), var(--red), var(--red-dk));
  overflow: hidden;
  padding: 12px 0;
}

.ticker {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--trans);
  text-decoration: none;
}

.ticker-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: scale(1.02);
}

.ticker i {
  color: var(--gold-lt);
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ─── UTILS ──────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

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

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

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.light .section-title,
.section-header.light p {
  color: var(--white);
}

.section-label {
  display: inline-block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(196, 30, 46, 0.08);
  border-radius: 50px;
}

.section-label.light {
  background: rgba(196, 30, 46, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-title.light {
  color: var(--white);
}

.section-title em {
  color: var(--red);
  font-style: italic;
}

.section-sub {
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.mt-2 {
  margin-top: 32px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(196, 30, 46, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196, 30, 46, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184, 151, 46, 0.4);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-stack {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 85%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-badge-float {
  position: absolute;
  top: 24px;
  right: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(196, 30, 46, 0.35);
  z-index: 2;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
}

.about-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dark2);
}

.af-item i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── COUNTERS ───────────────────────────────────────────── */
.counters-bar {
  position: relative;
  padding: 80px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.counters-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.6));
}

.counters-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-item {
  color: var(--white);
}

.counter-item i {
  font-size: 2.5rem;
  color: var(--red-lt);
  margin-bottom: 16px;
  display: block;
}

.counter-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--serif);
}

.counter-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-lt);
}

.counter-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ─── ACTIVITIES ZIGZAG ──────────────────────────────────── */
.activities-zz {
  padding: 100px 0;
}

.zz-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

.zz-item:last-child {
  margin-bottom: 0;
}

.zz-item:hover {
  box-shadow: var(--shadow-lg);
}

.zz-item.zz-reverse {
  direction: rtl;
}

.zz-item.zz-reverse>* {
  direction: ltr;
}

.zz-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.zz-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s ease;
  z-index: 0;
}

.zz-item:hover .zz-image::before {
  transform: scale(1.08);
}

.zz-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.2));
  transition: opacity 0.4s;
  z-index: 1;
}

.zz-item:hover .zz-image::after {
  opacity: 0.5;
}

.zz-content {
  background: var(--white);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.zz-item:nth-child(even) .zz-content {
  background: var(--light);
}

.zz-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.3);
  transition: var(--trans);
}

.zz-item:hover .zz-icon {
  transform: rotate(-6deg) scale(1.08);
}

.zz-icon i {
  color: var(--white);
  font-size: 1.3rem;
}

.zz-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(227, 6, 19, 0.06);
  line-height: 1;
  margin-bottom: -16px;
  user-select: none;
}

.zz-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.zz-content p {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.zz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.zz-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227, 6, 19, 0.06);
  color: var(--red);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(227, 6, 19, 0.15);
}

.zz-tag i {
  font-size: 0.7rem;
}

/* Keep old card styles for a-propos detail page */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: var(--trans);
  cursor: default;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.activity-card:hover .ac-hover-bg {
  opacity: 1;
}

.ac-hover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.03), rgba(184, 151, 46, 0.03));
  opacity: 0;
  transition: var(--trans);
}

.ac-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--trans);
}

.activity-card:hover .ac-icon {
  transform: rotate(-5deg) scale(1.1);
}

.ac-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.ac-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.ac-content p {
  color: var(--grey);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.ac-content ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ac-content li {
  font-size: 0.85rem;
  color: var(--dark2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ac-content li i {
  color: var(--red);
  font-size: 0.7rem;
}

.activity-card-cta {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.ac-cta-content i {
  font-size: 2.5rem;
  color: var(--red-lt);
  margin-bottom: 16px;
  display: block;
}

.ac-cta-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ac-cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Responsive zigzag */
@media (max-width: 900px) {

  .zz-item,
  .zz-item.zz-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .zz-image {
    min-height: 240px;
  }

  .zz-content {
    padding: 36px 28px;
  }

  .zz-num {
    font-size: 3.5rem;
  }
}

/* ─── PROJECTS ───────────────────────────────────────────── */
.proj-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.ptab {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey);
  background: var(--light);
  border: 2px solid transparent;
  transition: var(--trans);
  cursor: pointer;
}

.ptab:hover {
  color: var(--red);
  border-color: rgba(196, 30, 46, 0.3);
}

.ptab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(196, 30, 46, 0.35);
}

.proj-panel {
  display: none;
  animation: panelIn 0.5s ease forwards;
}

.proj-panel.active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.proj-hero {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}

.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 60%, transparent 100%);
}

.proj-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: var(--white);
}

.proj-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.proj-tag-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
}

.proj-hero-content h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.proj-hero-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.proj-desc {
  font-size: 0.95rem !important;
  max-width: 700px;
}

.proj-body {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 40px;
}

.proj-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.am-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark2);
}

.am-item i {
  color: var(--red);
}

.proj-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pinfo-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--light);
  border-radius: var(--radius-sm);
  transition: var(--trans);
}

.pinfo-card:hover {
  background: var(--red);
  color: var(--white);
}

.pinfo-card:hover i,
.pinfo-card:hover small {
  color: rgba(255, 255, 255, 0.7);
}

.pinfo-card i {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s;
}

.pinfo-card span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.pinfo-card small {
  color: var(--grey);
  font-size: 0.75rem;
  transition: color 0.3s;
}

.pricing-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  border-left: 4px solid var(--red);
  padding-left: 16px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pricing-table thead tr {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
}

.pricing-table thead th {
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

.pricing-table tbody tr:hover {
  background: rgba(196, 30, 46, 0.04);
}

.pricing-table tbody td {
  padding: 12px 16px;
  color: var(--dark2);
}

.price-cell {
  font-weight: 700;
  color: var(--red);
}

.diaspora-row td {
  background: rgba(184, 151, 46, 0.05);
  color: var(--grey);
  font-style: italic;
}

.diaspora-row td:first-child {
  color: var(--gold);
}

.hs-row td {
  background: rgba(196, 30, 46, 0.04);
}

.hs-row .price-cell {
  color: var(--red-dk);
  font-size: 1rem;
}

/* ─── PRICING CARDS ──────────────────────────────────────── */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.pricing-card {
  position: relative;
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--trans);
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 46, 0.2);
}

.pricing-card-featured {
  background: linear-gradient(135deg, var(--red-dk), var(--red));
  border-color: var(--red);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(196, 30, 46, 0.3);
}

.pricing-card-featured .pc-header,
.pricing-card-featured .pc-price,
.pricing-card-featured .pc-surface,
.pricing-card-featured li,
.pricing-card-featured .pc-eur {
  color: var(--white) !important;
}

.pricing-card-featured li i {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pricing-card-penthouse {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-color: var(--gold);
}

.pricing-card-penthouse .pc-header,
.pricing-card-penthouse .pc-price,
.pricing-card-penthouse .pc-surface {
  color: var(--white) !important;
}

.pricing-card-penthouse .pc-eur {
  color: var(--gold-lt) !important;
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pc-badge-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
}

.pc-header {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pc-surface {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 8px;
}

.pc-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.pc-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey);
}

.pc-eur {
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 20px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--dark2);
}

.pricing-card li i {
  color: var(--red);
  font-size: 0.8rem;
}

/* ─── PRICE HERO (Riviera) ───────────────────────────────── */
.proj-price-hero {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.price-hero-card {
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 48px 60px;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 151, 46, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 520px;
}

.phc-badge {
  display: inline-block;
  background: rgba(184, 151, 46, 0.2);
  color: var(--gold-lt);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(184, 151, 46, 0.3);
}

.phc-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.phc-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey);
}

.phc-eur {
  color: var(--gold-lt);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.price-hero-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* ─── FINANCEMENT ────────────────────────────────────────── */
.fin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.fin-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--trans);
}

.fin-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 46, 0.3);
}

.fin-card-featured {
  background: linear-gradient(135deg, var(--red-dk), var(--red));
  border-color: rgba(255, 255, 255, 0.15);
}

.fin-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--gold);
  color: var(--dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.fin-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fin-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.fin-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.fin-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.fin-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.fin-steps i {
  color: rgba(255, 255, 255, 0.4);
}

.banks-bar {
  text-align: center;
  padding: 32px;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.banks-bar p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.banks-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.bank-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bank-logo i {
  color: var(--gold-lt);
}

/* ─── WHY SIIPAF PARALLAX ────────────────────────────────── */
.why-parallax {
  position: relative;
  padding: 100px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 50%, rgba(10, 10, 10, 0.55));
}

.why-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-content .section-label.light {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(196, 30, 46, 0.25);
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: var(--trans);
}

.why-item:hover {
  background: rgba(196, 30, 46, 0.1);
  border-color: rgba(196, 30, 46, 0.3);
  transform: translateX(8px);
}

.why-item i {
  font-size: 1.5rem;
  color: var(--red-lt);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.why-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ci-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ci-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(196, 30, 46, 0.1);
}

.ci-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(196, 30, 46, 0.2);
}

.ci-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.ci-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 6px;
}

.ci-card p,
.ci-card a {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.ci-card a:hover {
  color: var(--red);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: var(--trans);
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.btn-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--trans);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-inline:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-inline i {
  font-size: 1.2rem;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light);
  transition: var(--trans);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 30, 46, 0.08);
}

.form-note {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.form-note i {
  color: var(--red);
}

.map-wrap {
  margin-top: 48px;
}

.map-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--black);
  padding-top: 0;
}

.footer-top {
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--trans);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: var(--trans);
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 8px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-contact i {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  z-index: 900;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: var(--trans);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}

.wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--dark);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

.wa-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--dark2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  font-size: 1rem;
  transition: var(--trans);
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red);
  transform: translateY(-4px);
}

/* ─── PARALLAX IMG ───────────────────────────────────────── */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width:768px) {
  .parallax-section {
    background-attachment: scroll;
  }

  .proj-hero {
    background-attachment: scroll;
  }

  .counters-bar {
    background-attachment: scroll;
  }

  .why-parallax {
    background-attachment: scroll;
  }

  .hero-video-wrap {
    background-attachment: scroll;
  }
}

/* ─── NOUVELLES SECTIONS (Aujourd'hui) ─────────────────────── */
/* WHY CARDS */
.why-cards-section {
  background: var(--light);
  padding: 100px 0;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--trans);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-card-dark {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  color: var(--white);
}

.why-card-dark h3,
.why-card-dark p {
  color: var(--white);
}

.wc-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(196, 30, 46, 0.08);
  line-height: 1;
  user-select: none;
}

.wc-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wc-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.why-card-dark .wc-icon {
  background: rgba(255, 255, 255, 0.1);
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* CTA SPLIT */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-split-image {
  background-size: cover;
  background-position: center;
  min-height: 480px;
  position: relative;
}

.cta-split-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.4), var(--dark));
}

.cta-split-content {
  background: var(--dark);
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-split-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-wa-split {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(37, 211, 102, 0.3);
  transition: var(--trans);
  text-decoration: none;
}

.btn-wa-split:hover {
  background: #25D366;
  color: var(--white);
}

/* NEWSLETTER */
.newsletter-section {
  background: var(--white);
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.newsletter-inner {
  background: linear-gradient(135deg, var(--red-dk), var(--red));
  border-radius: 0;
  padding: 80px 0;
}

.container-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text {
  flex: 1;
  color: var(--white);
}

.newsletter-text h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-text h3 em {
  color: var(--gold-lt);
  font-style: italic;
}

.newsletter-text p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.newsletter-icon {
  font-size: 2.5rem;
  color: var(--gold-lt);
  margin-bottom: 16px;
  display: block;
}

.newsletter-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nl-input-wrap {
  display: flex;
  gap: 10px;
}

.nl-input-wrap input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--dark);
}

.nl-input-wrap .btn {
  padding: 16px 32px;
  font-size: 0.95rem;
  background: var(--dark);
}

.nl-input-wrap .btn:hover {
  background: var(--dark2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nl-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding-left: 16px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width:1100px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-stack {
    height: 380px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .why-cards-grid {
    grid-template-columns: 1fr;
  }

  .cta-split {
    grid-template-columns: 1fr;
  }

  .cta-split-image {
    min-height: 240px;
  }

  .cta-split-img-overlay {
    background: linear-gradient(180deg, transparent, var(--dark));
  }

  .cta-split-content {
    padding: 60px 24px;
    text-align: center;
  }

  .cta-split-btns {
    justify-content: center;
  }

  .container-newsletter {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
    gap: 32px;
  }

  .newsletter-icon {
    margin: 0 auto 16px;
  }

  .nl-input-wrap {
    flex-direction: column;
  }
}

@media (max-width:768px) {
  .section {
    padding: 64px 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .hstat-sep {
    width: 40px;
    height: 1px;
  }

  .hstat-num {
    font-size: 2rem;
  }

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

  .proj-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .ptab {
    flex-shrink: 0;
  }

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

  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards-4 {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .proj-hero {
    height: 320px;
    background-attachment: scroll;
  }

  .proj-body {
    padding: 24px;
  }

  .price-hero-card {
    padding: 32px 24px;
  }

  .why-parallax {
    padding: 64px 0;
  }
}

@media (max-width:480px) {
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-form-wrap {
    padding: 24px;
  }
}

/* ─── SCROLL REVEAL UTILS ────────────────────────────────── */
[data-aos] {
  will-change: transform, opacity;
}
/* ============================================================
   CORRECTIFS — Responsive, menu mobile, badges
============================================================ */

/* Empêche tout débordement horizontal (animations latérales, ticker…) */
html,
body {
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ─── Badges des tuiles d'offres ─────────────────────────── */
.pricing-cards-grid {
  padding-top: 14px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .btn {
  margin-top: auto;
  align-self: center;
}

.pc-badge,
.foc-badge {
  z-index: 2;
  line-height: 1.4;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(184, 151, 46, 0.35);
  border: 2px solid var(--white);
}

.pricing-card-penthouse .pc-badge {
  border-color: var(--dark);
}

.pc-badge-gold {
  color: var(--dark);
}

.phc-badge {
  max-width: 100%;
  white-space: normal;
}

.proj-tag,
.pp-tag,
.slide-badge {
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
}

/* ─── Menu mobile / tablette ─────────────────────────────── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0 20px;
    height: 68px;
  }

  #hero {
    margin-top: 68px;
  }

  .nav-logo img,
  #navbar.scrolled .nav-logo img {
    height: 44px;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1002;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .hamburger:focus-visible {
    outline: 2px solid var(--red);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0 0 24px;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu::before {
    content: 'Menu';
    display: flex;
    align-items: center;
    height: 68px;
    padding: 0 24px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey);
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    padding: 14px 24px;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(227, 6, 19, 0.06);
    color: var(--red);
    border-left-color: var(--red);
  }

  .nav-cta {
    margin: 20px 24px 0;
    border-radius: 10px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Slider d'accueil */
  #hero {
    height: auto;
    max-height: none;
  }

  .hero-swiper .swiper-slide {
    min-height: 440px;
  }

  .slide-content {
    padding: 56px 32px 64px;
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
  }

  .hero-swiper .swiper-slide {
    min-height: 460px;
  }

  .slide-content {
    padding: 40px 20px 56px;
  }

  .slide-badge {
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 5px 12px;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .slide-btns .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .proj-body {
    padding: 20px 16px;
  }

  .pricing-cards-grid {
    gap: 28px;
  }
}

/* Les colonnes de grille ne doivent pas s'élargir selon leur contenu
   (tableaux de prix, longues adresses e-mail…) */
.proj-main,
.proj-layout > *,
.contact-grid > *,
.about-grid > *,
.footer-grid > * {
  min-width: 0;
}

.ci-card,
.ci-card * {
  overflow-wrap: anywhere;
}

