/* ===================================================
   NOUS PARMI ELLES — Main Stylesheet
   =================================================== */

/* --- Variables & Reset --- */
:root {
  --navy:      #1D3152;
  --rose:      #C47870;
  --rose-light: #F5EDEC;
  --white:     #FFFFFF;
  --off-white: #FAF8F7;
  --gray-100:  #F4F4F4;
  --gray-400:  #9A9A9A;
  --gray-600:  #555555;
  --text:      #1A1A1A;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', Helvetica, Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { text-decoration: none; color: inherit; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
  border: none;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-compte {
  background: var(--rose);
  color: var(--white);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn-compte:hover { opacity: 0.88; }

/* --- Sections --- */
.section { padding: 72px 0; }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 36px;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #EDEDED;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 56px; width: auto; }

/* Nav — même ligne, fond blanc */
.site-nav { flex: 1; }

.nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-item > a:hover {
  background: var(--rose-light);
  color: var(--rose);
}

.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.5;
  transition: transform var(--transition);
}

.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown — fond clair */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 200px;
  border-top: 2px solid var(--rose);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
  list-style: none;
  padding: 6px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.nav-item:hover .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 9px 18px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.dropdown li a:hover {
  background: var(--rose-light);
  color: var(--rose);
}

/* ===================================================
   HERO BANNER — CAROUSEL
   =================================================== */
.hero-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(196,120,112,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Slides track */
.hero-track {
  position: relative;
  height: 240px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Split layout: text left / image right */
.slide-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.slide-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 0;
}

.slide-img {
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
}

.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 3px 11px;
  border: 1px solid var(--rose);
  border-radius: 20px;
}

.hero-slide h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* Dot navigation */
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 14px;
  position: relative;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--rose);
  transform: scale(1.2);
}

/* ===================================================
   ARTICLES À LA UNE
   =================================================== */
.articles-section { background: var(--white); }

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Featured article (left) */
.article-featured {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #EDEDED;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-featured .article-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.article-featured .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-featured:hover .article-img img { transform: scale(1.04); }

.article-featured .article-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-featured .article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.35;
}

.article-featured .article-body p { color: var(--gray-600); font-size: 0.92rem; }

.article-featured .article-body .btn { margin-top: auto; align-self: flex-start; }

/* Tag badge */
.article-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.tag-event { background: var(--rose); }

/* Secondary articles (right column) */
.articles-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-small {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #EDEDED;
  display: grid;
  grid-template-columns: 148px 1fr;
  flex: 1;
}

.article-small .article-img {
  position: relative;
  overflow: hidden;
}

.article-small .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-small:hover .article-img img { transform: scale(1.04); }

.article-small .article-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.65rem;
}

.article-small .article-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.article-small .article-body h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-small .article-body p {
  color: var(--gray-600);
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-small .article-body .btn { align-self: flex-start; margin-top: auto; padding: 6px 14px; font-size: 0.78rem; }

/* ===================================================
   NOS UNIVERS
   =================================================== */
.univers-section { background: var(--off-white); }

.univers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.univers-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #EDEDED;
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
}

.univers-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.univers-img {
  height: 200px;
  overflow: hidden;
}

.univers-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.univers-card:hover .univers-img img { transform: scale(1.05); }

.univers-body {
  padding: 20px;
}

.univers-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.univers-body p { color: var(--gray-600); font-size: 0.88rem; }

/* ===================================================
   FACE EN FACE
   =================================================== */
.face-section { background: var(--white); }

.face-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.face-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  margin: 10px 0 16px;
  line-height: 1.25;
}

.face-content p {
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.7;
}

.face-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.face-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
  padding-left: 4px;
}

.play-btn:hover { background: var(--white); }

/* ===================================================
   SOUTIEN
   =================================================== */
.soutien-section { background: var(--rose-light); }

.soutien-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.soutien-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #EDEDED;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  transition: box-shadow var(--transition);
}

.soutien-card:hover { box-shadow: var(--shadow); }

.soutien-featured {
  border-color: var(--rose);
  border-width: 2px;
}

.soutien-img {
  height: 180px;
  overflow: hidden;
}

.soutien-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soutien-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 18px 20px 8px;
}

.soutien-card p {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin: 0 20px 12px;
  line-height: 1.55;
}

.price {
  font-weight: 600;
  color: var(--rose);
  font-size: 0.9rem;
  margin: 0 20px 12px;
}

.soutien-card .btn {
  margin: auto 20px 0;
  align-self: flex-start;
}

/* ===================================================
   TÉMOIGNAGES
   =================================================== */
.temoignages-section { background: var(--navy); }

.temoignages-section .section-title { color: var(--white); }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.temoignage-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.temoignage-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.temoignage-author span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

/* ===================================================
   NEWSLETTER
   =================================================== */
.newsletter-section { background: var(--white); }

.newsletter-inner {
  max-width: 560px;
  text-align: center;
}

.newsletter-inner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.newsletter-inner p {
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border: 1.5px solid #DEDEDE;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus { border-color: var(--navy); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color var(--transition), color var(--transition);
}

.social-icons a:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .articles-side { flex-direction: row; }
  .article-small, .article-event { grid-template-columns: 1fr; }
  .article-small .article-img, .article-event .article-img { height: 160px; }

  .univers-grid { grid-template-columns: repeat(2, 1fr); }
  .soutien-grid { grid-template-columns: repeat(2, 1fr); }
  .temoignages-grid { grid-template-columns: 1fr; gap: 16px; }
  .face-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-track { height: auto; }
  .slide-inner { grid-template-columns: 1fr; gap: 0; }
  .slide-img { display: none; }
  .slide-text { padding: 32px 0; align-items: center; text-align: center; }
  .hero-slide h2 { font-size: 1.8rem; }
  .univers-grid { grid-template-columns: 1fr; }
  .soutien-grid { grid-template-columns: 1fr; }
  .articles-side { flex-direction: column; }
  .site-nav ul { gap: 0; flex-wrap: wrap; }
  .site-nav ul li a { padding: 9px 14px; font-size: 0.82rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
