/*
Theme Name: Voiles Isaac v4
Theme URI: https://www.voilesisaac.ch
Author: Noah
Description: Thème sur mesure pour Voiles Isaac, voilerie à Nyon depuis 1989. Vidéo plein écran, animations au défilement.
Version: 4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: voiles-isaac
*/
 
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
 
:root {
	--black: #0a0e12;
	--black-2: #121820;
	--paper: #f1eee8;
	--white: #ffffff;
	--ink: #0a0e12;
	--muted: #6b7380;
	--muted-dark: #8a94a3;
	--line: rgba(10,14,18,.12);
	--line-dark: rgba(255,255,255,.12);
	--accent: #e8372f;
	--wrap: 1360px;
	--gutter: clamp(16px, 4vw, 48px);
	--sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Fraunces", Georgia, serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
}
 
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1; letter-spacing: -0.035em; margin: 0; }
p { margin: 0 0 1.1em; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: var(--white); }
 
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--white); padding: 10px 16px; clip: auto; width: auto; height: auto; }
 
.label {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
 
/* ---------- Boutons ---------- */
.btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 18px 30px; border-radius: 100px;
	font-family: var(--sans); font-size: .98rem; font-weight: 500;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: color .4s var(--ease), border-color .4s var(--ease);
	isolation: isolate;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transform: translateY(101%); border-radius: inherit;
	transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent::before { background: var(--white); }
.btn-accent:hover { color: var(--black); }
.btn-glass { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass::before { background: var(--white); }
.btn-glass:hover { color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark::before { background: var(--accent); }
 
/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 18px 0;
	transition: transform .5s var(--ease), padding .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	width: 100%; padding: 10px 10px 10px 22px; border-radius: 100px;
	transition: background .4s, border-color .4s, box-shadow .4s;
	border: 1px solid transparent;
}
.site-header.is-scrolled .header-bar, body:not(.home) .header-bar {
	background: rgba(10,14,18,.72);
	border-color: rgba(255,255,255,.1);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: 0 10px 40px -10px rgba(0,0,0,.4);
}
.site-header.is-hidden { transform: translateY(-120%); }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--white); }
.brand img { max-height: 46px; width: auto; }
.brand-text { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-text em { color: var(--accent); }
 
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
	display: block; padding: 10px 16px; border-radius: 100px;
	text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--white);
	transition: background .3s;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: rgba(255,255,255,.1); }
.main-nav .menu-cta > a { background: var(--accent); margin-left: 8px; padding: 10px 20px; }
.main-nav .menu-cta > a:hover { background: var(--white); color: var(--black); }
 
.nav-toggle {
	display: none; position: relative; z-index: 110;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent); border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
 
/* ---------- Hero vidéo ---------- */
.hero {
	position: relative; height: 100vh; height: 100svh; min-height: 620px;
	color: var(--white); background: var(--black); overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
	width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards;
}
.hero-media video { opacity: 0; transition: opacity 1s ease; }
.hero-media video.is-playing { opacity: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(10,14,18,.55) 0%, rgba(10,14,18,0) 30%),
		linear-gradient(0deg, rgba(10,14,18,.92) 0%, rgba(10,14,18,.35) 45%, rgba(10,14,18,0) 70%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 80px); }
.hero-title {
	font-size: clamp(2.8rem, 6.5vw, 6.8rem);
	line-height: .92; letter-spacing: -0.05em; font-weight: 600;
	margin-bottom: clamp(28px, 4vh, 44px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em { color: var(--white); }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-bottom {
	display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end;
	padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2);
	opacity: 0; animation: fadeIn 1s .7s var(--ease) forwards;
}
.hero-bottom p { max-width: 46ch; font-size: 1.08rem; color: rgba(255,255,255,.82); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes fadeIn { to { opacity: 1; } }
 
.hero-scroll {
	position: absolute; z-index: 2; right: var(--gutter); top: 50%;
	writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
	color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
 
.sound-toggle {
	position: absolute; z-index: 3; left: var(--gutter); top: 50%;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06);
	color: var(--white); cursor: pointer; display: grid; place-items: center;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
 
/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--accent); color: var(--white); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
	display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
	font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: .6em; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }
 
/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(100px, 16vw, 200px) 0; }
.manifesto-text {
	font-size: clamp(1.9rem, 4.6vw, 4.2rem);
	line-height: 1.08; letter-spacing: -0.04em; font-weight: 500;
	max-width: 22ch;
}
.manifesto-text .w { opacity: .14; transition: opacity .3s; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
 
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 10vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 30px 30px 0 0; }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stat > span { color: var(--muted); font-size: .95rem; }
 
/* ---------- Prestations (liste hover) ---------- */
.services { background: var(--black); color: var(--white); padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(50px, 7vw, 90px); flex-wrap: wrap; }
.section-title { font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: .95; letter-spacing: -0.05em; }
.section-top p { max-width: 38ch; color: var(--muted-dark); margin: 0; }
 
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.service-item a {
	display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
	padding: clamp(26px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line-dark);
	text-decoration: none; position: relative;
}
.service-num { font-size: .9rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.service-name {
	font-size: clamp(2rem, 5.5vw, 5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
	transition: transform .6s var(--ease), color .4s;
}
.service-desc { display: block; font-size: 1rem; color: var(--muted-dark); letter-spacing: 0; font-weight: 400; margin-top: 12px; max-width: 50ch; line-height: 1.5; }
.service-arrow {
	width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-dark);
	display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease);
}
.service-item a:hover .service-name { transform: translateX(20px); color: var(--white); }
.service-item a:hover .service-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.service-list:hover .service-item a:not(:hover) .service-name { color: rgba(255,255,255,.3); }
 
/* ---------- Réalisations (grille) ---------- */
.gallery { padding: clamp(90px, 12vw, 160px) 0 0; background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; border-radius: 14px; overflow: hidden; background: #d9d4ca; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
	position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 100px;
	background: rgba(10,14,18,.6); color: var(--white); font-size: .85rem;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
 
/* ---------- Histoire ---------- */
.story { padding: clamp(100px, 14vw, 180px) 0; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.story-media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.story-badge {
	position: absolute; right: 20px; bottom: 20px; z-index: 2;
	width: 130px; height: 130px; border-radius: 50%;
	background: var(--accent); color: var(--white); display: grid; place-items: center; text-align: center;
	font-size: .8rem; line-height: 1.2; font-weight: 500; letter-spacing: .02em;
}
.story-badge strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.story-text h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -0.05em; margin: 22px 0 34px; }
.story-text p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.quote {
	margin: 40px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line);
	font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3;
}
.quote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); }
.quote cite strong { color: var(--ink); font-weight: 600; }
 
/* ---------- CTA ---------- */
.cta { background: var(--black); color: var(--white); padding: clamp(110px, 16vw, 220px) 0; position: relative; overflow: hidden; text-align: center; }
.cta::before {
	content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%;
	transform: translate(-50%, -50%); border-radius: 50%;
	background: radial-gradient(circle, rgba(232,55,47,.35) 0%, rgba(232,55,47,0) 65%);
	pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(3rem, 9vw, 9rem); line-height: .9; letter-spacing: -0.055em; margin: 26px 0 50px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-meta { margin-top: 40px; color: var(--muted-dark); font-size: .95rem; }
.cta-meta a { color: var(--white); text-decoration: none; }
 
/* ---------- Pages internes ---------- */
.page-hero { background: var(--black); color: var(--white); padding: clamp(170px, 22vw, 260px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover; opacity: .35; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 8.5rem); line-height: .9; letter-spacing: -0.055em; margin-top: 24px; }
.page-content { padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 12vw, 160px); }
.entry { max-width: 820px; font-size: 1.08rem; }
.entry h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 1.4em 0 .5em; }
.entry h3 { font-size: 1.5rem; margin: 1.4em 0 .5em; letter-spacing: -0.02em; }
.entry a { color: var(--accent); }
.entry img { border-radius: 14px; margin: 1.5em 0; }
.entry ul, .entry ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.entry .wp-block-columns { gap: 32px; }
.entry .wp-block-button__link { background: var(--accent); color: var(--white); border-radius: 100px; text-decoration: none; padding: 16px 28px; font-weight: 500; }
.entry .wp-block-gallery img, .entry .gallery img { margin: 0; }
.entry input, .entry textarea, .entry select {
	width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px;
	font: inherit; background: var(--white);
}
.entry input:focus, .entry textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.entry input[type="submit"], .entry button[type="submit"] {
	width: auto; background: var(--accent); color: var(--white); border: 0; border-radius: 100px;
	padding: 16px 32px; font-weight: 500; cursor: pointer;
}
 
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list a, .contact-list span { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.03em; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.map-frame { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: 18px; filter: grayscale(1) contrast(1.1); }
 
/* ---------- Pages prestations ---------- */
.sub-hero {
	position: relative; min-height: 78vh; min-height: 78svh;
	display: flex; align-items: flex-end;
	background: var(--black); color: var(--white); overflow: hidden;
	padding: 160px 0 clamp(50px, 8vh, 90px);
}
.sub-hero-small { min-height: 0; padding-top: clamp(170px, 22vw, 240px); }
.sub-hero-media { position: absolute; inset: 0; }
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; }
.sub-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10,14,18,.6) 0%, rgba(10,14,18,.1) 35%, rgba(10,14,18,.9) 100%);
}
.sub-hero-small::after { display: none; }
.sub-hero-content { position: relative; z-index: 2; }
.sub-title {
	font-size: clamp(2.8rem, 7vw, 7rem); line-height: .92; letter-spacing: -0.05em;
	margin: 22px 0 26px; opacity: 0; transform: translateY(30px);
	animation: subIn 1.1s .15s var(--ease) forwards;
}
.sub-intro {
	max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.85); margin: 0;
	opacity: 0; animation: fadeIn 1s .5s var(--ease) forwards;
}
@keyframes subIn { to { opacity: 1; transform: none; } }
 
.specs { padding: clamp(60px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.specs-title { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .95rem; background: var(--white); }
.specs-text { font-size: 1.15rem; line-height: 1.5; margin: 0; padding-top: 32px; }
 
.block { padding: clamp(70px, 10vw, 130px) 0 0; }
.block:last-of-type { padding-bottom: clamp(70px, 10vw, 130px); }
.block-head { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 30px; align-items: start; margin-bottom: clamp(30px, 4vw, 50px); }
.block-num { font-size: .9rem; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: .9em; }
.block-title { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -0.045em; line-height: 1; }
.block-text { color: var(--muted); font-size: 1.08rem; margin: 0; padding-top: .4em; max-width: 46ch; }
 
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo { margin: 0; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: #ddd8cf; }
.photo a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo:hover img { transform: scale(1.05); }
 
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; transition: border-color .3s, transform .5s var(--ease); }
.service-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.service-card .block-num { padding: 0; }
.service-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -0.04em; }
.service-card p { color: var(--muted); margin: 0; }
 
/* Devis */
.devis-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.check-list { list-style: none; margin: 0 0 40px; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.devis-side .contact-list a, .devis-side .contact-list span { font-size: 1.3rem; }
.form-box { background: var(--white); border-radius: 22px; padding: clamp(26px, 4vw, 50px); border: 1px solid var(--line); }
 
/* WPForms dans le style du thème */
.form-box .wpforms-container { margin: 0 !important; }
.form-box .wpforms-field { padding: 0 0 18px !important; }
.form-box .wpforms-field-label, .form-box .wpforms-field-sublabel { font-family: var(--sans) !important; font-size: .82rem !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; }
.form-box input[type="text"], .form-box input[type="email"], .form-box input[type="tel"], .form-box input[type="number"], .form-box select, .form-box textarea {
	width: 100% !important; max-width: 100% !important; height: auto !important;
	padding: 15px 18px !important; font: inherit !important; font-size: 1rem !important;
	border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--paper) !important; color: var(--ink) !important;
	box-shadow: none !important; transition: border-color .2s, background .2s;
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { border-color: var(--ink) !important; background: var(--white) !important; outline: none !important; }
.form-box textarea { min-height: 160px !important; }
.form-box button[type="submit"], .form-box .wpforms-submit {
	background: var(--accent) !important; color: var(--white) !important; border: 0 !important;
	border-radius: 100px !important; padding: 18px 34px !important; height: auto !important;
	font: inherit !important; font-weight: 500 !important; cursor: pointer; transition: background .3s;
}
.form-box button[type="submit"]:hover, .form-box .wpforms-submit:hover { background: var(--black) !important; }
.form-box .wpforms-required-label { color: var(--accent) !important; }
 
/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,18,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
 
/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); padding: 90px 0 30px; font-size: .95rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p { max-width: 32ch; }
.site-footer h4 { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--white); }
.footer-logo { margin: 80px 0 40px; }
.footer-logo img { width: 100%; max-width: 560px; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.swiss { display: inline-flex; align-items: center; gap: 8px; }
 
/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
 
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
	.manifesto-text .w { opacity: 1; }
	.hero-title .line > span { transform: none; }
	.hero-bottom { opacity: 1; }
}
 
/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: 0; z-index: 105; background: var(--black);
		display: flex; align-items: center; padding: 0 var(--gutter);
		clip-path: circle(0% at calc(100% - 50px) 46px);
		transition: clip-path .8s var(--ease);
	}
	.nav-open .main-nav { clip-path: circle(150% at calc(100% - 50px) 46px); }
	.main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
	.main-nav a { font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; padding: 6px 0; background: none !important; }
	.main-nav .menu-cta > a { background: none; margin: 20px 0 0; padding: 0; color: var(--accent); }
	.manifesto-grid { grid-template-columns: 1fr; gap: 24px; }
	.story-grid, .contact-grid { grid-template-columns: 1fr; }
	.specs-grid, .devis-grid, .service-cards { grid-template-columns: 1fr; }
	.specs-text { padding-top: 0; }
	.block-head { grid-template-columns: 1fr; gap: 14px; }
	.block-num { padding-top: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-scroll, .sound-toggle { display: none; }
}
@media (max-width: 700px) {
	body { font-size: 16px; }
	.header-bar { padding: 8px 8px 8px 18px; }
	.hero-bottom { grid-template-columns: 1fr; }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { justify-content: center; white-space: nowrap; }
	.hero-title { font-size: clamp(2.5rem, 11vw, 3.6rem); }
	.stats { grid-template-columns: 1fr; }
	.stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.service-item a { grid-template-columns: 1fr auto; }
	.service-num { display: none; }
	.service-arrow { width: 48px; height: 48px; }
	.footer-grid { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.story-badge { width: 100px; height: 100px; font-size: .7rem; }
	.story-badge strong { font-size: 1.5rem; }
	.photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.sub-hero { min-height: 70svh; }
	.lightbox { padding: 60px 12px; }
	.lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}
 