/* ================= ROOT / GLOBAL ================= */

:root {
  /* Backgrounds */
  --color-bg-main: #0b0d17;      /* fond principal très sombre */
  --color-bg-alt: #111327;       /* sections secondaires */
  --color-bg-card: #14162b;      /* cartes */

  /* Primary (violet) */
  --color-primary: #6d28d9;      /* violet foncé */
  --color-primary-hover: #7c3aed;

  /* Text */
  --color-text-main: #e5e7eb;    /* texte principal clair */
--color-text-muted: #cbd5e1;   /* texte secondaire */
  --color-text-title: #f9fafb;   /* titres */

  /* Borders & effects */
  --color-border: rgba(148, 163, 184, 0.25);

  /* UI */
  --radius-md: 0.9rem;
  --radius-lg: 1.25rem;

  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 3px rgba(109, 40, 217, 0.25);

  --container-width: 1120px;
  /* Accent colors (used in gradients & highlights) */
  --color-yellow: #facc15;
  --color-blue: #3b82f6;
  --color-navy: #0f172a;

  /* Small radius + subtle shadow */
  --radius-sm: 0.65rem;
  --shadow-subtle: 0 12px 28px rgba(0, 0, 0, 0.45);

}



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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for sticky header */
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
}


/* Remove default margins on headings & paragraphs */
h1,
h2,
h3,
h4 {
  color: var(--color-text-title);
}

p,
li,
.section-subtitle,
.section-intro {
  color: var(--color-text-muted);
}

p {
  margin: 0;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Containers */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.6), transparent 55%);
}

.section-alt {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.15), transparent 60%),
    var(--color-bg-alt);
}

/* ================= HEADER / NAVBAR ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.877);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.rem;
}

.logo{
  display: flex;
  flex-direction: column;
}

.logo-main {
  color: var(--color-text-title);
}

.logo-sub {
  color: var(--color-text-muted);
}


.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(229, 231, 235, 0.9);
  position: relative;
  padding-block: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-blue));
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav CTA button visible only on desktop by default */
.nav-cta {
  display: inline-flex;
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  background-color: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile menu */
.nav-mobile-menu {
  border: 1px solid rgba(148, 163, 184, 0.22);
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 260px;
  background: linear-gradient(135deg, rgba(20, 22, 43, 0.95), rgba(2, 6, 23, 0.95));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  padding: 0.9rem 1rem 1.1rem;
  display: none;
}

.nav-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(229, 231, 235, 0.92);
}


.nav-mobile-links a:hover {
  color: #ffffff;
}
.nav-mobile-cta {
  width: 100%;
  justify-content: center;
}

/* State when nav is open on mobile */
.nav-mobile-open .nav-mobile-menu {
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: block;
}

.nav-mobile-open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-mobile-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #4c1d95);
  color: #f9fafb;
  border: none;
  box-shadow: 0 12px 30px rgba(109, 40, 217, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), #5b21b6);
  box-shadow: 0 16px 38px rgba(124, 58, 237, 0.6);
  transform: translateY(-1px);
}


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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-text-title);
  box-shadow: var(--shadow-glow);
}

.form-submit {
  margin-top: 0.5rem;
}

/* ================= HERO ================= */

.hero {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.25rem, 3vw + 1.2rem, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;

    background: linear-gradient(90deg, #ffffff 0%, #c4b5fd 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 34rem;
    color: #cbd5e1;
    margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;

  text-shadow: 0 0 6px rgba(255, 255, 255, 0.747);
}


.hero-note-label{
  font-weight: 600;
  color: #facc15; /* yellow */
}
/* Hero visual */

.hero-visual {
  display: flex;
  justify-content: center;
}

.video-mockup {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #1e293b, #020617);
  box-shadow: var(--shadow-soft);
  color: #e5e7eb;
  padding: 0.9rem 0.9rem 1.1rem;
}

.video-mockup-header {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.video-mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: rgba(248, 250, 252, 0.4);
}

.video-mockup-body {
  background: linear-gradient(145deg, #020617, #020617);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Phone frame inside */

.phone-frame {
  border-radius: 1.7rem;
  padding: 0.3rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top, #111827, #020617);
}

.phone-screen {
  border-radius: 1.45rem;
  padding: 0.9rem 0.7rem;
  background: linear-gradient(160deg, #0f172a, #020617);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.phone-tag {
  align-self: flex-start;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  justify-content: center;
}

.phone-bars span {
  width: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--color-blue), #22c55e);
  animation: bounce 1.5s ease-in-out infinite;
}

.phone-bars span:nth-child(1) {
  height: 16px;
  animation-delay: 0s;
}
.phone-bars span:nth-child(2) {
  height: 22px;
  animation-delay: 0.1s;
}
.phone-bars span:nth-child(3) {
  height: 28px;
  animation-delay: 0.2s;
}
.phone-bars span:nth-child(4) {
  height: 20px;
  animation-delay: 0.3s;
}

.phone-caption {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* Timeline */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.6), rgba(15, 23, 42, 0.9));
  overflow: hidden;
}

.timeline-thumb {
  position: absolute;
  left: 18%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #f9fafb;
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.28);
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ================= SECTIONS SHARED ================= */

.section-header {
  margin-bottom: 2.2rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.8rem;

    background: linear-gradient(90deg, #ffffff 0%, #c4b5fd 60%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #c4c4c4;
}

.section-intro {
  font-size: 0.98rem;
  color: #dddddd;
  max-width: 38rem;
  margin-top: 0.7rem;
}

/* Pills */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;          /* un peu plus d’espace entre les pills */
  margin-top: 30px;   /* espace au-dessus */
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;

  border: 1.5px dashed rgba(255, 216, 77, 0.6); /* jaune pointillé */
  color: #ffffff;

  background: transparent;
  transition: all 0.3s ease;
}
.pill:hover {
  background: linear-gradient(135deg, #5B2EFF, #7A3CFF);
  border: 1.5px solid #7A3CFF;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(90, 46, 255, 0.35);
}
/* Cards */

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: linear-gradient(160deg, #14162b, #0b0d17);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85);
}

.card h3 {
  color: var(--color-text-title);
}

.card p,
.card li {
  color: var(--color-text-muted);
}

/* Steps */

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0f172a;
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

/* Features */

.feature-card {
  text-align: left;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  background: rgba(15, 23, 42, 0.06);
  font-size: 1.1rem;
}

/* Lists */

.list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #ffffffa9;
  margin-bottom: 0.2rem;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: var(--color-blue);
}

/* Services */

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-note {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #4b5563;
  background-color:#0f172a;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(250, 204, 21, 0.45);
}

/* ================= PORTFOLIO ================= */

.portfolio-grid {
  margin-top: 0.3rem;
}
.portfolio-video{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.portfolio-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio-label{
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.portfolio-card h3 {
  margin-top: 0.7rem;
}
/* Portfolio list layout */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 420px;   /* largeur contrôlée = cohérence */
}

/* Portfolio card */
.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Video container */
.portfolio-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

/* Iframe sizing */
.portfolio-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.portfolio-thumb {
  border-radius: var(--radius-md);
  height: 160px;
  background-image: linear-gradient(135deg, #111827, #1f2937);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.7rem;
}

.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    125deg,
    rgba(250, 204, 21, 0.12),
    transparent 40%,
    rgba(59, 130, 246, 0.28)
  );
}

.portfolio-label {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.section-footnote {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: #4b5563;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

#about h2 {
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.2rem;

  background: linear-gradient(90deg, #ffffff 0%, #c4b5fd 30%, #6845c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.about-text > p {
  font-size: 0.98rem;
  color: #e2e8f0;
  margin-bottom: 1.4rem;
}

.about-subtitle {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-side-note {
  background: rgba(109, 40, 217, 0.12); /* violet doux */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.about-side-note p {
  color: #e5e7eb;
}

.about-side-note .badge {
  color: #f9fafb;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(102, 102, 102, 0.92);
  color: #facc15;
  margin-bottom: 0.5rem;
}

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

.contact-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem 3rem;
  align-items: start;
}

.contact-title{
  grid-column: 1 / -1; /* full width */
  margin-bottom: 0.25rem;
}

.contact-title h2{
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, #ffffff 0%, #c4b5fd 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-left{
  grid-column: 1 / 2;
}

.contact-right{
  grid-column: 2 / 3;
}

/* Left copy (small paragraphs) */
.contact-line{
  color: #f1f5f9;
  margin: 0 0 0.55rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.contact-line.muted{
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

/* CTAs: side-by-side */
.contact-cta-row{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.contact-cta-row .btn{
  min-width: 220px;
  justify-content: center;
}

/* Social buttons */
.contact-social-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.18);
  background: rgba(2, 6, 23, 0.22);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.social-btn .icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, 0.14);
  background: rgba(2, 6, 23, 0.25);
}

.social-btn i{
  font-size: 16px;
  line-height: 1;
}

.social-btn:hover{
  transform: translateY(-1px);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.16);
}

/* Right card */
.contact-card{
  border: 1px dashed rgba(203, 213, 225, 0.35);
  border-radius: 14px;
  padding: 1.6rem;
  background: rgba(2, 6, 23, 0.35);
}

.contact-card h4{
  margin: 0 0 0.75rem 0;
  color: #f1f5f9;
}

.contact-card p{
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0.6rem 0;
}

.contact-card a{
  color: #c4b5fd;
  text-decoration: none;
}

.contact-card a:hover{
  text-decoration: underline;
}

.contact-card .muted{
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 900px){
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-right{
    grid-column: 1 / -1;
  }

  .contact-cta-row .btn{
    width: 100%;
    min-width: 0;
  }
}


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

.site-footer {
  background-color: #000000;
  color: #e5e7eb;
  padding: 1.8rem 0 1.9rem;
  margin-top: 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.85rem;
  justify-content: center;
}

.footer-nav a {
  color: #e5e7eb;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.8rem;
  text-align: right;
  color: #9ca3af;
}

/* ================= SCROLL ANIMATIONS ================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= UTILITIES ================= */

.small-container {
  max-width: 720px;
}

/* ================= ANIMATIONS ================= */

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-visual {
    margin-top: 1.5rem;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    margin-top: 1.1rem;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    row-gap: 0.8rem;
  }

  .footer-meta {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cards-3,
  .cards-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

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

  .btn {
    width: 100%;
  }
}


/* ================= JOURNEY ================= */
.journey-container{
  max-width: 1100px;
}

.journey-body p{
  color: #e2e8f0;
  font-size: 1.03rem;
  line-height: 1.75;
  margin: 0 0 0.95rem 0;
}

.journey-emphasis{
  margin: 1.25rem 0 1.25rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(203, 213, 225, 0.16);
  background: rgba(2, 6, 23, 0.25);
  border-radius: 16px;
}

.journey-emphasis p{
  margin: 0.35rem 0;
  color: #f1f5f9;
  font-weight: 650;
}

.journey-close{
  margin-top: 1.1rem;
  font-weight: 650;
  color: #f1f5f9;
}
/* ===== LOGO (Header + Footer) ===== */
.brand{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand-logo{
  display: block;
  height: 85px;      /* ajuste si besoin */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(139,92,246,.35));
}

@media (max-width: 600px){
  .brand-logo{ height: 24px; }
}
.brand-logo--footer{
  height: 70px;
}

@media (max-width: 600px){
  .brand-logo--footer{ height: 28px; }
}
.video-wrapper.yt{
  position: relative;
  cursor: pointer;
}
.video-wrapper.yt img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.video-wrapper.yt .yt-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.video-wrapper.yt .yt-play::before{
  content:"";
  width:64px;
  height:64px;
  border-radius:999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.video-wrapper.yt .yt-play::after{
  content:"";
  position:absolute;
  width:0;height:0;
  border-left:18px solid rgba(255,255,255,.9);
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  margin-left:4px;
}
/* ===== YouTube thumbnail (no iframe) ===== */
.yt-thumb{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px; /* adapte si ton card radius diffère */
  overflow: hidden;
  background: #05070d;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  text-decoration: none;
}

.yt-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}

.yt-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(60% 60% at 50% 40%,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.55) 70%,
    rgba(0,0,0,.85) 100%);
  pointer-events:none;
}

/* top-left badge like your "Video preview" */
.yt-badge{
  position:absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* play button (YouTube style) */
.yt-play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  transition: transform .2s ease;
}

.yt-thumb:hover .yt-play{
  transform:translate(-50%,-50%) scale(1.08);
}

/* hover: slightly brighter */
.yt-thumb:hover img{
  filter: saturate(1) contrast(1.1) brightness(0.86);
  transform: scale(1.05);
}
.yt-thumb:hover{
  border-color: rgba(168,85,247,.35);
}
.phone-screen {
  position: relative;
  background: url("davinci-screen.png") center center / cover no-repeat;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: inherit;
}
.phone-tag,
.phone-bars {
  position: relative;
  z-index: 2;
}
.mockup-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: inherit;
}
.phone-tag,
.phone-bars {
  position: relative;
  z-index: 2;
}
/* ===== FIX: prevent wrapping in navbar (CTA + language switch) ===== */

/* Keep navbar items on one line */
.nav-container,
.nav {
  flex-wrap: nowrap;
}

/* Prevent the CTA from shrinking + wrapping */
.nav-cta,
.nav-cta.btn,
a.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Prevent ALL buttons from wrapping text (safe) */
.btn {
  white-space: nowrap;
}

/* Language switch: force in one line */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* (Optional) If you use a <span> for "/" later */
.lang-switch span {
  opacity: 0.7;
}
.lang-switch a {
  color: #FACC15; /* ton jaune branding */
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.lang-switch a:hover {
  opacity: 0.7;
}
.lang-switch {
  color: #FACC15;
}
/* ===== PORTFOLIO SLIDER ===== */

.portfolio-slider {
  position: relative;
  margin-top: 1rem;
}

.portfolio-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.portfolio-track::-webkit-scrollbar {
  height: 8px;
}

.portfolio-track::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.5);
  border-radius: 999px;
}

.portfolio-track .portfolio-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .portfolio-track .portfolio-card {
    flex: 0 0 85%;
  }
}
/* ===== PORTFOLIO ARROWS ===== */

.portfolio-slider {
  position: relative;
}

.portfolio-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  z-index: 10;
}

.portfolio-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.portfolio-btn-prev {
  left: -20px;
}

.portfolio-btn-next {
  right: -20px;
}

/* Hide on small screens (swipe is enough) */
@media (max-width: 768px) {
  .portfolio-btn {
    display: none;
  }
}
/* ===== REVIEWS ===== */
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.review-card{
  padding: 1.35rem;
}

.review-stars{
  color: var(--color-yellow);
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
}

.review-text{
  color: #e2e8f0;
  margin: 0 0 0.9rem 0;
  line-height: 1.65;
}

.review-meta{
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.review-meta .muted{
  color: var(--color-text-muted);
  opacity: 0.9;
  font-size: 0.95rem;
}

@media (max-width: 900px){
  .reviews-grid{
    grid-template-columns: 1fr;
  }
}
.reviews-top{
  display:flex;
  justify-content:flex-start;
  margin: 0.6rem 0 1rem;
}
/* ===== Premium Dropdown About ===== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  position: relative;
  background: none;
  border: none;
  color: rgba(229, 231, 235, 0.9);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

/* Underline identical to other nav links */
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-blue));
  transition: width 0.2s ease-out;
}

.nav-dropdown-toggle:hover::after {
  width: 100%;
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: 130%;
  left: -28px;
  min-width: 220px;
  padding: 14px;
  border-radius: 16px;

  background: rgba(20, 22, 43, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);

  box-shadow: 0 25px 60px rgba(0,0,0,0.65);

  display: flex;
  flex-direction: column;
  gap: 8px;

  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(.16,.84,.44,1);

  z-index: 999;
}

/* Open state */
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Links inside dropdown */
.nav-dropdown-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(109, 40, 217, 0.18);
  transform: translateX(4px);
}

/* Arrow animation */
.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .arrow {
  transform: rotate(180deg);
}
/* Underline animation */
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7f5cff, #b48cff);
  transition: width 0.3s ease;
}

.nav-dropdown-toggle:hover::after {
  width: 100%;
}
.service-addon {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: 14px;
  
  width: 100%;
  
  background: rgba(255,255,255,0.02);
  border: 1.5px dashed rgba(255, 216, 77, 0.4);
  
  font-size: 14px;
  line-height: 1.6;
}
.addon-title {
  color: #FFD84D; /* Mets ici EXACTEMENT ton jaune branding */
}