/* ============================================================
   client.css — CSS partagé des 3 pages candidat RYZE
   accueil.html · offre-client.html · candidature.html
   ============================================================ */

@font-face {
    font-family: 'Tenorite';
    src: url('../fonts/tenorite/Tenorite-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Tenorite';
    src: url('../fonts/tenorite/Tenorite-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Tenorite';
    src: url('../fonts/tenorite/Tenorite-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Tenorite';
    src: url('../fonts/tenorite/Tenorite-Bold-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* ========================================
   VARIABLES (palette RYZE)
   ======================================== */
:root {
  --gd:       #0E3121;
  --gv:       #6FB72D;
  --gm:       #3a7a2e;
  --navy:     #16222C;
  --orange:   #FF701C;
  --mint:     #A7BDB6;
  --white:    #fff;
  --off:      #f7faf7;
  --light:    #e4ede5;
  --border:   #c5d9c6;
  --text:     #0E3121;
  --muted:    #5a7060;
  --bg:       #f3f7f3;
  --error:    #e53e3e;
  --focus:    rgba(111,183,45,.3);

  
  --font-Tenorite:    'Tenorite', sans-serif;

  --radius: 0px; /* design carré, cohérent avec l'admin */
  --shadow: 0 4px 24px rgba(14,49,33,.08);
  --shadow-lg: 0 12px 48px rgba(14,49,33,.14);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-Tenorite);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: var(--font-Tenorite);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--gd);
  height: 80px;
  display: flex;
  border-bottom: 1px solid rgba(111,183,45,.2);
}

/* CONTAINER */

.navbar-container{
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.nav-logo img { max-height: 50px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 1rem;
  color: var(--mint);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gv);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-links a:hover,
.nav-links a.act { 
  color: var(--white); 
}
.nav-links a:hover::after,
.nav-links a.act::after { transform: scaleX(1); }

.nav-cta {
  padding: .42rem 1.2rem;
  background: var(--gv);
  border: 2px solid var(--gv);
  color: var(--white) !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.nav-cta:hover { background: var(--gm); border-color: var(--gm); }
.nav-cta::after { display: none !important; }

/* Hamburger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: all .2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--gd);
  border-bottom: 2px solid rgba(111,183,45,.2);
  z-index: 99;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: .2rem;
}
.nav-mobile a {
  display: block;
  padding: .7rem 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* état actif dans le menu mobile (liens normaux, hors CTA) */
.nav-mobile a.act {
  color: var(--white);
  border-left: 3px solid var(--gv);
  padding-left: .8rem;
}

/* le CTA "Postuler" garde son propre padding (ne doit pas hériter
   du padding: .7rem 0 des autres liens du menu mobile) */
.nav-mobile a.nav-cta {
  display: inline-block;
  width: fit-content;
  margin-top: .6rem;
  padding: .55rem 1.4rem;
  border-bottom: none;
}

/* ========================================
   HERO IMAGE (offre-client + candidature)
   ======================================== */
.page-hero {
  margin-top: 80px;
  height: 30vh;
  min-height: 150px;
  max-height: 300px;
  position: relative;
  overflow: hidden;
  background: var(--gd);
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,49,33,.85) 0%, rgba(22,34,44,.6) 100%);
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: center;
  padding: 3rem 0rem;
}

.page-hero-content{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.page-hero-eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gv);
  margin-bottom: .6rem;
}
.page-hero-title {
  font-family: var(--font-Tenorite);
 font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 640px;
}
.page-hero-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
  font-weight: 500;
}

/* ========================================
   SECTION WRAPPERS
   ======================================== */
.section { padding: 2.5rem 4rem; }
#offres { padding-top: 0; }
#offres .section-title { margin-top: 1.75rem; }
.section.alt  { background: var(--off); }
.section.dark { background: var(--gd); }
.section.tight { padding: 3rem 4rem; }

.section.toutes-offres { margin-top: 64px;
  position: relative;
  overflow: hidden; }

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gv);
  border-left: 3px solid var(--gv);
  padding-left: .8rem;
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-Tenorite);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gd);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}
.section-sub.light { color: rgba(255,255,255,.55); }


/* =========================================
   FOOTER
========================================= */
.footer{
    background:
        radial-gradient(
            circle at top,
            rgba(112,183,45,.10),
            transparent 42%
        ),
        linear-gradient(
            to bottom,
            var(--gd) 0%,
            #102d22 58%,
            #173b2c 100%
        );
    padding: 2rem 4rem 1.6rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* CONTAINER */
.footer-container{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* BRAND */
.footer-brand img{
    max-height: 70px;
    margin-bottom: 1.4rem;
}

.footer-brand p{
    font-size: 1rem;
    line-height: 1.9;
    color: var(--light);
    max-width: 500px;
    margin-bottom: 1.6rem;
}

/* TITLES */

.footer-title{
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--border);
    margin-bottom: 1.4rem;
}

/* SOCIALS*/
.footer-socials{
    display: flex;
    align-items: center;
    gap: .8rem;
}

.footer-socials a{
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light);
    font-size: 1rem;
}

.footer-socials a:hover{
    border-color: var(--gv);
    color: var(--white);
}

/* NAVIGATION */
.footer-nav{
    display: flex;
    flex-direction: column;
}

.footer-nav a{
    text-decoration: none;
    color: var(--light);
    font-size: 1rem;
    margin-bottom: .95rem;
    transition: .2s ease;
}

.footer-nav a:hover{
    color: var(--gv);
}


/* CONTACT */
.footer-contact{
    display: flex;
    flex-direction: column;
}

.footer-contact-item{
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.2rem;
    color: inherit;
    text-decoration: none;
    transition: .2s ease;
}

a.footer-contact-item:hover{
    color: var(--gv);
}

.footer-contact-item i{
    color: var(--gv);
    font-size: 1rem;
}

.footer-contact-item span{
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light);
}

/* Divider */
.footer-divider{
    width: 100%;
    height: 1px;
    background:linear-gradient( to right,transparent, rgba(255,255,255,.12), transparent);
    margin:3rem 0 1.3rem;
}

/*  BOTTOM */
.footer-bottom{
    text-align: center;
    font-size: .75rem;
    color: var(--gv);
    letter-spacing: .04em;
}

/* =========================================
   RESPONSIVE FOOTER
========================================= */
@media (max-width: 1024px){
    .footer{
      font-size: .8rem; 
      padding: 2rem 2rem;
    };
  }


@media (max-width: 980px){
    .footer-container{
        grid-template-columns: 1fr 1fr;
        font-size: .8rem;
        gap: 1.4rem 1.2rem;
    }
    .footer-brand{ grid-column: 1 / -1; }
    .footer{
      font-size: .85rem;
      padding: 2.2rem 1.5rem 1rem;
    }
    .footer-brand img{ max-height: 52px; margin-bottom: .8rem; }
    .footer-brand p{ margin-bottom: .9rem; line-height: 1.6; }
    .footer-socials a{ width: 36px; height: 36px; }
    .footer-title{ margin-bottom: .7rem; }
    .footer-divider{
      margin: 1.2rem 0 .8rem;
    }
    .footer-nav{
      flex-direction: row;
      flex-wrap: wrap;
      gap: .5rem 1.4rem;
    }
    .footer-nav a{ margin-bottom: 0; }
    .footer-contact{
      flex-direction: row;
      flex-wrap: wrap;
      gap: .5rem 1.6rem;
    }
    .footer-contact-item{ margin-bottom: 0; gap: .5rem; }
    /* email = 2e enfant, téléphone = 3e enfant (après le titre) :
       on pousse le téléphone à droite sur cette même ligne */
    .footer-contact-item:nth-child(3){
      margin-left: auto;
    }

    /* le titre reste toujours seul sur sa ligne */
    .footer-nav .footer-title,
    .footer-contact .footer-title{
      flex-basis: 100%;
      width: 100%;
    }
    /* l'adresse (dernier item contact) passe seule à la ligne :
       il ne reste ainsi que email + téléphone ensemble au-dessus */
    .footer-contact-item:last-child{
      flex-basis: 100%;
    }
}

@media (max-width: 480px){
    .footer-contact-item span{
      font-size: .95rem;
    }
    .footer-contact{
      gap: .4rem .8rem;
    }
    .footer-container{
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ========================================
   BOUTONS PARTAGÉS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.8rem .65rem;
  font-family: var(--font-Tenorite);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gv);
  color: var(--white);
  border-color: var(--gv);
}
.btn-primary:hover { background: var(--gm); border-color: var(--gm); }

.btn-dark {
  background: var(--gd);
  color: var(--white);
  border-color: var(--gd);
}
.btn-dark:hover { 
  background: var(--gv);
  border-color: var(--gv); 
}

.btn-outline {
  background: transparent;
  color: var(--gv);
  border-color: var(--gv);
}

.btn-outline:hover { 
  border-color: var(--gv); 
  color: var(--white); 
  background: var(--gv);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn-outline-light:hover { border-color: var(--gv); color: var(--gv); }
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-lg { 
  padding: 1rem 2.4rem .85rem; 
  font-size: 1rem; 
}

.btn-sm {
   padding: .6rem 1rem .55rem 1rem; 
   font-size: .8rem; 
  }

/* ========================================
   BADGE / TAG
   ======================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .22rem .7rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tag::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; }
.tag-green  { background: rgba(111,183,45,.1);  color: var(--gm); }
.tag-green::before  { background: var(--gv); }
.tag-orange { background: rgba(255,112,28,.1); color: #c25300; }
.tag-orange::before { background: var(--orange); }
.tag-gray   { background: rgba(167,189,182,.2); color: var(--muted); }
.tag-gray::before   { background: var(--mint); }

/* ========================================
   OFFRE CARD (utilisée accueil + liste)
   ======================================== */
.offre-card {
  background: var(--white);
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.offre-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gv);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s;
}
.offre-card:hover {
  border-color: var(--gv);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.offre-card:hover .oc-foot a{
  border-color: var(--gv);
  background-color: var(--gv);
  color: var(white);
}

.offre-card:hover::before { 
  transform: scaleY(1); 
}

.oc-service {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gv);
}
.oc-title {
  font-family: var(--font-Tenorite);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gd);
  line-height: 1.2;
}
.oc-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.oc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .2rem;
}
.oc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: .8rem;
  /* border-top: 1px solid var(--light); */
  margin-top: auto;
}

/* ── BOUTON VOIR TOUTES LES OFFRES ── */
.see-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
/* ========================================
   FORMULAIRE STEPS — candidature.html
   ======================================== */
.form-steps {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.fstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  flex: 1;
  position: relative;
}
.fstep + .fstep::before {
  content: '';
  position: absolute;
  left: -50%;
  top: 18px;
  width: 100%;
  height: 2px;
  background: var(--light);
  z-index: 0;
}
.fstep.done + .fstep::before { background: var(--gv); }

.fstep-num {
  width: 48px; height: 48px;
  border: 1px solid var(--light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all .2s;
}
.fstep.act .fstep-num { background: var(--gd); border-color: var(--gd); color: var(--white); }
.fstep.done .fstep-num { background: var(--gv); border-color: var(--gv); color: var(--white); }

.fstep-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.fstep.act .fstep-label { color: var(--gd); font-weight: 800; }
.fstep.done .fstep-label { color: var(--gv); }

/* Panneaux étapes */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* ========================================
   FORM FIELDS (candidature)
   ======================================== */
.form-section {
  background: var(--white);
  border: .5px solid var(--light);
  margin-bottom: 1.5rem;
  padding: 0 1rem 1rem 1rem;
}
.form-section-head {
  padding: 2rem 2rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gv);
}
.form-section-head::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--gv);
  flex-shrink: 0;
  align-items: flex-end;
}
.form-section-body { padding: 1.8rem 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.6rem;
}

.form-grid .full { grid-column: 1 / -1; }

.field { 
  display: flex; 
  flex-direction: column; 
  gap: .4rem; 
}

label {
  font-size: .85rem;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}

label .req { color: var(--error); font-size: .8rem; line-height: 1; margin-left: .3rem; }

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: .8rem 1.2rem;
  border: 1px solid var(--light);
  font-family: var(--font-Tenorite);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gv);
  box-shadow: 0 0 0 1px var(--focus);
  background: var(--white);
}
input::placeholder, textarea::placeholder { color: var(--mint); font-weight: 400; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a7060' fill='none' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding: .95rem 1.2rem .95rem 2.5rem ;
  cursor: pointer;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.7; }

input[type="file"] {
  padding: .5rem;
  cursor: pointer;
  font-size: .78rem;
}


/* select multiple domaine */

.field.domaine {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  overflow: visible important;
  position: relative;

}

input[type="text"].domaine,
select.domaine{
  width: 100%;
  padding: .65rem .85rem;
  border: 2px solid var(--border);
  background: var(--bg);
  font-family: 'Tenorite', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}

 /* Container */
        .choices{
            font-family: inherit;
            position: relative;
            overflow: visible !important;
            height: 40px !important;
        }

        /* Main select */
        .choices__inner{
            height: 48px !important;
            border-radius: 0px !important;
            background-color: var(--white) !important;
            padding: 6px 12px !important;
            box-shadow: none !important;
            font-size: 1rem !important;
            align-items : center !important
        }

        /* Focus */
        .is-focused .choices__inner{
            border-color: var(--gv) !important;
        }

/* Selected tags */
        .choices__list--multiple .choices__item{
            background: var(--light)  !important;
            color: var(--gd) !important;
            border: none !important;
            border-radius: 0px !important;
            /*padding: 2px 8px!important;*/
            font-size: 1rem !important;
            font-weight: 700 !important;
            letter-spacing: .02em;
        }

        /* Remove button */
        .choices__button{
            border-left: none !important;
            margin-left: 8px !important;
            filter: brightness(0) invert(0);
        }

        .choices__button:hover{
            opacity: 1;
        }

        /* Placeholder */
        .choices__placeholder{
            opacity: .2 !important;
            font-size : 1rem !important;
            border:none !important
        }

        /* Search input */
        .choices__input{
            background: transparent !important;
            font-size: 1rem !important;
            margin-bottom: 0 !important;
            /* padding: .6rem .6rem 0;*/ 
            color: var(--gd) !important;
            border:none !important;
            text-decoration: none !important
        }

        .choices__input.choices__input--cloned{
          border:none !important;
          text-decoration: none !important
        }

        /* Dropdown */
        .choices__list--dropdown{
            margin-top: 5px !important;
            border-radius: 0px !important;
            overflow: scroll !important;
        }

        /* Dropdown items */
        .choices__list--dropdown .choices__item{
            padding: .4rem .8rem .3rem !important;
            font-size: 1rem !important;
            color: var(--gd);
        }

        /* Hover item */
        .choices__list--dropdown
        .choices__item--selectable:hover{
            background:
                rgba(107, 107, 107, 0.89) !important;
                color: rgb(255, 255, 255) !important;
            margin-top: 0 !important;
        }

        /* Selected item */
        .choices__item--selectable.is-highlighted{
            background: var(--bg) !important;
        }

        /* Scrollbar */
        .choices__list--dropdown::-webkit-scrollbar{
            width: 16px;
        }

        .choices__list--dropdown::-webkit-scrollbar-thumb{
            background: rgba(14,49,33,.18);
            border-radius: 0px;
        }

        /*autre*/
        


/*  RADIO GROUP */

.radio-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.radio-item{
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    font-size: .95rem;
    color: var(--text);
    user-select: none;
}

.radio-item input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    margin: 0;
    position: relative;
    flex-shrink: 0;
    transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}

.radio-item input[type="radio"]:hover{
    border-color: var(--gv);
}

.radio-item input[type="radio"]:active{
    transform: scale(.95);
}

.radio-item input[type="radio"]:checked{
    border-color: var(--gv);
    box-shadow: 0 0 0 4px rgba(111,183,45,.15);
}

.radio-item input[type="radio"]:checked::before{
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gv);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: radioPop .2s ease;
}

.radio-item input[type="radio"]:focus{
    outline: none;
    box-shadow:0 0 0 5px rgba(111,183,45,.10);
}

.radio-item:hover{
    color: var(--gd);
}

/* Erreur */
.field-error { font-size: .65rem; color: var(--error); font-weight: 600; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }

/* Bloc répétable (+) */
.repeat-group { display: flex; flex-direction: column; gap: 1rem; }
.repeat-row {
  display: grid;
  align-items: end;
  gap: .8rem;
  border: 1px solid var(--light);
  padding: 1.2rem 1rem 1rem;
  position: relative;
}

/* Chaque entrée répétable devient une carte à part, avec une étiquette
   numérotée, pour qu'on distingue clairement où l'une finit et l'autre commence */
#formationGroup { counter-reset: formationCount; }
#formationGroup .repeat-row { counter-increment: formationCount; }
#formationGroup .repeat-row::before { content: "Formation " counter(formationCount); }

#expGroup { counter-reset: expCount; }
#expGroup .repeat-row { counter-increment: expCount; }
#expGroup .repeat-row::before { content: "Expérience " counter(expCount); }

.repeat-row::before {
  grid-column: 1 / -1;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gv);
  margin-bottom: .3rem;
}
.repeat-row.cols-3 { grid-template-columns: 1fr 1fr 1fr auto; }
.repeat-row.cols-2 { grid-template-columns: 1fr 1fr auto; }
.repeat-row.cols-1 { grid-template-columns: 1fr auto; }

/* Desktop uniquement : si au moins une colonne de la ligne est en erreur,
   on réserve la même hauteur de message d'erreur sur toutes les colonnes
   de cette ligne (invisible pour celles qui n'ont pas d'erreur), afin que
   tous les champs restent alignés (align-items: end) malgré une hauteur
   de boîte différente. */
@media (min-width: 769px) {
  .repeat-row.row-has-error .field .field-error {
    display: block;
    visibility: hidden;
  }
  .repeat-row.row-has-error .field.has-error .field-error {
    visibility: visible;
  }
}

.btn-plus {
  width: 38px; height: 38px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 1.3rem;
  color: var(--gv);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  align-self: flex-end;
  transition: border-color .15s;
  margin-bottom: 0;
  line-height: 1;
}
.btn-plus:hover { border-color: var(--gv); }
.btn-minus {
  width: 48px; height: 48px;
  border: 1px solid rgba(229,62,62,.2);
  background: var(--white);
  font-size: 1.3rem;
  color: var(--error);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  align-self: flex-end;
  transition: border-color .15s;
  line-height: 1;
}
.btn-minus:hover { border-color: var(--error); }

/* Navigation entre étapes */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.step-nav-note {
  font-size: .7rem;
  color: var(--muted);
}
.step-nav-note strong { color: var(--error); }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  background: var(--off);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s;
}
.upload-zone:hover { border-color: var(--gv); }
.upload-zone input[type="file"] {
  display: none;
}
.uz-ic  { 
  font-size: 1.2rem; 
  color: var(--gv); 
  margin-bottom: .4rem; 
}
.uz-txt { 
  font-size: 1rem; 
  font-weight: 600; 
  color: var(--muted); 
}
.uz-sub { 
  font-size: .8rem; 
  color: var(--mint); 
  margin-top: .2rem; 
}

.uz-btn {
  display: inline-block;
  margin-top: .7rem;
  padding: .5rem .9rem .5rem;
  border: 1px solid var(--gv);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  color: var(--gv);
}

/* Confirmation finale */
.success-screen {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}
.success-screen.show { display: block; }
.success-ic { 
  font-size: 4rem; 
  margin-bottom: 1rem; 
  color: var(--gv);
}
.success-title {
  font-family: var(--font-Tenorite);
  font-size: 2rem;
  color: var(--gd);
  margin-bottom: .6rem;
}
.success-sub { font-size: .9rem; color: var(--muted); max-width: 480px; margin: 0 auto 2rem; line-height: 1.8; }

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

@media (max-width: 1500px) {
  .navbar { padding: 0 4rem; }
  .page-hero-content { padding: 0 4rem; }
  }


@media (max-width: 1024px) {
  .navbar { padding: 0 1.2rem; }
  .section { padding: 2.5rem 2.5rem; }
  .contact-band { padding: 2.5rem 2.5rem; }
  footer { padding: 3rem 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .navbar { padding: 0 2rem; }
  .page-hero-content { padding: 0 2rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 2rem 1.2rem; }
  .section.tight { padding: 2rem 1.2rem; }
  .contact-band { padding: 2rem 1.2rem; flex-direction: column; align-items: flex-start; }
  .cb-contacts { gap: 1.2rem; }
  footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .page-hero-content { padding: 0 1.2rem; }
  .page-hero { height: 28vh; min-height: 190px; max-height: 260px; }
  .page-hero-overlay { padding: 1.5rem 0; }
  .page-hero-eyebrow { font-size: .7rem; letter-spacing: .14em; }
  .page-hero-title { font-size: 1.3rem; }
  .page-hero-sub { font-size: .78rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .repeat-row.cols-3,
  .repeat-row.cols-2,
  .repeat-row.cols-1 { grid-template-columns: 1fr; }
  .repeat-row .btn-minus { justify-self: end; }
  .etab-search { font-size: .68rem; }
  .form-steps { gap: .3rem; }
  .fstep-label { display: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .page-hero { height: 26vh; min-height: 170px; max-height: 220px; }
  .offre-card { padding: 1.2rem 1.2rem; }
}


/*---------------------------------------------------------*/
/*----------------------HOMEPAGE---------------------------*/
/*---------------------------------------------------------*/

/* ── CAROUSEL ──────────────────────────────── */

.hero-wrap {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    height: 65vh;
    min-height: 320px;
    max-height: 500px;
    background: var(--gd);
}
    
    .slides { 
      display: flex; 
      height: 100%; 
      transition: transform .7s cubic-bezier(.77,0,.18,1); 
    }

    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
    }
    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: .35;
      transition: transform 8s ease;
    }
    .slide.active img { 
      transform: scale(1.06); 
    }

    .slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(130deg, rgba(14,49,33,.9) 0%, rgba(22,34,44,.55) 60%, transparent 100%);
      display: flex;
      align-items:center;
      /*flex-direction: column;
      justify-content: center;
      padding: 0 8rem;*/
    }

    /* contenu centré + limité */

    .slide-content{
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .slide-eyebrow {
      font-size: .65rem;
      font-weight: 800;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: var(--gv);
      margin-bottom: 1rem;
      opacity: 0;
      animation: fadeUp .6s .2s forwards;
    }
    .slide-title {
      font-family: var(--font-tenorite);
      font-size: clamp(2rem, 5vw, 4rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.08;
      max-width: 620px;
      margin-bottom: 1.2rem;
      opacity: 0;
      animation: fadeUp .7s .35s forwards;
    }
    .slide-sub {
      font-size: 1rem;
      color: rgba(255,255,255,.6);
      max-width: 480px;
      line-height: 1.8;
      margin-bottom: 2.2rem;
      opacity: 0;
      animation: fadeUp .7s .5s forwards;
    }
    .slide-btns {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp .7s .65s forwards;
    }
    
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .slide-num {
      position: absolute;
      bottom: 2.5rem;
      left:50%;
      transform: translateX(-50%);
      width:100%;
      max-width: 1400px;
      text-align: right;
      font-size: .65rem;
      font-weight: 800;
      letter-spacing: .18em;
      color: rgba(255,255,255,.3);
    }
    .slide-num strong { color: var(--gv); }

    /* Dots */
    .carousel-dots {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: .5rem;
      z-index: 10;
    }
    .dot {
      width: 28px; height: 3px;
      background: rgba(255,255,255,.2);
      cursor: pointer;
      transition: background .3s, width .3s;
    }
    .dot.act { background: var(--gv); width: 52px; }

    /* Arrows */
    .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px; height: 44px;
      border: 2px solid rgba(255,255,255,.2);
      background: rgba(14,49,33,.5);
      color: var(--white);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: border-color .15s, background .15s;
    }
    .carousel-arrow:hover { border-color: var(--gv); background: rgba(14,49,33,.8); }
    .carousel-arrow.prev { left: 2rem; }
    .carousel-arrow.next { right: 2rem; }

    /* ── POURQUOI RYZE — ACCORDION MODERNE ─── */

    #infos {
      background: var(--white) !important;
      padding: 5rem 4rem;
      position: relative;
      overflow: hidden;
    }

    /* Trait décoratif vertical à gauche */
    #infos .section-label { color: var(--gv); }
    #infos .section-title { color: var(--gd); }
    #infos .section-sub   { color: var(--muted); margin-bottom: 4rem; }

    /* Layout deux colonnes */
    .pnr2-wrap {
      display: grid;
      grid-template-columns: 400px 1fr;
      gap: 0;
      min-height: auto;
      align-items: start;
      margin-top: .75rem;
    }

    /* ── COLONNE LISTE ── */
    .pnr2-list {
      display: flex;
      flex-direction: column;
      padding-right: 0;
    }

    .pnr2-item {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem 1rem 0;
      cursor: pointer;
      overflow: hidden;
      gap: 1.2rem;
    }
    .pnr2-item:first-child { margin-top: 0; }
    .pnr2-item:last-child  { border-bottom: none; }

    /* Fond glissant au survol / actif */
    .pnr2-item::before {
      content: '';
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      transition: transform .35s cubic-bezier(.4,0,.2,1);
      z-index: 0;
    }
    .pnr2-item:hover::before,
    .pnr2-item.act::before { transform: translateX(0); }

    /* Ligne verte active à gauche */
    .pnr2-item::after {
      content: '';
      position: absolute;
      left: -2rem;
      top: 0; bottom: 0;
      width: 3px;
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform .3s .05s cubic-bezier(.4,0,.2,1);
      z-index: 1;
    }
    .pnr2-item.act::after { transform: scaleY(1); }

    /* Label */
    .pnr2-label {
      font-family: var(--font-tenorite);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--muted);
      line-height: 1.2;
      flex: 1;
      transition: color .25s, transform .25s;
      transform: translateX(0);
      position: relative;
      z-index: 1;
    }
    .pnr2-item:hover .pnr2-label{
      color: var(--gd);
    }

    .pnr2-item.act .pnr2-label {
      color: var(--gv);
      transform: translateX(12px);
    }

    /* Flèche SVG animée */
    /* Container flèche */
.pnr2-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cachée par défaut */
.pnr2-arrow i{
    font-size: .8rem;
    color: transparent;
    transition: color .25s;
}

/* Visible seulement si actif */
.pnr2-item.act .pnr2-arrow i{
    color: var(--gv);
}

    /* ── COLONNE CONTENU ── */
    .pnr2-panel-wrap {
      position: relative;
      overflow: hidden;
      align-items: center;
    }

    .pnr2-panel {
      background-color: var(--gd);
      padding: 3rem 3rem 1.5rem;
      display: none;
      animation: pnr2In .45s cubic-bezier(.4,0,.2,1) both;
      align-items: center;
    }
    .pnr2-panel.act { display: block; }

    @keyframes pnr2In {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }

.pnr2-big-num {
    font-family: var(--font-tenorite);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
    margin-bottom: -.5rem;
    letter-spacing: -.02em;
    user-select: none;
}
    .pnr2-stripe {
      width: 40px; height: 3px;
      background: var(--gv);
      margin: 1.4rem 0;
      transition: width .5s .1s ease;
    }
    .pnr2-panel.act .pnr2-stripe { width: 64px; }

    .pnr2-title {
      font-family: var(--font-tenorite);
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--light);
      line-height: 1.15;
      margin-bottom: 1.2rem;
    }

    .pnr2-text {
      font-size: 1rem;
      color: var(--light);
      line-height: 1.95;
      max-width: 700px;
    }

    /* Contact spécial */
    .pnr2-contact-row {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      margin-top: 1.8rem;
    }
    .pnr2-citem {
      display: flex;
      align-items: center;
      gap: 0.2rem;
    }
    .pnr2-cic {
      width: 40px; height: 40px;
      color: var(--gv);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }
    .pnr2-clbl { 
      font-size: .6rem; 
      font-weight: 800; 
      letter-spacing: .14em; 
      text-transform: uppercase; 
      color: var(--light); 
    }

    .pnr2-cval {
      font-size: .88rem; 
      font-weight: 700; color: var(--light); 
      margin-top: .15rem; 
    }

    /* KPI animés intégrés dans le panneau */
    .pnr2-kpis {
      display: flex;
      gap: 2rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    .pnr2-kpi { text-align: left; }
    .pnr2-kpi:empty { display: none; }
    .pnr2-kpi-num {
      font-family: var(--font-tenorite);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--gv);
      line-height: 1;
    }
    .pnr2-kpi-lbl {
      font-size: .62rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--border);
      margin-top: .25rem;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .pnr2-wrap { grid-template-columns: 1fr; min-height: auto; }
      .pnr2-list { border-right: none; border-bottom: none; padding-bottom: 0; gap: 1.2rem; }
      .pnr2-item:first-child { margin-top: 0; }
      .pnr2-panel-wrap { display: none; }
      .pnr2-big-num { font-size: 3.2rem; }
      .pnr2-label { font-size: 1.1rem; }
      .pnr2-panel { padding: 1.5rem 1.5rem 2.5rem; margin-bottom: 1rem; }
      #infos { padding: 3rem 1.5rem; }
      
    }
    @media (max-width: 480px) {
      .pnr2-label { font-size: .95rem; }
      .pnr2-title { font-size: 1.5rem; }
    }

    /* ── LISTE OFFRES (accueil) ───────────────── */
    .offres-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    /* Postuler spontanément */
    .spontane-band {
      background: #0E3121;
      border: 2px solid rgba(111,183,45,.15);
      padding: 2.5rem 3rem 1.8rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      margin: 3rem 0 0 0;
    }
    .spontane-txt h3 {
      font-family: var(--font-tenorite);
      font-size: 1.35rem;
      color: var(--white);
      margin-bottom: .3rem;
    }
    .spontane-txt p { font-size: 1rem; color: var(--border); }

    /* ── RESPONSIVE ──────────────────────────── */
    @media (max-width: 1024px) {
      .offres-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 1500px) {
      .slide-overlay { padding: 0 4rem; }
      .slide-num { padding: 0 4rem; }
    }

    @media (max-width: 1024px) {
      .slide-overlay { padding: 0 2rem; }
      .slide-title { font-size: 3rem; }
      .slide-num { padding: 0 2rem; }
    }

    @media (max-width: 768px) {
      .slide-title { font-size: 1.5rem; margin-bottom: .6rem; }
      .slide-num { display:none }

      .hero-wrap,
      .slides,
      .slide{
          height: 42vh;
          min-height: 300px;
          max-height: none;
      }
      .slide-overlay{
          padding: 0 1.2rem;
          background:
              linear-gradient(
                  180deg,
                  rgba(14,49,33,.88) 0%,
                  rgba(22,34,44,.70) 100%
              );
      }
      .slide-sub { font-size: .78rem; line-height: 1.5; margin-bottom: .9rem; }
      .slide-btns { flex-direction: column; align-items: stretch; gap: .5rem; }
      .slide-btns .btn { text-align: center; width: 100%; padding: .5rem 1rem; font-size: .68rem; }

      /* pourquoi responsive handled above */
      .offres-grid { grid-template-columns: 1fr; }
      .carousel-arrow {
        width: 34px; height: 34px;
        font-size: .9rem;
      }
      .carousel-arrow.prev { left: .6rem; }
      .carousel-arrow.next { right: .6rem; }
      .spontane-band { padding: 1.5rem; flex-direction: column; align-items: flex-start; text-align: left; }
      .btn-lg { padding: .45rem 1rem; font-size: .68rem; }
    }

    @media (max-width: 420px) {
      .hero-wrap, .slides, .slide { height: 46vh; min-height: 280px; }
      .slide-title { font-size: 1.6rem; }
      .slide-sub { font-size: .82rem; margin-bottom: 1.2rem; }
      .pnr2-item::after { left: -1rem; }
      .pnr2-list { padding-right: 1rem; }
    }



/*------------------Application page----------------------*/

    /* ── LAYOUT CANDIDATURE ──────────────────── */
    .cand-wrap {
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
    }

    /* Barre de progression filaire */
    .progress-bar-outer {
      background: var(--light);
      height: 4px;
      margin: 2rem 0;
      position: relative;
    }
    .progress-bar-fill {
      height: 100%;
      background: var(--gv);
      transition: width .5s ease;
    }
    .progress-label {
      font-size: .65rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .6rem;
      text-align: right;
      display: none;
    }


    /* Titre d'étape */
    .step-header {
      padding-bottom: 2rem;
    }
    .step-tag {
      font-size: .6rem;
      font-weight: 800;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--gv);
      margin-bottom: .4rem;
    }
    .step-htitle {
      font-family: var(--font-tenorite);
      font-size: 1.6rem;
      color: var(--gd);
      font-weight: 700;
    }
    .step-hsub { font-size: 1rem; color: var(--muted); margin-top: .3rem; }

    /* Input avec suffixe inline */
    .input-row { 
      display: flex; 
      gap: .6rem; 
      align-items: center;
    }
    .input-row input, .input-row select { flex: 1; }
    .input-suffix {
      padding: .7rem .9rem;
      background: var(--off);
      border: 2px solid var(--border);
      font-size: .78rem;
      font-weight: 700;
      color: var(--muted);
      white-space: nowrap;
      align-self: flex-end;
      height: 46px;
      display: flex;
      align-items: center;
    }

/* CHECK GROUP */

.field-checkbox{
  display: flex;
  flex-direction: column;
  gap : .3rem
}

.field-checkbox.contrat{
  margin-left: -2rem !important;
}

.check-group{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 1rem;
}

.check-item{
    display: flex;
    align-items: center;
    gap: .55rem;
}

.check-item input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    position: relative;
    margin: 0;
    transition:border-color .25s ease,background .25s ease, transform .2s ease,box-shadow .25s ease;
    flex-shrink: 0;
}

.check-item input[type="checkbox"]:hover{
    border-color: var(--gv);
}

.check-item input[type="checkbox"]:active{
    transform: scale(.94);
}

.check-item input[type="checkbox"]:checked{
    background: var(--gv);
    border-color: var(--gv);
    box-shadow: 0 0 0 4px rgba(111,183,45,.12);
}

.check-item input[type="checkbox"]:checked::before{
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    color: white;
    font-size: .75rem;
    font-weight: 900;
    animation: checkPop .2s ease;
}

.check-item input[type="checkbox"]:focus{
    outline: none;
    box-shadow: 0 0 0 5px rgba(111,183,45,.10);
}

.check-item label{
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    transition: color .2s ease;
}

.check-item:hover label{
    color: var(--gd);
}

@keyframes checkPop{
    from{
        opacity: 0;
        transform:translate(-50%, -52%) scale(.4);
    }
    to{
        opacity: 1;
        transform:translate(-50%, -52%) scale(1);
    }
}

    /* Champs "Autre" conditionnels */
    .other-field { display: none; margin-top: .6rem; }
    .other-field.show { display: block; }

    /* ── RESPONSIVE ──────────────────────────── */
    @media (max-width: 768px) {
      .input-row { flex-wrap: wrap; }
    }

    @media (max-width: 1024px) {
      .field-checkbox.contrat{
      margin-left: 0 !important;
}
    }

/* etablissement select */
.etab-field {
  font-family: var(--font-Tenorite);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.etab-label, .lieu-label {
  font-size: 0.8rem;
  color: #333;
}

/* container select */
.etab-select, .lieu-select {
  position: relative;
  width: 100%;
}

.etab-search, .lieu-search {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
}

.etab-dropdown, .lieu-dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
}

.etab-option, .lieu-option {
  padding: 8px;
  cursor: pointer;
}

.etab-option:hover, .lieu-option:hover {
  background: #f2f2f2;
}

    /*================================================*/
    /*                   OFFRES PAGE                  */ 
    /*================================================*/

    /* LAYOUT DÉTAIL */
    .detail-wrap {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 4rem;
      align-items: start;
    }

    /* Carte de section */
    .detail-card {
      background: var(--white);
      border: 0.5px solid var(--light);
      margin-bottom: 2rem;
      overflow: hidden;
    }
    .detail-card:last-child { 
      margin-bottom: 2rem; 
    }

    .dc-head {
      padding: 2rem  2rem 0rem 2rem;
      display: flex;
      align-items: center;
      gap: .6rem;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--gv);
    }
    .dc-head::before {
      content: '';
      width: 3px; height: 14px;
      background: var(--gv);
      flex-shrink: 0;
    }
    .dc-body { padding: 1.5rem 2rem; }

    /* Ref band */
    .ref-band {
      background: var(--off);
      border: 2px solid var(--light);
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.2rem;
      margin-bottom: 1.4rem;
    }
    .rb-item { display: flex; align-items: center; gap: .5rem; }
    .rb-ic { font-size: .95rem; }
    .rb-lbl { font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
    .rb-val { font-size: .82rem; font-weight: 700; color: var(--gd); margin-top: 1px; }

    /* Titre + sous-titre */
    .offre-header { margin-bottom: 2rem; }
    .offre-ref { font-size: .8rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gv); margin-bottom: .5rem; }
    .offre-title {
      font-family: var(--font-tenorite);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--gd);
      line-height: 1.1;
      margin-bottom: .4rem;
    }
    .offre-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.6; }

    /* Description */
    .prose { font-size: 1rem; color: var(--muted); line-height: 1.9; }
    .prose p + p { margin-top: .9rem; }

    /* Liste pucée */
    .mission-list { 
      list-style: none; 
      display: flex; 
      flex-direction: 
      column; gap: 
      .65rem; }

    .mission-list li {
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      font-size: 1rem;
      color: var(--text);
      line-height: 1.6;
    }
    .mission-list li::before {
      content: '';
      width: 7px; height: 7px;
      background: var(--gv);
      flex-shrink: 0;
      margin-top: .45rem;
    }

    .cta-box{
    padding: 2rem;
    background: var(--gd);
    border: 2px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cta-content{
    display: flex;
    flex-direction: column;
}
.cta-label{
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gv);
    margin-bottom: .3rem;
}
.cta-title{
    font-family: var(--font-tenorite);
    font-size: 1.1rem;
    color: var(--light);
    font-weight: 700;
}
/* Responsive */
@media (max-width:768px){
    .cta-box{
        padding: 1.5rem;
        align-items: flex-start;
    }
    .cta-title{
        font-size: 1rem;
    }
    .cta-box .btn{
        width: 100%;

        justify-content: center;
    }
}

    /* Panneau sticky droit */
    .sticky-panel {
      position: sticky;
      top: 120px;
    }
    .av-panel {
      background: var(--gd);
      padding: 2rem;
      margin-bottom: 2rem;
    }

        .av-title { 
          font-family: var(--font-tenorite); 
          font-size: clamp(1.6rem, 4vw, 2.8rem); 
          color: var(--gv); 
          font-weight: 700; 
          line-height: 1.2; 
          margin-bottom: 1.2rem; }


    .av-head { 
      display: flex;
      align-items: center;
      gap: .6rem;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--light); 
      margin-bottom: 2rem;
    }

    .av-body { 
      font-family: var(--font-tenorite); 
      font-size: 1rem; 
      color: var(--white);
      line-height: 1.2; 
      gap:1.5rem;
      margin-bottom: 1.2rem; 
    }

    .av-list { 
      list-style: none; 
      display: flex; 
      flex-direction: 
      column; gap: 
      .65rem; }

    .av-list li {
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      font-size: 1rem;
      color: var(--light);
      line-height: 1.6;
    }

    .av-list li i{
    font-size: .8rem;          /* taille */
    color: var(--gv);         /* couleur */
    transition: .25s ease;    /* animation douce */
    margin-top: .45rem;
    flex-shrink: 0;
}

    

    /* ── RESPONSIVE ──────────────────────────── */
    @media (max-width: 1024px) {
      .detail-wrap { grid-template-columns: 1fr 290px; gap: 1.4rem; }
      .avantages-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .detail-wrap { grid-template-columns: 1fr; }
      .sticky-panel { position: static; }
      .avantages-grid { grid-template-columns: 1fr 1fr; }
      .ref-band { gap: .8rem; }
    }
    @media (max-width: 480px) {
      .avantages-grid { grid-template-columns: 1fr; }
      .offre-title { font-size: 1.6rem; }
    }

    /*----------------------------------------------------------------------------------*/