/* =========================================================
   ACCEEP Group – Héro animé (logo ensoleillé, paysage énergétique),
   pages Solutions et Contact.
   Couleurs de la charte uniquement, aucun dégradé.
   ========================================================= */

/* ---------- Héro animé ---------- */
.hero3 { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: 680px; display: flex; flex-direction: column; justify-content: center; }
.hero3__bg { position: absolute; inset: 0; z-index: 0; }
.hero3__bg span { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; animation: kenburns 22s ease-in-out infinite alternate; }
.hero3__bg span.is-active { opacity: 1; }
.hero3__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 43, 79, .82); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }

.hero3__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 12rem; }
.hero3__text .hero2__title { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.hero3__text .hero2__lead { max-width: 540px; }

/* Logo ensoleillé */
.hero3__visual { position: relative; height: 440px; }
.sunlogo { position: absolute; top: 0; right: 4%; width: 330px; height: 330px; }
.sunlogo__rays { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.sunlogo__pulse { position: absolute; inset: 22%; border-radius: 50%; background: var(--orange); opacity: .35; animation: pulse 3s ease-out infinite; }
.sunlogo__disc { position: absolute; inset: 21%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(247, 148, 29, .25), 0 20px 50px rgba(0, 0, 0, .35); }
.sunlogo__disc img { width: 74%; height: auto; animation: float 5s ease-in-out infinite; }
.sunlogo__orbit { position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .28); }
.sunlogo__orbit--1 { inset: -6%; animation: spin 18s linear infinite; }
.sunlogo__orbit--2 { inset: -18%; border-color: rgba(98, 167, 59, .4); animation: spin 28s linear infinite reverse; }
.sunlogo__orbit i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(98, 167, 59, .3); }
.sunlogo__orbit--2 i { background: var(--blue); box-shadow: 0 0 0 5px rgba(0, 135, 205, .3); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Diaporama photo */
.hero3__photo { position: absolute; left: 0; bottom: 0; width: 270px; height: 200px; border-radius: 16px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 25px 50px rgba(0, 0, 0, .4); }
.hero3__photo .hero2__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 6s ease; }
.hero3__photo .hero2__slide.is-active { opacity: 1; transform: scale(1); }
.hero3__live { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(0, 43, 79, .85); font-size: .72rem; font-weight: 600; }
.hero3__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Badges flottants */
.hero3__badge { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 15px 35px rgba(0, 0, 0, .3); animation: float 6s ease-in-out infinite; }
.hero3__badge i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.hero3__badge b { display: block; font: 800 1rem "Montserrat", sans-serif; color: var(--navy); }
.hero3__badge small { font-size: .72rem; color: var(--muted); }
.hero3__badge--1 { right: 0; bottom: 70px; }
.hero3__badge--2 { left: 44%; bottom: -10px; animation-delay: -3s; }
.hero3__badge--2 i { background: var(--blue); }

/* Paysage */
.hero3__scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; z-index: 1; }
.hero3__glint { animation: glint 5s linear infinite; }
@keyframes glint { from { transform: translateX(0) skewX(-25deg); } to { transform: translateX(900px) skewX(-25deg); } }
.hero3__flow { fill: none; stroke-width: 3; stroke-dasharray: 10 14; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.hero3__flow--green { stroke: var(--green); }
.hero3__flow--orange { stroke: var(--orange); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.hero3__windows rect { animation: blink 3s ease-in-out infinite; }
.hero3__windows rect:nth-child(3n) { animation-delay: -1s; }
.hero3__windows rect:nth-child(3n+1) { animation-delay: -2s; }

/* Particules d'énergie */
.hero3__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero3__particles i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0; animation: rise 9s linear infinite; }
.hero3__particles i:nth-child(odd) { background: var(--green); width: 5px; height: 5px; }
.hero3__particles i:nth-child(3n) { background: #fff; width: 4px; height: 4px; }
.hero3__particles i:nth-child(1) { left: 6%; animation-delay: 0s; }
.hero3__particles i:nth-child(2) { left: 14%; animation-delay: -2s; }
.hero3__particles i:nth-child(3) { left: 23%; animation-delay: -5s; }
.hero3__particles i:nth-child(4) { left: 31%; animation-delay: -1s; }
.hero3__particles i:nth-child(5) { left: 40%; animation-delay: -6s; }
.hero3__particles i:nth-child(6) { left: 49%; animation-delay: -3s; }
.hero3__particles i:nth-child(7) { left: 57%; animation-delay: -7s; }
.hero3__particles i:nth-child(8) { left: 65%; animation-delay: -4s; }
.hero3__particles i:nth-child(9) { left: 73%; animation-delay: -8s; }
.hero3__particles i:nth-child(10) { left: 81%; animation-delay: -2.5s; }
.hero3__particles i:nth-child(11) { left: 89%; animation-delay: -5.5s; }
.hero3__particles i:nth-child(12) { left: 96%; animation-delay: -1.5s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .6; } 100% { transform: translateY(-640px); opacity: 0; } }

.btn--glow { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(98, 167, 59, .55); } 50% { box-shadow: 0 0 0 12px rgba(98, 167, 59, 0); } }

/* Logo de l'en-tête : léger éclat solaire */
.brand__logo { animation: float 6s ease-in-out infinite; }

/* ---------- Bandeau de page (Solutions, Contact) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 4.5rem 0 13rem; }
.page-hero .hero3__bg::after { background: rgba(0, 43, 79, .84); }
.page-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; margin-bottom: 1rem; color: rgba(255, 255, 255, .75); }
.crumbs a { color: var(--green); font-weight: 600; }
.page-hero .sunlogo { position: relative; right: auto; top: auto; width: 230px; height: 230px; margin-left: auto; }
.page-hero .hero3__scene { height: 170px; }

/* ---------- Sous-navigation collante ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 43, 79, .06); }
.subnav ul { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: none; }
.subnav a { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--ink); border: 1px solid var(--line); transition: .2s; }
.subnav a i { color: var(--green); }
.subnav a:hover, .subnav a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.subnav a:hover i, .subnav a.is-current i { color: var(--orange); }

/* ---------- Bloc solution détaillé ---------- */
.sol { padding: 5rem 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.sol:nth-of-type(even) { background: var(--tint); }
.sol__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.sol--rev .sol__media { order: 2; }
.sol__media { position: sticky; top: calc(var(--header-h) + 80px); }
.sol__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4 / 3; background: var(--navy); }
.sol__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, transform 6s ease; transform: scale(1.06); }
.sol__main img.is-active { opacity: 1; transform: scale(1); }
.sol__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.sol__thumbs button { flex: 1; height: 70px; border-radius: 10px; overflow: hidden; border: 3px solid transparent; padding: 0; background: none; cursor: pointer; opacity: .65; transition: .25s; }
.sol__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sol__thumbs button.is-active, .sol__thumbs button:hover { opacity: 1; border-color: var(--green); }
.sol__tag { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 700; }
.sol__tag i { color: var(--c, var(--green)); }
.sol h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.sol__lead { font-size: 1.06rem; }
.sol__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.6rem 0; }
.sol__kpi { padding: 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--green)); }
.sol:nth-of-type(odd) .sol__kpi { background: var(--tint); }
.sol__kpi b { display: block; font: 800 1.35rem "Montserrat", sans-serif; color: var(--navy); }
.sol__kpi small { font-size: .78rem; color: var(--muted); line-height: 1.35; display: block; }
.sol h3 { font-size: 1.05rem; margin: 1.6rem 0 .8rem; display: flex; gap: .55rem; align-items: center; }
.sol h3 i { color: var(--c, var(--green)); }
.sol__list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
.sol__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.sol__list li i { color: var(--green); margin-top: .3rem; font-size: .8rem; }
.sol__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sol__chips span { padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--navy); }
.sol:nth-of-type(odd) .sol__chips span { background: var(--tint); }
.sol__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: -6rem; position: relative; z-index: 5; }
.ccard { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-lg); border-bottom: 5px solid var(--c, var(--green)); transition: .3s; display: flex; flex-direction: column; gap: .5rem; }
.ccard:hover { transform: translateY(-6px); }
.ccard__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--green)); color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.ccard h3 { font-size: 1.02rem; margin: 0; }
.ccard p { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }
.ccard a.ccard__link { font-weight: 700; color: var(--blue); display: inline-flex; gap: .45rem; align-items: center; }

.cform { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.cform__aside { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.2rem; position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; }
.cform__aside::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); opacity: .2; }
.cform__aside h2 { color: #fff; font-size: 1.6rem; margin-bottom: .8rem; }
.cform__aside p { color: rgba(255, 255, 255, .85); }
.cform__aside ul { display: grid; gap: 1rem; margin: 1.5rem 0; }
.cform__aside li { display: flex; gap: .8rem; align-items: flex-start; }
.cform__aside li i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--orange); flex-shrink: 0; }
.cform__aside li b { display: block; }
.cform__aside li small { color: rgba(255, 255, 255, .75); }
.cform__aside .footer__social a { background: rgba(255, 255, 255, .1); }

.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-bottom: 1.6rem; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type span { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; padding: 1rem .5rem; border-radius: 14px; border: 2px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--navy); transition: .2s; height: 100%; }
.type span i { font-size: 1.3rem; color: var(--c, var(--green)); transition: .2s; }
.type:hover span { border-color: var(--c, var(--green)); }
.type input:checked + span { background: var(--c, var(--green)); border-color: var(--c, var(--green)); color: #fff; box-shadow: 0 10px 24px rgba(0, 43, 79, .18); }
.type input:checked + span i { color: #fff; }
.type input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.only { display: none; }
.form[data-type="projet"] .only--projet, .form[data-type="adhesion"] .only--adhesion, .form[data-type="message"] .only--message, .form[data-type="carriere"] .only--carriere { display: block; }
.form[data-type="projet"] .form__row.only--projet, .form[data-type="adhesion"] .form__row.only--adhesion, .form[data-type="carriere"] .form__row.only--carriere { display: grid; }
.chips-input { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-input label { cursor: pointer; }
.chips-input input { position: absolute; opacity: 0; pointer-events: none; }
.chips-input span { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; transition: .2s; }
.chips-input input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips-input input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.range-out { font-weight: 700; color: var(--blue); }
.field input[type="range"] { padding: 0; accent-color: var(--green); background: none; border: 0; height: 30px; }
.form__progress { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 1.4rem; }
.form__progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .4s ease; }

.offices3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.office3 { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 2px solid transparent; transition: .25s; cursor: pointer; display: flex; flex-direction: column; }
.office3.is-active { border-color: var(--green); }
.office3:hover { transform: translateY(-4px); }
.office3__head { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.3rem; background: var(--navy); color: #fff; }
.office3__head h3 { color: #fff; margin: 0; font-size: 1.02rem; }
.office3__head small { color: var(--orange); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.office3__body { padding: 1.2rem 1.3rem; display: grid; gap: .7rem; font-size: .9rem; flex: 1; }
.office3__body p { margin: 0; display: flex; gap: .6rem; }
.office3__body i { color: var(--green); margin-top: .25rem; width: 16px; }
.office3__actions { display: flex; gap: .5rem; padding: 0 1.3rem 1.3rem; flex-wrap: wrap; }
.office3__actions .btn { flex: 1; justify-content: center; }
.map-wide { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 420px; }
.map-wide iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero3 *, .page-hero *, .brand__logo, .btn--glow { animation: none !important; }
  .hero3__bg span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero3__inner { grid-template-columns: 1fr; padding-bottom: 9rem; }
  .hero3__visual { height: 360px; max-width: 460px; width: 100%; margin: 0 auto; }
  .sunlogo { width: 260px; height: 260px; right: 0; }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero .sunlogo { display: none; }
  .sol__grid { grid-template-columns: 1fr; gap: 2rem; }
  .sol--rev .sol__media { order: 0; }
  .sol__media { position: static; }
  .cform { grid-template-columns: 1fr; }
  .cform__aside { position: static; }
  .offices3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero3__visual { height: 320px; }
  .sunlogo { width: 210px; height: 210px; }
  .hero3__photo { width: 200px; height: 150px; }
  .hero3__badge--2 { left: auto; right: 0; bottom: -20px; }
  .hero3__badge--1 { bottom: 90px; }
  .contact-cards { grid-template-columns: 1fr; }
  .sol__kpis { grid-template-columns: 1fr 1fr; }
  .sol__list { grid-template-columns: 1fr; }
}

/* ---------- Compléments formulaire contact ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.label-like { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .45rem; color: var(--ink); }
.cform__done { text-align: center; }
.cform__ok { font-size: 3.2rem; color: var(--green); margin-bottom: .6rem; }
.cform__done h3 { font-size: 1.35rem; }
.cform__recap { text-align: left; white-space: pre-wrap; background: var(--tint); border-radius: 12px; padding: 1rem 1.2rem; font: .85rem/1.6 "Open Sans", sans-serif; margin: 1rem 0; }
.cform__done .sol__cta { justify-content: center; }
.cp__mini { display: grid; gap: .6rem; margin-top: .8rem; }
.cp__mini li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.cp__mini i { color: var(--green); }
.modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
[data-show][hidden] { display: none !important; }

/* =========================================================
   Téléphones (Android, iPhone)
   ========================================================= */
.header__inner { min-width: 0; }
.header__actions { flex-shrink: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, input, select, textarea, [role="button"] { -webkit-tap-highlight-color: rgba(98, 167, 59, .18); }
img { max-width: 100%; }
body { overflow-x: hidden; }

@media (max-width: 900px) {
  /* Menu mobile plein écran, défilable, au-dessus du contenu */
  .nav { z-index: 90; -webkit-overflow-scrolling: touch; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .nav__link { min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
  .dropdown a, .mega__item { min-height: 44px; }
  .mega { padding-left: .5rem; }
  .mega__foot { display: none; }
  .subnav { top: var(--header-h); }
}

@media (max-width: 600px) {
  .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .header__actions { gap: .5rem; }
  .lang-switch button { padding: .4rem .7rem; min-height: 36px; }
  /* iOS : pas de zoom automatique à la saisie */
  .field input, .field select, .field textarea, .search-bar input { font-size: 16px; }
  .btn { min-height: 48px; }
  .btn--sm { min-height: 42px; }
  .to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }

  /* Héro */
  .hero3 { min-height: 0; }
  .hero3__inner { padding-top: 2.5rem; padding-bottom: 7rem; gap: 2rem; }
  .hero3__text .hero2__title { font-size: 2.05rem; }
  .hero3__text .hero2__lead { font-size: 1rem; }
  .hero2__controls { margin-top: 1.8rem; }
  .hero3__scene { height: 150px; }
  .hero3__badge { padding: .5rem .75rem; }
  .hero3__badge i { width: 32px; height: 32px; }
  .page-hero { padding: 3rem 0 9rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero .hero3__scene { height: 120px; }

  /* Sections */
  .section__title { font-size: 1.65rem; }
  .domain { min-height: 0; }
  .domain__body { padding: 1.4rem 1.3rem; }
  .process { grid-template-columns: 1fr 1fr; gap: 1.6rem .8rem; }
  .kids { padding: 3.5rem 0; }
  .kids h2, .future__title { font-size: 1.6rem; }
  .future__box { padding: 1.8rem 1.4rem; }
  .cta-band__actions .btn { flex: 1 1 100%; justify-content: center; }
  .sol { padding: 3.5rem 0; }
  .sol h2 { font-size: 1.6rem; }
  .sol__thumbs button { height: 56px; }
  .sol__cta .btn, .future__actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-cards { margin-top: -5rem; }
  .cform__aside { padding: 1.6rem; }
  .types span { padding: .85rem .4rem; }
  .office3__actions .btn { flex: 1 1 45%; }
  .map-wide { height: 320px; }
  .loc__map iframe { min-height: 300px; }
  .modal__box { max-height: calc(100dvh - 24px); overflow-y: auto; }
}

@media (max-width: 480px) {
  /* Le logo (80 px, taille minimale de la charte) suffit à identifier la marque */
  .brand__name { display: none; }
}

@media (max-width: 360px) {
  .hero3__text .hero2__title { font-size: 1.8rem; }
  .features__grid { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .sol__kpis { grid-template-columns: 1fr; }
}

/* Menu mobile en accordéon */
@media (max-width: 900px) {
  .has-dropdown > .dropdown, .has-dropdown > .mega { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .has-dropdown.is-open > .mega { display: grid; }
  .has-dropdown > .nav__link i { transition: transform .25s; }
  .has-dropdown.is-open > .nav__link { color: var(--blue); }
  .has-dropdown.is-open > .nav__link i { transform: rotate(180deg); }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; gap: .2rem; }
  .feature { padding: .7rem .25rem; }
}
