/* Poppins auto-hébergée (aucun appel externe / CDN) */
@font-face{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face{
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-800-normal.woff2') format('woff2');
}

:root{
  --rose:        #BC237C;
  --rose-deep:   #971A64;
  --violet:      #91539D;
  --violet-deep: #6E3F79;
  --turquoise:   #2ABECC;
  --turquoise-deep: #1D95A1;
  --jaune:       #FAAF37;
  --jaune-deep:  #E0921A;
  --gris:        #B1B1B1;
  --gris-deep:   #7A7284;
  --rose-pastel: #CEAABF;
  --bg:          #FFFDFC;
  --ink:         #2E1F2C;
  --ink-soft:    #6B5A66;
  --ink-deep:    #1E1420;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --maxw: 1040px;
  --pad: clamp(18px, 5vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html{ scroll-behavior: smooth; height: 100%; }
html, body{ overflow-x: hidden; width: 100%; max-width: 100%; }

body{
  margin:0;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Le contenu principal s'étire pour repousser le footer en bas de viewport
   même quand la page a peu de contenu (ex. mentions légales courtes). */
main{ flex: 1 0 auto; }
footer{ flex-shrink: 0; }

h1,h2,h3{
  font-family:'Poppins', sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

a{ color: inherit; }
::selection{ background: var(--rose-pastel); color: var(--ink); }
:focus-visible{ outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }

.wrap{
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

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

.btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-family:'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 100px;
  border: none;
  background: var(--rose);
  color: #fff;
  text-decoration:none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 24px -10px rgba(188,35,124,0.45);
  white-space: nowrap;
}
.btn:hover{ background: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(188,35,124,0.55); }
.btn.ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rose-pastel);
  box-shadow: none;
}
.btn.ghost:hover{ background: rgba(188,35,124,0.06); border-color: var(--rose); transform: translateY(-2px); }
.btn.turquoise{ background: var(--turquoise); box-shadow: 0 10px 24px -10px rgba(42,190,204,0.5); }
.btn.turquoise:hover{ background: var(--turquoise-deep); }
.btn.jaune{ background: var(--jaune); color: var(--ink-deep); box-shadow: 0 10px 24px -10px rgba(250,175,55,0.5); }
.btn.jaune:hover{ background: var(--jaune-deep); }

/* ---------- Header ---------- */
header{ padding: 22px 0; position: relative; z-index: 40; background: var(--bg); }
.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.logo{ flex-shrink: 0; }
.logo img{ height: 38px; width:auto; }
nav.links{ display:flex; gap: clamp(14px, 2.4vw, 28px); align-items:center; flex-wrap: wrap; }
nav.links a{
  text-decoration:none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s ease;
  white-space: nowrap;
}
nav.links a:hover{ color: var(--rose); }
.link-disabled{
  font-size: 15px;
  font-weight: 500;
  color: var(--gris);
  cursor: default;
  user-select: none;
  white-space: nowrap;
}
.nav-right{ display:flex; align-items:center; gap: 14px; flex-shrink: 0; }
.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-pastel);
  background: #fff;
  align-items:center; justify-content:center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  display:block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform: rotate(45deg); background: var(--rose); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform: rotate(-45deg); background: var(--rose); }

/* ---------- Hero ---------- */
.hero{
  padding-top: clamp(40px, 7vw, 70px);
  padding-bottom: clamp(50px, 8vw, 90px);
  position: relative;
}
.hero.wrap{
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "top    visual"
    "bottom visual";
  align-items: center;
  column-gap: clamp(20px, 5vw, 56px);
  row-gap: 0;
}
.hero-text-top, .hero-text-bottom{ min-width: 0; }
.hero-text-top{ grid-area: top; }
.hero-text-bottom{ grid-area: bottom; }
.hero-visual{
  grid-area: visual;
  position: relative;
  width: clamp(76px, 20vw, 300px);
  aspect-ratio: 1;
}
.pulse-ring{
  position:absolute;
  inset:0; margin:auto;
  border-radius: 50%;
  border-style: solid;
  border-width: 1.5px;
  background: transparent;
  animation: pulse-scale 7s ease-in-out infinite, pulse-hue 18s ease-in-out infinite;
  will-change: transform, opacity, border-color;
}
.pulse-ring.ring-1{ width:100%; height:100%; animation-delay: 0s, 0s; }
.pulse-ring.ring-2{ width:74%; height:74%; animation-delay: 1.6s, -6s; }
.pulse-ring.ring-3{ width:48%; height:48%; animation-delay: 3.2s, -12s; }
@keyframes pulse-scale{
  0%, 100%{ transform: scale(0.9); opacity: 0.45; }
  50%{ transform: scale(1.06); opacity: 0.9; }
}
@keyframes pulse-hue{
  0%{ border-color: var(--rose-pastel); }
  25%{ border-color: var(--turquoise); }
  50%{ border-color: var(--jaune); }
  75%{ border-color: var(--violet); }
  100%{ border-color: var(--rose-pastel); }
}
.hero-visual .hero-logo{
  position:absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 34px -14px rgba(46,31,44,0.28);
  z-index: 2;
}

.eyebrow{
  display:flex;
  align-items:center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 16px; height: 16px;
  background: var(--rose);
  display:inline-block;
  flex-shrink:0;
  border-radius: 4px;
}
.eyebrow.c-turquoise{ color: var(--turquoise-deep); }
.eyebrow.c-turquoise::before{ background: var(--turquoise); }
.eyebrow.c-jaune{ color: var(--jaune-deep); }
.eyebrow.c-jaune::before{ background: var(--jaune); }
.eyebrow.on-dark{ color: #fff; }
.eyebrow.on-dark::before{ background: var(--turquoise); }
.eyebrow.on-dark.c-jaune-dot::before{ background: var(--jaune); }

.hero h1{
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.18;
  max-width: 540px;
  color: #2E1F2C;
}
.hero h1 span{ color: #BC237C; }

.hero p.lead{
  max-width: 460px;
  margin: 20px 0 0;
  font-size: clamp(15.5px, 1.6vw, 17px);
  color: #6B5A66;
}

.hero .cta-row{
  display:flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Sections & color ambiances ---------- */
section{ padding: clamp(44px, 7vw, 64px) 0; position: relative; }

.section-head{
  max-width: 580px;
  margin: 0 0 40px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head .eyebrow{ margin-bottom: 12px; }
.section-head h2{ font-size: clamp(23px, 3vw, 30px); color: #2E1F2C; }
.section-head p{ color: #6B5A66; margin-top: 12px; font-size: 15.5px; }

.amb{ padding: clamp(50px, 7vw, 76px) 0; }
.amb-divider{ border-top: 1px solid rgba(46,31,44,0.08); }
/* Dégradé subtil entre couleurs de la charte (violet → turquoise), en léger
   lavis sur fond clair — réutilisé pour Prestations, Travaux & le footer. */
.amb-tint{
  background-color: var(--bg);
  background-image: linear-gradient(135deg, rgba(145,83,157,0.12) 0%, rgba(42,190,204,0.12) 100%);
}
.amb-rosedeep{ background: linear-gradient(155deg, var(--rose) 0%, #2A0A1B 100%); color: #fff; }
.amb-rosedeep h2, .amb-rosedeep h3{ color: #fff; }
.amb-rosedeep .section-head p{ color: rgba(255,255,255,0.82); }
.amb-ink{ background: linear-gradient(155deg, var(--violet-deep) 0%, var(--ink-deep) 115%); color: #fff; }
.amb-ink h2, .amb-ink h3{ color: #fff; }
.amb-ink .section-head p{ color: rgba(255,255,255,0.68); }
.amb-gradient{
  background: linear-gradient(120deg, var(--rose) 0%, var(--violet) 52%, var(--turquoise) 100%);
  color: #fff;
}
.amb-gradient h2, .amb-gradient h3{ color: #fff; }
.amb-gradient .section-head p{ color: rgba(255,255,255,0.82); }

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align:left;
  box-shadow: 0 14px 30px -18px rgba(46,31,44,0.18);
}
.service-card .icon{
  width: 26px; height: 26px;
  margin-bottom: 20px;
  color: var(--rose-deep);
}
.service-card h3{ font-size: 18px; margin-bottom: 10px; }
.service-card p{ font-size: 14.5px; color: var(--ink-soft); margin:0; }

/* ---------- À propos (plein-largeur, sans carte) ---------- */
/* .apropos partage désormais le fond .amb-ink avec la section Blog (même famille "sombre") */
.about-grid{
  display:flex;
  align-items:center;
  gap: clamp(32px, 6vw, 64px);
}
.about-grid .portrait{
  flex: 0 0 auto;
  width: clamp(140px, 16vw, 176px);
  height: clamp(140px, 16vw, 176px);
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 180deg, var(--rose), var(--jaune), var(--turquoise), var(--violet), var(--rose));
}
.about-grid .portrait-inner{
  width:100%; height:100%;
  border-radius: 50%;
  background: var(--ink-deep);
  display:flex; align-items:center; justify-content:center;
  font-size: 38px;
  color: #fff;
  font-weight: 700;
  object-fit: cover;
}
.about-content{ flex: 1 1 auto; min-width: 0; }
.about-content h2{ font-size: clamp(20px, 2.6vw, 24px); margin-bottom: 14px; color: #fff; }
.about-content p{ color: rgba(255,255,255,0.82); font-size: 15px; margin: 0 0 14px; }
.about-networks{
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
}
.networks-label{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jaune);
  flex-shrink: 0;
}
.networks-pills{ display:flex; flex-wrap: wrap; gap: 8px; }
.networks-pills span{
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ---------- Carousel 3-up (Travaux & publications) ---------- */
.carousel3{ max-width: 900px; margin: 0 auto; }
.car3-row{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 12px;
}
.car3-slots{
  display:grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 18px;
  align-items:center;
  touch-action: pan-y;
  transition: transform .25s ease;
  will-change: transform;
}
.car3-slot{
  transition: opacity .4s ease, transform .4s ease;
}
.car3-slot.car3-side{
  opacity: 0.4;
  transform: scale(0.86);
}
.car3-slot.car3-center{
  opacity: 1;
  transform: scale(1.04) translateY(-6px);
  position: relative;
  z-index: 2;
}
.pub-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 28px);
  text-align:center;
  box-shadow: 0 14px 30px -20px rgba(46,31,44,0.18);
  height: 100%;
}
.car3-center .pub-card{
  box-shadow: 0 22px 44px -18px rgba(224,146,26,0.28);
  border: 1.5px solid var(--jaune);
}
.pub-visual{
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.pub-visual.placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(250,175,55,0.14);
  color: var(--jaune-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pub-title{
  display:block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-decoration:none;
}
a.pub-title:hover{ color: var(--rose); }
.pub-meta{
  font-size: 13px;
  color: var(--ink-soft);
}
.pub-type{
  display:inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--jaune-deep);
  background: rgba(250,175,55,0.14);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.car-btn{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-pastel);
  background: #fff;
  color: var(--rose-deep);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  transition: background .15s ease, border-color .15s ease;
  flex-shrink: 0;
}
.car-btn:hover{ background: rgba(188,35,124,0.06); border-color: var(--rose); }
.carousel-dots{ display:flex; gap: 8px; justify-content:center; margin-top: 22px; }
.carousel-dots button{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--rose-pastel);
  padding: 0;
  cursor: pointer;
}
.carousel-dots button[aria-current="true"]{ background: var(--rose); width: 22px; border-radius: 100px; transition: width .2s ease; }

/* ---------- Blog (design distinct) ---------- */
.blog-section{ position: relative; }
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card{
  background: #241A26;
  border-radius: var(--radius-md);
  padding: 20px 20px 22px;
  position: relative;
  overflow: hidden;
  display:flex;
  flex-direction: column;
}
.blog-card .blog-visual{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  border-top: 3px solid var(--jaune);
}
.blog-card .blog-date{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.blog-card .blog-title{
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.blog-card .blog-excerpt{
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  margin-top: 10px;
  line-height: 1.55;
}
.blog-card .blog-badge{
  align-self: flex-start;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 4px 12px;
}
.blog-more-wrap{ text-align:center; margin-top: 30px; }
.blog-more-wrap .link-disabled{ color: rgba(255,255,255,0.55); font-weight: 600; }

/* ---------- Missions récentes : marquee sobre ---------- */
.marquee-wrap{ overflow: hidden; width: 100%; margin-top: 6px; }
.marquee-track{
  display:flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee-wrap:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.mission-card{
  flex: 0 0 auto;
  width: min(320px, 82vw);
  background: #fff;
  border: 1.5px solid var(--rose-pastel);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.mission-card p.mission-text{
  margin:0 0 10px;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.mission-card span.mission-who{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Newsletter Mamor'Insight (plein-largeur, sans carte) ---------- */
.nl-section{ position: relative; overflow: hidden; }
.nl-section::before, .nl-section::after{
  content:"";
  position:absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
}
.nl-section::before{ width: 380px; height: 380px; top: -180px; left: -120px; }
.nl-section::after{ width: 260px; height: 260px; bottom: -140px; right: 6%; background: rgba(255,255,255,0.08); }
.nl-grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items:center;
}
.nl-intro .nl-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.nl-intro h2{ font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 14px; color: #fff; }
.nl-intro p.nl-sub{
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  max-width: 440px;
  margin: 0 0 22px;
}
.nl-topics{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nl-topics span{
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  padding: 6px 14px;
}
.nl-formbox{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 30px);
}
.nl-form{ display:flex; flex-direction: column; gap: 14px; }
.nl-label{
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nl-form input{
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.45);
  padding: 8px 2px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #fff;
  margin-top: -8px;
  border-radius: 0;
  width: 100%;
  box-shadow: none;
}
.nl-form input::placeholder{ color: rgba(255,255,255,0.5); }
.nl-form input:focus{ outline: none; border-bottom-color: #fff; }
.nl-form button{ margin-top: 6px; justify-content:center; }
.nl-note{
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* ---------- Formulaire Brevo (Mamor'Insight) : intégration visuelle ---------- */
.sib-form-message-panel{ display:none; }
.sib-form-message-panel .sib-notification__icon{ width:18px; height:18px; flex-shrink:0; }
#error-message.sib-form-message-panel{
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 13px;
  display: none;
}
#success-message.sib-form-message-panel{
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
  display: none;
}
.sib-form-message-panel__text{ display:flex; align-items:center; gap:8px; }
.nl-form .entry__error{
  display: block;
  font-size: 12px;
  color: #FAAF37;
  margin-top: -6px;
}
.nl-form .entry__error:empty{ display:none; margin:0; }
.nl-form .input--hidden{ display:none !important; }
.nl-form .sib-hide-loader-icon{ display:none; }
.nl-form button.btn svg{ width: 18px; height: 18px; }
.nl-form button.btn{ flex-shrink: 0; }

/* ---------- Contact (plein-largeur, sans carte) ---------- */
/* .amb-contact fusionnée avec .amb-rosedeep (même dégradé rose vif → presque noir) */
.contact-inner{ text-align:center; max-width: 560px; }
.contact-inner .eyebrow{ justify-content:center; }
.contact-inner h2{ color:#fff; font-size: clamp(23px, 3vw, 30px); margin-bottom: 12px; }
.contact-inner p{ color: rgba(255,255,255,0.85); margin: 0 auto 28px; font-size: 15.5px; }
.contact-row{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}
.contact-inner .btn{ background:#fff; color: var(--rose-deep); box-shadow: none; }
.contact-inner .btn:not(.ghost):hover{ background: #FBEAF3; }
.contact-inner .btn.ghost.light{
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.contact-inner .btn.ghost.light:hover{
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  color: #fff;
}

/* ---------- Legal pages ---------- */
.legal{ padding: 70px 0 100px; }
.legal h1{ font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.legal .updated{ font-size: 13px; color: var(--ink-soft); margin-bottom: 40px; }
.legal h2{ font-size: 19px; margin: 40px 0 12px; color: var(--rose-deep); }
.legal h3{ font-size: 15.5px; color: var(--ink); margin: 20px 0 8px; }
.legal p, .legal li{ font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal ul{ padding-left: 20px; }
.legal a{ color: var(--violet-deep); text-decoration: underline; font-weight: 600; }
.legal a:hover{ color: var(--violet); }

/* ---------- Footer ---------- */
footer{ padding: clamp(48px, 8vw, 76px) 0 40px; text-align:center; }
footer.amb-tint{ padding-top: clamp(48px, 8vw, 76px); }
footer .foot-logo{ height: 28px; margin: 0 auto 14px; opacity: 0.85; }
footer p{ font-size: 12.5px; color: var(--gris); margin: 4px 0; }
footer a{ color: var(--ink-soft); text-decoration: underline; }
footer .link-disabled{ color: var(--gris); font-size: 12.5px; }

/* Liseré doré : sépare élégamment deux dégradés qui jurent l'un contre
   l'autre (ex. Newsletter violet/turquoise → Contact rose), sans toucher
   aux couleurs des sections elles-mêmes. */
.gold-divider{
  position: relative;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--jaune-deep) 0%,
    var(--jaune) 22%,
    #FFEBB0 50%,
    var(--jaune) 78%,
    var(--jaune-deep) 100%
  );
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.reveal{ opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .pulse-ring{ animation: none; opacity: 0.7; background: transparent; }
  .pulse-ring.ring-1{ border-color: var(--rose-pastel); }
  .pulse-ring.ring-2{ border-color: var(--turquoise); }
  .pulse-ring.ring-3{ border-color: var(--jaune); }
  .marquee-track{ animation: none; }
  .marquee-wrap{ overflow-x: auto; }
}

/* ================= RESPONSIVE ================= */

/* Tablette large */
@media (max-width: 980px){
  .car3-slots{ grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; }
}

/* Tablette : nav devient un menu mobile, grilles passent à 2 colonnes */
@media (max-width: 900px){
  nav.links{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px var(--pad) 24px;
    border-top: 1px solid var(--rose-pastel);
    border-bottom: 1px solid var(--rose-pastel);
    box-shadow: 0 18px 30px -20px rgba(46,31,44,0.25);
  }
  nav.links a, nav.links .link-disabled{
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
  }
  nav.links.open{ display:flex; }
  .nav-toggle{ display:flex; }

  .hero.wrap{
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "visual"
      "bottom";
    text-align: center;
  }
  .hero-visual{
    width: clamp(200px, 58vw, 320px);
    margin: 22px auto;
  }
  .hero-text-top .eyebrow, .hero-text-bottom .eyebrow{ justify-content:center; }
  .hero-text-bottom .cta-row{ justify-content:center; }

  .services-grid, .blog-grid{ grid-template-columns: 1fr 1fr; }
  .nl-grid{ grid-template-columns: 1fr; }
  .about-grid{ gap: 28px; }

  .car3-slots{ grid-template-columns: 1fr; }
  .car3-slot.car3-side{ display:none; }
  .car3-row{ grid-template-columns: auto 1fr auto; }
}

/* Mobile */
@media (max-width: 680px){
  .services-grid, .blog-grid{ grid-template-columns: 1fr; }
  .about-grid{ flex-direction: column; text-align:center; }
  .about-content .eyebrow{ justify-content:center; }
  .about-networks{ flex-direction: column; align-items:center; }
  .blog-mini-list li{ flex-direction: column; gap: 2px; }
  .mission-card{ width: min(280px, 78vw); }

  /* Cartes blog en ligne compacte : vignette à gauche, texte à droite */
  .blog-card{
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }
  .blog-card .blog-visual{
    width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 9px;
    border-top: none;
    border-left: 3px solid var(--jaune);
  }
  .blog-info{ min-width: 0; flex: 1 1 auto; }
  .blog-card .blog-title{ font-size: 15px; }
  .blog-card .blog-excerpt{ font-size: 12.5px; margin-top: 6px; -webkit-line-clamp: 2; display:-webkit-box; -webkit-box-orient: vertical; overflow:hidden; }
  .blog-card .blog-badge{ margin-top: 8px; font-size: 9.5px; padding: 3px 10px; }
}

@media (max-width: 420px){
  .hero .cta-row{ flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn{ justify-content:center; }
  .contact-row{ flex-direction: column; align-items: stretch; }
  .contact-row .btn{ justify-content:center; }
}

/* ==========================================================
   RGPD — accordéon "blocs de traitement" (page mentions-rgpd.html)
   ========================================================== */
.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.legal .rgpd-intro{ margin-bottom: 6px; }

.rgpd-accordion{
  margin: 28px 0 40px;
  border: 1.5px solid var(--rose-pastel);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.acc-item{ border-bottom: 1.5px solid var(--rose-pastel); }
.acc-item:last-child{ border-bottom: none; }

.acc-item > h3{ margin: 0; }
.acc-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--rose);
  transition: background-color 180ms ease;
}
.acc-trigger:hover{ background: rgba(188,35,124,0.05); }
.acc-trigger:focus-visible{ outline: 3px solid var(--turquoise-deep); outline-offset: -3px; }
.acc-trigger .acc-icon{
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--turquoise-deep);
}
.acc-trigger .acc-label{ flex: 1 1 auto; }
.acc-trigger .acc-chevron{
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--ink-soft);
  transition: transform 220ms ease;
}
.acc-item.is-open .acc-trigger .acc-chevron{ transform: rotate(180deg); }

/* Par défaut (sans JS) : contenu visible, non replié — l'information reste
   accessible même si le script ne se charge pas (Art. 12 RGPD). */
.acc-panel-wrap{
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 220ms ease;
}
.acc-panel-inner{ overflow: hidden; min-height: 0; }
.acc-panel-content{ padding: 4px 22px 26px; }

/* Une fois le JS chargé : véritable accordéon, un seul bloc ouvert par défaut */
.rgpd-accordion.js-enhanced .acc-panel-wrap{ grid-template-rows: 0fr; }
.rgpd-accordion.js-enhanced .acc-item.is-open .acc-panel-wrap{ grid-template-rows: 1fr; }

.rgpd-lead{ font-size: 14.5px; color: var(--ink-soft); margin: 0 0 16px; }
.rgpd-note{
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(177,177,177,0.16);
  border-left: 3px solid var(--turquoise-deep);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 18px;
}


.rgpd-treatment{ margin: 0 0 24px; }
.rgpd-treatment:last-of-type{ margin-bottom: 4px; }
.rgpd-treatment h4{
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.rgpd-table{
  width: 100%;
  border-collapse: collapse;
  background: rgba(177,177,177,0.14);
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}
.rgpd-table th, .rgpd-table td{
  padding: 11px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
  border-bottom: 1px solid rgba(46,31,44,0.08);
}
.rgpd-table tr:last-child th, .rgpd-table tr:last-child td{ border-bottom: none; }
.rgpd-table th{
  width: 230px;
  font-weight: 600;
  color: var(--rose-deep);
  background: rgba(177,177,177,0.22);
}
.rgpd-table td{ color: var(--ink-soft); }

@media (max-width: 600px){
  .rgpd-table, .rgpd-table tbody, .rgpd-table tr, .rgpd-table th, .rgpd-table td{
    display: block;
    width: 100%;
  }
  .rgpd-table{ background: transparent; }
  .rgpd-table tr{
    background: rgba(177,177,177,0.14);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-bottom: none;
  }
  .rgpd-table tr:last-child{ margin-bottom: 0; }
  .rgpd-table th{
    background: none;
    padding: 0 0 4px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .rgpd-table td{ padding: 0; }
}
