/* =========================================================
   ACCEEP Group – Sections v2 (bilingue, héro scindé, industrie,
   approche ACCEEP, localisation, pied de page en colonnes)
   Couleurs de la charte uniquement, aucun dégradé.
   ========================================================= */

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button {
  border: 0; background: transparent; padding: .3rem .65rem; border-radius: 999px;
  font: 700 .78rem "Montserrat", sans-serif; color: var(--muted); letter-spacing: .04em; transition: .2s;
}
.lang-switch button.is-active { background: var(--navy); color: #fff; }
.lang-switch button:not(.is-active):hover { color: var(--blue); }
.lang-switch--footer { border-color: rgba(255,255,255,.25); background: transparent; }
.lang-switch--footer button { color: rgba(255,255,255,.75); }
.lang-switch--footer button.is-active { background: #fff; color: var(--navy); }

.dropdown { min-width: 260px; }
.dropdown a small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; }

/* ---------- Héro scindé (texte / image) ---------- */
.hero2 { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero2__text { display: flex; align-items: center; padding: 4rem 4rem 5rem max(16px, calc((100vw - 1200px) / 2)); position: relative; z-index: 2; }
.hero2__inner { max-width: 560px; }
.hero2__eyebrow { color: var(--green); font-weight: 700; font-size: .95rem; margin: 0 0 1rem; letter-spacing: .02em; }
.hero2__title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.4rem; }
.hero2__title span { color: var(--orange); }
.hero2__lead { font-size: 1.08rem; color: rgba(255,255,255,.88); margin: 0 0 2rem; max-width: 520px; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero2__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; }
.hero2__controls button.arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: transparent; color: #fff; transition: .2s;
}
.hero2__controls button.arrow:hover { background: var(--green); border-color: var(--green); }
.hero2__dots { display: flex; gap: .5rem; }
.hero2__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(255,255,255,.4); transition: .3s; }
.hero2__dots button.is-active { width: 30px; background: var(--orange); }

.hero2__media { position: relative; overflow: hidden; }
.hero2__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 6s ease; }
.hero2__slide.is-active { opacity: 1; transform: scale(1); }
/* carrés blancs décoratifs (repris du site ACCEEP) */
.hero2__sq { position: absolute; z-index: 2; width: 80px; height: 80px; background: #fff; left: 0; }
.hero2__sq--1 { top: 42%; }
.hero2__sq--2 { top: calc(42% + 160px); left: 80px; }
.hero2__sq--3 { top: calc(42% + 240px); }
.hero2__fade { animation: fadeUp .7s ease both; }

/* ---------- À propos v2 ---------- */
.about2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about2__media { position: relative; }
.about2__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.3; }
.about2__photo img { width: 100%; height: 100%; object-fit: cover; }
.about2__logo {
  position: absolute; right: -24px; bottom: -24px; width: 150px; height: 150px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 14px;
}
.about2__logo img { width: 110px; height: 110px; }
.about2__text p { margin: .9rem 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0 1.8rem; }
.fact { padding: 1rem; border-radius: 12px; background: var(--tint); border-top: 4px solid var(--c, var(--green)); }
.fact i { color: var(--c, var(--green)); font-size: 1.3rem; }
.fact strong { display: block; margin: .5rem 0 .2rem; font-family: "Montserrat", sans-serif; font-size: .92rem; color: var(--ink); }
.fact span { font-size: .82rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- L'approche ACCEEP ---------- */
.way { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.way__item {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem; border: 1px solid var(--line);
  position: relative; transition: .3s;
}
.way__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.way__num { position: absolute; top: 1.2rem; right: 1.4rem; font: 800 2.4rem "Montserrat", sans-serif; color: var(--line); }
.way__item i { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; margin-bottom: 1.1rem; }
.way__item h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.way__item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Industrie ---------- */
.industry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.industry__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; box-shadow: var(--shadow-lg); }
.industry__media img { width: 100%; height: 100%; object-fit: cover; }
.industry__blocks { display: grid; gap: 1.2rem; margin: 1.6rem 0 2rem; }
.industry__block { display: flex; gap: 1rem; padding: 1.2rem; border-radius: 12px; background: var(--tint); }
.industry__block i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--blue); font-size: 1.15rem; }
.industry__block h3 { font-size: .98rem; margin-bottom: .2rem; }
.industry__block p { margin: 0; font-size: .9rem; color: var(--muted); }

.machines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.machine { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.machine:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.machine__img { aspect-ratio: 2.04 / 1; overflow: hidden; background: #eef1f4; }
.machine__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.machine:hover .machine__img img { transform: scale(1.04); }
.machine figcaption { padding: 1.1rem 1.3rem 1.3rem; }
.machine figcaption strong { display: block; font-family: "Montserrat", sans-serif; color: var(--ink); }
.machine figcaption span { font-size: .86rem; color: var(--muted); }
.machine__tag { display: inline-block; margin-bottom: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* ---------- Bandeau « Rejoindre / Nous contacter » ---------- */
.cta-band { background: var(--green); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: .6rem 0 0; color: rgba(255,255,255,.92); }
.cta-band__card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.cta-band__card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.cta-band__card p { color: var(--muted); margin: 0 0 1.1rem; font-size: .92rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); }

/* ---------- Localisation ---------- */
.loc { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: stretch; }
.loc__tabs { display: grid; gap: 1rem; }
.loc__tab {
  display: flex; gap: 1rem; text-align: left; width: 100%; padding: 1.1rem 1.2rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; transition: .25s; color: var(--text); font: inherit; cursor: pointer;
}
.loc__tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.loc__tab:hover { border-color: var(--blue); }
.loc__tab.is-active { border-color: var(--green); box-shadow: var(--shadow); }
.loc__tab .office__flag { margin-top: .2rem; }
.loc__tab h3 { font-size: 1rem; margin-bottom: .25rem; }
.loc__tab p { margin: 0; font-size: .86rem; line-height: 1.5; }
.loc__tab a { color: var(--blue); font-weight: 600; }
.loc__mail { padding: 1rem 1.2rem; border-radius: 14px; background: var(--tint); font-size: .9rem; display: flex; flex-direction: column; gap: .35rem; }
.loc__mail i { color: var(--green); width: 20px; }
.loc__mail a:hover { color: var(--blue); }
.loc__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; background: var(--tint); }
.loc__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Pied de page en colonnes ---------- */
.footer2__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer2 h4 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.footer2 h4::after { content: ""; display: block; width: 32px; height: 3px; background: var(--green); margin-top: .5rem; border-radius: 3px; }
.footer2__brand .footer__logo { display: inline-block; margin-bottom: 1rem; }
.footer2__brand p { font-size: .85rem; margin: 0 0 1.2rem; line-height: 1.6; }
.footer2__links li { margin-bottom: .55rem; }
.footer2__links a { font-size: .87rem; color: rgba(255,255,255,.8); transition: .2s; }
.footer2__links a:hover { color: var(--orange); padding-left: 4px; }
.footer2__offices li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .84rem; line-height: 1.5; }
.footer2__offices .office__flag { width: 30px; height: 20px; margin-top: .2rem; border: 0; }
.footer2__offices strong { color: #fff; display: block; }
.footer2__offices a:hover { color: var(--orange); }
.footer2__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: rgba(255,255,255,.65); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header__actions .btn span.lbl { display: none; }
}
@media (max-width: 1100px) {
  .hero2__text { padding: 3.5rem 2.5rem 4rem 16px; }
  .way { grid-template-columns: repeat(2, 1fr); }
  .footer2__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2__media { min-height: 300px; order: -1; }
  .hero2__sq { width: 48px; height: 48px; }
  .hero2__sq--2 { top: calc(42% + 96px); left: 48px; }
  .hero2__sq--3 { top: calc(42% + 144px); }
  .hero2__text { padding: 2.5rem 16px 3rem; }
  .about2, .industry, .cta-band__inner, .loc { grid-template-columns: 1fr; }
  .about2__logo { right: 12px; bottom: -20px; width: 110px; height: 110px; }
  .about2__logo img { width: 80px; height: 80px; }
  .machines { grid-template-columns: 1fr; }
  .header__actions .lang-switch { order: -1; }
}
@media (max-width: 600px) {
  .way { grid-template-columns: 1fr; }
  .footer2__grid { grid-template-columns: 1fr; }
  .hero2__cta .btn { width: 100%; }
  .header__actions .icon-btn { display: none; }
}
