/* =====================================================
   PURE PHARMACIE - Main Stylesheet
   Domain: pure-pharmacie-sevres.fr
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ecfdf5;
  color: #0f2b3d;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #10b981; text-decoration: none; transition: color .2s; }
a:hover { color: #059669; }
ul { list-style: none; }

:root {
  --teal: #0f2b3d;
  --mint: #10b981;
  --mint-dark: #059669;
  --light: #ecfdf5;
  --light-mid: #d1fae5;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(15,43,61,.13);
  --radius: 8px;
}

h1, h2, h3, h4 { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: var(--teal); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

header {
  background: var(--teal);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1140px; margin: 0 auto;
}
.logo img { height: 52px; width: auto; }
nav ul { display: flex; gap: 1.8rem; }
nav ul li a {
  color: var(--light);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav ul li a:hover,
nav ul li a.active { color: var(--mint); border-bottom-color: var(--mint); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--light); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* --- Video Hero --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(15,43,61,.88);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 2rem 1.5rem;
  color: var(--light);
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p { font-size: 1.15rem; margin-bottom: 2rem; opacity: .92; }
.hero-badge {
  display: inline-block;
  background: var(--mint); color: var(--white);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  padding: .35rem .9rem; border-radius: 20px; margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  background: var(--mint); color: var(--white);
  padding: .85rem 2.2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--mint-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--mint);
  color: var(--mint);
}
.btn-outline:hover { background: var(--mint); color: var(--white); }
.btn-light { background: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--light); color: var(--mint-dark); }

.section { padding: 5rem 0; }
.section-alt { background: var(--light-mid); }
.section-dark { background: var(--teal); color: var(--light); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: var(--mint); border-radius: 2px;
  margin: .7rem auto 0;
}
.section-subtitle { text-align: center; color: #3a7a6a; max-width: 600px; margin: -.5rem auto 2.5rem; font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--mint);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,43,61,.18); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 420px; }
.col-text h2 { margin-bottom: 1rem; }
.col-text ul { margin: 1rem 0; }
.col-text ul li { padding: .3rem 0 .3rem 1.5rem; position: relative; }
.col-text ul li::before { content: '\25B8'; position: absolute; left: 0; color: var(--mint); font-size: .9rem; }

.banner-bg {
  position: relative;
  background: url('../images/enseigne.jpg') center/cover no-repeat;
  padding: 5rem 1.5rem;
  text-align: center;
}
.banner-bg::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(15,43,61,.88);
}
.banner-bg .container { position: relative; z-index: 2; color: var(--light); }
.banner-bg h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.banner-bg p { opacity: .9; max-width: 580px; margin: 0 auto 1.8rem; font-size: 1.05rem; }

.cta-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cta-img { overflow: hidden; max-height: 460px; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-text {
  background: var(--teal); color: var(--light);
  padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center;
}
.cta-text h2 { color: var(--white); margin-bottom: 1rem; }
.cta-text p { opacity: .88; margin-bottom: 2rem; }

.stats-bar { background: var(--mint); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 1rem; }
.stat-item { color: var(--white); }
.stat-num { font-size: 2.2rem; font-weight: 700; display: block; }
.stat-label { font-size: .9rem; opacity: .9; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--mint);
}
.testimonial-card p { font-style: italic; margin-bottom: 1rem; color: #444; }
.testimonial-author { font-weight: 700; color: var(--mint-dark); font-size: .9rem; }
.stars { color: var(--mint); letter-spacing: 2px; margin-bottom: .5rem; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,43,61,.18); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block; background: var(--mint); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: .2rem .7rem;
  border-radius: 12px; margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .06em;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: var(--teal); }
.blog-card-body h3 a:hover { color: var(--mint); }
.blog-meta { font-size: .82rem; color: #888; margin-bottom: .5rem; }
.blog-card-body p { font-size: .92rem; color: #555; margin-bottom: 1rem; }
.read-more { color: var(--mint); font-weight: 700; font-size: .9rem; }

.article-header {
  background: var(--teal); padding: 4rem 0 3rem;
  text-align: center; color: var(--light);
}
.article-header h1 { color: var(--white); max-width: 780px; margin: 0 auto 1rem; }
.article-header .blog-meta { color: #9ca3af; justify-content: center; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.article-hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.article-body { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-body h2 { margin: 2rem 0 1rem; }
.article-body ul { margin: 1rem 0 1rem 1.5rem; list-style: disc; }
.article-body ul li { margin-bottom: .4rem; }
.article-mid-img { width: 100%; border-radius: var(--radius); margin: 2rem 0; max-height: 380px; object-fit: cover; }
.article-cta {
  background: var(--light-mid); border-left: 4px solid var(--mint);
  padding: 1.5rem 2rem; border-radius: var(--radius); margin: 2.5rem 0;
}

.blog-hero {
  background: var(--teal); padding: 4rem 0;
  text-align: center; color: var(--light);
}
.blog-hero h1 { color: var(--white); margin-bottom: .5rem; }
.blog-hero p { opacity: .85; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--teal); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .8rem 1rem;
  border: 2px solid #a7f3d0; border-radius: var(--radius);
  font-size: 1rem; background: var(--white); color: var(--teal);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--mint); }
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-info-icon { font-size: 1.4rem; margin-top: .1rem; color: var(--mint); }

.page-hero {
  background: var(--teal); padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .7rem; }
.page-hero p { color: #9ca3af; max-width: 580px; margin: 0 auto; }

.breadcrumb { padding: .8rem 0; font-size: .88rem; color: #888; }
.breadcrumb a { color: var(--mint); }
.breadcrumb span { color: #aaa; margin: 0 .4rem; }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.sitemap-section h3 { color: var(--mint-dark); margin-bottom: 1rem; border-bottom: 2px solid var(--mint); padding-bottom: .5rem; }
.sitemap-section ul li { margin-bottom: .5rem; }
.sitemap-section ul li a { color: var(--teal); }
.sitemap-section ul li a:hover { color: var(--mint); }

.error-page { text-align: center; padding: 8rem 1.5rem; }
.error-code { font-size: 8rem; font-weight: 700; color: var(--mint); line-height: 1; margin-bottom: .5rem; }
.error-page h2 { margin-bottom: 1rem; }

footer {
  background: #071921; color: #ccc;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; line-height: 1.7; opacity: .8; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; letter-spacing: .04em; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: #aaa; font-size: .92rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid #1a3a3a; padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .84rem; color: #777; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: var(--mint); }

.client-link-section {
  background: var(--light-mid);
  border-left: 4px solid var(--mint);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
}
.client-link-section h3 { color: var(--teal); margin-bottom: 1rem; }

@media (max-width: 900px) {
  .two-col, .cta-two-col, .contact-grid { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .cta-img { max-height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  nav ul { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal); padding: 1rem 0; }
  nav ul.open { display: flex; }
  nav ul li a { padding: .7rem 1.5rem; display: block; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-text { padding: 2.5rem 1.5rem; }
}
