/* Quétin Robin — styles */

/* Polices auto-hébergées (2026-10-07) : plus aucun appel à Google Fonts, l'IP du visiteur ne part pas chez Google */
/* latin */
@font-face{font-family:'Archivo';font-style:normal;font-weight:500 900;font-stretch:100%;font-display:swap;src:url(/assets/fonts/archivo-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'Archivo';font-style:normal;font-weight:500 900;font-stretch:100%;font-display:swap;src:url(/assets/fonts/archivo-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* latin */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/dm-sans-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/dm-sans-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

html, body { margin:0; padding:0; background:#0c0e0f; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family:'DM Sans', system-ui, sans-serif; color:#f2f4f4; -webkit-font-smoothing:antialiased; }
a { color:#4fb3c9; }
a:hover { color:#7fd0e2; }
input, textarea, select, button { font-family: inherit; }
@keyframes fadeUp { from { opacity:0; transform: translateY(34px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes revealUp { from { opacity:0; transform: translateY(44px); } to { opacity:1; transform: none; } }
@keyframes revealFade { from { opacity:0; transform: scale(0.985); } to { opacity:1; transform: none; } }
@keyframes revealClip { from { clip-path: inset(0 0 100% 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes wordUp { from { opacity:0; transform: translateY(110%) rotate(3deg); } to { opacity:1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kenBurns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes torchFlicker { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity:1; } 50% { transform: translate(-50%,-50%) scale(1.35); opacity:0.75; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (pointer:fine) { [data-root], [data-root] * { cursor: none !important; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.3; transform:scale(0.7); } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes introLogo { 0% { opacity:0; transform: scale(0.7) rotate(-12deg); } 60% { opacity:1; transform: scale(1.04) rotate(0deg); } 100% { opacity:1; transform: scale(1) rotate(0deg); } }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introSpark { 0% { opacity:0; transform: translateY(0) scale(0.4); } 30% { opacity:1; } 100% { opacity:0; transform: translateY(-90px) scale(1.1); } }
@keyframes introOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes introMaskOut { from { opacity:1; } to { opacity:0; } }
@keyframes scrollHint { 0% { transform: translateY(-8px); opacity:0; } 40% { opacity:1; } 100% { transform: translateY(10px); opacity:0; } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
[data-intro] { transition: none; }
[data-word] { will-change: transform, opacity; }
@media (max-width: 900px) {
  [data-nav] { display: none !important; }
  [data-grid-3] { grid-template-columns: 1fr !important; }
  [data-grid-2] { grid-template-columns: 1fr !important; gap: 32px !important; }
  [data-hero-strip] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  [data-hero-strip] { display: none !important; }
  [data-hero-content] { padding-left: 22px !important; padding-right: 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* états au survol / focus */
.h1:hover { transform: rotate(-8deg) scale(1.06) !important; }
.h2:hover { opacity:1 !important; border-color:#4fb3c9 !important; }
.h3:hover { background:#3aa3bb !important; transform: translateY(-2px) !important; box-shadow:0 10px 26px rgba(45,134,154,0.45) !important; }
.h4:hover { background:#3aa3bb !important; transform: translateY(-3px) !important; box-shadow:0 14px 36px rgba(45,134,154,0.45) !important; }
.h5:hover { border-color:#fff !important; background:rgba(255,255,255,0.1) !important; transform: translateY(-3px) !important; }
.h6:hover { background:rgba(45,134,154,0.18) !important; }
.h7:hover { background:#12181a !important; box-shadow:0 30px 60px rgba(0,0,0,0.45) !important; }
.h8:hover { transform: scale(1.07) !important; filter:grayscale(0) !important; }
.h9:hover { transform: scale(1.05) !important; }
.h10:hover { border-color:#2D869A !important; box-shadow:0 24px 50px rgba(0,0,0,0.4) !important; }
.h11:hover { background:#f2f4f4 !important; border-color:#f2f4f4 !important; color:#0c0e0f !important; transform: translateX(-3px) !important; }
.h12:hover { background:#f2f4f4 !important; border-color:#f2f4f4 !important; color:#0c0e0f !important; transform: translateX(3px) !important; }
.h13:hover { transform: translateY(-5px) !important; box-shadow: 0 20px 44px rgba(0,0,0,0.4) !important; }
.h14:hover { border-color:#4fb3c9 !important; color:#fff !important; }
.f15:focus { border-bottom-color:#4fb3c9 !important; }
.h16:hover { background:#3aa3bb !important; transform: translateY(-3px) !important; box-shadow:0 14px 32px rgba(45,134,154,0.4) !important; }
.h17:hover { background:#2D869A !important; border-color:#2D869A !important; color:#fff !important; transform: translateY(-2px) !important; }

/* --- compléments site complet (menu mobile) --- */
@media (max-width: 900px) {
  [data-burger] { display: flex !important; }
}
[data-burger].ouvert [data-burger-icone] { background: transparent !important; }
[data-burger-icone]::before, [data-burger-icone]::after { content:""; position:absolute; left:0; width:20px; height:2px; background:#fff; transition: transform 0.25s; }
[data-burger-icone]::before { top:-6px; } [data-burger-icone]::after { top:6px; }
[data-burger].ouvert [data-burger-icone]::before { transform: translateY(6px) rotate(45deg); }
[data-burger].ouvert [data-burger-icone]::after { transform: translateY(-6px) rotate(-45deg); }
[data-menu-mobile][hidden] { display: none !important; }
[data-menu-mobile] { animation: fadeIn 0.25s ease-out both; }
@media (max-width: 900px) { [data-span-2] { grid-column: auto !important; } }
/* galerie réalisations : 2 colonnes sur téléphone (sinon 30 photos en colonne = scroll interminable) */
@media (max-width: 900px) {
  [data-galerie] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 8px !important; }
  [data-galerie] figcaption { left: 8px !important; bottom: 8px !important; right: 8px; padding: 5px 8px !important; font-size: 10px !important; letter-spacing: 0.5px !important; }
}
/* pied de page : 5 colonnes sur une ligne en large, 2 colonnes en dessous de 1100 px, 1 sur téléphone */
@media (max-width: 1100px) { [data-pied] { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 640px)  { [data-pied] { grid-template-columns: 1fr !important; gap: 32px !important; } }
/* menus déroulants du formulaire : chevron dessiné, options lisibles sur fond sombre */
select[data-select] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237fd0e2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
select[data-select] option { background: #12181a; color: #fff; }
select[data-select]:focus { border-color: #4fb3c9 !important; }

/* ═══════════ BLOG — standard « article digeste » BE WEB, adapté au thème sombre du site ═══════════
   Ordre des blocs : résumé → sommaire → corps → encadré réalisations → FAQ → à lire aussi → zones → CTA.
   Programmation : .publish-gate__content[data-publish] caché inline, révélé par blog-schedule.js. */
.article-body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #d6dee0; }
.article-body .article-meta { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #6d7a7c; font-weight: 600; margin: 0 0 28px; }
.article-body h2 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.6px; color: #fff; margin: 52px 0 16px; }
.article-body h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; color: #fff; margin: 30px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body strong { color: #fff; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.3rem; }
.article-body ul { list-style: none; }
.article-body ul li { position: relative; margin-bottom: 8px; }
.article-body ul li::before { content: '•'; position: absolute; left: -1.1rem; color: #4fb3c9; font-weight: 700; }
.article-body ol li { margin-bottom: 8px; }
.article-body a:not(.reno-btn):not(.article-btn) { color: #7fd0e2; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:not(.reno-btn):not(.article-btn):hover { color: #fff; }
.article-body .publish-gate__locked { background: #12181a; border-left: 3px solid #2D869A; padding: 22px 26px; margin: 0 0 32px; }
.article-body .publish-gate__locked p { margin: 0; color: #c9d2d4; }
.article-body .article-brief { background: #12181a; border: 1px solid #1e2224; border-left: 3px solid #2D869A; padding: 24px 28px 18px; margin: 0 0 32px; }
.article-body .article-brief h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #7fd0e2; margin: 0 0 12px; }
.article-body .article-brief ul { margin: 0; }
.article-body .article-toc { border: 1px solid #1e2224; padding: 20px 26px; margin: 0 0 40px; }
.article-body .article-toc h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #9aa6a8; margin: 0 0 10px; }
.article-body .article-toc ol { margin: 0; padding-left: 1.4rem; counter-reset: toc; }
.article-body .article-toc ol li { margin-bottom: 4px; }
.article-body .article-toc a { text-decoration: none; color: #e6ecec; }
.article-body .article-toc a:hover { color: #7fd0e2; }
.article-body .article-quote { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; color: #fff; border-left: 3px solid #4fb3c9; padding: 6px 0 6px 24px; margin: 36px 0; }
.article-body .article-realisations { background: #2D869A; color: #fff; padding: 32px 30px; margin: 44px 0; }
.article-body .article-realisations .reno-eyebrow { display: block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.8; font-weight: 600; margin-bottom: 8px; }
.article-body .article-realisations h3 { margin: 0 0 8px; font-size: 24px; color: #fff; }
.article-body .article-realisations .reno-sub { margin: 0 0 18px; color: rgba(255,255,255,0.88); }
.article-body .reno-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.article-body .reno-btn { display: inline-flex; align-items: center; gap: 10px; background: #0c0e0f; color: #fff; padding: 13px 18px; text-decoration: none; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; transition: transform 0.25s, box-shadow 0.25s; }
.article-body .reno-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
.article-body .reno-btn span { color: #7fd0e2; }
.article-body .article-faq { margin: 0 0 40px; }
.article-body .faq-item { border-top: 1px solid #1e2224; padding: 16px 0; }
.article-body .faq-item summary { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; color: #fff; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.article-body .faq-item summary::after { content: '+'; color: #4fb3c9; font-size: 22px; flex: 0 0 auto; }
.article-body .faq-item[open] summary::after { content: '–'; }
.article-body .faq-answer p { margin: 12px 0 0; color: #c9d2d4; }
.article-body .article-more { margin: 40px 0; padding-top: 24px; border-top: 1px solid #1e2224; }
.article-body .article-more h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #9aa6a8; margin: 0 0 12px; }
.article-body .article-more ul { margin: 0; }
.article-body .article-zones { margin: 32px 0; padding: 20px 24px; border-left: 3px solid #2D869A; background: #12181a; }
.article-body .article-zones h3 { margin: 0 0 8px; font-size: 16px; }
.article-body .article-zones p { margin: 0; color: #9aa6a8; }
.article-body .article-cta { background: #12181a; border: 1px solid #1e2224; padding: 32px 30px; margin: 44px 0 24px; }
.article-body .article-cta h3 { margin: 0 0 8px; font-size: 24px; }
.article-body .article-cta p { margin: 0 0 18px; color: #9aa6a8; }
.article-body .article-btn { display: inline-block; background: #2D869A; color: #fff; padding: 15px 24px; text-decoration: none; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; transition: background 0.25s, transform 0.25s; }
.article-body .article-btn:hover { background: #3aa3bb; transform: translateY(-2px); }
/* cartes de l'index et de l'accueil — texte seul, jamais de vignette */
.blog-card { display: block; background: #12181a; border: 1px solid #1e2224; padding: 28px 26px 26px; color: #fff; text-decoration: none; transition: border-color 0.3s, transform 0.3s; }
.blog-card:hover { border-color: #2D869A; transform: translateY(-3px); }
.blog-card .blog-card__meta { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #7fd0e2; font-weight: 600; margin-bottom: 12px; }
.blog-card h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; color: #fff; margin: 0 0 10px; }
.blog-card p { font-size: 15px; line-height: 1.6; color: #9aa6a8; margin: 0 0 14px; }
.blog-card .blog-card__lire { font-size: 13px; font-weight: 700; color: #7fd0e2; }
.blog-card__img { display: block; width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -28px -26px 18px; }

/* ─── Bandeau cookies (standard BE WEB, thème sombre du site) ─── */
[data-cookies] { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: min(400px, calc(100vw - 48px)); background: #12181a; border: 1px solid #1e2224; box-shadow: 0 24px 60px rgba(0,0,0,0.55); padding: 22px 24px 24px; animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both; }
[data-cookies][hidden] { display: none !important; }
@media (max-width: 640px) { [data-cookies] { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 20px; } }
/* ─── Accueil : blocs d'univers cliquables (bouton natif habillé comme la carte) ─── */
[data-univers-btn] { cursor: pointer; }
[data-univers-btn]:focus-visible { outline: 2px solid #4fb3c9; outline-offset: 3px; }
[data-univers-btn][aria-expanded="true"] { border-color: #2D869A !important; box-shadow: 0 24px 50px rgba(0,0,0,0.4); }
[data-univers-panel][hidden] { display: none !important; }
[data-univers-panel] { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; }

/* ─── Réalisations : carrousels par chantier ─── */
[data-realisation-bloc] { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:48px; align-items:center; }
[data-realisation-bloc][data-inverse] [data-realisation-media] { order:2; }
[data-realisation-bloc][data-inverse] [data-realisation-texte] { order:1; }
[data-carrousel-piste] { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
[data-carrousel-prev], [data-carrousel-next] { transition: background 0.2s, border-color 0.2s; }
[data-carrousel-prev]:hover, [data-carrousel-next]:hover { background:#2D869A !important; border-color:#2D869A !important; }
[data-carrousel-points] button { transition: background 0.2s, transform 0.2s; }
[data-carrousel-points] button:hover { transform: scale(1.25); }
[data-carrousel]:focus-visible { outline:2px solid #4fb3c9; outline-offset:2px; }
@media (max-width:900px) {
  [data-realisation-bloc] { grid-template-columns: 1fr; gap:28px; }
  [data-realisation-bloc] [data-realisation-media] { order:1 !important; }
  [data-realisation-bloc] [data-realisation-texte] { order:2 !important; }
}

/* ─── Service de formulaires BE WEB : message de réussite / d'échec, anti-robot ─── */
.beweb-message:empty { display: none; }
.beweb-message p { margin: 0; font-size: 15px; line-height: 1.6; }
.beweb-message p + p { margin-top: 8px; }
.beweb-message a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.beweb-ok { padding: 18px 22px; background: rgba(255,255,255,0.08); border-left: 3px solid #7fd0e2; color: #fff; }
.beweb-ok p { font-size: 16px; font-weight: 600; }
.beweb-erreur { padding: 18px 22px; background: rgba(255,138,92,0.12); border-left: 3px solid #ff8a5c; color: #ffd9cc; overflow-wrap: anywhere; }
form[data-beweb-formulaire] button[type="submit"][disabled] { opacity: .6; cursor: progress; }
