/* ========================================
   Your e-Reputation — Site vitrine
   Couleurs officielles branding YER
   ======================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #F2DA99;
  --gold-light: #f7e8b8;
  --dark: #2C2D33;
  --dark-light: #35363d;
  --dark-card: #383940;
  --gray: #D9D9D9;
  --gray-light: #b0b0b0;
  --white: #FFFFFF;
  --font: 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

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

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(44, 45, 51, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(201, 162, 77, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo-name em {
  font-style: normal;
  color: var(--gold);
}
.logo-tagline {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

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

nav a {
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
nav a:hover, nav a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}
.nav-cta:hover { background: var(--gold-light); color: var(--dark) !important; }

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.4);
  transform: scale(1.05);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(44,45,51,0.4) 0%, rgba(44,45,51,0.7) 100%);
  z-index: 0;
}

/* ========== SECTIONS CLAIRES ========== */
.section-light {
  background: var(--white);
  color: var(--dark);
}
.section-light .section-label { color: #b8952e; }
.section-light .section-subtitle { color: #555; }
.section-light .service-card {
  background: #f8f8f8;
  border-color: #e0e0e0;
}
.section-light .service-card p { color: #555; }
.section-light .process-step p { color: #555; }
.section-light .testimonial-card {
  background: #f8f8f8;
  border-color: #e0e0e0;
}
.section-light .testimonial-card p { color: #555; }
.section-light .testimonial-role { color: #888; }
.section-light .stars { color: #b8952e; }
.section-light .stat-number { color: #b8952e; }
.section-light .stat-label { color: #555; }
.section-light .btn-outline { color: var(--dark); border-color: var(--dark); }
.section-light .btn-outline:hover { border-color: #b8952e; color: #b8952e; }
.section-light .step-number {
  border-color: #b8952e;
  color: #b8952e;
}

/* Section processus */
.section-process {
  background: var(--white);
  color: var(--dark);
}
.section-process .section-label { color: #b8952e; }
.section-process .section-title { color: var(--dark); }
.section-process .process-step {
  background: var(--dark);
  border-color: rgba(242, 218, 153, 0.15);
}
.section-process .process-step h3 { color: var(--white); }
.section-process .process-step p { color: var(--gray); }
.section-process .step-number {
  background: linear-gradient(135deg, #b8952e 0%, var(--gold) 100%);
  color: var(--dark);
  border: none;
}

/* ========== IMAGES SECTIONS ========== */
.section-with-bg {
  position: relative;
  overflow: hidden;
}
.section-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}
.section-with-bg > .container { position: relative; z-index: 1; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero-badge {
  display: inline-block;
  background: rgba(242, 218, 153, 0.15);
  border: 1px solid rgba(242, 218, 153, 0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 77, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ========== SERVICES / CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 77, 0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 162, 77, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== STATS ========== */
.stats-section {
  background: var(--white);
  border-top: none;
  border-bottom: none;
}

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

.stats-grid > div {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.stats-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #b8952e;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 13px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #b8952e 0%, var(--gold) 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-text p {
  color: var(--gray-light);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-highlights {
  list-style: none;
  margin-top: 28px;
}

.about-highlights li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-highlights li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-image {
  background: var(--dark-card);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
  text-align: center;
}

.about-image .initials {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold) 0%, #d4bf7a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 auto 24px;
}

.about-image h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-image p {
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gray);
}

/* ========== CTA SECTION ========== */
.cta-section {
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  margin: 0 24px;
  border: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1200&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.35);
  transform: scale(1.05);
  z-index: 0;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.8); }
.section-light .cta-section h2 { color: var(--white); }
.section-light .cta-section p { color: rgba(255,255,255,0.8); }

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-light);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CTA FULLWIDTH ========== */
.cta-fullwidth {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  text-align: center;
  color: var(--white);
}
.cta-fullwidth::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('cta-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.3);
  transform: scale(1.05);
  z-index: 0;
}
.cta-fullwidth > * { position: relative; z-index: 1; }
.cta-fullwidth h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-fullwidth p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 77, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--gray-light);
  font-size: 14px;
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--gray-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--gold);
}

.form-consent label {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.5;
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(242, 218, 153, 0.15);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--gray);
  font-size: 14px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 13px;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--gold);
}

.legal-page p, .legal-page li {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .services-grid,
  .process-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero h1 { font-size: 36px; }
  .section-title { font-size: 30px; }

  nav ul { display: none; }
  .hamburger { display: flex; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(201, 162, 77, 0.15);
  }
}

/* ========== BANDEAU COOKIES ========== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  color: var(--white);
  padding: 18px 20px;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}
#cookie-banner .cb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 250px; line-height: 1.5; }
#cookie-banner a { color: var(--gold); text-decoration: underline; }
#cookie-banner .cb-btns { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-banner button {
  padding: 10px 20px;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  min-width: 110px;
  font-family: var(--font);
}
#cookie-banner #accept-cookies { background: var(--gold); color: var(--dark); }
#cookie-banner #refuse-cookies { background: transparent; color: var(--gold); }
#cookie-manage-link {
  position: fixed;
  bottom: 12px;
  left: 12px;
  background: var(--dark);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  z-index: 9998;
  border: 1px solid var(--gold);
  display: none;
  font-family: var(--font);
}
