@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --brand-blue: #003B7E;
  --brand-cyan: #008EE6;
  --bg-clean: #F8FAFC;
  --white: #ffffff;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-clean);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* NAVBAR DESIGN PREMIUM GLASSMORPHISM */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 59, 126, 0.08);
}

.logo-container {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 5px 10px;
}

.logo-roof {
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  position: relative;
  margin-bottom: 4px;
}
.logo-roof::before, .logo-roof::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 10px;
  border-top: 2px solid var(--brand-blue);
}
.logo-roof::before { left: 0; transform: skewY(12deg); transform-origin: left bottom; }
.logo-roof::after { right: 0; transform: skewY(-12deg); transform-origin: right bottom; }

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}
.logo-text span { color: var(--brand-cyan); position: relative; }

.sparkle {
  font-style: normal;
  display: inline-block;
  font-size: 14px;
  position: absolute;
  top: -8px;
  right: -15px;
  animation: pulseSparkle 2s infinite alternate;
}

.logo-subtitle {
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--brand-cyan);
  margin-top: 6px;
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 16px;
  border-radius: var(--radius-md);
}
.nav-links a.active, .nav-links a:hover {
  color: var(--brand-blue);
  background: rgba(0, 59, 126, 0.05);
}

/* RESEAUX NAVBAR */
.nav-socials {
  display: flex;
  gap: 10px;
}
.social-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.social-nav-btn.fb {
  background: #1877F2;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}
.social-nav-btn.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 10px rgba(225, 48, 108, 0.2);
}
.social-nav-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* CONTAINER & SECTIONS STRUCTURAL */
.content-container {
  margin-top: 100px;
  padding: 60px 50px;
  min-height: calc(100vh - 200px);
  position: relative;
}

.page-section {
  position: absolute;
  top: 60px; left: 50px; right: 50px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  top: 0; left: 0; right: 0;
}

/* HERO SECTION LUXE */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--brand-blue); line-height: 1.15; margin: 20px 0; }
.cyan-text { color: var(--brand-cyan); }
.top-tag { font-size: 12px; font-weight: 700; color: var(--brand-cyan); letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.description { line-height: 1.8; margin-bottom: 25px; font-size: 16px; color: var(--text-muted); }

.features-light-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}
.feature-item-mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.feature-item-mini i { font-size: 18px; margin-top: 2px; }
.feature-item-mini strong { font-size: 14px; color: var(--brand-blue); display: block; margin-bottom: 2px;}
.feature-item-mini p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

.bio-argument {
  background: var(--white);
  padding: 24px;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.bio-argument h4 { color: var(--brand-blue); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.bio-argument p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.badge-container { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { background: var(--brand-blue); color: var(--white); padding: 10px 20px; border-radius: 30px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }

.luxury-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.hero-static-img { width: 100%; height: auto; display: block; object-fit: cover; }
.shine-sweep {
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-30deg);
  animation: sweep 5s infinite linear;
}

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--brand-blue); margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 16px; }

/* COMPTEURS */
.counters-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 60px 0;
  text-align: center;
}
.counter-box {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 59, 126, 0.03);
}
.counter-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 5px;
}
.counter-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; line-height: 1.4; }

/* TÉMOIGNAGES PREMIUM */
.testimonials-section { margin: 80px 0 40px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 59, 126, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stars { color: #FBBF24; font-size: 14px; margin-bottom: 15px; }
.review-text { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.review-author { font-size: 13px; font-weight: 700; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.5px; }

/* CHARTE MANIFESTO */
.manifesto-section { margin-top: 60px; width: 100%; }
.manifesto-card {
  background: linear-gradient(135deg, #002654 0%, #003B7E 100%);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.manifesto-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 15px;
}
.manifesto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.m-point h5 { font-size: 15px; color: var(--brand-cyan); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.m-point p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* CARDS PARALLAXE 3D SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; perspective: 1500px; }
.card3d {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  overflow: hidden;
  border: 1px solid rgba(0, 59, 126, 0.04);
}
.shine-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.7) 0%, transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 5;
}
.card3d-inner { transform-style: preserve-3d; pointer-events: none; }
.layer-icon { font-size: 42px; color: var(--brand-cyan); margin-bottom: 25px; transform: translateZ(40px); display: inline-block; }
.layer-title { color: var(--brand-blue); font-size: 24px; margin-bottom: 15px; transform: translateZ(30px); }
.layer-desc { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 25px; transform: translateZ(20px); }
.layer-tags { transform: translateZ(25px); display: flex; flex-wrap: wrap; gap: 8px; }
.tags-platforms span { font-size: 12px; padding: 6px 14px; border-radius: 8px; font-weight: 600; }
.plat { background: rgba(0, 59, 126, 0.05); color: var(--brand-blue); }
.spec { background: rgba(0, 142, 230, 0.06); color: var(--brand-cyan); }

/* STRUCTURE TARIFS GRILLE */
.pricing-section { margin-top: 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 35px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 59, 126, 0.04);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card.featured {
  border: 2px solid var(--brand-cyan);
  background: linear-gradient(180deg, var(--white) 0%, rgba(0, 142, 230, 0.01) 100%);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.badge-featured {
  position: absolute;
  top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--brand-cyan); color: var(--white);
  padding: 4px 15px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.price-tag { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--brand-blue); line-height: 1; }
.price-unit { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 20px; font-weight: 500; }
.price-card h4 { font-size: 20px; color: var(--brand-blue); margin-bottom: 10px; }
.price-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 25px; min-height: 42px; }
.price-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(0, 0, 0, 0.04); padding-top: 25px; }
.price-features li { font-size: 13.5px; color: var(--text-dark); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }

/* GALERIE PHOTO CLEAN */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); height: 320px; box-shadow: var(--shadow-sm); background: #eaeaea; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(transparent, rgba(0, 59, 126, 0.95)); color: var(--white); z-index: 2; }
.gallery-overlay h4 { font-size: 18px; margin-bottom: 5px; font-weight: 600; }
.gallery-overlay p { font-size: 14px; opacity: 0.9; }
.gallery-item:hover img { transform: scale(1.05); }

/* WIZARD DEVIS FORM */
.wizard-container { background: var(--white); max-width: 650px; margin: 0 auto; padding: 45px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.02); }
.wizard-steps { display: flex; justify-content: center; gap: 20px; margin-bottom: 35px; }
.step { width: 40px; height: 40px; border-radius: 50%; background: #F1F5F9; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #94A3B8; transition: all 0.3s ease; }
.step.active { background: var(--brand-cyan); color: var(--white); box-shadow: 0 4px 12px rgba(0, 142, 230, 0.3); }

.form-step h3 { color: var(--brand-blue); margin-bottom: 20px; font-size: 20px; }
.form-step { display: none; }
.form-step.active { display: block; animation: stepFade 0.4s ease forwards; }

.input-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.input-group label { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.input-group input, .input-group select { padding: 14px; border-radius: 8px; border: 1px solid #E2E8F0; font-family: inherit; font-size: 15px; background: #F8FAFC; outline: none; transition: border 0.2s; }
.input-group input:focus, .input-group select:focus { border-color: var(--brand-cyan); background: var(--white); }

.option-card { background: var(--bg-clean); padding: 18px 20px; border-radius: 10px; cursor: pointer; border: 2px solid transparent; font-weight: 600; display: flex; align-items: center; gap: 15px; transition: all 0.2s ease; }
.option-card input[type="radio"] { width: auto; height: auto; transform: scale(1.2); cursor: pointer; }
.option-card:hover { border-color: var(--brand-cyan); background: rgba(0, 142, 230, 0.02); }

.btn-next, .btn-submit { background: var(--brand-cyan); color: var(--white); border: none; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background 0.2s; width: max-content; margin-left: auto; }
.btn-prev { background: #E2E8F0; color: var(--text-dark); border: none; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.btn-next:hover, .btn-submit:hover { background: #0076c2; }
.btn-group { display: flex; justify-content: space-between; margin-top: 25px; }

/* BLOC CONTACT & RESEAUX CORRIGÉS */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 20px; }
.contact-card { background: var(--white); padding: 35px 30px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.01); }
.contact-icon { font-size: 32px; margin-bottom: 15px; }

.contact-card.wide { grid-column: span 1; background: var(--brand-blue); color: var(--white); text-align: left; }
@media (min-width: 1200px) { .contact-card.wide { grid-column: span 3; } } /* Équilibre de la grille si 3 cartes */

.contact-card.wide h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 15px; }
.contact-val a { font-size: 22px; font-weight: 700; color: var(--white); text-decoration: none; display: inline-block; transition: color 0.2s; }
.contact-val a:hover { color: var(--brand-cyan); }
.contact-hours { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 10px; }
.animated-wave-clean { margin-top: 25px; font-weight: 600; letter-spacing: 1px; color: var(--brand-cyan); font-size: 15px; }

/* Styles Réseaux Évolués */
.facebook-card { border: 2px solid rgba(24, 119, 242, 0.15); background: linear-gradient(145deg, #ffffff, rgba(24, 119, 242, 0.02)); }
.facebook-card .contact-icon { color: #1877F2; }
.fb-link-btn { display: inline-block; background: #1877F2; color: white !important; font-size: 14px !important; font-weight: 600; padding: 11px 22px; border-radius: 8px; text-decoration: none; margin-top: 15px; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2); transition: background 0.2s; }
.fb-link-btn:hover { background: #145dbf; }

.instagram-card { border: 2px solid rgba(225, 48, 108, 0.15); background: linear-gradient(145deg, #ffffff, rgba(225, 48, 108, 0.02)); }
.instagram-card .contact-icon { color: #E1306C; }
.ig-link-btn { display: inline-block; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white !important; font-size: 14px !important; font-weight: 600; padding: 11px 22px; border-radius: 8px; text-decoration: none; margin-top: 15px; box-shadow: 0 4px 15px rgba(225, 48, 108, 0.2); transition: filter 0.2s; }
.ig-link-btn:hover { filter: brightness(1.1); }

/* FAQ ACCORDÉON */
.faq-section { max-width: 800px; margin: 60px auto 0; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.02); }
.faq-question { width: 100%; background: none; border: none; padding: 22px 30px; text-align: left; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--brand-blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; transition: background 0.2s; }
.faq-question:hover { background: rgba(0, 142, 230, 0.02); }
.faq-question i { font-size: 14px; color: var(--brand-cyan); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding: 0 30px 25px 30px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* FOOTER */
.main-footer { background: #0B1329; color: var(--white); padding: 50px 50px 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 20px; flex-wrap: wrap; gap: 20px; }
.footer-info h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 5px; color: var(--brand-cyan); }
.footer-info p { font-size: 14px; opacity: 0.7; }
.footer-socials-group { display: flex; gap: 15px; }
.footer-social-link { color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; background: rgba(255,255,255,0.05); padding: 10px 18px; border-radius: 8px; transition: background 0.2s; }
.footer-social-link i { font-size: 16px; }
.footer-social-link .fa-facebook { color: #1877F2; }
.footer-social-link .fa-instagram { color: #E1306C; }
.footer-social-link:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { text-align: center; font-size: 13px; opacity: 0.5; }

/* ANIMATIONS & MEDIA QUERIES */
@keyframes pulseSparkle { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.2); opacity: 1; } }
@keyframes stepFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sweep { 0% { left: -150%; } 100% { left: 150%; } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .navbar { padding: 15px 25px; }
  .content-container { padding: 40px 20px; }
  .page-section { left: 20px; right: 20px; }
}

@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 15px; text-align: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .content-container { margin-top: 200px; }
  h1 { font-size: 2.5rem; }
  .footer-content { flex-direction: column; text-align: center; }
  .features-light-grid, .pricing-grid, .testimonials-grid, .contact-grid { grid-template-columns: 1fr; }
  .manifesto-card { padding: 25px 20px; }
}