/* CAPORAL EVENTS — Phase 3 / Direction visuelle verrouillée — 12/09/2026 */
.phase3-journey{border-block:1px solid var(--line);background:radial-gradient(circle at 15% 20%,rgba(217,181,111,.09),transparent 28%),#08090e}
.phase3-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.phase3-card{position:relative;min-height:260px;padding:30px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));overflow:hidden}
.phase3-card::after{content:'';position:absolute;inset:auto -20% -45% 25%;height:180px;background:radial-gradient(circle,rgba(217,181,111,.12),transparent 68%);pointer-events:none}
.phase3-card>strong{display:grid;width:54px;height:54px;margin-bottom:28px;place-items:center;border-radius:50%;color:#17130c;background:var(--gold-light);font:400 24px/1 Georgia,serif}
.phase3-card h3{margin:0 0 12px;font:400 28px/1.15 Georgia,serif}
.phase3-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.phase3-card a{display:inline-block;margin-top:24px;color:var(--gold-light);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}

/* HEADER — une seule ligne sur desktop, comme la maquette de référence */
@media(min-width:821px){
  body.home-page .home-header{width:min(1280px,calc(100vw - 36px));min-height:82px;display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center;border-bottom:1px solid rgba(255,255,255,.16)}
  body.home-page .home-header .brand{min-width:0}
  body.home-page .home-header .brand-logo{width:150px!important;max-width:150px!important;height:auto!important}
  body.home-page .home-navigation{justify-self:end;display:flex;flex-wrap:nowrap;align-items:center;gap:clamp(10px,1.15vw,20px);font-size:10px;letter-spacing:.055em;white-space:nowrap}
  body.home-page .home-navigation a{white-space:nowrap}
  body.home-page .home-navigation .nav-secondary{padding:10px 14px;border:1px solid rgba(217,181,111,.45);border-radius:999px}
  body.home-page .home-navigation .nav-cta{padding:11px 18px;border:1px solid var(--gold);border-radius:999px;color:#17130c;background:var(--gold-light)}
}

/* HERO — photo visible, texte inspiré de la maquette, recherche harmonisée */
body.home-page .hero--signature{position:relative;min-height:780px;padding-bottom:126px;background:#07080d url('/assets/eventigo-01.webp') center 38%/cover no-repeat}
body.home-page .hero--signature .hero-image{z-index:-1;object-position:62% 40%;filter:saturate(1.04) contrast(1.03) brightness(.98)}
body.home-page .hero--signature .hero-overlay{z-index:0;background:linear-gradient(90deg,rgba(5,6,10,.94) 0%,rgba(5,6,10,.74) 35%,rgba(5,6,10,.26) 66%,rgba(5,6,10,.12) 100%),linear-gradient(0deg,#07080d 0%,rgba(7,8,13,.12) 28%,transparent 52%)}
body.home-page .hero--signature .hero-content{position:relative;z-index:2;padding-top:150px;padding-bottom:38px}
body.home-page .hero--signature h1{max-width:760px;font-size:clamp(52px,6vw,88px);line-height:.94}
body.home-page .hero--signature .hero-copy{max-width:650px;margin-top:22px;color:#f1ede6;font-size:clamp(16px,1.55vw,20px);line-height:1.55}

.hero-search{display:grid;grid-template-columns:minmax(210px,1.25fr) minmax(170px,1fr) minmax(160px,.9fr) auto;width:min(1040px,100%);margin-top:34px;overflow:hidden;border:1px solid rgba(255,255,255,.48);border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 18px 55px rgba(0,0,0,.34);color:#121317}
.hero-search-field{display:grid!important;grid-template-columns:24px 1fr!important;align-items:center!important;gap:10px!important;min-height:66px!important;padding:8px 18px!important;border-right:1px solid rgba(10,12,18,.11)!important}
.hero-search-field svg{width:19px;height:19px;fill:none;stroke:#777b84;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero-search input{width:100%;min-width:0;padding:10px 0;border:0;outline:0;background:transparent;color:#15171c;font:600 13px/1.35 Inter,ui-sans-serif,system-ui,sans-serif}
.hero-search input::placeholder{color:#8c8f96;opacity:1}
.hero-search input[type=date]{color:#8c8f96}
.hero-search input[type=date]:valid{color:#15171c}
.hero-search button{min-width:160px;margin:6px;border:0;border-radius:12px;background:linear-gradient(135deg,#f3dca9,#d6af64);color:#121317;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:none;cursor:pointer;transition:transform .18s ease,filter .18s ease}
.hero-search button:hover,.hero-search button:focus-visible{transform:translateY(-1px);filter:brightness(1.04)}

/* Catégories — icônes ligne cohérentes */
body.home-page .hero-categories{z-index:3;grid-template-columns:repeat(6,minmax(0,1fr));background:linear-gradient(180deg,rgba(8,10,15,.78),rgba(8,10,15,.96));backdrop-filter:blur(8px);border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.08)}
body.home-page .hero-categories a{min-width:0;padding:19px 12px 17px}
body.home-page .hero-category-icon{display:grid;width:42px;height:42px;margin:0 auto 8px;place-items:center;color:#f1dfb7}
body.home-page .hero-category-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
body.home-page .hero-categories strong{font-size:10px;line-height:1.2;white-space:nowrap}
body.home-page .hero-categories small{display:none}

/* À propos — composition texte + image comme la capture */
.about-reference{display:grid;grid-template-columns:minmax(0,.88fr) minmax(380px,1.12fr);gap:0;align-items:stretch;padding-top:clamp(80px,9vw,125px);padding-bottom:clamp(80px,9vw,125px)}
.about-reference-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(34px,5vw,68px);border:1px solid var(--line);border-right:0;background:linear-gradient(145deg,#0b0c11,#111218)}
.about-reference-copy h2{font-size:clamp(42px,5vw,70px)}
.about-reference-copy>p:not(.eyebrow){max-width:620px;margin:24px 0 30px;color:#cac5bd;font-size:15px;line-height:1.8}
.about-reference-copy .button{align-self:flex-start}
.about-reference-visual{position:relative;min-height:520px;margin:0;overflow:hidden;border:1px solid var(--line);background:#111218}
.about-reference-visual::after{position:absolute;inset:0;content:'';background:linear-gradient(90deg,rgba(7,8,13,.2),transparent 45%),linear-gradient(0deg,rgba(4,5,8,.82),transparent 48%)}
.about-reference-visual img{width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center 28%}
.about-reference-visual figcaption{position:absolute;z-index:2;right:28px;bottom:28px;display:grid;gap:5px;text-align:right}
.about-reference-visual figcaption span{color:#fff0ce;font:italic 24px/1.15 Georgia,serif}
.about-reference-visual figcaption strong{font-size:13px;letter-spacing:.08em}
.about-reference-visual figcaption small{color:#d0cbc4;font-size:9px;letter-spacing:.1em;text-transform:uppercase}

/* Prestataires à la une — cartes visuelles, pas de doublon de services */
.featured-providers{border-block:1px solid var(--line);background:#f4efe7;color:#17181b}
.featured-providers .eyebrow{color:#9b6f24}
.featured-providers .eyebrow span{background:#9b6f24}
.featured-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:34px}
.featured-heading h2{font-size:clamp(38px,5vw,64px);color:#141519}
.featured-heading h2 em{color:#a7782b}
.featured-heading>a{padding-bottom:5px;color:#62513b;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.featured-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.featured-provider-card{position:relative;min-height:390px;overflow:hidden;border-radius:16px;background:#111218;box-shadow:0 16px 42px rgba(23,20,16,.14)}
.featured-provider-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.featured-provider-card:hover img{transform:scale(1.035)}
.featured-provider-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,5,8,.94) 0%,rgba(4,5,8,.58) 42%,rgba(4,5,8,.08) 74%)}
.featured-provider-copy{position:absolute;z-index:2;right:0;bottom:0;left:0;padding:26px;color:#fff}
.featured-provider-copy>span{display:inline-block;margin-bottom:8px;color:#f0d49d;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.featured-provider-copy h3{margin:0;font:400 34px/1.05 Georgia,serif}
.featured-provider-copy p{margin:7px 0 17px;color:#d7d2cb;font-size:12px}
.featured-provider-copy a{display:inline-flex;padding:10px 17px;border-radius:999px;color:#16130e;background:#f0d49d;font-size:10px;font-weight:800}

@media(max-width:980px){
  .about-reference{grid-template-columns:1fr}
  .about-reference-copy{border-right:1px solid var(--line);border-bottom:0}
  .hero-search{grid-template-columns:1fr 1fr}
  .hero-search-field:nth-of-type(2){border-right:0!important}
  .hero-search-field:nth-of-type(3){border-top:1px solid rgba(10,12,18,.11)!important}
  .hero-search button{min-height:58px}
}
@media(max-width:900px){
  .phase3-grid{grid-template-columns:1fr}
  .phase3-card{min-height:0}
}
@media(max-width:820px){
  body.home-page .hero--signature{min-height:0!important;padding-bottom:0!important;background-position:64% 0!important}
  body.home-page .hero--signature .hero-image{height:clamp(420px,112vw,560px)!important;object-position:62% 24%!important;filter:saturate(1.05) contrast(1.02)!important}
  body.home-page .hero--signature .hero-overlay{height:clamp(585px,154vw,760px)!important;background:linear-gradient(180deg,rgba(4,5,9,.02) 0%,rgba(4,5,9,.06) 33%,rgba(4,5,9,.32) 52%,rgba(7,8,13,.88) 76%,#07080d 94%)!important}
  body.home-page .hero--signature .hero-content{padding-top:clamp(340px,92vw,455px)!important;padding-bottom:22px!important}
  body.home-page .hero--signature h1{font-size:clamp(46px,12vw,64px)!important}
  body.home-page .hero--signature .hero-copy{font-size:15px!important}
  .hero-search{grid-template-columns:1fr;margin-top:24px;border-radius:14px}
  .hero-search-field{grid-template-columns:22px 1fr!important;min-height:58px!important;padding:8px 14px!important;border-right:0!important;border-bottom:1px solid rgba(10,12,18,.11)!important}
  .hero-search-field:nth-of-type(3){border-top:0!important}
  .hero-search button{min-height:52px;margin:7px}
  body.home-page .hero-categories{grid-template-columns:none!important}
  body.home-page .hero-categories a{min-height:116px!important;padding:15px 12px!important}
  body.home-page .hero-category-icon{width:36px;height:36px;margin-bottom:7px}
  body.home-page .hero-category-icon svg{width:31px;height:31px}
  body.home-page .hero-categories strong{font-size:9px!important}
  .about-reference{padding-inline:17px}
  .about-reference-copy{padding:30px 24px}
  .about-reference-visual,.about-reference-visual img{min-height:410px}
  .featured-provider-grid{grid-template-columns:1fr}
  .featured-provider-card{min-height:340px}
}
@media(max-width:560px){
  .featured-heading{display:block}
  .featured-heading>a{display:inline-block;margin-top:16px}
  .about-reference-visual figcaption span{font-size:20px}
}

/* Desktop — sépare clairement les raccourcis et les panneaux de contenu. */
@media(min-width:821px){
  body.home-page .hero--signature{padding-bottom:170px}
  body.home-page .hero-categories{
    right:auto;
    bottom:24px;
    left:50%;
    width:min(1280px,calc(100vw - 36px));
    gap:12px;
    padding:0;
    transform:translateX(-50%);
    border:0;
    background:transparent;
    backdrop-filter:none;
  }
  body.home-page .hero-categories a{
    min-height:118px;
    padding:17px 10px 15px;
    border:1px solid rgba(217,181,111,.28);
    border-radius:14px;
    background:linear-gradient(155deg,rgba(20,22,29,.94),rgba(7,8,13,.98));
    box-shadow:0 16px 34px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);
    backdrop-filter:blur(10px);
    transition:transform .18s ease,border-color .18s ease,background .18s ease;
  }
  body.home-page .hero-categories a:last-child{border-right:1px solid rgba(217,181,111,.28)}
  body.home-page .hero-categories a:hover,
  body.home-page .hero-categories a:focus-visible{
    transform:translateY(-3px);
    border-color:rgba(235,207,151,.68);
    background:linear-gradient(155deg,rgba(34,31,27,.97),rgba(10,11,16,.99));
  }
  .about-reference{gap:24px}
  .about-reference-copy{
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:0 22px 55px rgba(0,0,0,.2);
  }
  .about-reference-visual{
    border-radius:18px;
    box-shadow:0 22px 55px rgba(0,0,0,.22);
  }
}
