/* ===== CONTACT PAGE STYLES — COHÉRENCE COULEUR ===== */
.page-hero-contact {
  background: var(--blue);
  padding: 2rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero-contact::before,
.page-hero-contact::after {
  content: '';
  position: absolute;
  pointer-events: none;
  
  /* --- TECHNIQUE DU MASQUE (Remplace background-image) --- */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;

  /* --- COULEUR DE L'ICÔNE --- */
  /* On utilise du blanc avec une très faible opacité pour qu'il se mélange au bleu du fond */
  /* Cela crée naturellement une nuance "cohérente" de bleu plus clair */
  background-color: rgba(255, 255, 255, 0.12); 
  
  animation: gear-rotate 40s linear infinite;
}

/* Fraise 1 à GAUCHE */
.page-hero-contact::before {
  left: -100px; 
  bottom: -100px;
  width: 450px; 
  height: 450px;
  -webkit-mask-image: url('../svg/fraise2.svg');
  mask-image: url('../svg/fraise2.svg');
}

/* Fraise 2 à DROITE */
.page-hero-contact::after {
  right: -50px; 
  top: -15%;
  width: 400px; 
  height: 400px;
  -webkit-mask-image: url('../svg/fraise1.svg');
  mask-image: url('../svg/fraise1.svg');
  animation-direction: reverse;
  animation-duration: 60s;
}

/* On garde la même animation */
@keyframes gear-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-hero-contact h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.page-hero-contact p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.breadcrumb-nav {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.breadcrumb-nav a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; }

/* Form section */
.contact-form-section {
  background: #F4F4F4;
  padding: 5rem 0;
}
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(5,32,94,0.08);
}
.form-card h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.form-card .subtitle {
  color: var(--light-dark);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.form-group-modern {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-group-modern label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light-dark);
  margin-bottom: 0.5rem;
}
.form-group-modern label span { color: #e74c3c; margin-left: 2px; }
.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--dark);
  background: #fafafa;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
  font-family: inherit;
}
.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5,32,94,0.07);
}
.form-group-modern textarea { resize: vertical; min-height: 140px; }
.form-submit-btn {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  padding: 0.85rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.03em;
}
.form-submit-btn:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-2px);
}
.form-note {
  font-size: 0.78rem;
  color: var(--light-dark);
  margin-top: 1rem;
}

/* Sidebar info */
.contact-sidebar {
  padding-left: 1.5rem;
}
@media (max-width: 991.98px) {
  .contact-sidebar { padding-left: 0; margin-top: 2rem; }
}
.sidebar-info-block {
  background: #fff;
  border-radius: 10px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(5,32,94,0.06);
}
.sidebar-info-block h5 {
  font-weight: 900;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--light-dark);
}
.info-line .icon-wrap {
  width: 32px;
  height: 32px;
  background: rgba(5,32,94,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.info-line a { color: var(--dark); text-decoration: none; font-weight: 600; }
.info-line a:hover { color: var(--blue); }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f5f5f5;
  color: var(--light-dark);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--dark); }
.hours-row .time { color: var(--blue); font-weight: 700; }
.hours-row .closed { color: #ccc; }

/* Map */
.map-section { background: #e9ecef; }
.map-section iframe { display: block; border: none; }
.map-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(5,32,94,0.08);
}
.map-card .map-label {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid #f0f0f0;
}
.map-card .map-label h5 { font-weight: 900; color: var(--dark); margin-bottom: 0.25rem; font-size: 0.95rem; }
.map-card .map-label p { font-size: 0.82rem; color: var(--light-dark); margin: 0; }

/* Footer */
.site-footer-modern { background:var(--blue);color:rgba(255,255,255,0.8);padding:4rem 0 2rem; }
.site-footer-modern .footer-brand { color:#fff;font-size:1.4rem;font-weight:900;margin-bottom:1rem;display:block; }
.site-footer-modern .footer-desc { font-size:0.88rem;line-height:1.7;margin-bottom:1.5rem; }
.site-footer-modern .footer-widget h5 { color:#fff;font-size:0.8rem;text-transform:uppercase;letter-spacing:0.12em;font-weight:800;margin-bottom:1.2rem;padding-bottom:0.6rem;border-bottom:2px solid rgba(255,255,255,0.15); }
.site-footer-modern .footer-widget ul { list-style:none;padding:0;margin:0; }
.site-footer-modern .footer-widget ul li { padding:0.35rem 0; }
.site-footer-modern .footer-widget ul li a { color:rgba(255,255,255,0.7);text-decoration:none;font-size:0.9rem;transition:color 0.3s; }
.site-footer-modern .footer-widget ul li a:hover { color:#fff; }
.footer-contact-item { display:flex;align-items:flex-start;gap:0.75rem;margin-bottom:0.75rem;font-size:0.9rem;color:rgba(255,255,255,0.75); }
.footer-contact-item .icon { width:20px;flex-shrink:0;margin-top:2px;color:rgba(255,255,255,0.5); }
.footer-divider { border-color:rgba(255,255,255,0.12);margin:2rem 0 1rem; }
.footer-bottom { font-size:0.8rem;color:rgba(255,255,255,0.45); }

/* Animations */
.reveal { opacity:0;transform:translateY(30px);transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.visible { opacity:1;transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }

@media (max-width: 767.98px) {
  .contact-info-card { border-right: none; border-bottom: 1px solid #eee; }
  .contact-info-card:last-child { border-bottom: none; }
}