/* =============== BASE =============== */
:root{
--bg: #eef1f6;
--card: #ffffffcc;
--border: #cfd6e3;
--text: #121826;
--muted: #4a5568;
--shadow: 0 10px 25px rgba(18, 24, 38, 0.08);
--radius: 16px;

--blue: #2b6cb0;
--green:#2f855a;
--teal:#2c7a7b;
--slate:#4a5568;
--indigo:#3f51b5;

--amber:#b7791f;
--red:#c53030;
--purple:#6b46c1;
--sand:#8b6f47;
--dark:#1f2937;
--olive:#556b2f;
--gray:#6b7280;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
color: var(--text);
background: var(--bg);
}

a{ color: var(--blue); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
width: min(980px, 92vw);
margin: 0 auto;
}

/* =============== HEADER =============== */
.site-header{
padding: 18px 0 8px;
}

.header-inner{
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
flex-wrap: wrap;
}

.brand{
display: flex;
align-items: center;
gap: 12px;
}

.logo-badge{
display: inline-flex;
align-items: center;
justify-content: center;
background: #fff;
border: 1px solid var(--border);
border-radius: 14px;
padding: 8px 10px;
box-shadow: 0 8px 18px rgba(18,24,38,.06);
}

/* ✅ Logo du haut plus grand */
.brand-logo{
width: 86px;
height: auto;
display: block;
}

.brand-name{
font-weight: 700;
font-size: 18px;
line-height: 1.1;
}
.brand-tagline{
font-size: 12px;
color: var(--muted);
margin-top: 2px;
}

.intro{
margin: 10px 0 0;
padding: 10px 14px;
color: var(--muted);
font-size: 13px;
}

/* =============== NAV (ONGLETS COLORES) =============== */
.top-nav{
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}

.nav-link{
position: relative;
display: inline-block;
padding: 8px 10px;
border-radius: 999px;
font-weight: 700;
font-size: 13px;
color: var(--text);
background: rgba(255,255,255,0.72);
border: 1px solid var(--border);
}

.nav-link::before{
content: "";
display: inline-block;
width: 10px;
height: 18px;
margin-right: 8px;
border-radius: 12px;
vertical-align: middle;
background: var(--border);
}

.nav-blue::before{ background: var(--blue); }
.nav-green::before{ background: var(--green); }
.nav-teal::before{ background: var(--teal); }
.nav-slate::before{ background: var(--slate); }
.nav-indigo::before{ background: var(--indigo); }

/* =============== CARDS =============== */
main.container{
padding: 10px 0 26px;
}

.card{
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 18px 18px;
margin: 14px 0;
backdrop-filter: blur(6px);
}

.card h2{
margin: 0 0 10px;
font-size: 18px;
}

.card ul{
margin: 10px 0 0 18px;
}

.small-note{
color: var(--muted);
font-size: 13px;
}

.muted{
color: var(--muted);
font-size: 12.5px;
line-height: 1.5;
}

.mail{ font-weight: 800; }
.tight{ margin: 6px 0; }

/* Teintes légères par section (fond coloré) */
.card-strategies{ background: rgba(43,108,176,.10); }
.card-copy{ background: rgba(47,133,90,.10); }
.card-access{ background: rgba(44,122,123,.10); }
.card-guide{ background: rgba(74,85,104,.08); }
.card-contact{ background: rgba(63,81,181,.10); }

/* =============== PARTNER =============== */
.card-partner{ padding: 16px; }

.partner-wrap{
display: grid;
grid-template-columns: 220px 1fr;
gap: 16px;
align-items: stretch;
}

.partner-photo{
border: 1px solid var(--border);
border-radius: 14px;
overflow: hidden;
background: #fff;
box-shadow: 0 8px 18px rgba(18, 24, 38, 0.08);
}

.partner-photo img{
width: 100%;
height: 100%;
display: block;

/* ✅ On coupe le bas (bandeau) */
object-fit: cover;
object-position: 50% 22%;
min-height: 170px;
}

.partner-text{
display: flex;
flex-direction: column;
justify-content: center;
}

.partner-top{
display: flex;
align-items: flex-start;
gap: 18px;
flex-wrap: wrap;
}

.partner-title h2{ margin: 0 0 6px; }

.partner-logo-badge{
display: inline-flex;
align-items: center;
justify-content: center;
background: #fff;
border: 1px solid var(--border);
border-radius: 14px;
padding: 8px 10px;
box-shadow: 0 8px 18px rgba(18,24,38,.06);
}

.partner-logo{
width: 200px;
max-width: 100%;
height: auto;
display: block;
opacity: 0.97;
}

.partner-name{
margin: 6px 0 10px;
font-size: 15px;
}

.race-plate{
display: inline-block;
margin-left: 10px;
font-weight: 900;
font-size: 12px;
padding: 6px 8px;
border-radius: 10px;
border: 1px solid var(--border);
background: rgba(255,255,255,0.8);
}

/* =============== FAQ =============== */
.page-title{
margin: 0 0 6px;
font-size: 24px;
}

.faq-hint{
margin: 10px 0 12px;
color: var(--muted);
font-size: 13px;
}

/* Onglets FAQ colorés */
.faq-tabs{
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 10px 0 16px;
}

.tab{
border: 1px solid rgba(0,0,0,.18);
background: rgba(255,255,255,0.72);
padding: 8px 10px;
border-radius: 999px;
font-weight: 800;
font-size: 12.5px;
cursor: pointer;
}

.tab.active{
outline: 2px solid rgba(0,0,0,.08);
box-shadow: 0 10px 18px rgba(18,24,38,.08);
}

/* Couleurs boutons */
.tab-blue{ background: rgba(43,108,176,.12); }
.tab-green{ background: rgba(47,133,90,.12); }
.tab-amber{ background: rgba(183,121,31,.12); }
.tab-slate{ background: rgba(74,85,104,.10); }
.tab-red{ background: rgba(197,48,48,.10); }
.tab-purple{ background: rgba(107,70,193,.12); }
.tab-teal{ background: rgba(44,122,123,.12); }
.tab-sand{ background: rgba(139,111,71,.12); }
.tab-indigo{ background: rgba(63,81,181,.12); }
.tab-dark{ background: rgba(31,41,55,.10); }
.tab-olive{ background: rgba(85,107,47,.12); }
.tab-gray{ background: rgba(107,114,128,.12); }

/* Panels */
.faq-panels .panel{ display: none; }
.faq-panels .panel.active{ display: block; }

/* Q/R (details) : plus de texte coupé, bon padding */
.faq-item{
border: 1px solid rgba(0,0,0,.10);
background: rgba(255,255,255,.65);
border-radius: 14px;
margin: 10px 0;
overflow: hidden;
}

.faq-item summary{
padding: 14px 16px;
font-weight: 800;
cursor: pointer;
list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }

.faq-content{
padding: 0 16px 14px;
line-height: 1.55;
color: var(--text);
}

/* =============== FOOTER =============== */
.site-footer{
padding: 18px 0 28px;
}

.footer-inner{
display: flex;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
color: var(--muted);
font-size: 12.5px;
}

.footer-right{ text-align: right; }

/* =============== RESPONSIVE =============== */
@media (max-width: 760px){
.partner-wrap{ grid-template-columns: 1fr; }
.brand-logo{ width: 76px; }
.partner-logo{ width: 180px; }
.footer-right{ text-align: left; }
}
/* Logo haut = même taille que bloc partenaire */
.brand-logo{
width: 220px;
height: auto;
display: block;
}

/* Responsive : on réduit sur petit écran */
@media (max-width: 760px){
.brand-logo{
width: 180px;
}
}

/* Warning dans le bloc Guide */
.guide-warning{
background: rgba(255,255,255,0.55);
border: 1px dashed rgba(0,0,0,0.18);
padding: 10px 12px;
border-radius: 12px;
margin: 10px 0 12px;
}
