/* nav section */
.navbar {
  background-color: var(--white-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: var(--black-color);
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Utilities */
.min-vh-88 {
  min-height: 88vh !important;
}

/* Section Héro */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  background-size: cover;
  background-position: center;
  color: var(--black-color);
  position: relative;
  /* padding: 3rem 0; */
}

.hero-section h1 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.hero-section ul li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.hero-section ul li i {
  font-size: 1.3rem;
}

.scroll-down a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.scroll-down a:hover {
  transform: translateY(5px);
  opacity: 0.7;
}

.fa-chevron-down {
  animation: chevronBounce 1.5s ease-in-out infinite;
}

.phrase-accroche-section {
  background: var(--gradient-primary);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.phrase-accroche-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.phrase-accroche-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.phrase-accroche-section .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
}

.phrase-accroche-section img {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.qui-sommes-nous-section {
  background-color: #ffffff;
  padding: 5rem 0;
}

.qui-sommes-nous-section img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.qui-sommes-nous-section img:hover {
  transform: scale(1.02);
}

/* Section Services */
#services {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

#services h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

#services h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(194, 0, 0, 0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

.card-body {
  padding: 1.5rem;
  background: white;
}

.card-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

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

.contact-section {
  background: linear-gradient(135deg, #2b2d42 0%, #1a1c2e 100%);
  color: var(--white-color);
  counter-reset: service-counter;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 0, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Formulaire de contact */
.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-section form {
  background: rgba(255, 255, 255, 0.98);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(194, 0, 0, 0.15);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #adb5bd;
  font-size: 0.95rem;
}

.invalid-feedback {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 2px solid #dee2e6;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  margin-left: 0.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Navigation */
.top-bar {
  background: linear-gradient(135deg, #2b2d42 0%, #1a1c2e 100%) !important;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.top-bar i {
  color: var(--primary-color);
  margin-right: 5px;
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.navbar {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Footer */
footer {
  margin-top: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-top: 3px solid var(--primary-color);
  padding: 3rem 0 1.5rem !important;
}

footer h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

footer a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

footer img {
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.05);
}

/* Boutons personnalisés */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i.fa-arrow-right {
  transform: translateX(5px);
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #c20000, #9b0000);
  color: white;
}

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

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

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Boutons flottants */
.contact-whatsapp,
.back-to-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin-bottom: 15px;
  position: relative;
  z-index: 1000;
}

.contact-whatsapp:hover,
.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.back-to-top {
  background: var(--gradient-primary);
}
