/* =============================================
   CIGNE — Cabinet médical pluridisciplinaire
   Design: épuré, chaleureux, professionnel
   ============================================= */

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

:root {
  --ivory:    #F7F4EF;
  --ivory-dk: #EDE8E0;
  --sage:     #7A9E8E;
  --sage-lt:  #A8C4B8;
  --sage-dk:  #4E7265;
  --slate:    #2C3230;
  --slate-md: #4A534F;
  --slate-lt: #8A9590;
  --white:    #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:   12px;
  --radius-sm: 6px;
  --nav-h:    72px;
  --max-w:    1180px;
  --section-gap: 100px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ---- UTILITIES ---- */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.label-light { color: var(--sage-lt); }

.section-header { max-width: 760px; margin-bottom: 60px; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--slate);
  margin-top: 8px;
}

/* ---- ANIMATIONS ---- */

/* Apparition au chargement (hero) */
.anim-fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Lettres du titre hero */
.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: letterIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.08s);
}

@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Apparition au scroll (reveal) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Trait animé sous le label */
.label::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--sage);
  margin-top: 4px;
  transition: width 0.5s ease 0.3s;
}
.visible .label::after,
.label.visible::after { width: 32px; }

/* Pulse subtil sur le bouton principal du hero */
.btn-pulse {
  position: relative;
}
.btn-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 1.5px solid rgba(122,158,142,0.4);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Hover ligne colorée sur cartes services */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sage);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover::before { width: 100%; }
.service-card--accent::before { background: var(--sage-lt); }

/* Avatar hover subtil */
.membre-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.membre:hover .membre-avatar {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(122,158,142,0.3);
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(78,114,101,0.3); }

.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-outline { background: transparent; color: var(--sage-dk); border: 1.5px solid var(--sage); }
.btn-outline:hover { background: var(--sage); color: white; }

.btn-full { width: 100%; justify-content: center; }

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(44,50,48,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  flex-shrink: 0;
  transition: color 0.3s;
}
.nav.scrolled .nav-logo { color: var(--slate); }

.nav-links { display: flex; gap: 32px; flex: 1; }

.nav-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--sage-lt);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: white; }

.nav.scrolled .nav-links a { color: var(--slate-md); }
.nav.scrolled .nav-links a::after { background: var(--sage); }
.nav.scrolled .nav-links a:hover { color: var(--sage-dk); }

.nav-cta { margin-left: auto; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: white;
  transition: all 0.25s;
}
.nav.scrolled .nav-burger span { background: var(--slate); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 32px 24px;
  border-top: 1px solid var(--ivory-dk);
  box-shadow: 0 8px 24px rgba(44,50,48,0.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-size: 1rem;
  color: var(--slate);
  border-bottom: 1px solid var(--ivory-dk);
}
.nav-mobile .btn { margin-top: 16px; justify-content: center; }

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--slate) 0%, #3a5047 40%, var(--sage-dk) 100%);
}

/* Overlay sur la photo */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,50,48,0.75) 0%, rgba(78,114,101,0.6) 100%);
  z-index: 1;
}

/* Photo héro */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* parallaxe géré en JS */
}

/* Effet dégradé décoratif */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 60%, rgba(122,158,142,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,151,122,0.1) 0%, transparent 50%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-lt);
  margin-bottom: 24px;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 32px;
  overflow: hidden;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 48px;
  max-width: 560px;
  display: block;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.1); }
}

/* ---- PRÉSENTATION ---- */

.presentation {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 0;
}

.presentation-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--slate);
  margin-top: 8px;
}

.presentation-right p {
  color: var(--slate-md);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.75;
}
.presentation-right p:last-of-type { margin-bottom: 28px; }

/* Photo du cabinet dans la section présentation */
.cabinet-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.cabinet-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cabinet-photo:hover { transform: scale(1.02); }

/* ---- ACTIVITÉ ---- */

.activite {
  padding: var(--section-gap) 0;
  background: var(--ivory);
}

.activite-intro {
  color: var(--slate-md);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 60px;
}

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

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(44,50,48,0.09);
  border-color: var(--ivory-dk);
}

.pillar-icon {
  color: var(--sage);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.pillar:hover .pillar-icon { transform: scale(1.1); }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.875rem;
  color: var(--slate-lt);
  line-height: 1.6;
}

/* ---- ARTICLES ---- */

.articles {
  background: var(--sage-dk);
  padding: 60px 0;
}

.articles-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.articles-inner p {
  flex: 1;
  min-width: 260px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.articles-coming {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-lt);
  border: 1px solid var(--sage-lt);
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---- SERVICES ---- */

.services {
  padding: var(--section-gap) 0;
  background: var(--white);
}

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

.service-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44,50,48,0.08);
  border-color: var(--ivory-dk);
}

.service-card--accent { background: var(--sage-dk); color: white; }
.service-card--accent .service-card-header h3 { color: white; }
.service-card--accent .service-card-header p { color: rgba(255,255,255,0.75); }
.service-card--accent ul li { color: rgba(255,255,255,0.85); }
.service-card--accent ul li::before { background: var(--sage-lt); }
.service-card--accent .service-link { color: var(--sage-lt); }

.service-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 12px;
}

.service-card-header p {
  font-size: 0.875rem;
  color: var(--slate-md);
  line-height: 1.65;
}

.service-card ul {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  font-size: 0.875rem;
  color: var(--slate-md);
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 1px;
  background: var(--sage);
  transition: width 0.3s ease;
}
.service-card:hover ul li::before { width: 8px; }

.service-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sage-dk);
  letter-spacing: 0.02em;
  transition: color 0.2s, letter-spacing 0.2s;
}
.service-link:hover { color: var(--sage); letter-spacing: 0.04em; }

/* ---- ÉQUIPE ---- */

.equipe {
  padding: var(--section-gap) 0;
  background: var(--ivory);
}

.equipe-intro {
  color: var(--slate-md);
  max-width: 680px;
  margin-bottom: 60px;
  line-height: 1.75;
}

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

.membre {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membre:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(44,50,48,0.08);
}

.membre-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-lt), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: white;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  overflow: hidden;
}

/* Quand une vraie photo est utilisée */
.membre-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.membre-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 4px;
}

.membre-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 12px;
}

.membre-info p {
  font-size: 0.875rem;
  color: var(--slate-md);
  line-height: 1.6;
}

.equipe-cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius);
}

.equipe-cta p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 24px;
  font-style: italic;
}

/* ---- CONTACT ---- */

.contact {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--slate);
  margin: 8px 0 20px;
}

.contact-left > p {
  color: var(--slate-md);
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

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

.contact-info-item svg { color: var(--sage); margin-top: 2px; flex-shrink: 0; }
.contact-info-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 2px;
}
.contact-info-item span { font-size: 0.925rem; color: var(--slate); }

/* ---- FORM ---- */

.contact-form-wrapper {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-md);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid var(--ivory-dk);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,142,0.12);
}

.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-lt); }

/* ---- FOOTER ---- */

.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 12px; }
.footer-brand address { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col strong {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sage-lt); }

.footer-bottom { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .activite-pillars { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .presentation-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .activite-pillars { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .articles-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .activite-pillars { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form-wrapper { padding: 28px 20px; }
  .footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-letter { opacity: 1 !important; transform: none !important; }
  .anim-fade-up { opacity: 1 !important; transform: none !important; }
}

/* ---- PHOTO STACK (présentation) ---- */

.presentation-photos { position: relative; }

.photo-stack { position: relative; height: 480px; }

.photo-main {
  position: absolute;
  top: 0; right: 0;
  width: 85%; height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44,50,48,0.12);
}
.photo-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-main:hover img { transform: scale(1.03); }

.photo-secondary {
  position: absolute;
  bottom: 0; left: 0;
  width: 55%; height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44,50,48,0.14);
  border: 4px solid var(--white);
}
.photo-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-secondary:hover img { transform: scale(1.04); }

/* ---- GALERIE BÉBÉS ---- */

.galerie-bebes {
  background: var(--slate);
  overflow: hidden;
}

.galerie-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.galerie-photo {
  overflow: hidden;
}
.galerie-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s ease;
  display: block;
}
.galerie-photo:hover img { transform: scale(1.03); }

.galerie-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  gap: 24px;
}

.galerie-text blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  border-left: 2px solid var(--sage);
  padding-left: 24px;
}

.galerie-text cite {
  font-size: 0.82rem;
  color: var(--sage-lt);
  letter-spacing: 0.06em;
  padding-left: 24px;
}

/* ---- PORTRAIT ÉQUIPE (Naomie) ---- */

.equipe-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.equipe-portrait-photo {
  height: 420px;
  overflow: hidden;
}
.equipe-portrait-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.equipe-portrait:hover .equipe-portrait-photo img { transform: scale(1.03); }

.equipe-portrait-text {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.equipe-portrait-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.2;
}

.equipe-portrait-text p {
  font-size: 0.925rem;
  color: var(--slate-md);
  line-height: 1.7;
  margin-top: 4px;
}

/* Carte CTA dans la grille équipe */
.membre--cta {
  background: var(--sage-dk);
  color: white;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 160px;
}
.membre--cta p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.membre--cta .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.membre--cta .btn-outline:hover {
  background: white;
  color: var(--sage-dk);
}

/* ---- RESPONSIVE NOUVELLES SECTIONS ---- */

@media (max-width: 1024px) {
  .galerie-text { padding: 48px 40px; }
  .equipe-portrait { grid-template-columns: 1fr; }
  .equipe-portrait-photo { height: 300px; }
  .equipe-portrait-text { padding: 32px 32px 40px; }
}

@media (max-width: 768px) {
  .galerie-inner { grid-template-columns: 1fr; }
  .galerie-photo { height: 300px; }
  .galerie-text { padding: 40px 32px; }
  .photo-stack { height: 340px; }
  .photo-main { width: 90%; height: 260px; }
  .photo-secondary { width: 60%; height: 160px; }
}

@media (max-width: 480px) {
  .photo-stack { height: 300px; }
  .photo-main { height: 220px; }
  .photo-secondary { height: 140px; }
  .galerie-text { padding: 32px 20px; }
  .galerie-text blockquote { font-size: 1.1rem; }
}

/* ---- MEMBRES AVEC VRAIES PHOTOS ---- */

/* Avatar agrandi quand c'est une vraie photo */
.membre-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sage-lt), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membre-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.membre:hover .membre-avatar {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(122,158,142,0.3);
}

/* CTA bar sous la grille équipe */
.equipe-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--ivory-dk);
}

.equipe-cta-bar p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--slate);
}

@media (max-width: 600px) {
  .equipe-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
}

/* ---- PHOTOS GROUPE ÉQUIPE ---- */

.equipe-groupe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
  height: 460px;
}

.equipe-groupe-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.equipe-groupe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
  display: block;
}

/* Photo gauche : dezoom avec padding identique à la marge de la photo de dos */
.equipe-groupe-photo--main {
  background: var(--ivory-dk);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipe-groupe-photo--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Photo de dos : même padding pour que les marges soient identiques */
.equipe-groupe-photo--bw {
  padding: 32px;
}

.equipe-groupe-photo--bw img {
  object-fit: contain;
  object-position: center;
  background: var(--ivory-dk);
}

.equipe-groupe-photo:hover img {
  transform: scale(1.03);
}

/* Photo de dos : afficher entièrement */
.equipe-groupe-photo--bw img {
  object-fit: contain;
  object-position: center;
  background: var(--ivory-dk);
}
.equipe-groupe-photo--bw:hover img {
  transform: scale(1.02);
}

@media (max-width: 1024px) {
  .equipe-groupe {
    grid-template-columns: 1fr 1fr;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .equipe-groupe {
    grid-template-columns: 1fr;
    height: auto;
  }
  .equipe-groupe-photo { height: 280px; }
  .equipe-groupe-photo--side,
  .equipe-groupe-photo--bw { display: none; }
}

/* ---- PILIERS AVEC PHOTOS ---- */

.pillar {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.pillar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}

.pillar:hover .pillar-photo img {
  transform: scale(1.05);
}

.pillar-body {
  padding: 24px 24px 28px;
  flex: 1;
}

.pillar-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 10px;
}

.pillar-body p {
  font-size: 0.875rem;
  color: var(--slate-lt);
  line-height: 1.6;
}
