:root {
  --primary: #0d2b45;
  --green: #2e7d32;
  --green-light: #66bb6a;
  --text: #6b7280;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.navbar-brand img {
  height: 70px;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  background: var(--green);
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0.5rem;
  position: absolute;
  right: 0.5rem;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--green);
}

.nav-link.active {
  font-weight: 700;
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(0);
}

.btn-contact {
  padding: 12px 24px;
}

.hero-section {
  padding: 80px 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 250, 252, 0.96) 0%,
      rgba(248, 250, 252, 0.78) 42%,
      rgba(248, 250, 252, 0.08) 72%
    ),
    #f8fafc url("../img/hero-pharmacienne.png") no-repeat center center;
  background-size: cover;
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

.hero-section p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 30px;
}

.hero-btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 14px;
  padding: 16px 28px;
}

.hero-btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.hero-btn-primary {
  border-color: var(--green);
  background: var(--green);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
  background: #256b29;
  border-color: #256b29;
}

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

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

.hero-image {
  border-radius: 20px;
}

.page-hero {
  background: linear-gradient(90deg, #f4f8fb 0%, #ffffff 68%);
  padding: 72px 0;
}

.page-hero h1 {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 800;
  margin: 18px 0;
  max-width: 760px;
}

.page-hero p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 650px;
}

.section-label {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-section {
  background: var(--primary);
  color: white;
  padding: 50px 0;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
}

.stat-item i {
  color: var(--green-light);
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--green);
  font-weight: 700;
}

.section-title h2 {
  color: var(--primary);
  margin: 25px 0 25px 0;
  font-weight: 700;
  font-size: 2.55rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.service-icon {
  align-items: center;
  background: rgba(102, 187, 106, 0.18);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 92px;
  justify-content: center;
  margin-bottom: 24px;
  width: 92px;
}

.service-icon i {
  font-size: 2.45rem;
  line-height: 1;
}

.service-card h3 {
  color: var(--primary);
}

.service-card a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.about-section {
  background: linear-gradient(90deg, #f4f8fb 0%, #ffffff 62%);
  padding: 92px 0;
}

.about-section h2 {
  color: var(--primary);
  font-size: 2.55rem;
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 560px;
}

.about-logo {
  max-width: 440px;
  width: 100%;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}

.check-list li {
  align-items: center;
  color: #333;
  display: flex;
  font-size: 1.05rem;
  gap: 12px;
  margin-bottom: 13px;
}

.check-list li::before {
  align-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  content: "\F26E";
  display: inline-flex;
  flex: 0 0 22px;
  font-family: "bootstrap-icons";
  font-size: 0.78rem;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.about-btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(46, 125, 50, 0.2);
  display: inline-flex;
  font-weight: 700;
  gap: 14px;
  padding: 15px 28px;
}

.about-btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.partners-section {
  padding: 90px 0;
}

.partners-slider-wrap {
  margin-top: 48px;
  padding: 0 52px;
  position: relative;
}

.partners-slider {
  width: 100%;
}

.partners-slider .swiper-slide {
  align-items: center;
  display: flex;
  height: 78px;
  justify-content: center;
}

.partner-logo {
  display: block;
  max-height: 58px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.95;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: 100%;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.partners-nav {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.35rem;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  z-index: 2;
}

.partners-nav:hover {
  color: var(--green);
}

.partners-prev {
  left: 0;
}

.partners-next {
  right: 0;
}

.offices-section {
  padding: 80px 0 96px;
}

.office-card {
  background: white;
  border: 1px solid rgba(13, 43, 69, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 43, 69, 0.08);
  height: 100%;
  overflow: hidden;
}

.office-card-content {
  padding: 34px;
}

.office-badge {
  align-items: center;
  background: rgba(102, 187, 106, 0.18);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 74px;
  justify-content: center;
  margin-bottom: 22px;
  width: 74px;
}

.office-badge i {
  font-size: 2rem;
  line-height: 1;
}

.office-card h2 {
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.office-address,
.office-phone {
  align-items: flex-start;
  color: #333;
  display: flex;
  gap: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.office-address i,
.office-phone i {
  color: var(--green);
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.office-map {
  height: 320px;
}

.office-map iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

footer {
  background: var(--primary);
  color: white;
  padding: 70px 0 30px;
}

footer h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 30px 30px 0;
}

footer p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.footer-socials a {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 38px;
}

.footer-socials a:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-office {
  margin-bottom: 22px;
}

.footer-office strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-office p {
  line-height: 1.55;
  margin-bottom: 0;
}

.footer-contact-item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--green-light);
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.55;
}

.contact-section {
  padding: 80px 0 96px;
}

.contact-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(13, 43, 69, 0.08);
  height: 100%;
  padding: 40px;
}

.contact-card h2 {
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card-sub {
  color: var(--text);
  margin-bottom: 30px;
}

.contact-form label {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form .form-control {
  border: 1px solid rgba(13, 43, 69, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
}

.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

.contact-submit-btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(46, 125, 50, 0.2);
  display: inline-flex;
  font-weight: 700;
  gap: 12px;
  padding: 15px 30px;
}

.contact-submit-btn i {
  font-size: 1.1rem;
  line-height: 1;
}

.contact-submit-btn:disabled {
  opacity: 0.7;
}

.form-feedback {
  border-radius: 8px;
  display: none;
  font-weight: 600;
  margin-top: 22px;
  padding: 14px 18px;
}

.form-feedback.is-success {
  background: rgba(102, 187, 106, 0.16);
  border: 1px solid var(--green);
  color: #256b29;
  display: block;
}

.form-feedback.is-error {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid #dc3545;
  color: #b02a37;
  display: block;
}

.contact-info {
  background: var(--primary);
  border-radius: 16px;
  color: white;
  height: 100%;
  padding: 40px;
}

.contact-info h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

.contact-info-item {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info-icon {
  align-items: center;
  background: rgba(102, 187, 106, 0.2);
  border-radius: 50%;
  color: var(--green-light);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  text-decoration: none;
  word-break: break-word;
}

.contact-info-item a:hover {
  color: white;
}

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.contact-socials a {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 40px;
}

.contact-socials a:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .hero-section {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .page-hero {
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .page-hero p {
    margin: 0 auto;
  }

  .hero-image {
    margin-top: 40px;
  }

  .about-section {
    text-align: center;
  }

  .partners-slider-wrap {
    padding: 0 36px;
  }
}

/* ===== PRESENTATION : INTRO HERO ===== */
.intro-hero {
  background: linear-gradient(90deg, #f4f8fb 0%, #ffffff 68%);
  overflow: hidden;
  padding: 76px 0;
}

.intro-hero h1 {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 800;
  margin: 18px 0;
}

.intro-hero p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 560px;
}

.intro-hero-visual {
  text-align: center;
}

.intro-hero-visual img {
  max-width: 100%;
  width: 540px;
}

/* ===== MISSION ===== */
.mission-img {
  border-radius: 20px;
  box-shadow: 0 22px 44px rgba(13, 43, 69, 0.16);
  max-width: 100%;
}

/* ===== DOMAINES D'EXPERTISE ===== */
.expertise-section {
  background: #f8fafc;
  padding: 90px 0;
}

.expertise-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  padding: 38px 34px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.expertise-card:hover {
  box-shadow: 0 18px 38px rgba(13, 43, 69, 0.12);
  transform: translateY(-4px);
}

.expertise-card .service-icon {
  margin-bottom: 22px;
}

.service-icon img {
  height: 46px;
  width: 46px;
}

.expertise-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.expertise-card .expertise-intro {
  color: var(--text);
  margin-bottom: 18px;
}

.expertise-card .check-list li {
  font-size: 0.98rem;
  margin-bottom: 11px;
}

/* ===== VISION ===== */
.vision-section {
  padding: 90px 0;
}

.vision-banner {
  background: linear-gradient(120deg, #0d2b45 0%, #14507a 58%, #2e7d32 130%);
  border-radius: 22px;
  color: #fff;
  overflow: hidden;
  padding: 64px 60px;
  position: relative;
}

.vision-banner .vision-mark {
  font-size: 4rem;
  line-height: 1;
  opacity: 0.18;
  position: absolute;
  right: 42px;
  top: 20px;
}

.vision-banner .section-label {
  color: var(--green-light);
}

.vision-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.5;
  margin: 16px 0 0;
  max-width: 940px;
  position: relative;
}

/* ===== VALEURS ===== */
.values-section {
  padding: 90px 0;
}

.value-card {
  background: #fff;
  border: 1px solid rgba(13, 43, 69, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(13, 43, 69, 0.06);
  height: 100%;
  padding: 30px 22px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.value-card:hover {
  box-shadow: 0 16px 34px rgba(13, 43, 69, 0.12);
  transform: translateY(-4px);
}

.value-icon {
  align-items: center;
  background: rgba(102, 187, 106, 0.18);
  border-radius: 50%;
  display: inline-flex;
  height: 74px;
  justify-content: center;
  margin-bottom: 18px;
  width: 74px;
}

.value-icon img {
  height: 38px;
  width: 38px;
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== CTA ===== */
.cta-section {
  padding: 20px 0 96px;
}

.cta-card {
  background: linear-gradient(90deg, #0d2b45 0%, #15466b 100%);
  border-radius: 22px;
  color: #fff;
  padding: 58px;
  text-align: center;
}

.cta-card h2 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 620px;
}

@media (max-width: 991px) {
  .intro-hero {
    text-align: center;
  }

  .intro-hero h1 {
    font-size: 2.25rem;
  }

  .intro-hero p {
    margin: 0 auto 30px;
  }

  .intro-hero-visual {
    margin-top: 44px;
  }

  .vision-banner {
    padding: 44px 28px;
  }

  .cta-card {
    padding: 42px 26px;
  }
}

a.underline {
  text-decoration: underline !important;
}
