/* ============================================
   MELKIQUIZ — STYLESHEET v2
   Charte graphique officielle
   Fond blanc/clair · Bleu ciel + Rose-orange + Jaune néon
   ============================================ */

:root {
  --blue: #42C8F5;
  --blue-dark: #1AAFD0;
  --blue-light: #E8F9FE;
  --pink: #FF6EC7;
  --orange: #FF9A3C;
  --yellow: #E8FF47;
  --purple: #7B5EA7;
  --purple-light: #C46AB2;
  --white: #FFFFFF;
  --light: #F7FEFF;
  --light-2: #EDF9FD;
  --dark: #1A2A30;
  --dark-2: #2C3E45;
  --gray: #6B8A93;
  --gray-light: #B8D4DA;

  --grad-main: linear-gradient(135deg, #FF6EC7, #FF9A3C);
  --grad-blue: linear-gradient(135deg, #42C8F5, #1AAFD0);
  --grad-purple: linear-gradient(135deg, #7B5EA7, #C46AB2);
  --grad-hero: linear-gradient(160deg, #E8F9FE 0%, #F7F0FF 50%, #FFF5E8 100%);

  --font-display: 'Fredoka One', cursive;
  --font-body: 'DM Sans', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(66,200,245,0.15);
  --shadow-pink: 0 8px 32px rgba(255,110,199,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--blue-light);
  box-shadow: 0 2px 20px rgba(66,200,245,0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
}

.nav-logo span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dark-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue-dark); }

.nav-cta {
  background: var(--grad-main) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-pink);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(255,110,199,0.4) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-main);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,110,199,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
  border-color: var(--blue-dark);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--grad-hero);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb-1 { width: 500px; height: 500px; background: var(--blue); top: -80px; right: -100px; }
.hero-orb-2 { width: 350px; height: 350px; background: var(--pink); bottom: 80px; left: -80px; opacity: 0.2; }
.hero-orb-3 { width: 250px; height: 250px; background: var(--yellow); bottom: -30px; right: 250px; opacity: 0.3; }

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-title em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  flex-shrink: 0;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 320px;
  box-shadow: var(--shadow);
}

.hero-card-stars { color: var(--orange); font-size: 1.2rem; margin-bottom: 16px; }
.hero-card p { font-size: 1rem; line-height: 1.6; color: var(--dark-2); font-style: italic; margin-bottom: 16px; }
.hero-card span { font-size: 0.85rem; color: var(--gray); font-weight: 600; }

/* ============ CLIENTS ============ */
.clients {
  padding: 48px 40px;
  text-align: center;
  background: var(--light-2);
  border-top: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
}

.clients-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 24px;
  font-weight: 700;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 1px;
  transition: color 0.2s;
}

.client-logo:hover { color: var(--blue-dark); }
.clients-logos--small .client-logo { font-size: 0.95rem; }

/* ============ SECTION TITLE ============ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 56px;
  color: var(--dark);
}

.section-title span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ UNIVERS ============ */
.univers { padding: 100px 0; }

.univers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.univers-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.3s;
  display: block;
  box-shadow: var(--shadow-card);
}

.univers-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.univers-card--pro:hover { border-color: var(--blue); }
.univers-card--priv:hover { border-color: var(--pink); }
.univers-icon { font-size: 2.5rem; margin-bottom: 20px; }

.univers-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.univers-card p { color: var(--gray); line-height: 1.7; margin-bottom: 24px; }

.univers-price {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.univers-link { font-size: 0.9rem; font-weight: 700; color: var(--blue-dark); }

/* ============ HOW ============ */
.how {
  padding: 100px 0;
  background: var(--light-2);
  border-top: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
}

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how-step { text-align: center; }

.how-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 12px; }
.how-step p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* ============ REVIEWS ============ */
.reviews { padding: 100px 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }

.review-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.review-card--featured {
  background: linear-gradient(135deg, #E8F9FE, #FFF0F8);
  border-color: var(--blue);
}

.review-stars { color: var(--orange); font-size: 1rem; margin-bottom: 16px; }
.review-card p { font-size: 0.95rem; line-height: 1.7; color: var(--dark-2); font-style: italic; margin-bottom: 16px; }
.review-card span { font-size: 0.8rem; color: var(--gray); font-weight: 700; }
.review-date { font-size: 0.75rem; color: var(--gray-light); margin-top: 6px; }
.reviews-more { text-align: center; }

/* ============ CTA ============ */
.cta-section { padding: 80px 0; }

.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--purple) 100%);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: 1rem; }

.cta-box .btn-primary {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-box .btn-primary:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 160px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.15;
  color: var(--dark);
}

.page-hero h1 em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p { font-size: 1.1rem; color: var(--gray); margin-bottom: 36px; line-height: 1.7; }

/* ============ WHY ============ */
.why-section { padding: 100px 0; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-text p { color: var(--gray); line-height: 1.8; margin-bottom: 32px; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.why-list li {
  color: var(--dark-2);
  font-size: 0.95rem;
  padding: 12px 16px;
  background: var(--light-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
}

.why-visual { display: flex; flex-direction: column; gap: 16px; }

.why-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s;
  box-shadow: var(--shadow-card);
}

.why-card:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--shadow); }
.why-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.why-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin-bottom: 4px; }
.why-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; margin: 0; }

/* ============ TARIFS ============ */
.tarifs-section {
  padding: 100px 0;
  background: var(--light-2);
  border-top: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
}

.tarifs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto 24px; }
.tarifs-grid--single { grid-template-columns: 1fr; max-width: 480px; }

.tarif-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.tarif-card--featured { border-color: var(--blue); box-shadow: var(--shadow); }

.tarif-badge {
  display: inline-block;
  background: var(--grad-main);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tarif-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 12px; }

.tarif-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.tarif-detail { font-size: 0.85rem; color: var(--gray); margin-bottom: 28px; }

.tarif-list { list-style: none; text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }

.tarif-list li {
  font-size: 0.9rem;
  color: var(--dark-2);
  padding-left: 22px;
  position: relative;
}

.tarif-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.tarif-extras { font-size: 0.8rem; color: var(--gray); margin-bottom: 28px; line-height: 1.5; }
.tarifs-note { text-align: center; font-size: 0.8rem; color: var(--gray); }

/* ============ FAQ ============ */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--blue-dark); }

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
  font-family: var(--font-display);
}

.faq-q.open::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--gray); font-size: 0.9rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* ============ SCORE ============ */
.score-section { padding: 60px 0; }

.score-box {
  text-align: center;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 60px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.score-number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 400;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.score-stars { color: var(--orange); font-size: 1.8rem; margin-bottom: 8px; }
.score-count { color: var(--gray); margin-bottom: 24px; font-weight: 600; }

/* ============ REVIEWS PAGE ============ */
.reviews-page { padding: 40px 0 100px; }
.reviews-masonry { columns: 3; gap: 24px; }
.reviews-masonry .review-card { break-inside: avoid; margin-bottom: 24px; }

/* ============ CONTACT ============ */
.contact-section { padding: 120px 40px 80px; max-width: 1100px; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }

.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 20px;
  margin-top: 16px;
  line-height: 1.15;
}

.contact-info > p { color: var(--gray); line-height: 1.8; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.contact-detail:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateX(4px); }
.contact-detail-icon { font-size: 1.4rem; }
.contact-detail strong { display: block; font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-detail span { font-size: 0.95rem; font-weight: 700; }
.contact-clients { margin-top: 8px; }

/* ============ FORM ============ */
.contact-form-wrap {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--light);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2342C8F5' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(66,200,245,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--gray); margin-top: 8px; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); padding: 60px 0 40px; }

.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 48px; align-items: start; }

.footer .nav-logo { color: var(--white); }
.footer .nav-logo span { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.6; margin-top: 8px; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--blue); }
.footer-legal { color: rgba(255,255,255,0.2); font-size: 0.75rem; margin-top: 8px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 24px; gap: 16px; border-bottom: 2px solid var(--blue-light); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .hero { flex-direction: column; padding: 100px 24px 60px; gap: 40px; }
  .hero-visual { width: 100%; }
  .hero-card { max-width: 100%; }
  .univers-grid, .reviews-grid, .why-grid, .tarifs-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .reviews-masonry { columns: 1; }
  .contact-section { padding: 100px 24px 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 48px 28px; }
  .page-hero { padding: 120px 24px 60px; }
  .clients { padding: 32px 24px; }
  .clients-logos { gap: 24px; }
  .score-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
}

/* ============ PHOTOS ============ */
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

.hero-photo-wrap {
  position: relative;
  max-width: 480px;
}

.hero-photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(66,200,245,0.2);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 200px;
}

.hero-photo-badge .hero-card-stars {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.hero-photo-badge p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--dark-2);
  margin-bottom: 4px;
  line-height: 1.4;
}

.hero-photo-badge span {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 600;
}

.photo-bande {
  width: 100%;
  overflow: hidden;
  max-height: 420px;
}

.photo-bande-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.contact-profil {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  background: var(--light-2);
  border-radius: var(--radius);
  padding: 20px;
  border: 2px solid var(--blue-light);
}

.contact-profil-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  flex-shrink: 0;
}

.contact-profil p {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin: 0;
}

.contact-profil span {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-photo-badge { left: 10px; bottom: -16px; }
  .photo-bande-img { height: 260px; }
}

/* ============ CLIENTS PROMINENT ============ */
.clients--prominent {
  background: var(--white);
  border: none;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  padding: 60px 40px;
}

.clients--prominent .clients-label {
  font-size: 0.9rem;
  color: var(--dark-2);
  font-weight: 800;
  margin-bottom: 32px;
}

.clients--prominent .client-logo {
  font-size: 1.4rem;
  color: var(--dark-2);
  opacity: 0.6;
  transition: all 0.2s;
}

.clients--prominent .client-logo:hover {
  color: var(--blue-dark);
  opacity: 1;
  transform: scale(1.05);
}

/* ============ LOGO ONLY NAV ============ */
.nav-logo.logo-only .nav-logo-img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

/* ============ PHOTOS DUO ============ */
.photos-duo {
  padding: 0;
}

.photos-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.photos-duo-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ============ CGV ============ */
.cgv-section {
  padding: 120px 0 80px;
}

.cgv-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--blue-light);
}

.cgv-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
}

.cgv-header p {
  color: var(--gray);
  font-size: 0.9rem;
}

.cgv-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cgv-block {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.cgv-block h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}

.cgv-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-2);
  margin: 20px 0 10px;
}

.cgv-block p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.cgv-block ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cgv-block li {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cgv-block a {
  color: var(--blue-dark);
  text-decoration: underline;
}

.cgv-block--note {
  background: var(--light-2);
  border-color: var(--blue);
  text-align: center;
}

.cgv-block--note p { margin: 0; font-style: italic; }

/* ============ GOOGLE BUTTON ============ */
.btn-google {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-google:hover { background: #FFF5E8; }

/* ============ INSTAGRAM REELS ============ */
.reels-section {
  padding: 80px 0;
  background: var(--light-2);
  border-top: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
}

.reels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.reel-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
  aspect-ratio: 9/16;
  position: relative;
}

.reel-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .photos-duo-grid { grid-template-columns: 1fr; }
  .photos-duo-img { height: 260px; }
  .reels-grid { grid-template-columns: 1fr; max-width: 400px; }
  .nav-logo.logo-only .nav-logo-img { width: 90px; }
}

/* ============ NAV FIX - LIGHT BG ============ */
.nav {
  background: rgba(255,255,255,0.96) !important;
}

/* ============ LOGO IMAGE ONLY ============ */
.nav-logo.logo-img-only {
  display: flex;
  align-items: center;
}

.nav-logo.logo-img-only .nav-logo-img {
  width: 110px;
  height: auto;
  border-radius: 12px !important;
  display: block;
}

/* Override toutes les tailles du logo */
.nav-logo-img {
  border-radius: 12px !important;
}

/* Footer logo */
footer .nav-logo img,
footer img[alt="MelKiQuiz"] {
  width: 100px;
  border-radius: 12px !important;
}

/* ============ PHOTO CARREE INTÉGRÉE ============ */
.why-photo-square {
  width: 100%;
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.why-photo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ============ MOBILE LOGO FIX ============ */
@media (max-width: 768px) {
  .nav-logo.logo-img-only .nav-logo-img,
  .nav-logo-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px !important;
  }

  .nav {
    padding: 8px 16px !important;
  }

  /* Contact page mobile fix */
  .contact-section {
    padding: 90px 16px 40px !important;
    overflow-x: hidden !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .contact-form-wrap {
    padding: 24px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-form {
    width: 100% !important;
  }

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

  .contact-info h1 {
    font-size: 1.8rem !important;
    margin-top: 8px !important;
  }

  /* Prevent horizontal scroll globally on mobile */
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-photo-badge {
    left: 8px !important;
    bottom: -12px !important;
    padding: 10px 14px !important;
    max-width: 160px !important;
  }
}

/* ============ CONTACT MOBILE FIX V2 ============ */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .contact-section {
    padding: 100px 0 40px !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .contact-section .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 24px !important;
  }

  .contact-info,
  .contact-form-wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .contact-form-wrap {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  .contact-form,
  .form-group,
  .form-row {
    width: 100% !important;
    min-width: 0 !important;
  }

  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Clients logos sur contact - forcer retour à la ligne */
  .contact-clients .clients-logos {
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: flex-start !important;
  }

  .contact-clients .client-logo {
    font-size: 0.85rem !important;
  }

  /* Profil card */
  .contact-profil {
    width: 100% !important;
    max-width: 100% !important;
  }
}
