/* ============================================
   TYPEKIT FONT + SKY THEME VARIABLES
============================================ */
:root {
  --sky-top: #7EC8E3;
  --sky-mid: #A8DCF0;
  --sky-bottom: #C5E8F7;
  --sky-pale: #D8EEF9;
  --green-cta: #1464bb;
  --status-available: #1a7f37;
  --green-hover: #0f57a6;
  --green-glow: rgba(20, 100, 187, 0.3);
  --folder-bg: #F8F8F6;
  --folder-border: #E8E8E4;
  --folder-grid: #E0E0DC;
}

/* ============================================
   GLOBAL SKY BACKGROUND
============================================ */
body {
  background: linear-gradient(
    180deg,
    var(--sky-pale) 0%,
    #d4ecf8 36%,
    var(--sky-bottom) 58%,
    var(--sky-mid) 80%,
    var(--sky-top) 100%
  ) !important;
}

/* ============================================
   NAV — COMPACT PILL (Zenwood style)
   Overrides existing glass-nav
============================================ */
header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: 96%;
  /* Remove scroll transition — user requested no scroll effect */
  transition: none !important;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
  padding: 7px 10px 7px 16px !important;
  gap: 8px !important;
  transition: none !important;
}

/* Remove the glass ::before and ::after decorations */
.glass-nav::before,
.glass-nav::after {
  display: none !important;
}

.nav-links a {
  font-size: 0.88rem !important;
  padding: 8px 14px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.nav-links a:hover {
  background: rgba(0,0,0,0.04) !important;
  box-shadow: none !important;
}

/* CTA nav button green */
.header-btn .btn-primary,
.nav-links .btn-primary {
  background: var(--green-cta) !important;
  color: white !important;
  box-shadow: none !important;
  padding: 8px 20px !important;
  font-size: 0.88rem !important;
}

.header-btn .btn-primary:hover,
.nav-links .btn-primary:hover {
  background: var(--green-hover) !important;
  transform: none !important;
}

/* ============================================
   AVAILABILITY BADGE (top-left)
============================================ */
.sky-avail-badge {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.6);
  animation: availPulse 3s ease-in-out infinite;
}

.sky-avail-badge .avail-dot {
  width: 10px;
  height: 10px;
  background: var(--status-available);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.sky-avail-badge .avail-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--status-available);
  animation: dotPing 2s ease-in-out infinite;
}

@keyframes dotPing {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes availPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
  50% { box-shadow: 0 4px 28px rgba(26,127,55,0.12); }
}

/* Email badge (top-right) */
.sky-email-badge {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.25s ease;
  text-decoration: none;
}

.sky-email-badge:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.sky-email-badge svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

/* ============================================
   HERO — SKY SECTION
============================================ */
.sky-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 35%, var(--sky-bottom) 70%, var(--sky-pale) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 130px 24px 80px;
  overflow: hidden;
}

/* Clouds */
.sky-cloud {
  position: absolute;
  background: rgba(255,255,255,0.65);
  border-radius: 100px;
  filter: blur(1px);
}
.sky-cloud::before, .sky-cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.sky-cloud--1 { width: 180px; height: 50px; top: 7%; left: -5%; animation: skyCloudDrift 38s linear infinite; }
.sky-cloud--1::before { width: 70px; height: 70px; top: -35px; left: 30px; }
.sky-cloud--1::after { width: 90px; height: 80px; top: -40px; left: 70px; }

.sky-cloud--2 { width: 140px; height: 40px; top: 14%; right: -5%; animation: skyCloudDrift 48s linear infinite reverse; animation-delay: -12s; }
.sky-cloud--2::before { width: 55px; height: 55px; top: -28px; left: 20px; }
.sky-cloud--2::after { width: 70px; height: 60px; top: -30px; left: 55px; }

.sky-cloud--3 { width: 200px; height: 55px; top: 22%; left: 8%; animation: skyCloudDrift 52s linear infinite; animation-delay: -22s; opacity: 0.45; }
.sky-cloud--3::before { width: 80px; height: 75px; top: -38px; left: 40px; }
.sky-cloud--3::after { width: 100px; height: 85px; top: -42px; left: 80px; }

.sky-cloud--4 { width: 120px; height: 35px; top: 5%; right: 14%; animation: skyCloudDrift 42s linear infinite; animation-delay: -6s; opacity: 0.55; }
.sky-cloud--4::before { width: 50px; height: 50px; top: -25px; left: 15px; }
.sky-cloud--4::after { width: 60px; height: 55px; top: -28px; left: 45px; }

.sky-cloud--5 { width: 160px; height: 45px; top: 30%; right: 4%; animation: skyCloudDrift 58s linear infinite reverse; animation-delay: -18s; opacity: 0.35; }
.sky-cloud--5::before { width: 65px; height: 60px; top: -30px; left: 25px; }
.sky-cloud--5::after { width: 80px; height: 70px; top: -35px; left: 65px; }

@keyframes skyCloudDrift {
  0% { transform: translateX(-250px); }
  100% { transform: translateX(calc(100vw + 250px)); }
}

/* Hero content */
.sky-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  animation: skyFadeDown 0.7s ease-out;
  border: 1px solid rgba(255,255,255,0.4);
}

/* H1 SEO — style bulle (même esprit que "Expertise locale à 5 étoiles") */
.sky-hero__h1-seo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: rgba(255,255,255,0.55);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: clamp(0.62rem, 2.2vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
  white-space: nowrap;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(15,44,74,0.06);
  margin: 0 0 16px 0;
  text-align: center;
  animation: skyFadeDown 0.7s ease-out 0.05s both;
}

.sky-hero__title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.04;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  animation: skyFadeDown 0.7s ease-out 0.1s both;
}

.sky-hero__subtitle {
  text-align: center;
  font-size: clamp(0.8rem, 1.05vw, 0.9rem);
  color: #8ea0b2;
  max-width: 560px;
  line-height: 1.32;
  margin: 0 auto 28px;
  animation: skyFadeDown 0.7s ease-out 0.2s both;
}

.sky-hero__cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: skyFadeDown 0.7s ease-out 0.3s both;
}

/* Green CTA buttons */
.btn-sky-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-cta);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px var(--green-glow);
  text-decoration: none;
}

.btn-sky-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,127,55,0.35);
}

.btn-sky-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-decoration: none;
}

.btn-sky-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

/* Trust row */
.sky-hero__trust {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  animation: skyFadeDown 0.7s ease-out 0.4s both;
}

.sky-hero__google-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s ease;
}

.sky-hero__google-pill:hover {
  transform: translateY(-1px);
}

.sky-hero__google-avatars {
  display: inline-flex;
  align-items: center;
}

.sky-hero__google-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e6edf3;
  box-shadow: 0 3px 10px rgba(15, 44, 74, 0.15);
  margin-left: -10px;
  background: #fff;
}

.sky-hero__google-avatar:first-child {
  margin-left: 0;
}

.sky-hero__google-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sky-hero__google-stars {
  color: #f4c300;
  letter-spacing: 1.3px;
  font-size: 1.05rem;
  font-weight: 900;
  white-space: nowrap;
}

.sky-hero__google-note {
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@keyframes skyFadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO CHARACTERS (desktop only >1024px)
============================================ */
/* Le hero doit être le repère des positions absolues */
.sky-hero {
  position: relative;
  overflow: hidden; /* évite les débordements visuels */
}

/* Important : le contenu reste au-dessus du fond */
.sky-hero__inner {
  position: relative;
  z-index: 2;
}

/* Persos desktop : visibles uniquement >=1025px */
.sky-hero__chars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Duo mobile : caché par défaut */
.sky-hero__char-mobile {
  display: none;
  max-width: 360px;
  margin: 0 auto;
}
/* Duo mobile : contrôle strict */
.sky-hero__char-mobile img {
  width: 100%;
  max-width: 360px; /* ajuste selon ton design */
  height: auto;
  display: block;
  object-fit: contain;
}

/* Mobile uniquement (<=767px) : duo visible, persos desktop cachés */
@media (max-width: 767px) {
  .sky-hero__chars { display: none; }
  .sky-hero__char-mobile { display: block; }
}

/* Tablette (768–1024px) : aucune image */
@media (min-width: 768px) and (max-width: 1024px) {
  .sky-hero__chars { display: none; }
  .sky-hero__char-mobile { display: none; }
}

/* Desktop (>=1025px) : persos visibles, duo caché */
@media (min-width: 1025px) {
  .sky-hero__chars { display: block; }
  .sky-hero__char-mobile { display: none; }
}

/* Base perso */
.sky-hero__char {
  position: absolute;
  bottom: clamp(8px, 2vw, 28px); /* ajuste pour coller au “sol” */
  width: clamp(220px, 18vw, 360px);
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.10));
  will-change: transform, opacity;
}

.sky-hero__char img {
  width: 120%;
  height: auto;
  display: block;
}

/* Placement gauche/droite */
.sky-hero__char--left {
  left: clamp(10px, 2vw, 56px);
  animation: charEnterLeft .9s cubic-bezier(.16, 1, .3, 1) .45s both;
  z-index: 50;
}

.sky-hero__char--right {
  right: clamp(100px, 2vw, 56px);
  animation: charEnterRight .9s cubic-bezier(.16, 1, .3, 1) .6s both;
  z-index: 50;
}

/* Animations (soft) */
@keyframes charEnterLeft {
  from { opacity: 0; transform: translateX(-22px) translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes charEnterRight {
  from { opacity: 0; transform: translateX(22px) translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}


/* ============================================
   FOLDER SHOWCASE
============================================ */
.sky-folder {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 44px auto 0;
  animation: skyFadeUp 0.9s ease-out 0.5s both;
}

@keyframes skyFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

.sky-folder__container {
  position: relative;
  perspective: 1200px;
}

/* Tab */
.sky-folder__tab {
  position: absolute;
  top: -17px;
  left: 36px;
  background: var(--folder-bg);
  border: 2px solid var(--folder-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 4px 18px 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  z-index: 2;
  pointer-events: none;
}

/* Back panel */
.sky-folder__back {
  position: relative;
  background: var(--folder-bg);
  border: 2px solid var(--folder-border);
  border-radius: 24px;
  padding: 36px 28px;
  min-height: 340px;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* Stitching */
.sky-folder__back::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed var(--folder-grid);
  border-radius: 20px;
  pointer-events: none;
}

/* Cards row */
.sky-folder__cards {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 3;
}

.sky-folder__card {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sky-folder__card:hover {
  transform: translateY(-7px) rotate(-0.5deg);
}

.sky-folder__card-img {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sky-folder__card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sky-folder__card-img--web { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.sky-folder__card-img--ads { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.sky-folder__card-img--social { background: linear-gradient(135deg, #10B981, #059669); }

.sky-folder__card-emoji {
  font-size: 2.4rem;
  opacity: 0.35;
}

.sky-folder__card-body {
  padding: 12px 14px;
}

.sky-folder__card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.tag-site { background: #EEF2FF; color: #4338CA; }
.tag-ads  { background: #FEF3C7; color: #B45309; }
.tag-seo  { background: #DCFCE7; color: #15803D; }

.sky-folder__card-title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.sky-folder__card-desc {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* View button */
.sky-folder__view-btn {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin: 18px auto 0;
  padding: 9px 20px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sky-folder__view-btn:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.sky-folder__view-btn svg {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
}

.sky-folder__view-btn:hover svg {
  transform: translateX(3px);
}

/* Lid (opens on scroll) */
.sky-folder__lid {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: var(--folder-bg);
  border: 2px solid var(--folder-border);
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sky-folder__lid::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed var(--folder-grid);
  border-radius: 20px;
  pointer-events: none;
}

.sky-folder__lid-content {
  text-align: center;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.88rem;
}

.sky-folder__lid-content svg {
  display: block;
  margin: 0 auto 8px;
  width: 30px; height: 30px;
  opacity: 0.45;
}

.sky-folder.is-open .sky-folder__lid {
  transform: perspective(1200px) rotateX(-88deg);
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   AI GENERATOR — Override to dark centered block
============================================ */
.ai-generator-section {
  border-radius: 18px !important;
  border: 2px solid rgba(255, 255, 255, 0.22);
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#ai-generator {
  scroll-margin-top: clamp(120px, 24vh, 260px);
}

.ai-generator-section::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.ai-generator-shell {
  position: relative;
  z-index: 2;
}

/* ============================================
   BEHIND THE SCENES — Polaroid style
============================================ */
.bts-section {
  padding: 90px 24px 100px;
  background: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bts-section .sky-cloud { opacity: 0.3; }

.bts-title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.bts-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.bts-section__cta {
  position: relative;
  z-index: 2;
  margin: 0 auto 34px;
}

/* Polaroid grid */
.bts-polaroids {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  min-height: 400px;
}

.bts-polaroid {
  width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 10px 10px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Stacked fan layout */
.bts-polaroid:nth-child(1) {
  transform: rotate(-12deg) translateY(10px);
  z-index: 1;
  margin-right: -40px;
}
.bts-polaroid:nth-child(2) {
  transform: rotate(-4deg) translateY(-5px);
  z-index: 2;
  margin-right: -30px;
}
.bts-polaroid:nth-child(3) {
  transform: rotate(3deg) translateY(0);
  z-index: 3;
  margin-right: -30px;
}
.bts-polaroid:nth-child(4) {
  transform: rotate(10deg) translateY(15px);
  z-index: 2;
}

/* Hover: lift and straighten */
.bts-polaroid:hover {
  transform: rotate(0deg) translateY(-20px) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
}

.bts-polaroid__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-bottom), var(--sky-mid));
  position: relative;
}

/* Placeholder — replace src with real images */
.bts-polaroid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback when no image — shows emoji */
.bts-polaroid__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.3;
  background: linear-gradient(135deg, #e0f0fa, #c5e8f7);
}

.bts-polaroid__caption {
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: 8px;
  text-align: center;
  opacity: 0.7;
}

.bts-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.bts-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.bts-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(430px, calc(100vw - 32px));
  background: #fff;
  border-radius: 24px;
  padding: 14px 14px 22px;
  box-shadow: 0 32px 90px rgba(8, 25, 43, 0.28);
  transition: transform 0.24s ease;
}

.bts-overlay.is-visible .bts-modal {
  transform: translate(-50%, -50%) scale(1);
}

.bts-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 44, 74, 0.08);
  color: var(--text-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.bts-modal__media {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-bottom), var(--sky-mid));
}

.bts-modal__media img,
.bts-modal__media .bts-polaroid__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.bts-modal__media .bts-polaroid__img-placeholder {
  font-size: 5rem;
}

.bts-modal__caption {
  margin: 12px 0 0;
  text-align: center;
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: 1.35rem;
  color: var(--text-dark);
}

/* Mobile / tablette compacte */
@media (max-width: 820px) {
  #ai-generator {
    scroll-margin-top: 18vh;
  }

  .bts-polaroids {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: auto;
    max-width: 360px;
    margin: 0 auto;
    align-items: stretch;
  }

  .bts-polaroid {
    width: 100%;
    margin: 0 !important;
    padding: 8px 8px 24px;
    border-radius: 14px;
    transform: none !important;
  }

  .bts-polaroid:hover {
    transform: none !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  }

  .bts-polaroid__caption {
    font-size: 0.86rem;
    margin-top: 6px;
  }

  .bts-modal {
    width: min(360px, calc(100vw - 24px));
    padding: 12px 12px 18px;
    border-radius: 20px;
  }

  .bts-modal__close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .bts-modal__caption {
    font-size: 1.15rem;
  }
}

/* ============================================
   SERVICES — MAC FOLDER STYLE
============================================ */
.services-folders-section {
  padding: 90px 24px;
  background: transparent;
  text-align: center;
}

.services-folders-title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.services-folders-section .xp-badge-yellow {
  background: rgba(255,255,255,0.55);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 10px rgba(15,44,74,0.06);
}

.services-folders-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* The container — same folder style as hero */
.services-folder-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.services-folder-tab {
  position: absolute;
  top: -17px;
  left: 36px;
  background: var(--folder-bg);
  border: 2px solid var(--folder-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 4px 18px 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  z-index: 2;
}

.services-folder-back {
  position: relative;
  background: var(--folder-bg);
  border: 2px solid var(--folder-border);
  border-radius: 24px;
  padding: 36px 24px 28px;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.services-folder-back::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed var(--folder-grid);
  border-radius: 20px;
  pointer-events: none;
}

/* Mac folders grid */
.mac-folders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 3;
}

.mac-folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px 20px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.mac-folder-item:hover {
  background: rgba(255,255,255,0.6);
  transform: translateY(-6px);
}

.mac-folder-item:hover .mac-folder-icon {
  transform: scale(1.08);
}

/* Folder icon — placeholder for real Mac folder image */
.mac-folder-icon {
  width: 80px;
  height: 68px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Mac folder fallback */
.mac-folder-icon__back {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, #6CB4EE 0%, #4A9DE0 100%);
  border-radius: 4px 4px 6px 6px;
  box-shadow: 0 4px 12px rgba(74, 157, 224, 0.3);
}

.mac-folder-icon__tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 18px;
  background: linear-gradient(180deg, #6CB4EE 0%, #5AA8E8 100%);
  border-radius: 5px 5px 0 0;
}

.mac-folder-icon__front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46px;
  background: linear-gradient(180deg, #8DC8F8 0%, #6CB4EE 100%);
  border-radius: 0 4px 6px 6px;
  z-index: 1;
}

/* If real image provided, hide CSS fallback */
.mac-folder-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.mac-folder-icon img + .mac-folder-icon__back,
.mac-folder-icon img ~ .mac-folder-icon__tab,
.mac-folder-icon img ~ .mac-folder-icon__front {
  display: none;
}

.mac-folder-label {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.2;
}

.mac-folder-sublabel {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  margin-top: -4px;
}

/* Expanded info panel — appears on click */
.mac-folder-detail {
  display: none;
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  text-align: left;
  animation: folderDetailReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.mac-folder-detail.is-open {
  display: block;
}

@keyframes folderDetailReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mac-folder-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mac-folder-detail__title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
}

.mac-folder-detail__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: background 0.2s;
}

.mac-folder-detail__close:hover {
  background: rgba(0,0,0,0.1);
}

.mac-folder-detail__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.mac-folder-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mac-folder-detail__tags span {
  background: rgba(126, 200, 227, 0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}

.mac-folder-detail__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-cta);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.mac-folder-detail__cta:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

/* Services folder CTA row */
.services-folder-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 700px) {
  .mac-folders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mac-folder-item { padding: 16px 8px; }
  .mac-folder-icon { width: 64px; height: 55px; }
  .services-folder-back { padding: 24px 16px 20px; }
}

/* ============================================
   SECTIONS — SKY THEME OVERRIDES
============================================ */

/* XP section (services) — sky bg */
.xp-section {
  background: var(--sky-pale) !important;
  padding: 90px 20px !important;
}

.xp-card {
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.xp-card:hover {
  box-shadow: 0 20px 44px rgba(20,100,187,0.08) !important;
  border-color: rgba(20,100,187,0.15) !important;
}

.xp-btn-main {
  background: var(--green-cta) !important;
}

.xp-btn-main:hover {
  background: var(--green-hover) !important;
}

/* Process section */
.process-section {
  background: rgba(255,255,255,0.50) !important;
  border-radius: 32px !important;
  margin: 30px 20px !important;
}

.process-card {
  background: rgba(255,255,255,0.80) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.process-step {
  background: rgba(26, 127, 55, 0.10) !important;
  color: var(--green-cta) !important;
}

/* Testimonials */
.testimonials-section {
  background: transparent !important;
}

.testimonial-card {
  background: rgba(255,255,255,0.88) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Blog section */
.blog-section {
  background: transparent !important;
}

.blog-card {
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Contact section — sky gradient */
.contact-section {
  background: transparent !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Portfolio / realisations section */
.realisations-section {
  background: transparent !important;
}

/* Proof strip — glass */
.proof-strip {
  background: transparent !important;
}

.proof-strip__item {
  background: rgba(255,255,255,0.60) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* CTA buttons — use green everywhere */
.btn-primary {
  background-color: var(--green-cta) !important;
  box-shadow: 0 4px 15px var(--green-glow) !important;
}

.btn-primary:hover {
  background-color: var(--green-hover) !important;
  box-shadow: 0 8px 25px rgba(26,127,55,0.35) !important;
}

/* ============================================
   SKY CTA — Final section with clouds
============================================ */
.sky-cta-final {
  position: relative;
  background: transparent;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
}

.sky-cta-final .sky-cloud { opacity: 0.35; }

.sky-cta-final__title {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 14px;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}

.sky-cta-final__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.sky-cta-final__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ============================================
   RESPONSIVE — SKY OVERRIDES
============================================ */
@media (max-width: 900px) {
  .sky-avail-badge,
  .sky-email-badge {
    display: none;
  }

  .sky-hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .sky-hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .sky-folder__cards {
    flex-direction: column;
  }

  .sky-folder__back {
    padding: 24px 16px;
    min-height: auto;
  }

  .sky-hero__cta-group {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .btn-sky-primary,
  .btn-sky-secondary {
    padding: 11px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .btn-sky-primary svg { width: 12px; height: 12px; }

  /* AI generator - mobile readability and spacing */
  section.ai-generator-section#ai-generator {
    width: calc(100% - 24px);
    margin: 12px auto 42px !important;
    padding: 20px 14px 22px !important;
    border-radius: 16px !important;
  }

  #ai-generator .ai-generator-shell {
    max-width: 100%;
    padding: 0 2px;
  }

  #ai-generator .ai-label-badge {
    font-size: 0.66rem;
    padding: 5px 10px;
    margin-bottom: 12px;
  }

  #ai-generator h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1.2;
    margin-bottom: 12px;
  }

  #ai-generator .ai-visual-strip {
    gap: 6px;
    margin-bottom: 12px;
  }

  #ai-generator .ai-visual-card {
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  #ai-generator .ai-conversation-hint {
    font-size: 0.76rem;
    line-height: 1.45;
    padding: 0 4px;
    text-align: center;
  }

  #ai-generator .ai-generate-btn {
    min-height: 48px;
    padding: 8px 12px;
  }

  #ai-generator .ai-generate-btn--xl span {
    font-size: 0.9rem;
  }

  #ai-generator .ai-conversation {
    margin-top: 10px;
  }

  #ai-generator .ai-conversation-feed {
    min-height: 156px;
    max-height: 340px;
    padding: 10px;
    border-radius: 14px;
  }

  #ai-generator .ai-chat-bubble {
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 9px 11px;
    border-radius: 12px;
  }

  #ai-generator .ai-conversation-form {
    margin-top: 10px;
    gap: 8px;
  }

  #ai-generator .ai-conversation-input {
    min-height: 42px;
    font-size: 0.86rem;
    padding: 10px 12px;
    border-radius: 12px;
  }

  #ai-generator .ai-conversation-send {
    min-height: 42px;
    font-size: 0.86rem;
    border-radius: 12px !important;
  }

  #ai-generator .ai-conversation-note {
    font-size: 0.74rem;
    line-height: 1.4;
    margin-top: 8px;
  }

  #ai-generator .ai-result-area {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  #ai-generator .ai-result-area h4 {
    font-size: 0.94rem;
    margin: 10px 0 6px;
  }

  #ai-generator .ai-result-area p,
  #ai-generator .ai-result-area li {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  #ai-generator .ai-post-cta .btn {
    width: 100%;
    min-height: 42px;
    font-size: 0.86rem;
  }

  /* Testimonials - compact mobile */
  #temoignages .section-header {
    margin-bottom: 20px;
  }

  #temoignages .section-header h2 {
    font-size: clamp(1.35rem, 5.6vw, 1.7rem);
    line-height: 1.2;
  }

  #temoignages .section-header p {
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 520px;
    margin: 8px auto 0;
  }

  #temoignages .testimonial-slider {
    gap: 12px;
    padding: 6px 2px 4px;
  }

  #temoignages .testimonial-card {
    min-width: 240px;
    max-width: 240px;
    padding: 14px;
    border-radius: 14px !important;
  }

  #temoignages .client-header {
    margin-bottom: 10px;
  }

  #temoignages .client-info {
    gap: 10px;
  }

  #temoignages .client-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  #temoignages .client-details strong {
    font-size: 0.9rem;
  }

  #temoignages .client-details span {
    font-size: 0.72rem;
  }

  #temoignages .google-icon {
    font-size: 1.1rem;
  }

  #temoignages .stars-review {
    font-size: 0.82rem;
    margin-bottom: 9px;
    letter-spacing: 1.2px;
  }

  #temoignages .testimonial-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  #temoignages .testimonials-cta {
    margin-top: 12px;
    gap: 8px;
  }

  #temoignages .testimonials-cta .btn {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .sky-hero__trust {
    justify-content: center;
  }

  .sky-hero__google-pill {
    width: min(100%, 360px);
    justify-content: center;
    gap: 10px;
  }

  .sky-hero__google-avatar {
    width: 46px;
    height: 46px;
    border-width: 3px;
    margin-left: -9px;
  }

  .sky-hero__google-stars {
    font-size: 0.96rem;
    letter-spacing: 1px;
  }

  .sky-hero__google-note {
    font-size: 0.95rem;
  }

  .sky-cta-final__buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Mobile nav handled in style.css — no page-specific overrides */
}

@media (max-width: 760px) {
  #blog .section-header {
    margin-bottom: 18px;
  }

  #blog .section-header h2 {
    font-size: clamp(1.3rem, 5.8vw, 1.65rem);
    line-height: 1.2;
  }

  #blog .section-header p {
    font-size: 0.84rem;
    line-height: 1.42;
    max-width: 520px;
    margin: 8px auto 0;
  }

  #blog .blog-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #blog .blog-grid::-webkit-scrollbar {
    display: none;
  }

  #blog .blog-card {
    flex: 0 0 240px;
    min-width: 240px;
    max-width: 240px;
    border-radius: 14px !important;
    scroll-snap-align: start;
  }

  #blog .blog-card__link {
    padding: 14px;
  }

  #blog .blog-card__meta {
    gap: 8px;
    margin-bottom: 8px;
  }

  #blog .blog-tag {
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  #blog .blog-date {
    font-size: 0.72rem;
  }

  #blog .blog-card h3 {
    font-size: 0.94rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  #blog .blog-card p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  #blog .blog-cta {
    margin-top: 12px;
  }

  #blog .blog-cta .btn {
    padding: 9px 13px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  section.ai-generator-section#ai-generator {
    width: calc(100% - 18px);
    margin: 10px auto 36px !important;
    padding: 18px 11px 20px !important;
  }

  #ai-generator h2 {
    font-size: clamp(1.08rem, 6vw, 1.32rem);
  }

  #ai-generator .ai-visual-card {
    font-size: 0.68rem;
    padding: 7px 9px;
  }

  #ai-generator .ai-generate-btn--xl span {
    font-size: 0.84rem;
  }

  #temoignages .testimonial-card {
    min-width: 210px;
    max-width: 210px;
    padding: 12px;
  }

  #temoignages .testimonial-card p {
    font-size: 0.8rem;
  }

  #temoignages .stars-review {
    font-size: 0.76rem;
  }

  #blog .blog-card {
    flex-basis: 210px;
    min-width: 210px;
    max-width: 210px;
  }

  #blog .blog-card h3 {
    font-size: 0.88rem;
  }

  #blog .blog-card p {
    font-size: 0.79rem;
  }
}
