/* ==========================================================
   PHYXOL — Styles pages internes · Direction A
   ========================================================== */

.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(ellipse at top right, var(--sky-mist) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, var(--mint-mist) 0%, transparent 55%),
    linear-gradient(180deg, var(--sky-veil) 0%, var(--white) 100%);
  overflow: hidden;
}
.page-hero__content { position: relative; z-index: 1; max-width: 800px; }
.page-hero__eyebrow {
  color: var(--sky-deep);
  margin-bottom: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.page-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--sky), var(--mint));
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--grey-900);
  line-height: 1.05;
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}
.page-hero__title em {
  font-style: italic;
  color: var(--sky-deep);
  position: relative;
}
.page-hero__title em::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  height: 0.15em;
  background: var(--honey-light);
  z-index: -1;
  border-radius: 100px;
}
.page-hero__lead {
  font-size: 1.15rem;
  color: var(--grey-700);
  max-width: 640px;
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--grey-600);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.breadcrumb a { color: var(--sky-deep); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint-deep); }
.breadcrumb__sep { opacity: 0.5; }

/* PROSE */
.prose { padding: 7rem 0; background: var(--white); }
.prose__wrap { max-width: 780px; margin: 0 auto; }
.prose h2 {
  margin: 3.5rem 0 1.5rem;
  color: var(--grey-900);
  font-family: var(--font-heading);
  font-weight: 500;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin: 2.25rem 0 0.85rem;
}
.prose p { font-size: 1.08rem; line-height: 1.8; color: var(--grey-700); margin-bottom: 1.35rem; }
.prose ul, .prose ol { margin: 1.5rem 0 2rem 1.5rem; color: var(--grey-700); font-size: 1.05rem; line-height: 1.75; }
.prose li { margin-bottom: 0.75rem; }
.prose strong { color: var(--grey-900); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--sky);
  background: var(--sky-mist);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--sky-deep);
  line-height: 1.5;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* PRODUIT DETAIL */
.product-detail { padding: 6rem 0; background: var(--white); }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.product-visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 20%, var(--honey-mist) 0%, transparent 55%),
    linear-gradient(135deg, var(--sky-mist) 0%, var(--mint-mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  opacity: 0.15;
  animation: blobMorph 12s ease-in-out infinite;
}
.product-visual__bottle { width: 68%; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2)); }

.product-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  color: var(--grey-900);
}
.product-info__eyebrow {
  color: var(--sky-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: block;
}
.product-info__lead {
  font-size: 1.1rem;
  color: var(--grey-700);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.product-info__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.product-info__pills span {
  padding: 0.45rem 1.05rem;
  background: var(--white);
  color: var(--grey-800);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
}
.product-info__pills span:nth-child(1) { color: var(--sky-deep); }
.product-info__pills span:nth-child(2) { color: var(--mint-deep); }
.product-info__pills span:nth-child(3) { color: #A67818; }
.product-info__pills span:nth-child(4) { color: #B85A6E; }

.product-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.product-block:last-of-type { border-bottom: none; }
.product-block h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 0.85rem;
}
.product-block p, .product-block li { color: var(--grey-700); line-height: 1.7; }
.product-block ul { margin-left: 1.25rem; margin-top: 0.75rem; }
.product-block ul li { margin-bottom: 0.5rem; }
.product-block strong { color: var(--grey-900); font-weight: 700; }

.warning-note {
  background: var(--honey-mist);
  border-left: 4px solid var(--honey);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.warning-note strong { color: var(--grey-900); }

/* FEATURE GRID */
.feature-grid { padding: 6rem 0; background: var(--sky-veil); }
.feature-grid__header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.feature-grid__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-soft);
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-light);
}
.feature-item__icon {
  width: 56px;
  height: 56px;
  background: var(--sky-mist);
  color: var(--sky-deep);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transform: rotate(-4deg);
  transition: var(--transition);
}
.feature-item:hover .feature-item__icon { transform: rotate(0) scale(1.05); }
.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.65rem;
}
.feature-item p { color: var(--grey-600); line-height: 1.65; margin: 0; font-size: 0.95rem; }

/* BLOG */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.blog-filter {
  padding: 0.55rem 1.2rem;
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--grey-700);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.blog-filter:hover,
.blog-filter.is-active {
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--mint-deep) 100%);
  color: var(--white);
  border-color: transparent;
}
.blog-list { padding: 6rem 0; background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* CONTACT */
.contact-section { padding: 6rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--grey-900);
}
.contact-info__block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.contact-info__block:last-child { border-bottom: none; }
.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--sky-mist);
  color: var(--sky-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-info__value { color: var(--grey-800); font-size: 0.98rem; line-height: 1.6; }
.contact-info__value a { color: var(--sky-deep); font-weight: 600; }

.contact-form {
  background: var(--sky-mist);
  padding: 2.75rem;
  border-radius: var(--radius-xl);
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}
.contact-form p.form-intro { color: var(--grey-600); margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--grey-800);
  margin-bottom: 0.45rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--grey-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(109, 180, 214, 0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; font-family: var(--font-body); }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* PAGE CTA */
.page-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--mint-deep) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232,184,77,0.15), transparent 60%);
}
.page-cta__wrap { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}
.page-cta h2 em { font-style: italic; color: var(--honey-light); }
.page-cta p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 2.5rem; }
.page-cta .btn--primary { background: var(--white); color: var(--sky-deep); border: none; }
.page-cta .btn--primary:hover { background: var(--honey); color: var(--grey-900); transform: translateY(-3px) scale(1.02); }

@media (max-width: 1024px) {
  .contact-grid,
  .product-detail__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-visual { position: relative; top: 0; max-width: 380px; margin: 0 auto; }
  .feature-grid__items,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { min-height: 40vh; padding: 5rem 0 3rem; }
  .prose, .feature-grid, .contact-section, .blog-list, .product-detail { padding: 4rem 0; }
  .feature-grid__items,
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
}
