:root{
    --purple-deep:#3E1852;
    --purple-primary:#6B3FA0;
    --purple-soft:#9A6FBF;
    --purple-light:#C9A8D9;
    --lavender-mist:#F1E9F5;
    --blush:#E6A8B8;
    --blush-deep:#C97F91;
    --cream:#FBF8FB;
    --ink:#2B1E38;
    --ink-soft:#5F5270;
    --ink-faint:#8577945c;
    --white:#FFFFFF;
    --radius-lg:28px;
    --radius-md:18px;
    --radius-sm:12px;
    --shadow-soft:0 20px 50px -25px rgba(62,24,82,0.35);
    --shadow-card:0 12px 30px -18px rgba(62,24,82,0.28);
    --ease:cubic-bezier(.22,.9,.32,1);
  }

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

  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

  body{
    font-family:'Public Sans', sans-serif;
    color:var(--ink);
    background:var(--cream);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3,h4{
    font-family:'Fraunces', serif;
    color:var(--purple-deep);
    font-weight:600;
    line-height:1.15;
    letter-spacing:-0.01em;
  }

  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%;display:block;}
  button{font-family:inherit;cursor:pointer;border:none;background:none;}

  a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
    outline:3px solid var(--blush-deep);
    outline-offset:3px;
    border-radius:6px;
  }

  .container{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }

  .eyebrow{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-weight:500;
    font-size:1.05rem;
    color:var(--blush-deep);
    display:inline-block;
    margin-bottom:14px;
  }

  section{position:relative;}

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 30px;
    border-radius:999px;
    font-weight:600;
    font-size:0.98rem;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease);
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--purple-primary);
    color:var(--white);
    box-shadow:0 14px 30px -12px rgba(107,63,160,0.55);
  }
  .btn-primary:hover{transform:translateY(-3px); box-shadow:0 18px 36px -12px rgba(107,63,160,0.65);}
  .btn-ghost{
    background:transparent;
    color:var(--purple-deep);
    border:1.5px solid var(--purple-light);
  }
  .btn-ghost:hover{background:var(--lavender-mist); transform:translateY(-3px);}
  .btn-light{
    background:var(--white);
    color:var(--purple-deep);
  }
  .btn-light:hover{transform:translateY(-3px); box-shadow:0 14px 30px -14px rgba(0,0,0,0.25);}

  /* ---------- Header ---------- */
  header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(251,248,251,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(107,63,160,0.09);
  }
  .nav-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 32px;
    max-width:1180px;
    margin:0 auto;
  }
  .brand{display:flex;align-items:center;gap:12px;}
  .brand img{height:100px;width:auto;}

  nav.primary-nav ul{display:flex;gap:30px;}
  nav.primary-nav a{
    font-size:0.94rem;
    font-weight:500;
    color:var(--ink-soft);
    position:relative;
    padding:6px 0;
    transition:color .25s var(--ease);
  }
  nav.primary-nav a:hover{color:var(--purple-primary);}
  nav.primary-nav a::after{
    content:"";
    position:absolute;
    left:0;bottom:0;
    width:0;height:2px;
    background:var(--blush-deep);
    transition:width .3s var(--ease);
  }
  nav.primary-nav a:hover::after{width:100%;}

  .header-actions{display:flex;align-items:center;gap:18px;}
  .phone-link{
    display:flex;align-items:center;gap:8px;
    font-weight:600;color:var(--purple-deep);font-size:0.95rem;
  }
  .phone-link svg{flex-shrink:0;}

  .menu-toggle{display:none;flex-direction:column;gap:5px;padding:8px;}
  .menu-toggle span{width:24px;height:2px;background:var(--purple-deep);border-radius:2px;}

  /* ---------- Hero ---------- */
  .hero{
    padding:88px 0 110px;
    overflow:hidden;
    position:relative;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
  }
  .hero-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:60px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(2.4rem, 4.4vw, 3.6rem);
    margin-bottom:24px;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--blush-deep);
  }
  .hero p.lead{
    font-size:1.15rem;
    color:var(--ink-soft);
    max-width:520px;
    margin-bottom:36px;
  }
  .hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:44px;}
  .hero-trust{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
  }
  .hero-trust div{display:flex;align-items:center;gap:10px;}
  .hero-trust strong{
    font-family:'Fraunces',serif;
    font-size:1.55rem;
    color:var(--purple-deep);
    display:block;
    line-height:1;
  }
  .hero-trust span{font-size:0.82rem;color:var(--ink-soft);}

  .hero-visual {
  position: relative;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}
  
@media (max-width: 768px) {
  .hero-image {
    height: 380px;
    border-radius: 20px;
  }
}
  .hero-card{
    position:relative;
    z-index:1;
    background:var(--white);
    border-radius:var(--radius-lg);
    padding:38px 34px;
    box-shadow:var(--shadow-soft);
    max-width:360px;
    text-align:center;
  }
  .hero-card .heart-icon{width:64px;height:64px;margin:0 auto 18px;object-fit:contain;}
  .hero-card h3{font-size:1.3rem;margin-bottom:10px;}
  .hero-card p{color:var(--ink-soft);font-size:0.95rem;margin-bottom:20px;}
  .hero-card .mini-stats{
    display:flex;
    justify-content:space-around;
    border-top:1px solid var(--lavender-mist);
    padding-top:18px;
    margin-top:6px;
  }
  .hero-card .mini-stats div strong{display:block;font-family:'Fraunces',serif;color:var(--purple-primary);font-size:1.2rem;}
  .hero-card .mini-stats div span{font-size:0.75rem;color:var(--ink-soft);}

  /* ---------- Section headers ---------- */
  .section-head{
    max-width:640px;
    margin:0 auto 56px;
    text-align:center;
  }
  .section-head h2{font-size:clamp(1.9rem, 3vw, 2.5rem); margin-bottom:16px;}
  .section-head p{color:var(--ink-soft); font-size:1.05rem;}
  .section-head.left{margin:0 0 48px; text-align:left;}

    /* ---------- Photo banner ---------- */
  .photo-banner{
    position:relative;
    min-height:520px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
  }
  .photo-banner img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
  }
  .photo-banner::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(62,24,82,0.05) 0%, rgba(62,24,82,0.15) 45%, rgba(43,30,56,0.88) 100%);
  }
  .photo-banner-content{
    position:relative;
    z-index:2;
    padding:56px 0;
    width:100%;
  }
  .photo-banner-content .eyebrow{color:var(--blush);}
  .photo-banner-content h2{
    color:var(--white);
    font-size:clamp(1.7rem, 3vw, 2.3rem);
    max-width:640px;
    margin-bottom:14px;
  }
  .photo-banner-content p{
    color:rgba(255,255,255,0.85);
    max-width:520px;
    font-size:1.02rem;
  }

  /* ---------- Services ---------- */
  .services{padding:110px 0 100px;}
  .services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
  }
  .service-card{
    background:var(--white);
    border-radius:var(--radius-md);
    padding:30px 26px;
    box-shadow:var(--shadow-card);
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .service-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px -18px rgba(62,24,82,0.32);}
  .service-card .icon{
    width:52px;height:52px;
    border-radius:16px;
    background:var(--lavender-mist);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:18px;
  }
  .service-card h3{font-size:1.12rem;margin-bottom:10px;}
  .service-card p{font-size:0.92rem;color:var(--ink-soft);}

  /* ---------- How it works ---------- */

.how {
  padding: 100px 0;
  background: var(--lavender-mist);
  position: relative;
  overflow: hidden;
}


/* TITRE */

.how .section-head {
  margin-bottom: 0;
}


/* PHOTO + ÉTAPES */

.how-content {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 50px;
  align-items: stretch;
  margin-top: 45px;
}


/* ---------- Photo ---------- */

.how-image {
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
}

.how-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 25px;
  margin: 0;
  position: relative;
}

/* On supprime l'ancienne ligne horizontale */

.steps::before {
  display: none;
}


/* ---------- Une étape ---------- */

.step {
  text-align: left;
  padding: 0;
  position: relative;
}

.step .num {
  width: 58px;
  height: 58px;

  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--purple-light);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;

  color: var(--purple-primary);

  /* Alignement à gauche */
  margin: 0 0 18px 0;

  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}


/* ========================================
   TABLETTE
======================================== */

@media (max-width: 900px) {

  .how {
    padding: 80px 0;
  }

  .how-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .how-image {
    min-height: 400px;
    max-height: 480px;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

  .how {
    padding: 65px 0;
  }

  .how-content {
    margin-top: 35px;
  }

  .how-image {
    min-height: 300px;
    max-height: 350px;
    border-radius: 18px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

/* ========================================
   TABLETTE / MOBILE
======================================== */

@media (max-width: 900px) {

  .how-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .how-image {
    min-height: 400px;
    max-height: 500px;
  }
}


@media (max-width: 600px) {

  .how-content .steps {
    grid-template-columns: 1fr;
  }

  .how-image {
    min-height: 300px;
    max-height: 350px;
  }
}

 

  /* ---------- Funding ---------- */
  .funding{
    padding:100px 0;
    background:var(--purple-deep);
    color:var(--white);
  }
  .funding .section-head h2, .funding .section-head p{color:var(--white);}
  .funding .section-head p{opacity:0.85;}
  .funding-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
  }
  .funding-card{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:var(--radius-md);
    padding:28px 26px;
  }
  .funding-card h3{color:var(--blush); font-size:1.1rem; margin-bottom:10px;}
  .funding-card p{font-size:0.92rem; opacity:0.88;}

  
  /* ---------- Zone ---------- */
  .zone{
    padding:80px 0;
    text-align:center;
  }
  .zone-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-top:30px;
  }
  .zone-tags span{
    padding:9px 20px;
    border-radius:999px;
    background:var(--white);
    border:1px solid var(--purple-light);
    font-size:0.88rem;
    color:var(--purple-deep);
    font-weight:500;
  }

  /* ---------- Contact / Devis ---------- */
   .contact{
    padding:110px 0 120px;
    background:var(--lavender-mist);
  }
  .contact-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:50px;
    align-items:flex-start;
  }
  .contact-info h2{font-size:clamp(1.9rem,3vw,2.4rem); margin-bottom:18px;}
  .contact-info p{color:var(--ink-soft); margin-bottom:32px;}
  .contact-item{
    display:flex;
    gap:16px;
    align-items:flex-start;
    margin-bottom:24px;
  }
  .contact-item .icon{
    width:44px;height:44px;border-radius:12px;
    background:var(--white);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    box-shadow:var(--shadow-card);
  }
  .contact-item strong{display:block;color:var(--purple-deep); font-size:0.95rem; margin-bottom:2px;}
  .contact-item span{font-size:0.88rem; color:var(--ink-soft);}
 
  .form-card{
    background:var(--white);
    border-radius:var(--radius-lg);
    padding:44px 40px;
    box-shadow:var(--shadow-soft);
  }
    .form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
  .field{margin-bottom:20px;}
  .field label{
    display:block;
    font-size:0.85rem;
    font-weight:600;
    color:var(--purple-deep);
    margin-bottom:8px;
  }
  .field input, .field select, .field textarea{
    width:100%;
    padding:13px 16px;
    border-radius:var(--radius-sm);
    border:1.5px solid #E4D9EC;
    background:var(--cream);
    font-family:inherit;
    font-size:0.95rem;
    color:var(--ink);
    transition:border-color .25s var(--ease);
  }
  .field input:focus, .field select:focus, .field textarea:focus{
    border-color:var(--purple-primary);
    outline:none;
  }
  .field textarea{resize:vertical; min-height:100px;}
  .form-note{font-size:0.8rem; color:var(--ink-soft); margin-top:16px; text-align:center;}
    .field-checkbox{margin-bottom:22px;}
  .checkbox-label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:0.85rem;
    color:var(--ink-soft);
    cursor:pointer;
    font-weight:400;
  }
  .checkbox-label input{
    width:18px;height:18px;
    margin-top:2px;
    accent-color:var(--purple-primary);
    flex-shrink:0;
  }
 
  .legal-mentions{
    margin-top:60px;
    padding-top:30px;
    border-top:1px solid rgba(107,63,160,0.15);
    max-width:900px;
  }
  .legal-mentions p{
    font-size:0.74rem;
    line-height:1.6;
    color:var(--ink-faint);
    margin-bottom:10px;
  }
  .legal-mentions a{
    color:var(--purple-primary);
    text-decoration:underline;
  }
  /*.form-success{
    display:none;
    background:var(--lavender-mist);
    border-radius:var(--radius-sm);
    padding:18px 20px;
    color:var(--purple-deep);
    font-weight:600;
    text-align:center;
    margin-bottom:20px;
  }*/

  /* ---------- Footer ---------- */
  footer{
    background:var(--ink);
    color:rgba(255,255,255,0.75);
    padding:70px 0 30px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:50px;
  }
  .footer-brand{display:flex; align-items:center; gap:12px; margin-bottom:16px; background:var(--white); padding:12px 18px; border-radius:var(--radius-sm); width:fit-content;}
  .footer-brand img{height:80px; width:auto;}
  footer p.about{font-size:0.88rem; max-width:280px; line-height:1.7;}
  footer h4{color:var(--white); font-family:'Public Sans',sans-serif; font-size:0.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px;}
  footer ul li{margin-bottom:12px;}
  footer ul a{font-size:0.9rem; transition:color .25s var(--ease);}
  footer ul a:hover{color:var(--blush);}
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:26px;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    font-size:0.8rem;
    opacity:0.65;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 980px){
    nav.primary-nav{display:none;}
    .menu-toggle{display:flex;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-visual{order:-1; margin-bottom:20px;}
    .services-grid{grid-template-columns:repeat(2,1fr);}
    .who-grid{grid-template-columns:1fr;}
    .funding-grid{grid-template-columns:1fr;}
    .testi-grid{grid-template-columns:1fr;}
    .steps{grid-template-columns:1fr 1fr; row-gap:40px;}
    .steps::before{display:none;}
    .trust-bar .container{grid-template-columns:repeat(2,1fr); row-gap:24px;}
    .contact-grid{grid-template-columns:1fr;}
    .form-row{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width: 600px){
    .container{padding:0 20px;}
    .hero{padding:56px 0 70px;}
    .services-grid{grid-template-columns:1fr;}
    .steps{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .hero-cta{flex-direction:column;}
    .hero-cta .btn{width:100%;}
  }

  .form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.form-message.success {
    background: #f1e9f5;
    color: #3e1852;
    border: 1px solid #c9a8d9;
}

.form-message.error {
    background: #fff0f0;
    color: #9b2c2c;
    border: 1px solid #efb5b5;
}

#submitDevis:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Consentement */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
    cursor: pointer;
}

.consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
    accent-color: var(--purple-primary);
}

.consent span {
    display: block;
}


/* Bouton formulaire */
#submitDevis {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-height: 54px;

    padding: 15px 30px;

    border: none;
    border-radius: 999px;

    background: var(--purple-primary);
    color: var(--white);

    font-family: "Public Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 12px 28px -12px rgba(107, 63, 160, 0.55);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#submitDevis:hover {
    background: var(--purple-deep);
    transform: translateY(-2px);

    box-shadow:
        0 16px 32px -12px rgba(62, 24, 82, 0.55);
}

#submitDevis:active {
    transform: translateY(0);
}

#submitDevis:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   ASC BIENVEILLANCE — PAGES LÉGALES
======================================== */

.legal-header {
    background: #ffffff;
    border-bottom: 1px solid var(--lavender-mist);
}

.legal-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-logo {
    display: block;
}

.legal-logo img {
    display: block;
    width: 135px;
    height: auto;
}

.legal-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;

    background: var(--lavender-mist);
    color: var(--purple-primary);

    border-radius: 999px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.legal-home-link:hover {
    background: var(--purple-primary);
    color: #fff;
}


/* HERO */

.legal-page {
    background: #FBF8FB;
    min-height: 100vh;
}

.legal-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 24px 105px;

    background:
        linear-gradient(
            135deg,
            #F8F1FB 0%,
            #F1E9F5 100%
        );

    text-align: center;
}

.legal-hero .container {
    position: relative;
    z-index: 2;

    max-width: 800px;
}

.legal-eyebrow {
    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 15px;

    background: rgba(107, 63, 160, .10);
    color: var(--purple-primary);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.legal-hero h1 {
    margin: 0 0 20px;

    font-family: "Fraunces", serif;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.08;

    color: var(--purple-deep);
}

.legal-hero p {
    max-width: 650px;
    margin: 0 auto;

    color: var(--ink-soft);

    font-size: 17px;
    line-height: 1.7;
}


/* DÉCORATIONS */

.legal-hero-decoration {
    position: absolute;
    border-radius: 50%;

    background: rgba(154, 111, 191, .12);

    pointer-events: none;
}

.legal-decoration-1 {
    width: 300px;
    height: 300px;

    top: -170px;
    right: -70px;
}

.legal-decoration-2 {
    width: 180px;
    height: 180px;

    bottom: -100px;
    left: 5%;
}


/* CONTENU */

.legal-content {
    max-width: 900px;

    margin: -45px auto 0;
    padding-bottom: 80px;

    position: relative;
    z-index: 5;
}

.legal-card {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 22px;

    margin-bottom: 18px;
    padding: 32px;

    background: #ffffff;

    border: 1px solid rgba(107, 63, 160, .08);
    border-radius: 20px;

    box-shadow:
        0 15px 45px -30px rgba(62, 24, 82, .35);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.legal-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 20px 50px -30px rgba(62, 24, 82, .45);
}

.legal-number {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 48px;
    height: 48px;

    background: var(--lavender-mist);
    color: var(--purple-primary);

    border-radius: 14px;

    font-size: 13px;
    font-weight: 700;
}

.legal-card h2 {
    margin: 6px 0 14px;

    font-family: "Fraunces", serif;
    font-size: 23px;

    color: var(--purple-deep);
}

.legal-card p,
.legal-card li {
    color: var(--ink-soft);

    font-size: 15px;
    line-height: 1.8;
}

.legal-card p:first-of-type {
    margin-top: 0;
}

.legal-card a {
    color: var(--purple-primary);
    font-weight: 600;
}

.legal-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.legal-card li {
    margin-bottom: 5px;
}


/* CARTE MISE EN AVANT */

.legal-highlight {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #F8F1FB
        );

    border-color: rgba(107, 63, 160, .18);
}


/* CONTACT */

.legal-contact {
    display: inline-flex;

    margin: 5px 0 15px;
    padding: 10px 16px;

    background: var(--lavender-mist);

    border-radius: 10px;

    text-decoration: none;
}


/* RETOUR */

.legal-bottom {
    display: flex;
    justify-content: center;

    margin-top: 40px;
}

.legal-return {
    display: inline-flex;
    align-items: center;

    padding: 15px 28px;

    background: var(--purple-primary);
    color: #ffffff;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 12px 30px -15px rgba(107, 63, 160, .65);

    transition: .2s ease;
}

.legal-return:hover {
    background: var(--purple-deep);
    transform: translateY(-2px);
}


/* FOOTER */

.legal-footer {
    padding: 30px 24px;

    background: var(--purple-deep);
    color: rgba(255,255,255,.75);
}

.legal-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 900px;
}

.legal-footer strong {
    color: #ffffff;
}

.legal-footer span {
    font-size: 13px;
}


/* MOBILE */

@media (max-width: 600px) {

    .legal-header-inner {
        padding: 14px 20px;
    }

    .legal-logo img {
        width: 105px;
    }

    .legal-home-link {
        padding: 10px 14px;
        font-size: 12px;
    }

    .legal-hero {
        padding: 65px 20px 90px;
    }

    .legal-content {
        margin-top: -35px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .legal-card {
        grid-template-columns: 1fr;

        padding: 24px;
    }

    .legal-number {
        width: 42px;
        height: 42px;
    }

    .legal-footer .container {
        flex-direction: column;
        gap: 8px;

        text-align: center;
    }

}

/* ================================
   POPUP CONFIRMATION DEVIS
================================ */

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Fond derrière la popup */

.success-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(35, 18, 45, 0.55);
    backdrop-filter: blur(4px);
}


/* Fenêtre */

.success-modal-box {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 480px;

    padding: 42px 35px 35px;

    background: #ffffff;
    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(62, 24, 82, 0.25);

    transform: translateY(15px) scale(0.97);
    transition: transform 0.25s ease;
}

.success-modal.active .success-modal-box {
    transform: translateY(0) scale(1);
}


/* Croix */

.success-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;

    border: 0;
    background: transparent;

    color: #777;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* Icône */

.success-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #EADFF4;
    color: #5A2E82;

    font-size: 30px;
    font-weight: 700;
}


/* Titre */

.success-modal-box h2 {
    margin: 0 0 15px;

    color: #5A2E82;

    font-size: 26px;
}


/* Texte */

.success-modal-box p {
    margin: 0 auto 12px;

    color: #4A4A4A;

    font-size: 15px;
    line-height: 1.6;
}

.success-modal-info {
    color: #777 !important;
    font-size: 14px !important;
}


/* Bouton */

.success-modal-box .btn {
    margin-top: 20px;
    min-width: 150px;
}


/* Mobile */

@media (max-width: 600px) {

    .success-modal-box {
        padding: 38px 24px 28px;
        border-radius: 18px;
    }

    .success-modal-box h2 {
        font-size: 23px;
    }

}

/* ========================================
   HEADER - MOBILE
======================================== */

@media (max-width: 768px) {

    header {
        width: 100%;
    }

    header .nav-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 12px 16px;

        gap: 10px;
    }


    /* LOGO */

    header .brand {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    header .brand img {
        display: block;
        width: 115px;
        height: auto;
    }


    /* NAVIGATION DESKTOP */

    header .primary-nav {
        display: none;
    }


    /* ACTIONS À DROITE */

    header .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 10px;
        margin-left: auto;
    }


    /* Masque le numéro uniquement sur mobile */

    header .phone-link {
        display: none !important;
    }


    /* BOUTON DEVIS */

    header .header-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: auto;
        min-width: 0;

        padding: 12px 16px;

        font-size: 14px;
        line-height: 1;

        white-space: nowrap;
        flex-shrink: 0;
    }


    /* MENU HAMBURGER */

    header .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;

        flex-shrink: 0;

        width: 42px;
        height: 42px;

        margin: 0;
        padding: 8px;
    }

}


/* Carte service cliquable */

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card-link h3,
.service-card-link p {
    color: inherit;
}

.service-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--purple);
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.service-card-link:hover .service-more {
    transform: translateX(5px);
}