/* Pages internes CEEG : même charte que l'accueil (bleu nuit, aluminium, dégradés de bleu, blanc). Aucun vert. */
:root {
  --bg: #0A192F;
  --bg-2: #0E2140;
  --surface: #10233F;
  --line: rgba(248, 250, 252, 0.12);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --blue: #5B9BF0;
  --blue-deep: #2B5BA8;
  --alu: linear-gradient(135deg, #F8FAFC, #B8C4D4);
  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --gutter: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 500px at 85% -5%, rgba(91, 155, 240, 0.16), transparent 60%),
                    radial-gradient(700px 500px at -10% 40%, rgba(43, 91, 168, 0.18), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* barre du haut */
.bar {
  position: sticky; top: 10px; z-index: 20; margin: 10px var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px; border-radius: 6px; background: rgba(16, 35, 63, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line);
}
.bar .logo { line-height: 0; }
.bar .logo img { height: 54px; width: auto; border-radius: 8px; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .25s; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--text); }
.btn {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 3px; text-decoration: none; background: var(--alu); color: #0A192F; font-weight: 500;
  transition: transform .3s var(--ease), filter .3s; border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--blue); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .bar nav { display: none; }
  .menu-toggle { display: block; position: relative; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle .panel { position: absolute; right: 0; top: 48px; width: min(78vw, 300px); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: grid; }
  .menu-toggle .panel a { padding: 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .menu-toggle .panel a:last-child { border: 0; }
  .bar .btn.cta-bar { display: none; }
}

/* en-tête de page */
.hero { position: relative; margin: 28px var(--gutter) 0; border-radius: 10px; overflow: hidden; min-height: clamp(360px, 52vh, 520px); display: flex; align-items: flex-end; border: 1px solid var(--line); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 14s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 47, 0.1) 10%, rgba(10, 25, 47, 0.88) 92%); }
.hero-copy { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px); max-width: 920px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
h1 { font-weight: 400; font-size: clamp(34px, 5.4vw, 66px); line-height: 1.06; letter-spacing: -0.02em; }
.lead { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); color: #CBD5E1; max-width: 720px; }

/* contenu */
main.page { padding: 0 var(--gutter) 40px; }
.wrap { max-width: 1020px; margin: 0 auto; }
section.block { padding: clamp(36px, 6vw, 72px) 0 0; }
h2 { font-weight: 400; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 18px; }
h2::before { content: ''; display: block; width: 44px; height: 3px; margin-bottom: 16px; background: linear-gradient(90deg, var(--blue), transparent); border-radius: 2px; }
h3 { font-weight: 500; font-size: 20px; margin: 22px 0 6px; }
p + p { margin-top: 14px; }
ul.list { margin-top: 12px; display: grid; gap: 10px; list-style: none; }
ul.list li { position: relative; padding-left: 26px; }
ul.list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: var(--blue); }
.note { margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--blue); background: rgba(91, 155, 240, 0.08); border-radius: 0 6px 6px 0; font-size: 16px; color: #CBD5E1; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.card { display: block; padding: 20px; border-radius: 8px; background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--blue); }
.card strong { display: block; font-weight: 500; font-size: 19px; margin-bottom: 4px; }
.card span { font-size: 15px; color: var(--muted); }
figure.photo { margin-top: 26px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
figure.photo img { width: 100%; max-height: 460px; object-fit: cover; }
figure.photo figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); background: var(--surface); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 28px; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #CBD5E1; }

/* appel à l'action */
.cta { margin: clamp(48px, 7vw, 90px) auto 0; max-width: 1020px; padding: clamp(28px, 4vw, 48px); border-radius: 12px; background: linear-gradient(135deg, #1B3F7A, #0E2140 70%); border: 1px solid var(--line); display: grid; gap: 14px; }
.cta h2 { margin: 0; }
.cta h2::before { display: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* pied de page */
footer.foot { margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); padding: 36px var(--gutter) 28px; }
.foot-grid { max-width: 1020px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 400; }
.foot a { display: block; padding: 4px 0; text-decoration: none; color: #CBD5E1; font-size: 16px; }
.foot a:hover { color: var(--text); }
.foot-legal { max-width: 1020px; margin: 28px auto 0; font-size: 13px; color: var(--muted); }
.foot-renov { max-width: 1020px; margin: 8px auto 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.foot-renov a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* apparition douce */
.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; transform: none; } html { scroll-behavior: auto; } .card:hover { transform: none; } }

/* ═══════════ RÉSEAUX SOCIAUX (Instagram, Facebook) ═══════════ */
.social-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px 14px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #1D4FB8, #0E2A66); color: #F8FAFC; text-decoration: none;
  border: 1px solid rgba(248, 250, 252, .28); font-size: 18px; font-weight: 500;
  transition: transform .35s cubic-bezier(.19, 1, .22, 1), box-shadow .35s, border-color .3s;
}
.social-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(29, 79, 184, .45); border-color: #F8FAFC; }
.footer-social { margin-top: 34px; }
.footer-social .mono { margin-bottom: 16px; font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .12em; color: #7FB0FF; font-weight: 500; }
.foot-social { max-width: 1020px; margin: 28px auto 0; justify-content: flex-start; }

/* portrait de Grégory (page À propos) */
figure.portrait { float: right; width: min(340px, 44%); margin: 4px 0 22px 32px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
figure.portrait img { width: 100%; height: auto; }
figure.portrait figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); background: var(--surface); }
@media (max-width: 640px) { figure.portrait { float: none; width: 100%; margin: 0 0 22px; } }

/* avis clients */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 22px 26px; border-radius: 12px; background: linear-gradient(135deg, #1B3F7A, #0E2140 75%); border: 1px solid var(--line); }
.rating-num { font-size: clamp(48px, 7vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.stars { color: #FFC24A; letter-spacing: .12em; font-size: 22px; }
.rating-count { font-size: 20px; color: #CBD5E1; }
.rating .btn { margin-left: auto; }
blockquote.review { margin-top: 18px; padding: 24px 26px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
blockquote.review p { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
blockquote.review footer { margin-top: 14px; font-size: 16px; color: #CBD5E1; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
blockquote.review .stars { font-size: 16px; }

.reco { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(91,155,240,.6); color: #9CC3FF; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ═══════════ BANDEAU RGE ═══════════ */
.rge-band { margin: 46px auto 0; max-width: 980px; text-align: center; }
.rge-title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.01em; }
.rge-text { margin: 10px auto 0; max-width: 40em; font-size: clamp(15px, 1.3vw, 18px); color: #CBD5E1; }
.rge-logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.rge-logos img { height: 92px; width: auto; max-width: 150px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: transform .35s cubic-bezier(.19, 1, .22, 1); }
.rge-logos img:hover { transform: translateY(-4px); }
@media (max-width: 600px) { .rge-logos img { height: 72px; max-width: 120px; } }
