/* ============================================
   YENDEPRINT - Charte graphique & Styles
   Site d'impression professionnelle
   ============================================ */

:root {
  /* Charte issue du logo YENDEPRINT : orange #EC5425 + vert #1F8342 */
  --primary: #1f8342;
  --primary-dark: #166332;
  --primary-light: #27a449;
  --accent: #ec5425;
  --accent-hover: #d4471f;
  --text: #1e1e1e;
  --text-light: #3d3d3d;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f8f7;
  --bg-dark: #1a1f1c;
  --border: #e2e8e4;
  --success: #1f8342;
  --error: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Images responsives – utilitaires */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Card image – style produit (inspiration boutique type Bizay) */
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f1f5f9;
}

@media (min-width: 768px) {
  .card-img {
    height: 200px;
  }
}

@media (min-width: 992px) {
  .card-img {
    height: 220px;
  }
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.logo-img-footer {
  height: 48px;
  max-width: 180px;
  /* fond clair pour conserver les couleurs du logo sur footer sombre */
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 42px;
    max-width: 160px;
  }
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(31, 131, 66, 0.08);
}

.nav a.active {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #1a1f1c 0%, #1f8342 50%, #27a449 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), rgba(255,255,255,0) 65%);
  filter: blur(10px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  max-width: 700px;
  opacity: 0;
  transform: translateY(26px);
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  text-shadow: 0 8px 30px rgba(2, 6, 23, 0.2);
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-paper {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.38);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.hero-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
}

.hero-paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.hero-paper-main {
  right: 1rem;
  top: 1.5rem;
  width: 76%;
  height: 76%;
  animation: floatCard 7s ease-in-out infinite;
}

.hero-paper-top {
  left: 0;
  top: 0;
  width: 46%;
  height: 38%;
  transform: rotate(-8deg);
  animation: floatCardTop 8s ease-in-out infinite;
}

.hero-paper-bottom {
  right: 2rem;
  bottom: 0;
  width: 46%;
  height: 34%;
  transform: rotate(7deg);
  animation: floatCardBottom 9s ease-in-out infinite;
}

.hero-bubble {
  position: absolute;
  left: 5%;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  animation: pulseBubble 3.8s ease-in-out infinite;
}

.hero-bubble strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-bubble span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.stat span {
  font-size: 0.875rem;
  opacity: 0.8;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1deg);
  }
}

@keyframes floatCardTop {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(12px, -18px, 0) rotate(-5deg);
  }
}

@keyframes floatCardBottom {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(7deg);
  }
  50% {
    transform: translate3d(-10px, -16px, 0) rotate(10deg);
  }
}

@keyframes pulseBubble {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.22);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    min-height: 320px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-bubble {
    left: 8%;
    bottom: 1.2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
  }
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

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

/* ========== CARDS ========== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

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

.card-body {
  padding: 1.5rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(31, 131, 66, 0.1), rgba(39, 164, 73, 0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service cards */
.service-card {
  text-align: left;
  overflow: hidden;
  padding: 0;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #edf2f7;
}

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

.service-card p {
  margin: 0;
}

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

.service-feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-feature .feature-visual {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #edf2f7;
  transition: transform 0.35s ease;
}

.service-feature:hover .feature-visual {
  transform: scale(1.03);
}

.service-feature .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Sur page Création (8 items) : 3 colonnes en desktop */
.gallery-grid.gallery-full {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .gallery-grid.gallery-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .gallery-grid.gallery-full {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid.gallery-full {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

/* Fallback si pas d'image */
.gallery-item .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.gallery-item:hover img,
.gallery-item:hover .placeholder {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 131, 66, 0.85), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.15rem;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

/* Toujours visible au tactile (pas de hover fiable) */
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
}

@media (hover: none) {
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(31, 131, 66, 0.75), transparent 50%);
  }
}

.gallery-overlay span {
  color: white;
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  line-height: 1.3;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.values-list {
  margin-top: 1.5rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.values-list .check {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

.about-visual {
  border-radius: var(--radius);
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(31, 131, 66, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-item span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 131, 66, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-group .error-msg {
  display: none;
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success .icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, #1a1f1c 0%, #1f8342 100%);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ========== PROCESS STEPS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

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

  .hero-visual {
    min-height: 360px;
    margin-top: 0.5rem;
  }

  .hero-photo-main {
    right: 0;
    width: 70%;
    height: 73%;
  }

  .hero-photo-top {
    width: 42%;
    height: 35%;
  }

  .hero-photo-bottom {
    width: 42%;
    height: 28%;
    right: 1rem;
  }

  .hero-bubble {
    left: 1rem;
    bottom: 1rem;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .section {
    padding: 3.5rem 0;
  }

  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-banner {
    padding: 2rem 1.5rem;
  }
}

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

  .hero-actions .btn {
    width: 100%;
  }
}
/* ========== WHATSAPP FLOTTANT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float::after {
  content: 'WhatsApp';
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float::after {
    display: none;
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero-content {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
  animation: shimmer 0.8s ease;
}

/* ========== GALERIE PREMIUM ========== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filters button {
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.gallery-item {
  box-shadow: 0 4px 20px rgba(31, 131, 66, 0.08);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.gallery-item:hover::before {
  border-color: rgba(236, 84, 37, 0.55);
}

.gallery-item .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  font-size: 1.25rem;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
  position: relative;
  animation: scaleIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: -0.5rem; }
.lightbox-next { right: -0.5rem; }

@media (min-width: 768px) {
  .lightbox-prev { left: -3.5rem; }
  .lightbox-next { right: -3.5rem; }
}

/* ========== DEVIS EN LIGNE ========== */
.devis-section {
  background: linear-gradient(160deg, #1a1f1c 0%, #1f8342 60%, #27a449 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.devis-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.devis-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.devis-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.devis-card > p {
  text-align: center;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}

.devis-steps {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.devis-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.devis-step-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.devis-panel {
  display: none;
}

.devis-panel.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

.devis-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.devis-option {
  background: rgba(255,255,255,0.1);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.devis-option:hover {
  background: rgba(255,255,255,0.18);
}

.devis-option.selected {
  border-color: var(--accent);
  background: rgba(232, 93, 4, 0.25);
}

.devis-option span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.devis-card .form-group label {
  color: rgba(255,255,255,0.9);
}

.devis-card .form-group input,
.devis-card .form-group select,
.devis-card .form-group textarea {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: white;
}

.devis-card .form-group input::placeholder,
.devis-card .form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.devis-card .form-group input:focus,
.devis-card .form-group select:focus,
.devis-card .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.25);
}

.devis-card .form-group select option {
  color: var(--text);
  background: white;
}

.devis-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

.devis-estimate {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.devis-estimate strong {
  font-size: 1.5rem;
  color: #34d399;
}

/* ========== MAP / SEO LOCAL ========== */
.map-section {
  padding: 0;
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 400px;
}

.map-info {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.map-info p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.map-info .map-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.map-info .map-detail strong {
  color: white;
  display: block;
  margin-bottom: 0.15rem;
}

.map-embed {
  min-height: 400px;
  background: #e2e8f0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .map-wrapper {
    grid-template-columns: 1fr;
  }
  .map-info {
    padding: 2rem 1.5rem;
  }
}

/* ========== FORMULAIRE VALIDATION AVANCÉE ========== */
.form-group {
  position: relative;
}

.form-group .field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-group .char-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.form-group.has-error .char-count {
  color: var(--error);
}

.form-group.is-valid input,
.form-group.is-valid textarea,
.form-group.is-valid select {
  border-color: var(--success);
}

.form-group.is-valid::after {
  content: '✓';
  position: absolute;
  right: 12px;
  top: 38px;
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--error);
}

.strength-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.4rem;
  overflow: hidden;
}

.strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--error);
  transition: width 0.3s ease, background 0.3s ease;
}

.phone-valid-hint {
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 0.25rem;
  display: none;
}

.form-group.is-valid .phone-valid-hint {
  display: block;
}

/* ========== ACCESSIBILITÉ & PRO ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(31, 131, 66, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Cartes services pro (page création) */
.service-card-pro {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-pro .card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.service-card-pro h3 {
  margin-bottom: 0.5rem;
}
.service-card-pro p {
  flex: 1;
  margin-bottom: 1rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, gap 0.2s ease;
  text-decoration: none;
}
.service-link:hover {
  color: var(--accent);
  gap: 0.5rem;
}

.gallery-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.gallery-header {
  margin-bottom: 1.5rem;
}
.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* FAQ accordéon */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:hover,
.faq-item.is-open {
  border-color: rgba(31, 131, 66, 0.35);
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: var(--bg-alt);
}
.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 131, 66, 0.1);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-answer[hidden] {
  display: none;
}
.faq-answer p {
  margin: 0;
}

.services-creation-grid {
  margin-bottom: 0;
}

/* Focus galerie clavier */
.gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn {
    text-align: center;
  }
}
