@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ── VARIABLES ── */
:root { --red:#E8192C; --dark:#0D0D0D; --panel:#141414; --white:#fff; --gray:#F5F5F2; --border:rgba(255,255,255,0.07); --font:'Nunito',sans-serif; }

/* ── BASE ── */
html { scroll-behavior:smooth; }
body { font-family:var(--font); background:var(--dark); color:var(--white); overflow-x:hidden; }

/* ── NAV ── */
nav { position:fixed; top:0; left:0; right:0; z-index:200; height:68px; padding:0 32px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; transition:background .3s; }
nav.scrolled { background:rgba(13,13,13,0.97); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); }

/* NAV ELEMENTS */
.nav-logo { text-decoration:none; display:flex; align-items:center; }
.logo-desktop { height:44px; width:auto; display:block; object-fit:contain; }
.logo-mobile { height:44px; width:auto; display:none; object-fit:contain; }
.nav-links { display:flex; gap:32px; justify-content:center; }
.nav-links a { font-size:14px; font-weight:700; color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; white-space:nowrap; }
.nav-links a:hover { color:var(--white); }
.nav-right { display:flex; align-items:center; gap:12px; justify-content:flex-end; }
.nav-cta { font-size:13px; font-weight:700; background:var(--red); color:var(--white); padding:10px 22px; border-radius:8px; text-decoration:none; transition:opacity .2s; white-space:nowrap; }
.nav-cta:hover { opacity:.85; }

/* ── BURGER ── */
.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.nav-burger span { width:24px; height:2px; background:white; display:block; transition:all .3s ease; transform-origin:center; }

/* Animation vers la croix */
.nav-burger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity:0; }
.nav-burger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Responsive Burger */
@media (max-width: 768px) {
  #navLinks {
    display: none; /* CACHÉ par défaut */
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 999;
  }

  /* AFFICHÉ seulement quand la classe .open est là */
  #navLinks.open {
    display: flex !important;
  }
}

/* ── NAV ANIMATION ── */
nav { transition:background .3s ease, transform .3s ease, opacity .3s ease; }
nav.hidden { transform:translateY(-100%); opacity:0; }
nav.visible { transform:translateY(0); opacity:1; }

/* ── MOBILE ── */
@media (max-width:700px){
nav { grid-template-columns:1fr auto 1fr; align-items:center; background:rgba(13,13,13,0.97); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); }
.nav-logo { grid-column:2; justify-self:center; }
.nav-burger { display:flex; grid-column:3; justify-self:end; }
.nav-right { display:none; }
.nav-links { position:absolute; top:68px; left:0; right:0; background:rgba(13,13,13,0.98); backdrop-filter:blur(14px); flex-direction:column; align-items:center; gap:20px; padding:20px 0; display:flex; opacity:0; transform:translateY(-10px); pointer-events:none; transition:all .35s ease; }
.nav-links.active { opacity:1; transform:translateY(0); pointer-events:auto; }
}
/* ── HERO ── */
.hero { position:relative; width:100%; height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }

/* HERO BACKGROUND */
.bg-carousel { position:absolute; inset:0; overflow:hidden; z-index:0; display:flex; flex-direction:column; gap:8px; padding:8px 0; }
.bg-track { display:flex; flex:1; width:max-content; gap:8px; }
.bg-track:nth-child(1) { animation:scrollBg 50s linear infinite; }
.bg-track:nth-child(2) { animation:scrollBg2 60s linear infinite; }
.bg-track:nth-child(3) { animation:scrollBg 55s linear infinite; }
.bg-track video { height:100%; width:auto; aspect-ratio:9/16; object-fit:cover; flex-shrink:0; border-radius:14px; filter:brightness(.55); }

@keyframes scrollBg { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes scrollBg2 { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }

/* HERO OVERLAY */
.hero-ov-dark { position:absolute; inset:0; background:rgba(0,0,0,.25); z-index:2; }
.hero-ov-sides { position:absolute; inset:0; z-index:2; background:linear-gradient(to right, rgba(13,13,13,.9) 0%, rgba(13,13,13,.1) 20%, transparent 40%, transparent 60%, rgba(13,13,13,.1) 80%, rgba(13,13,13,.9) 100%); }
.hero-ov-bottom { position:absolute; bottom:0; left:0; right:0; height:200px; z-index:2; background:linear-gradient(to bottom, transparent, var(--dark)); }

.hero-content { position:relative; }
.hero-content { z-index:10; }
.hero-content { padding:0 5%; }
.hero-content { max-width:860px; }

.hero h1 { font-weight:900; }
.hero h1 { font-size:clamp(20px,5vw,64px); }
.hero h1 { line-height:1.08; }
.hero h1 { letter-spacing:-.02em; }
.hero h1 { color:var(--white); }
.hero h1 { margin-bottom:18px; }
.hero h1 { display:flex; }
.hero h1 { flex-direction:column; }
.hero h1 { align-items:center; }
.hero h1 { white-space:normal; }
.hero h1 { overflow:visible; }
.hero h1 { text-overflow:unset; }
.hero h1 { text-align:center; }

.hero-line-1 { color:var(--white); }
.hero-line-2 { color:var(--red); }

.hero-sub { font-size:clamp(13px,1.1vw,16px); }
.hero-sub { color:rgba(255,255,255,.5); }
.hero-sub { line-height:1.6; }
.hero-sub { margin:0 auto 32px; }
.hero-sub { white-space:normal; }
.hero-sub { text-align:center; }

.hero-btns { display:flex; }
.hero-btns { gap:12px; }
.hero-btns { justify-content:center; }
.hero-btns { flex-wrap:wrap; }

.btn-red { font-size:14px; }
.btn-red { font-weight:700; }
.btn-red { background:var(--red); }
.btn-red { color:var(--white); }
.btn-red { padding:14px 26px; }
.btn-red { border-radius:8px; }
.btn-red { text-decoration:none; }
.btn-red { transition:opacity .2s; }

.btn-red:hover { opacity:.85; }

.btn-ghost { font-size:14px; }
.btn-ghost { font-weight:600; }
.btn-ghost { color:rgba(255,255,255,.65); }
.btn-ghost { border:1px solid rgba(255,255,255,.2); }
.btn-ghost { padding:14px 26px; }
.btn-ghost { border-radius:8px; }
.btn-ghost { text-decoration:none; }
.btn-ghost { transition:all .2s; }

.btn-ghost:hover { border-color:rgba(255,255,255,.5); }
.btn-ghost:hover { color:var(--white); }

@media (max-width:700px) {
.hero h1 { font-size:clamp(18px,7vw,36px); line-height:1.15;}
.hero-sub { font-size:14px; }
.hero-content { padding:0 8%; }
}
/* HERO SCROLL */
.scroll-hint { position:absolute; bottom:32px; left:50%; transform:translateX(-50%); z-index:10; transition:opacity .5s; }
.scroll-hint.hidden { opacity:0; pointer-events:none; }
.scroll-arrow-wrap { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; animation:bounce 2s infinite; }
.scroll-arrow { width:10px; height:10px; border-right:2px solid rgba(255,255,255,.7); border-bottom:2px solid rgba(255,255,255,.7); transform:rotate(45deg); margin-top:-3px; }

@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }
@keyframes fadeUp { from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:translateY(0)} }

/* ── STATS ── */
.stats-bar { background:#111; border-top:1px solid rgba(255,255,255,.05); padding:28px 6%; display:flex; justify-content:space-around; flex-wrap:wrap; gap:20px; }
.stat { text-align:center; }
.stat-n { font-weight:900; font-size:26px; color:var(--red); }
.stat-l { font-size:12px; color:rgba(255,255,255,.3); margin-top:4px; }

/* ── SECTIONS ── */
section { padding:80px 6%; }
.section-dark { background:#0a0a0a; }
.section-gray { background:var(--gray); }
.s-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--red); margin-bottom:10px; }
.s-label-w { color:rgba(255,255,255,.4); }
.s-label-dk { color:var(--red); }
.s-title { font-weight:900; font-size:clamp(24px,3.2vw,46px); line-height:1.1; margin-bottom:14px; }
.s-title-w { color:var(--white); }
.s-title-dk { color:var(--dark); }
.s-sub { font-size:15px; color:rgba(255,255,255,.4); line-height:1.7; max-width:520px; margin-bottom:44px; }
.s-sub-dk { color:#666; }
/* ── SERVICES ── */

/* GRID */
.svc-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:12px; }

/* CARD */
.svc { padding:28px; border-radius:12px; border:1px solid var(--border); transition:background .2s; }
.svc:hover { background:rgba(255,255,255,.03); }
.svc-light { background:var(--white) !important; border:1px solid #e5e5e5 !important; }
.svc-light:hover { background:#f9f9f9 !important; }

/* CONTENT */
.svc-icon { font-size:24px; margin-bottom:14px; }
.svc-name { font-size:16px; font-weight:800; color:var(--white); margin-bottom:8px; }
.svc-name-dk { color:var(--dark) !important; }
.svc-desc { font-size:13px; color:rgba(255,255,255,.4); line-height:1.7; }
.svc-desc-dk { color:#666 !important; }


/* ── PORTFOLIO ── */

/* GRID */
.port-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(170px,1fr)); gap:14px; }

/* CARD */
.port-card { aspect-ratio:9/16; border-radius:14px; overflow:hidden; position:relative; cursor:pointer; background:#1a1a1a; transition:transform .25s, box-shadow .25s; }
.port-card:hover { transform:scale(1.03); box-shadow:0 12px 40px rgba(0,0,0,.5); }

/* MEDIA */
.port-thumb { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; background:#1a1a1a; }

/* OVERLAY */
.port-overlay { position:absolute; inset:0; z-index:2; background:linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 50%); display:flex; flex-direction:column; justify-content:flex-end; padding:14px; pointer-events:none; }

/* TEXT */
.port-client-name { font-size:10px; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.08em; margin-bottom:3px; }
.port-stat { font-weight:900; font-size:20px; color:var(--white); line-height:1; }
.port-label { font-size:10px; color:rgba(255,255,255,.4); }

/* CURSOR */
.port-card-cursor { position:absolute; inset:0; z-index:3; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; pointer-events:none; }
.port-card:hover .port-card-cursor { opacity:1; }
.port-card-cursor-circle { width:64px; height:64px; border-radius:50%; background:rgba(232,25,44,.9); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--white); }


/* ── AVIS ── */

/* WRAP */
.avis-wrap { overflow:hidden; padding:10px 0; }

/* TRACK */
.avis-track { display:flex; gap:20px; width:max-content; animation:scrollAvis 40s linear infinite; align-items:center; }
.avis-track:hover { animation-play-state:paused; }

/* ITEM */
.avis-img { flex-shrink:0; height:275px; width:auto; border-radius:14px; object-fit:contain; background:var(--white); box-shadow:0 4px 24px rgba(0,0,0,.08); cursor:pointer; transition:transform .3s ease, box-shadow .3s ease; }
.avis-img:hover { transform:scale(1.06); box-shadow:0 12px 40px rgba(0,0,0,.18); }

/* ANIMATION */
@keyframes scrollAvis { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }


/* ── OFFRES ── */

/* WRAP */
.pricing-wrap {
  display: grid;
  grid-template-columns: 2fr 1.2fr; /* desktop : gauche + droite */
  gap: 24px; /* écart entre colonnes */
  max-width: 960px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: 36px;
}

/* COLONNES */
.pricing-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* TITRE CENTRAL - deux lignes */
.offre-line-1 { color: var(--white); display:block; }
.offre-line-2 { color: var(--red); display:block; margin-top: 6px; } /* écart entre les deux lignes */
/* SOUS-TITRE CENTRÉ */
.pricing-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  text-align: center;
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

/* COL DROITE : Calendly centré verticalement */
.pricing-col-right {
  display: flex;
  align-items: center; /* centre verticalement */
  justify-content: center; /* centre horizontalement */
}

/* FEATURES */
.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s;
}
.pricing-feat:hover { border-color: rgba(232,25,44,.25); }
.pricing-feat-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.pricing-feat-text { font-size: 13px; font-weight: 600; color: var(--white); line-height: 1.5; }
.pricing-feat-sub { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 2px; }

/* Calendly embed */
#calendly-embed {
  width: 100%;
  max-width: 420px;
  min-height: 540px;
  border-radius: 12px;
  overflow: hidden;
}
.mobile-cal-btn {
    display: none;
    width: 100%;
    box-sizing: border-box; /* IMPORTANT : inclut le padding/border dans la largeur */
    margin-top: 16px;
    padding: 16px; /* Ajuste la taille interne du bouton */
    background: var(--red);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.2s;
}

.mobile-cal-btn:active {
    transform: scale(0.98);
}

/* MOBILE ≤700px : une seule colonne */
@media (max-width:1000px) {
  .pricing-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px; /* Réduire un peu le padding sur mobile pour gagner de la place */
  }

  .pricing-col-right {
    display: block; /* Simplifie le flux sur mobile */
    width: 100%;
  }

  #calendly-embed {
    display: none;
  }

  .mobile-cal-btn {
    display: block;
  }
}
/* ── FAQ ── */

/* SECTION */
.faq-section { background:var(--gray); }
.faq-section .s-title { color:var(--dark); }

/* GRID */
.faq-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:40px; }
.faq-col { display:flex; flex-direction:column; gap:12px; }
.faq-col a { display:block; }

/* ITEM */
.faq-item { background:var(--white); border:1px solid #e5e5e5; border-radius:12px; overflow:hidden; cursor:pointer; transition:border-color .2s; width:100%; }
.faq-item:hover { border-color:#ccc; }
.faq-item.open { border-color:var(--red); }

/* QUESTION */
.faq-q { font-weight:700; font-size:14px; color:var(--dark); display:flex; justify-content:space-between; align-items:center; gap:8px; padding:18px 20px; }
.faq-q-chevron { flex-shrink:0; color:var(--red); font-size:11px; transition:transform .25s; display:inline-block; }
.faq-item.open .faq-q-chevron { transform:rotate(180deg); }

/* ANSWER */
.faq-a { font-size:13px; color:#666; line-height:1.7; max-height:0; overflow:hidden; padding:0 20px; transition:max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height:300px; padding:0 20px 18px; }

/* CONTACT */
.faq-contact { background:var(--dark); border-radius:14px; padding:32px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.faq-contact-text { font-weight:900; font-size:clamp(18px,2.5vw,26px); color:var(--white); margin-bottom:6px; }
.faq-contact-sub { font-size:14px; color:rgba(255,255,255,.45); }
.faq-contact-actions { display:flex; gap:10px; flex-wrap:wrap; }

/* BUTTONS */
.faq-btn-cal { font-size:14px; font-weight:700; background:var(--red); color:var(--white); padding:12px 22px; border-radius:8px; text-decoration:none; transition:opacity .2s; }
.faq-btn-cal:hover { opacity:.85; }
.faq-btn-mail { font-size:14px; font-weight:700; background:transparent; color:var(--white); border:1px solid rgba(255,255,255,.2); padding:12px 22px; border-radius:8px; text-decoration:none; transition:all .2s; }
.faq-btn-mail:hover { border-color:rgba(255,255,255,.5); }

@media (max-width: 804px) {
  .faq-contact {
    padding: 24px;
  }

  .faq-contact-actions {
    width: 100%;
  }

  .faq-btn-cal,
  .faq-btn-mail {
    width: 100%;
    text-align: center;
  }
}
/* ── FOOTER ── */

/* LAYOUT */
footer { background:#080808; border-top:1px solid var(--border); padding:48px 6% 0; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:60px; align-items:start; }

/* COLUMNS */
.footer-col { display:flex; flex-direction:column; gap:8px; }
.footer-col a { font-size:13px; color:rgba(255,255,255,.45); text-decoration:none; width:fit-content; transition:color .2s; }
.footer-col a:hover { color:var(--white); }

/* TITLE */
.footer-col-title { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.3); margin-bottom:8px; }

/* LOGO */
.footer-logo { margin-bottom:8px; }
.footer-logo img { height:56px; width:auto; display:block; }

/* SOCIALS */
.footer-socials { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }

/* BUTTON */
.footer-social { width:42px; height:42px; min-width:42px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); color:rgba(255,255,255,0.6); text-decoration:none; transition:all .25s ease; }
.footer-social svg { width:18px; height:18px; display:block; flex-shrink:0; transition:transform .25s ease; }
.footer-social:hover { background:linear-gradient(135deg, rgba(232,25,44,0.2), rgba(232,25,44,0.05)); border-color:rgba(232,25,44,0.6); color:#fff; transform:translateY(-3px) scale(1.05); box-shadow:0 8px 20px rgba(232,25,44,0.25); }
.footer-social:hover svg { transform:scale(1.1); }

/* BOTTOM */
.footer-bottom { grid-column:1 / -1; padding:18px 0; margin-top:24px; border-top:1px solid var(--border); font-size:12px; color:rgba(255,255,255,.2); }

/* ── FOOTER MOBILE ── */
@media (max-width:700px){
footer { grid-template-columns:1fr 1fr; gap:30px; text-align:center; }

/* Bloc logo + socials prend toute la largeur */
.footer-col:first-child { grid-column:1 / -1; align-items:center; }

/* Centre logo */
.footer-logo { display:flex; justify-content:center; }
.footer-logo img { height:48px; }

/* Centre réseaux */
.footer-socials { justify-content:center; }

/* Colonnes en dessous côte à côte */
.footer-col:nth-child(2) { align-items:center; }
.footer-col:nth-child(3) { align-items:center; }

/* Liens centrés */
.footer-col a { margin:0 auto; }

/* Boutons un peu plus petits */
.footer-social { width:38px; height:38px; }
.footer-social svg { width:16px; height:16px; }
}