/* ========================================
   BookInDZ, refonte type Tourlane (chaud, éditorial)
   ======================================== */

:root {
  --primary-green: #1E4A3A;
  --primary-green-light: #2A5F4A;
  --primary-green-dark: #143628;
  --accent-red: #B33A3A;
  --accent-red-light: #C94A4A;
  --accent-red-dark: #8F2E2E;
  --light-green: #B8D4C8;
  --lightest-green: #E8F0EC;
  --white: #FFFFFF;
  --off-white: #F5F3EF;
  --text-dark: #141414;
  --text-heading: #1B1B1B;
  --text-body: #5C5A57;
  --text-placeholder: #9A9690;
  --border: #E6E2DC;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 20, 20, 0.1);
  --shadow-xl: 0 24px 64px rgba(20, 20, 20, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ========== RESET & BASE ========== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 600;
  font-family: var(--font-display);
}

.font-display {
  font-family: var(--font-display);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 110px 0;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 14px;
}

.section-eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.text-green { color: var(--primary-green); }
.text-red { color: var(--accent-red); }
.text-white-highlight { color: var(--light-green); }

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 14px 28px;
}
.btn-primary:hover {
  background: var(--primary-green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-heading);
  transition: all var(--transition);
}
.btn-pill-outline:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-red {
  background: var(--accent-red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--accent-red-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========== NAVBAR (type agence voyage) ========== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar.navbar--on-hero {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.navbar.navbar--on-hero.scrolled {
  background: rgba(12, 18, 15, 0.45);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar.navbar--on-hero .nav-link {
  color: rgba(255, 255, 255, 0.95);
}

.navbar.navbar--on-hero .nav-link:hover,
.navbar.navbar--on-hero .nav-link.active {
  color: #fff;
}

.navbar.navbar--on-hero .nav-link::after {
  background: #fff;
}

.navbar.navbar--on-hero .logo-book {
  color: #fff;
}

.navbar.navbar--on-hero .logo-dz {
  color: #FFB8B8;
}

.navbar.navbar--on-hero .logo-img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.navbar.navbar--on-hero .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.navbar.navbar--on-hero .lang-dropdown-btn:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.18);
}

.navbar.navbar--on-hero .btn-nav-download {
  background: #fff;
  color: var(--primary-green-dark);
}

.navbar.navbar--on-hero .btn-nav-download:hover {
  background: #f0faf5;
  color: var(--primary-green);
}

.navbar.navbar--on-hero .hamburger span {
  background: #fff;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
}

.logo-book { color: var(--primary-green); }
.logo-dz { color: var(--accent-red); }

.logo-text-fallback {
  font-size: 1.4rem;
  font-weight: 800;
  align-items: center;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav-download {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Language Dropdown */
.lang-dropdown {
  position: static;
}

.navbar-inner {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lang-dropdown-btn:hover {
  border-color: var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-dropdown.open .lang-dropdown-btn {
  border-color: var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-chevron {
  font-size: 0.5rem;
  transition: transform var(--transition);
  opacity: 0.4;
  margin-left: 2px;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
  opacity: 0.7;
}

.lang-dropdown-list {
  position: fixed;
  min-width: 160px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

.lang-dropdown.open .lang-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.lang-option .lang-flag {
  font-size: 1.25rem;
}

.lang-option:hover {
  background: #F0F4F8;
}

.lang-option.active {
  color: var(--primary-green);
}

/* Mobile language switcher */
.mobile-lang-switcher {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4px 0;
}

.mobile-lang-switcher .lang-option {
  padding: 12px 8px;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.open {
  max-height: 400px;
  padding: 24px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-heading);
  padding: 8px 0;
  display: block;
}

.mobile-link:hover {
  color: var(--primary-green);
}

.mobile-download {
  text-align: center;
  margin-top: 8px;
  justify-content: center;
}

/* ========== HERO (éditorial + immersif type Polarsteps) ========== */

.hero {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  background: var(--off-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(30, 74, 58, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(179, 58, 58, 0.05) 0%, transparent 50%),
    linear-gradient(165deg, #FAF8F5 0%, #F0EDE8 48%, #EAE6DF 100%);
}

.hero--immersive {
  min-height: min(92vh, 900px);
  padding: 120px 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0f1612;
  isolation: isolate;
}

.hero--immersive .hero__bg {
  z-index: 0;
  background-image: url('../assets/images/cap_carbon.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: hero-bg-drift 34s ease-in-out infinite alternate;
}

@keyframes hero-bg-drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--immersive .hero__bg {
    animation: none;
  }
}

.hero__overlay {
  display: none;
}

.hero--immersive .hero__overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(8, 12, 10, 0.82) 0%,
    rgba(8, 12, 10, 0.5) 45%,
    rgba(8, 12, 10, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-bg-shape {
  display: none;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 18px;
}

.hero--immersive .hero-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero-logo {
  width: 210px;
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

.hero--immersive .hero-logo {
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero--immersive .hero-title {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-green);
}

.hero--immersive .hero-title em {
  color: #B8E8D4;
}

.hero--immersive .hero-title .text-red {
  color: #FFB0B0;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 400;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 460px;
  line-height: 1.65;
}

.hero--immersive .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 32px;
}

.hero-trust__stars {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #C9A227;
  line-height: 1;
}

.hero--immersive .hero-trust__stars {
  color: #E8D48A;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-trust__text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.hero--immersive .hero-trust__text {
  color: rgba(255, 255, 255, 0.9);
}

/* Store Buttons */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.9;
}

.store-btn i {
  font-size: 1.6rem;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text small {
  font-size: 0.65rem;
  opacity: 0.85;
  line-height: 1;
}

.store-btn-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.store-btn-white {
  background: var(--white);
  color: var(--text-dark);
}
.store-btn-white:hover {
  background: #f0f0f0;
}

.store-btn-sm {
  padding: 8px 16px;
}
.store-btn-sm i {
  font-size: 1.2rem;
}
.store-btn-sm .store-btn-text small {
  font-size: 0.6rem;
}
.store-btn-sm .store-btn-text strong {
  font-size: 0.85rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual__frame {
  position: relative;
  padding: 10px 12px 12px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.9) 100%);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.hero--immersive .hero-visual__frame {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  backdrop-filter: blur(10px);
}

.hero-visual__frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px solid rgba(30, 74, 58, 0.06);
  pointer-events: none;
}

.hero--immersive .hero-visual__frame::before {
  display: none;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px #333;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--lightest-green);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.95rem;
}

.placeholder-content i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.placeholder-content span {
  opacity: 0.6;
}

.phone-screen:not(.placeholder-screen) .placeholder-content {
  display: none;
}

.placeholder-screen .placeholder-content {
  display: flex;
}

.hero-phone {
  width: 268px;
  height: 536px;
}

/* ========== FEATURES ========== */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
}

.icon-green {
  background: var(--lightest-green);
  color: var(--primary-green);
}

.icon-red {
  background: #FFEBEE;
  color: var(--accent-red);
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== APP PREVIEW / CAROUSEL ========== */

.app-preview {
  background: linear-gradient(180deg, var(--off-white) 0%, #FAF8F5 100%);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  direction: ltr;
  isolation: isolate;
}

.carousel-track-container {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.carousel-track-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 32px;
  width: max-content;
  min-width: 100%;
  cursor: grab;
}

.carousel-track.grabbing {
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 var(--carousel-slide-w, 300px);
  min-width: 0;
  text-align: center;
  scroll-snap-align: start;
}

.carousel-slide .phone-mockup {
  width: 220px;
  height: 440px;
  margin: 0 auto;
}

.slide-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.carousel-arrow {
  position: relative;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  pointer-events: auto;
}

.carousel-arrow i {
  pointer-events: none;
}

.carousel-arrow,
.discover-strip-arrow {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.carousel-arrow:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--primary-green);
  transform: scale(1.2);
}

/* ========== WHY CHOOSE US (USP) ========== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.why-section {
  background: linear-gradient(180deg, var(--off-white) 0%, #FAF8F5 100%);
}

.usp-card {
  text-align: left;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 74, 58, 0.15);
}

.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 74, 58, 0.08);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.usp-card h3 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.usp-card p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ========== HOW IT WORKS ========== */

.how-section {
  background: var(--off-white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  padding: 24px 20px;
  flex: 1;
  max-width: 220px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0;
  right: 16px;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--lightest-green);
  line-height: 1;
  z-index: 0;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  line-height: 1.5;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 60px;
  position: relative;
  flex-shrink: 0;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--primary-green);
  border-right: 2px solid var(--primary-green);
  transform: rotate(45deg);
}

/* ========== DOWNLOAD CTA ========== */

.download-cta {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(145deg, var(--primary-green-dark) 0%, var(--primary-green) 42%, var(--primary-green-light) 100%);
  color: var(--white);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 560px;
  height: 560px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07) 0%, transparent 68%);
  border-radius: 50%;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.download-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.95rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.download-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
}

.download-buttons-white {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.download-visual .phone-mockup {
  width: 240px;
  height: 480px;
}

.phone-white {
  background: #f5f5f5;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px #ddd;
}

.phone-white::before {
  background: #f5f5f5;
}

/* ========== CONTACT ========== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.required {
  color: var(--accent-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-heading);
  transition: all var(--transition);
  background: var(--white);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-placeholder);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 102, 51, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.error-msg {
  font-size: 0.8rem;
  color: var(--accent-red);
  min-height: 18px;
}

.btn-submit {
  padding: 16px 32px;
  font-size: 1rem;
  align-self: flex-start;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--lightest-green);
  color: var(--primary-green);
  border: 1px solid var(--light-green);
}

.form-status.error-status {
  display: block;
  background: #FFEBEE;
  color: var(--accent-red);
  border: 1px solid #FFCDD2;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lightest-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.info-item a {
  color: var(--primary-green);
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

.info-item p {
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-body);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

/* ========== FOOTER ========== */

.footer {
  background: #252321;
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-logo .logo-book { color: #E8F0EC; }
.footer-logo .logo-dz { color: #E8A5A5; }

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 280px;
  line-height: 1.5;
}

.footer-links-col h4,
.footer-download-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: all var(--transition);
}

.footer-links-col a:hover {
  opacity: 1;
  color: var(--white);
  padding-left: 4px;
}

.footer-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--primary-green);
  border-color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.heart {
  color: var(--accent-red);
}

/* ========== DISCOVER ALGERIA (carrousel crème, photos + vidéos) ========== */

.discover-algeria {
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
  background: #F5F3EF;
}

.discover-algeria .container {
  position: relative;
  z-index: 1;
}

.discover-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.discover-algeria .section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.discover-lead {
  font-size: 1.12rem;
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Bande horizontale : plusieurs médias visibles, défilement */
.discover-strip-outer {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0 -12px 8px;
  max-width: calc(100% + 24px);
  direction: ltr;
}

.discover-strip-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 74, 58, 0.35) transparent;
  padding: 8px 4px 16px;
  direction: ltr;
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-size: 100% 100%;
}

.discover-strip-scroll::-webkit-scrollbar {
  height: 6px;
}

.discover-strip-scroll::-webkit-scrollbar-thumb {
  background: rgba(30, 74, 58, 0.3);
  border-radius: 999px;
}

.discover-strip {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 4px 2px;
}

.discover-strip__cell {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 280px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  scroll-snap-align: start;
}

.discover-strip-arrow {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
}

.discover-strip-arrow i {
  pointer-events: none;
}

.discover-strip-arrow:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.discover-strip-arrow:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

.discover-cinema.discover-cinema--strip {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E8E4DD;
  aspect-ratio: 9 / 16;
  max-height: 400px;
  box-shadow: var(--shadow-md);
}

.discover-cinema--strip.discover-cinema--secondary {
  max-height: 380px;
}

.discover-cinema--strip video.discover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.discover-photo-card {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 400px;
  padding: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
  box-shadow: var(--shadow-md);
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.discover-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  display: block;
}

.discover-footnote {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
  padding-top: 8px;
}

.discover-footnote i {
  color: var(--primary-green);
  margin-right: 6px;
}

/* ========== NEWSLETTER / CTA (bandeau type Tourlane) ========== */

.newsletter-band {
  padding: 100px 0;
  background: linear-gradient(180deg, #EDEAE4 0%, #F5F3EF 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.newsletter-band__copy .section-title {
  text-align: left;
  max-width: 520px;
}

.newsletter-band__lead {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.newsletter-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-benefits li {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-heading);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.newsletter-benefits li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30, 74, 58, 0.12);
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.newsletter-band__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  max-height: 380px;
}

.newsletter-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-band .section-eyebrow {
  text-align: left;
}

/* ========== ANIMATIONS ========== */

/* Visible par défaut : ne pas dépendre de l’IntersectionObserver (sinon tout le bas de page reste à opacity:0) */
.fade-in,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .newsletter-band__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsletter-band__copy .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .newsletter-band .section-eyebrow {
    text-align: center;
  }

  .newsletter-band__lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .newsletter-benefits {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .newsletter-band__visual {
    max-height: 320px;
    max-width: 520px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discover-strip__cell {
    width: clamp(220px, 38vw, 300px);
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links,
  .btn-nav-download,
  .navbar-inner > .lang-dropdown {
    display: none;
  }

  .hamburger { display: flex; }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-logo {
    margin: 0 auto 24px;
    width: 188px;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
  }

  .download-buttons {
    justify-content: center;
  }

  .hero-phone {
    width: 220px;
    height: 440px;
  }

  .discover-algeria {
    padding: 64px 0 72px;
  }

  .discover-strip-outer {
    gap: 4px;
    margin: 0 -8px 0;
  }

  .discover-strip-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .discover-strip__cell {
    width: min(240px, 75vw);
  }

  .discover-cinema.discover-cinema--strip {
    max-height: 340px;
  }

  .discover-photo-card {
    min-height: 220px;
    max-height: 340px;
    padding: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .carousel-slide .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .step-connector::after {
    right: -4px;
    top: auto;
    bottom: -4px;
    transform: rotate(135deg);
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-text p {
    margin: 0 auto 32px;
  }

  .download-buttons-white {
    justify-content: center;
  }

  .download-visual {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .store-btn {
    padding: 10px 18px;
  }

  .store-btn i { font-size: 1.3rem; }

  .store-btn-text strong { font-size: 0.85rem; }

  .hero-phone {
    width: 200px;
    height: 400px;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .step { max-width: 100%; }
}
