/* ==========================================================================
   Hub « Event organisieren » — /event-organisieren/
   Gabarit : page-organizar-evento-pt.php
   ========================================================================== */

/* ---------- Hero de page ---------- */
.ie-phero{position:relative;color:#fff;background:#000;isolation:isolate;overflow:hidden}
.ie-phero__media{position:absolute;inset:0;z-index:-2}
.ie-phero__media img{width:100%;height:100%;object-fit:cover}
.ie-phero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.74) 50%,rgba(0,0,0,.35) 100%),linear-gradient(0deg,rgba(0,0,0,.8) 0%,transparent 45%)}
.ie-phero__body{padding-top:clamp(28px,4vw,48px);padding-bottom:clamp(56px,7vw,100px)}
.ie-crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:#BFC4BA;margin-bottom:clamp(28px,5vw,60px)}
.ie-crumbs a{color:#fff;text-decoration:none}
.ie-crumbs a:hover{color:var(--ie-green-2)}
.ie-phero__title{font-family:var(--ie-font-title);font-weight:900;text-transform:uppercase;letter-spacing:-.02em;line-height:.98;margin:0 0 24px;max-width:1000px}
.ie-phero__title .l1{display:block;font-size:clamp(18px,2.2vw,28px);letter-spacing:.03em;color:var(--ie-green-2);margin-bottom:12px}
.ie-phero__title .l2{display:block;font-size:clamp(32px,6.4vw,84px)}
.ie-phero__title .ie-hl{white-space:normal}
.ie-phero__text{max-width:720px;font-size:clamp(17px,1.4vw,20px);line-height:1.6;color:#D7DBD2;margin-bottom:32px}
.ie-phero .ie-hero__proof{margin-top:34px}

/* ---------- Navigation interne collante ---------- */
.ie-subnav{position:sticky;top:var(--ie-subnav-top,0px);z-index:50;background:#fff;border-bottom:1px solid var(--ie-line);box-shadow:0 8px 24px -18px rgba(0,0,0,.35)}
.ie-subnav ul{list-style:none;margin:0;padding:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ie-subnav ul::-webkit-scrollbar{display:none}
.ie-subnav li{flex:none}
.ie-subnav a{display:inline-flex;align-items:center;gap:8px;min-height:58px;padding:0 16px;font-family:var(--ie-font-title);font-weight:800;font-size:13.5px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--ie-text);position:relative;white-space:nowrap;transition:color .2s}
.ie-subnav a::after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:4px;border-radius:4px 4px 0 0;background:var(--ie-grad);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ie-ease)}
.ie-subnav a:hover,.ie-subnav a[aria-current]{color:#000}
.ie-subnav a:hover::after,.ie-subnav a[aria-current]::after{transform:scaleX(1)}
.ie-subnav a:focus-visible{outline:3px solid var(--ie-green);outline-offset:-3px}
.ie-subnav small{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#000;color:var(--ie-green-2);font-size:11.5px;letter-spacing:0}
@media (max-width:640px){.ie-subnav .ie-wrap{padding:0}.ie-subnav ul{padding:0 8px}.ie-subnav a{min-height:52px;padding:0 12px;font-size:12.5px}.ie-subnav a::after{left:12px;right:12px}}

/* Ancres : compenser header + navigation collante */
.ie-hub [id]{scroll-margin-top:calc(var(--ie-subnav-top,80px) + 100px)}
.ie-hub #formate{scroll-margin-top:0}

/* ---------- Intro ---------- */
.ie-hub-intro{padding-bottom:clamp(20px,3vw,40px)}
.ie-hub-intro__grid{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(24px,5vw,80px);align-items:start}
.ie-hub-intro .ie-h2{margin-top:14px}
.ie-hub-intro p:last-child{margin:0;color:var(--ie-muted)}
@media (max-width:900px){.ie-hub-intro__grid{grid-template-columns:1fr}}

/* ---------- Groupes ---------- */
.ie-group__head{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,5vw,72px);align-items:center;margin-bottom:clamp(32px,4.5vw,56px)}
.ie-group__head .ie-h2{margin:14px 0 18px}
.ie-group__head .ie-lead{margin:0}
.ie-group__img{margin:0;border-radius:var(--ie-radius);overflow:hidden;aspect-ratio:16/10;box-shadow:var(--ie-shadow)}
.ie-group__img img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.ie-group__head{grid-template-columns:1fr}.ie-group__img{aspect-ratio:16/9}}

/* Cartes formats */
.ie-fmts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ie-fmt{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--ie-line);border-radius:var(--ie-radius);padding:28px 26px 24px;box-shadow:var(--ie-shadow-s);transition:transform .3s var(--ie-ease),box-shadow .3s,border-color .3s}
.ie-section--paper .ie-fmt{border-color:transparent}
.ie-fmt::before{content:"";position:absolute;left:26px;top:0;width:44px;height:4px;border-radius:0 0 4px 4px;background:var(--ie-grad)}
.ie-fmt:hover{transform:translateY(-4px);box-shadow:var(--ie-shadow)}
.ie-fmt:target{border-color:var(--ie-green);box-shadow:0 0 0 3px rgba(144,197,66,.35),var(--ie-shadow)}
.ie-fmt__title{font-family:var(--ie-font-title);font-weight:900;text-transform:uppercase;font-size:clamp(19px,1.7vw,22px);line-height:1.1;margin:0 0 12px;hyphens:auto;overflow-wrap:anywhere}
.ie-fmt__size{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.4;font-weight:500;color:var(--ie-green-dark);margin:0 0 14px}
.ie-fmt__size svg{width:16px;height:16px;flex:none;margin-top:1px}
.ie-fmt__text{font-size:15.5px;line-height:1.6;color:var(--ie-muted);margin:0 0 20px}
.ie-fmt__foot{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:16px;border-top:1px solid var(--ie-line)}
.ie-fmt__foot .ie-link{color:#000}
.ie-fmt__foot .ie-link svg{color:var(--ie-green-dark)}
.ie-fmt__foot .ie-link--muted{color:var(--ie-muted)}
.ie-fmt__cities{margin:2px 0 0;font-size:13.5px;line-height:1.5;color:var(--ie-muted);display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px}
.ie-fmt__cities span{font-weight:500;color:var(--ie-text)}
.ie-fmt__cities a{color:var(--ie-muted);text-decoration:underline;text-decoration-color:rgba(110,158,44,.5);text-underline-offset:3px;padding:4px 0}
.ie-fmt__cities a:hover{color:#000;text-decoration-color:var(--ie-green)}
.ie-fmt__cities i{font-style:normal;color:var(--ie-green)}
@media (max-width:1024px){.ie-fmts{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.ie-fmts{grid-template-columns:1fr}.ie-fmt{padding:26px 20px 22px}.ie-fmt::before{left:20px}}

/* ---------- Fiches German-ready ---------- */
.ie-fiches__group + .ie-fiches__group{margin-top:44px}
.ie-fiches__group .ie-h3{margin-bottom:18px}
.ie-fiches{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ie-fiche{display:flex;flex-direction:column;gap:8px;height:100%;background:#fff;border-radius:14px;padding:22px;text-decoration:none;color:inherit;border:1px solid transparent;box-shadow:var(--ie-shadow-s);transition:border-color .25s,transform .25s var(--ie-ease)}
.ie-fiche:hover{border-color:var(--ie-green);transform:translateY(-3px)}
.ie-fiche small{font-family:var(--ie-font-title);font-weight:800;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ie-green-dark)}
.ie-fiche strong{font-family:var(--ie-font-title);font-weight:900;text-transform:uppercase;font-size:17px;line-height:1.15}
.ie-fiche > span:not(.ie-link){font-size:15px;line-height:1.55;color:var(--ie-muted)}
.ie-fiche .ie-link{margin-top:auto;padding-top:6px}
@media (max-width:1024px){.ie-fiches{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.ie-fiches{grid-template-columns:1fr}}

@media (max-width:560px){
  .ie-phero .ie-hero__cta .ie-btn{width:100%}
  .ie-phero__title .l2{font-size:clamp(28px,8.6vw,40px)}
  .ie-phero .ie-hero__proof{gap:10px 22px;font-size:14px}
  .ie-hub #ie-steps-title{font-size:clamp(22px,7vw,40px)}
}

/* Photo en en-tête des cartes de formats */
.ie-fmt{overflow:hidden}
.ie-fmt__img{margin:-28px -26px 22px;aspect-ratio:16/10;overflow:hidden;background:#111}
.ie-fmt__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ie-ease)}
.ie-fmt:hover .ie-fmt__img img{transform:scale(1.05)}
.ie-fmt:has(.ie-fmt__img)::before{display:none}
.ie-fmt__img{position:relative}
.ie-fmt__img::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--ie-grad)}
/* Carte format + liens villes (fiche nationale + Zürich/Genf/Basel) */
.ie-fiches>li{display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:var(--ie-shadow-s)}
.ie-fiches>li>.ie-fiche{height:auto;flex:1;box-shadow:none;background:transparent}
.ie-fiches>li>.ie-fmt__cities{margin:0;padding:0 22px 18px}
