/* ========================================
   PRESTIGE NETTOYAGE — Style Principal
   ======================================== */

/* --- Variables CSS --- */
:root {
  --navy-dark: #0a1628;
  --navy: #1a2d4a;
  --navy-light: #243a5e;
  --gold: #c8a45a;
  --gold-light: #dbb978;
  --gold-pale: #f0e6cc;
  --white-off: #f8f6f1;
  --white: #ffffff;
  --gray-light: #e8e6e1;
  --gray: #9a9a9a;
  --text-dark: #2c2c2c;
  --text-body: #555555;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(200, 164, 90, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 164, 90, 0.45);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-navy {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 90, 0.15);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

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

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-nav a:hover {
  color: var(--gold);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-dark);
  z-index: 0;
}

.hero-bg.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.12);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 28px;
  background: var(--gold);
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(200, 164, 90, 0.4);
}

.hero h1 {
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: var(--text-dark);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

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

/* Hero compact (pages intérieures) */
.hero-compact {
  min-height: 45vh;
  padding: 140px 24px 60px;
  background: var(--white-off);
  justify-content: center;
}

.hero-compact .hero-bg::after {
  display: block;
  background: linear-gradient(135deg, rgba(248, 246, 241, 0.85) 0%, rgba(248, 246, 241, 0.75) 100%);
}

.hero-compact .hero-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.hero-compact h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--navy-dark);
}

.hero-compact p {
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-compact .hero-badge {
  color: var(--gold);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--white-off);
}

.section-dark {
  background: var(--navy-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .overline {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-body);
  font-size: 1.05rem;
}

/* --- Cards Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 164, 90, 0.2);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.1), rgba(200, 164, 90, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Chiffres clés --- */
.stats-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 60px 0;
}

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

.stat-item h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Excellence --- */
.excellence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.excellence-image {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 164, 90, 0.4);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
}

.excellence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.excellence-text h2 {
  margin-bottom: 20px;
}

.excellence-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.excellence-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.excellence-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.excellence-list li::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(200, 164, 90, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Section Intervention --- */
.intervention-section {
  background: var(--navy-dark);
  padding: 80px 0;
  text-align: center;
}

.intervention-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.intervention-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.intervention-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.intervention-badge {
  padding: 10px 24px;
  background: rgba(200, 164, 90, 0.1);
  border: 1px solid rgba(200, 164, 90, 0.25);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* --- Références / Logos --- */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.logo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  min-height: 120px;
}

.logo-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.logo-card span {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* --- Secteurs détaillés --- */
.sectors-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sector-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.sector-item:hover {
  box-shadow: var(--shadow-lg);
}

.sector-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-dark);
}

.sector-content h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.sector-content p {
  font-size: 0.9rem;
}

/* --- Avantages Cards --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(200, 164, 90, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.9rem;
}

/* --- Formulaires --- */
.form-section {
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

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

.form-submit {
  margin-top: 24px;
  text-align: center;
}

.form-submit .btn {
  min-width: 200px;
}

/* Phone input group */
.phone-group {
  display: flex;
  gap: 8px;
}

.phone-group select {
  width: 100px;
  flex-shrink: 0;
}

.phone-group input {
  flex: 1;
}

/* --- Contact Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(200, 164, 90, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-card a {
  color: var(--gold);
  font-weight: 600;
}

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

/* --- Avantages rejoindre --- */
.join-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.join-advantage-card {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.join-advantage-card h3 {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.join-advantage-card p {
  font-size: 0.9rem;
}

.join-icon {
  font-size: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
  border-top: 2px solid var(--gold);
}

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

.footer-brand .logo img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gold-light);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* --- Animations (fade-in) --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.6);
  }

  .hero p {
    margin: 0 auto 32px;
  }

  .hero-compact {
    min-height: 40vh;
    padding: 120px 20px 40px;
  }

  .section {
    padding: 60px 0;
  }

  .services-grid,
  .stats-grid,
  .sectors-list,
  .contact-cards,
  .join-advantages {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excellence-grid {
    grid-template-columns: 1fr;
  }

  .excellence-image {
    height: 250px;
    order: -1;
  }

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

  .form-group.full-width {
    grid-column: auto;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .intervention-badges {
    flex-direction: column;
    align-items: center;
  }
}
