:root {
	--bg0: #071423;
	--bg1: #0a2a4a;
	--bg2: #0c4f7d;
	--card: rgba(255,255,255,.08);
	--card2: rgba(255,255,255,.06);
	--stroke: rgba(255,255,255,.12);
	--text: #eaf4ff;
	--muted: #b9d0e7;
	--accent: #2ee0ff;
	--accent2: #ff4fa3;
	--radius: 22px;
	--shadow: 0 18px 50px rgba(0,0,0,.35);
	--shadow2: 0 10px 25px rgba(0,0,0,.25);
}

* { box-sizing: border-box }

html { scroll-behavior: smooth }

body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: radial-gradient(900px 500px at 20% 0%, rgba(46,224,255,.18), transparent 60%),
	radial-gradient(800px 500px at 85% 10%, rgba(255,79,163,.12), transparent 55%),
	linear-gradient(180deg, var(--bg0), var(--bg1) 35%, var(--bg2));
	overflow-x: hidden;
}

a { color:inherit }

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 18px;
}
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(10px);
	background: linear-gradient(180deg, rgba(7,20,35,.78), rgba(7,20,35,.35));
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	gap: 14px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 900;
	letter-spacing: .2px;
}
.brand img {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	box-shadow: var(--shadow2);
}
.nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.nav a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 800;
	padding: 8px 10px;
	border-radius: 12px;
}
.nav a:hover {
	color: var(--text);
	background: rgba(255,255,255,.06);
}

.hero {
	position: relative;
	padding: 52px 0 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	border: none;
	background:
	linear-gradient(
      180deg,
      rgba(7,20,35,.25),
      rgba(7,20,35,.55) 65%,
      rgba(9,32,55,1.0)
    ),
    url("../assets/KaraDolphin_Fond.webp") center top / cover no-repeat;
}
.hero2 {
	position: relative;
	padding: 52px 0 10px;
}
.heroGrid {
	margin: 20px;
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 22px;
	align-items: center;
}
.heroCard {
	background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
	position: relative;
	overflow: hidden;
}
.spark {
	position: absolute;
	inset: -2px;
	background:	radial-gradient(420px 220px at 25% 20%, rgba(46,224,255,.22), transparent 60%),
	radial-gradient(420px 220px at 80% 15%, rgba(255,79,163,.18), transparent 60%);
	pointer-events: none;
}

h1 {
	margin: 0 0 10px;
	font-size: clamp(32px, 4.2vw, 32px);
	line-height: 1.05;
	letter-spacing: -.6px;
}

.subtitle {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.6;
	max-width: 100ch;
}

.ctaRow { 
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	border-radius: 16px;
	text-decoration: none;
	font-weight: 900;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.06);
	transition: transform .12s ease, background .12s ease;
	user-select: none;
}
.btn:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,.09);
}
.btnPrimary {
	background: linear-gradient(90deg, rgba(46,224,255,.95), rgba(46,224,255,.70));
	color: #06111a;
	border: 0;
}
.btnPrimary:hover {
	background: linear-gradient(90deg, rgba(46,224,255,1), rgba(46,224,255,.78));
}
.btnPink {
	background: linear-gradient(90deg, rgba(255,79,163,.95), rgba(255,79,163,.70));
	color: #16040c;
	border: 0;
}

.heroBadges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(0,0,0,.18);
	border: 1px solid rgba(255,255,255,.10);
	color: var(--muted);
	font-weight: 800;
	font-size: 13px;
}
.badge b {
	color: var(--text)
}

.logoCard {
	padding: 16px;
	text-align: center;
}
.logoCard img {
	width: min(260px, 70vw);
	height: auto;
	border-radius: 26px;
	box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.logoCaption {
	margin: 12px 0 0;
	color: var(--muted);
	font-weight: 800;
	font-size: 14px;
}

section { padding:44px 0; }
.sectionTitle {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 14px;
}
.sectionTitle h2 {
	margin: 0;
	font-size: clamp(22px, 3vw, 34px);
	letter-spacing: -.3px;
}
.sectionTitle p {
	margin: 0;
	color: var(--muted);
	font-weight: 800
}

.grid3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.card {
	background: linear-gradient(180deg, var(--card), var(--card2));
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 16px;
	box-shadow: var(--shadow2);
}
.card h3 {
	margin: 0 0 8px;
	font-size: 16px;
}
.card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.6
}

.shots {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 14px;
	align-items: stretch;
}
.shotMain {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(0,0,0,.20);
	box-shadow: var(--shadow);
	position: relative;
	min-height: 320px;
	cursor: zoom-in;
}
.shotMain img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.98;
}
.shotStrip {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
.thumb {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(0,0,0,.18);
	box-shadow: var(--shadow2);
	cursor: pointer;
	position: relative;
}
.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.95
}
.thumb:after {
	content: "Cliquez pour sélectionner";
	position: absolute;
	left: 12px;
	bottom: 10px;
	font-size: 12px;
	font-weight: 900;
	color: rgba(255,255,255,.85);
	background: rgba(0,0,0,.35);
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.14);
}

.downloadGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: start;
}
.dlBox .btn {
	width: 100%;
	justify-content: center
}
.small {
	color:var(--muted);
	margin:10px 0 0;
	line-height:1.6
}

details {
	background: linear-gradient(180deg, var(--card), var(--card2));
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 14px 16px;
	box-shadow: var(--shadow2);
}
details + details { margin-top:12px; }
summary {
	cursor: pointer;
	font-weight: 900; 
}
details p {
	color: var(--muted);
	line-height: 1.7;
	margin: 10px 0 0;
}

footer {
	padding: 26px 0 60px;
	color: var(--muted);
	border-top: 1px solid rgba(255,255,255,.08);
	margin-top: 20px;
}

.bubbles {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}
.bubble {
	position: absolute;
	bottom: -60px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.12));
	opacity: 0.22;
	animation: rise linear infinite;
}
@keyframes rise {
	from { transform: translateY(0) translateX(0) scale(1); }
	to { transform: translateY(-120vh) translateX(50px) scale(1.35); }
}

.wave { 
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: 18px;
	opacity: 0.75;
	filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.62);
	padding: 18px;
}
.modal.open { display:flex; }
.modalInner {
	max-width: min(1100px, 96vw);
	max-height: 86vh;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(0,0,0,.35);
	box-shadow: var(--shadow);
	position: relative;
}
.modalInner img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	background: rgba(0,0,0,.25);
}
.modalClose {
	position: absolute;
	top: 10px;
	right: 10px;
	border: 0;
	border-radius: 999px;
	padding: 10px 12px;
	font-weight: 900;
	cursor: pointer;
	color: var(--text);
	background: rgba(0,0,0,.40);
	border: 1px solid rgba(255,255,255,.16);
}

@media (max-width: 900px) {
	.heroGrid { grid-template-columns: 1fr; }
	.grid3 { grid-template-columns: 1fr; }
	.shots { grid-template-columns: 1fr; }
	.shotStrip { grid-template-columns: 1fr 1fr; }
	.downloadGrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.shotStrip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior:auto }
	.bubble { animation:none }
	.btn { transition:none }
}

.notes {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.note {
	position: absolute;
	left: var(--x);
	bottom: -90px;
	width: var(--size);
	height: var(--size);
	background: center / contain no-repeat;
	opacity: var(--op);
	filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
	transform: translateX(0) translateY(0) rotate(0deg);
	animation: note-rise var(--dur) linear var(--delay) forwards,
	note-sway var(--swayDur) ease-in-out var(--delay) infinite alternate;
}

@keyframes note-rise {
	from { transform: translateY(0) rotate(var(--rot)); }
	to { transform: translateY(-125vh) rotate(calc(var(--rot) + 10deg)); }
}

@keyframes note-sway {
	from { margin-left: calc(var(--sway) * -1); }
	to { margin-left: var(--sway); }
}

@media (prefers-reduced-motion: reduce) {
	.note { animation: none !important; display: none; }
}

.footerFull {
	position: relative;
	opacity: 0.4;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: 33vh;
	min-height: 260px;
	background: url("../assets/fond-marin.webp") center top / cover no-repeat;
	border-top: none;
}