/* ====== Franchise Digitale — Page ====== */
:root{
  --blue:#042149;
  --orange:#ff743e;
  --ink:#0f172a;
  --muted:#64748b;
}

/* HERO (laisse tel quel) */
.fr-hero{
  background: var(--blue);
  color:#fff;
  padding: 64px 0 56px;
  position:relative;
}
.fr-hero__grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:28px; align-items:center;
}
.fr-hero__copy .kicker{
  letter-spacing:.08em; text-transform:uppercase; font-weight:700; font-size:.84rem; opacity:.9; margin:0 0 6px;
}
.fr-hero__copy h1{
  font-family:"Playfair Display",serif;
  font-size: clamp(30px, 5vw, 44px); margin:0 0 10px;
}
.fr-hero__copy h1 span{ color: var(--orange); }
.fr-hero__copy .lead{ color:#eaf2ff; margin:0 0 14px; font-size:1.1rem; }
.cta-group{ display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 12px; }
.fr-hero__highlights{
  display:flex; gap:16px; flex-wrap:wrap; margin:0; padding:0; list-style:none; opacity:.95;
}
.fr-hero__highlights li{ background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); padding:6px 10px; border-radius:999px; }

.fr-hero__visual{
  position:relative; height: min(60vh, 300px); min-height: 120px; overflow:hidden;
  border-radius: 18px;
}
.fr-hero__visual img {
  width: 100%;
  height: auto;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

/* SECTION SPACING / RYTHME GLOBAL */
.fr-tabs,
.fr-value,
.fr-physique,
.fr-faq,
.fr-apply { padding: 80px 0; }
@media (max-width: 980px){
  .fr-tabs,
  .fr-value,
  .fr-physique,
  .fr-faq,
  .fr-apply { padding: 56px 0; }
}

/* ===================== */
/*       ONGlets         */
/* ===================== */
.fr-tabs{ background:#fff; border-bottom:1px solid #e8edf6; }
.fr-tabs__inner{ display:grid; gap:10px; }
.fr-tabs .tab{
  background:#fff; border:1px solid #e8edf6; color:var(--blue); padding:8px 14px; border-radius:999px; font-weight:700;
}
.fr-tabs .tab.active{ border-color:var(--orange); box-shadow:0 6px 14px rgba(255,116,62,.15); }
.fr-tabs .tab:disabled{ opacity:.5; cursor:not-allowed; }

/* Titre d’onglets enrichi */
.fr-tabs {
  background:#f9f9f9;
}
.fr-tabs-head {
  text-align:center;
  margin:0 auto 36px;
}
.fr-tabs-head h2 {
  font-family:"Playfair Display",serif;
  font-size: clamp(24px, 4vw, 34px);
  margin:0 0 10px;
  color: var(--blue);
  position: relative;
}
.fr-tabs-head h2 span { color: var(--orange); }
.fr-tabs-head h2::after{
  content:"";
  display:block;
  width:72px; height:3px;
  margin:10px auto 0;
  background: linear-gradient(90deg, var(--orange), #ff9c78);
  border-radius: 999px;
}
.fr-tabs-head .sub { color:#29324a; margin:0; }

.fr-cards {
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:20px;
}
.fr-card {
  background:#fff;
  border:1px solid #e8edf6;
  border-radius:14px;
  padding:24px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  transition:.2s transform, .2s box-shadow;
}
.fr-card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,.1);
}
.fr-card h3 {
  margin:0 0 8px;
  font-size:1.2rem;
  color: var(--blue);
}
.fr-card p { margin:0 0 12px; color:#29324a; }
.fr-card ul {
  margin:0 0 14px;
  padding-left:18px;
  color:#29324a;
}
.fr-card .cta {
  display:inline-block;
  background: var(--orange);
  color:#fff;
  font-weight:700;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  transition:.15s ease;
}
.fr-card .cta--outline {
  background:#fff;
  color: var(--blue);
  border:2px solid var(--orange);
}
.fr-card .cta:hover {
  transform:translateY(-2px);
}

/* Responsive */
@media (max-width: 860px){
  .fr-cards { grid-template-columns: 1fr; }
}

/* Hover global sur la carte → CTA devient orange plein */
.fr-card:hover .cta,
.fr-card:hover .cta--outline {
  background: var(--orange);
  color:#fff;
  border:2px solid var(--orange);
  transform:translateY(-2px);
}

/* ===================== */
/*   WHY (Digital)       */
/* ===================== */
.fr-value{ background:#fff; }
.fr-value--dark{
  background: linear-gradient(180deg, #031a39, #042149);
  color:#fff;
}
.fr-value__head{
  text-align:center; margin-bottom: 30px;
}
.fr-value__head h2{
  font-family:"Playfair Display",serif;
  font-size: clamp(26px, 4.5vw, 38px);
  margin:0 0 12px;
  color:#fff;
}
.fr-value__head h2 span{ color: var(--orange); }
.fr-value__head h2::after{
  content:"";
  display:block;
  width:72px; height:3px;
  margin:14px auto 0;
  background: linear-gradient(90deg, #ff9c78, var(--orange));
  border-radius:999px;
}
.fr-value__head .sub{ margin:10px 0 0; color:#eaf2ff; }

/* Atouts */
.value-grid{
  display:grid; grid-template-columns: repeat(2,1fr); gap:14px;
  margin-top: 16px;
}
.value-item{
  padding:18px 16px;
  border-left:3px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius:12px;
  backdrop-filter: blur(4px);
  margin-bottom: 10px;
}
.value-item-large{
  grid-column: span 2;
  padding:18px 16px;
  border-left:3px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius:12px;
  backdrop-filter: blur(4px);
}
/* .value-item h3{ margin:0 0 6px; color:#fff; font-size:1.02rem; } */
.value-item p{ margin:0; color:#eaf2ff; line-height:1.65; }

.value-item-large h2{
  text-align: center;
  color: var(--orange);
  font-size: clamp(26px, 4.5vw, 38px);
}

@media (max-width: 1100px){
  .value-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px){
  .value-grid{ grid-template-columns: 1fr; }
}

/* Les 2 sites fournis */
.sites-suite{ margin-top: 12px; }
.sites-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:center;
}

.sites-copy h3{
  font-family:"Playfair Display",serif;
  margin:0 0 10px; font-size:clamp(20px,3.6vw,26px); color:#fff;
}
.sites-copy h3 span{ color:var(--orange); }
.site-bloc{ margin: 14px 0; }
.site-bloc h4{ margin:0 0 6px; color:#fff; font-size:1.05rem; }
.site-bloc .lead{ margin:0 0 8px; color:#eaf2ff; }
.site-bloc .bullets{ margin:0 0 6px; }
.site-bloc .mini-cta{ margin-top:4px; }
.site-bloc .link{
  color:#fff; text-decoration:underline; text-underline-offset:3px;
}
.site-bloc .link:hover{ opacity:.9; }

/* Visuels en quinconce dans la section Digital */
.sites-visual {
  position: relative;
  min-height: 580px;
}
.sites-visual .mock{
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.15);
  transition: .25s transform,.25s box-shadow;
  background: #0e2a58;
  cursor: pointer;
}
.sites-visual .mock img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sites-visual .mock:hover{
  transform: translateY(-6px) scale(1.02);
  z-index: 4;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.sites-visual .mock .tag{
  position:absolute; top:10px; left:10px;
  background:rgba(255,255,255,.92); color:#0b1326;
  font-weight:700; font-size:.78rem; padding:6px 10px; border-radius:999px;
}

/* 1) Vitrine — haut gauche */
.sites-visual .mock--vitrine{
  width: 72%;
  aspect-ratio: 16/10;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-1.5deg);
}

/* 2) Mobile — droite, centré verticalement */
.sites-visual .mock--mobile{
  width: 38%;
  aspect-ratio: 9/16;
  right: 6%;
  top: 20%;
  transform: rotate(3deg);
  z-index: 2;
}

/* 3) Indicateurs — bas gauche */
.sites-visual .mock--indics{
  width: 68%;
  aspect-ratio: 16/10;
  left: 0;
  top: 60%;
  transform: rotate(1.8deg);
  z-index: 3;
}

/* Responsive */
@media (max-width: 980px) {
  .sites-visual { min-height: 320px; }
  .sites-visual .mock--vitrine{ width: 74%; }
  .sites-visual .mock--mobile{ width: 32%; right: 8%; }
  .sites-visual .mock--indics{ width: 70%; }
}

/* ===================== */
/*   Rémunération / Fees */
/* ===================== */
.fr-value .econ-grid{
  display:grid;
  grid-template-columns: 1fr 12px 1fr;
  gap: 32px;
  align-items:start;
  margin-top: 28px;
  margin-bottom: 38px;
}
.fr-value .econ-divider{
  width:1px; height:100%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  border-radius:2px;
}
.panel{
  padding: 6px 4px;
}
.panel h3{
  margin:0 0 8px;
  font-family:"Playfair Display",serif;
  font-size: clamp(20px, 3.6vw, 26px);
  color:var(--orange);
}
.panel .lead{ margin: 20px 0 8px; color:#eaf2ff; }
.panel p{ margin: 0 0 10px; color:#eaf2ff; line-height:1.95; }
.bullets{
  list-style:none; margin: 0 0 12px; padding:0;
  display:grid; gap:8px;
}
.bullets li{
  position:relative; padding-left:16px; line-height:1.85; color:#eaf2ff;
}
.bullets li::before{
  content:""; position:absolute; left:0; top:.72em;
  width:6px; height:6px; border-radius:50%;
  background: rgba(255,255,255,.5);
}
.highlight{ color: var(--orange); font-weight:700; }
.panel .closing{ font-weight:700; color:#fff; margin-top: 2px; }

@media (max-width: 780px){
  .fr-value .econ-grid{ grid-template-columns: 1fr; gap:18px; }
  .fr-value .econ-divider{ display:none; }
}

/* ===================== */
/*   Franchise Physique  */
/* ===================== */
.fr-physique{ background:#fff; }
.fr-physique__grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:24px; align-items:start;
}
.fr-physique__head h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(26px, 4vw, 34px);
  margin:0 0 8px; color:var(--blue);
}
.fr-physique__head h2 span{ color:var(--orange); }
.fr-physique__head h2::after{
  content:"";
  display:block;
  width:64px; height:3px;
  background: linear-gradient(90deg, var(--orange), #ff9c78);
  border-radius:999px;
  margin-top: 10px;
}
.fr-physique__head .sub{ margin:0; color:#29324a; }

/* Avantages */
.physique-panels{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin:16px 0 6px; }
.phys-feature{
  background:#fff; border:1px solid #e8edf6; border-radius:14px; padding:16px;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}
.phys-feature h3{ margin:0 0 8px; color:var(--blue); font-size:1.08rem; font-weight:700; }
.phys-feature .bullets{ color:#1a1f2e; }
.phys-feature .bullets li::before{ background:rgba(4,33,73,.3); }

/* Tarifs */
.phys-pricing{ margin:12px 0 4px; }
.chips{ list-style:none; margin:0 0 8px; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px;
  background:#fff; border:1px solid #e8edf6; color:var(--blue); font-weight:700; font-size:.95rem;
  box-shadow:0 6px 14px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.chip--accent{ border-color:var(--orange); box-shadow:0 8px 18px rgba(255,116,62,.15); }
.chip:hover{ transform: translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.08); }
.muted{ color:#475569; }
.small{ font-size:.92rem; }
.hide-sm{ display:inline; }

.cta-group{ display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; justify-content:center;}

/* Galerie enchevêtrée */
.fr-physique__gallery{
  position:relative; min-height:300px; display:grid; place-items:center;
}
.ph-photo{
  position:absolute; width: 46%; max-width:260px; aspect-ratio:4/3; overflow:hidden; border-radius:14px;
  box-shadow:0 14px 28px rgba(0,0,0,.15); cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;
}
.ph-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.ph-photo:hover{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(0,0,0,.22); }

/* Positions */
.ph-photo.a{ left:0;   top:0;   transform:rotate(-3deg); }
.ph-photo.b{ right:0;  top:18%; transform:rotate(2deg); }
.ph-photo.c{ left:20%; bottom:-4%; transform:rotate(-1deg); }

/* Lightbox */
.ph-lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  display:none; align-items:center; justify-content:center; z-index:1000; padding:20px;
}
.ph-lightbox[aria-hidden="false"]{ display:flex; }
.ph-lightbox__img{ max-width:min(92vw, 1100px); max-height:80vh; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.35); }
.ph-lightbox__close{
  position:absolute; top:18px; right:18px; background:#fff; color:#111; border:0; border-radius:999px;
  width:40px; height:40px; font-size:22px; line-height:40px; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.2);
}

/* Responsive */
@media (max-width: 1024px){
  .fr-physique__grid{ grid-template-columns:1fr; }
  .fr-physique__gallery{ min-height:240px; margin-top:6px; }
  .ph-photo{ width:44%; max-width:240px; }
  .hide-sm{ display:none; }
}
@media (max-width: 560px){
  .ph-photo{ width:48%; max-width:200px; }
  .ph-photo.c{ left:auto; right:8%; bottom:-6%; }
}

/* ===================== */
/*         FAQ           */
/* ===================== */
.fr-faq{
  background: linear-gradient(180deg, #042149, #031a39);
  color:#fff;
}
.fr-faq h2{
  font-family:"Playfair Display",serif;
  font-size: clamp(24px, 4vw, 34px);
  text-align:center;
  margin:0 0 18px;
}
.fr-faq h2::after{
  content:"";
  display:block;
  width:64px; height:3px;
  margin:12px auto 0;
  background: linear-gradient(90deg, #ff9c78, var(--orange));
  border-radius:999px;
}
.fr-faq details{
  background:#fff;
  color:#0b1020;
  border-radius:12px;
  border:1px solid #e8edf6;
  padding:14px 16px;
  margin: 10px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all .25s ease;
}
.fr-faq summary{
  list-style:none;
  cursor:pointer;
  font-weight: 700;
  color: var(--blue);
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.fr-faq summary::-webkit-details-marker{ display:none; }
.fr-faq summary::after{
  content:"+";
  font-weight:800;
  color: var(--orange);
  transform: translateY(-1px);
}
.fr-faq details[open] summary::after{ content:"–"; }
.fr-faq details[open]{ transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.fr-faq p{ margin:10px 0 0; color:#233047; }

/* ===================== */
/*     Formulaire        */
/* ===================== */
.fr-apply {
  background: var(--blue);
  color: #fff;
  padding: 80px 0;
}

.fr-apply__head {
  text-align: center;
  margin-bottom: 30px;
}

.fr-apply__head h2 {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 10px;
}
.fr-apply__head h2 span {
  color: var(--orange);
}
.fr-apply__head .sub {
  color: #eaf2ff;
  margin: 0 0 20px;
}

.apply-form {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.apply-form label {
  display: grid;
  gap: 6px;
}
.apply-form label > span {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  color: var(--ink);
  background: #f8fafc;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 116, 62, 0.25);
  background: #fff;
}

/* Grilles */
.apply-form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.apply-form .grid-3 {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 14px;
}
.apply-form .grid-span-2 {
  grid-column: span 2;
}

.apply-form .consent {
  display: grid;
  grid-template-columns: 0.3fr 2fr;
  gap: 8px;
  color: #29324a;
  font-size: 0.95rem;
}
.apply-form .consent input {
  margin-top: 4px;
}

.apply-form .cta-group {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.apply-form .cta {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 12px 28px rgba(255, 116, 62, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.apply-form .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 116, 62, 0.35);
}

/* Responsive */
@media (max-width: 680px) {
  .apply-form .grid-2,
  .apply-form .grid-3 {
    grid-template-columns: 1fr;
  }
  .apply-form .grid-span-2 {
    grid-column: auto;
  }
}

/* ===== Ajustement liste points : alignement à gauche mais centré visuellement ===== */
.aff-points {
  margin: 1em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  align-items: flex-start;
}
.aff-points li {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
  padding-left: 32px;
  position: relative;
  width: 100%;
}
.aff-points li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
}

/* === Header avec photos latérales pour section "Deux formats" === */
.fr-head-inline {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}

.fr-head-inline h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--blue);
  margin: 0;
}

.fr-head-inline h2 span {
  color: var(--orange);
}

/* Images latérales */
.head-side {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.head-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fr-head-inline .lemoine-points {
  grid-column: 1 / -1;
  justify-content: center;
  margin: 16px auto 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .fr-head-inline {
    grid-template-columns: 80px 1fr 80px;
    gap: 10px;
  }
  .head-side {
    max-width: 80px;
    height: 80px;
  }
}
@media (max-width: 640px) {
  .fr-head-inline {
    grid-template-columns: 1fr;
  }
  .head-side {
    display: none; /* on cache les images sur mobile pour aérer */
  }
}
/* ===================== */
/*   GALERIE PHYSIQUE    */
/* ===================== */
.fr-physique__gallery {
  position: relative;
  min-height: 500px; /* hauteur augmentée */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.ph-photo {
  position: relative;
  flex: 1 50%;
  max-width: 360px;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

/* ===================== */
/*     LIGHTBOX STYLE    */
/* ===================== */
.ph-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.ph-lightbox[aria-hidden="false"] {
  display: flex;
}
.ph-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.ph-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.ph-lightbox__close:hover {
  background: var(--orange);
  color: #fff;
}

/* ===================== */
/*     SECTION CHIFFRES  */
/* ===================== */
.fr-value--dark {
  text-align: center;
}
.fr-value--dark h2 {
  color: var(--orange);
  margin-bottom: 12px;
}
.fr-value--dark p {
  color: #fff;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.7;
}
.fr-value--dark .cta-group {
  justify-content: center;
  margin-top: 16px;
}
