:root{
  --bg0:#071622;
  --bg1:#0b2236;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.14);
  --text:#eaf3ff;
  --muted: rgba(234,243,255,0.72);
  --accent:#35b6ff;
  --accent2:#7dd7ff;
  --ok:#3ee28a;
  --warn:#ffd166;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);
}

*{box-sizing:border-box; margin:0; padding:0; font-family: "Segoe UI", Arial, sans-serif;}
body{
  background: radial-gradient(1200px 800px at 20% 10%, #133a55 0%, transparent 55%),
              radial-gradient(900px 600px at 85% 20%, #0f4e7a 0%, transparent 60%),
              linear-gradient(135deg, var(--bg0), var(--bg1));
  color: var(--text);
  min-height: 100vh;
}

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

.container{max-width:1280px; margin:0 auto; padding:5px 18px 20px;}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:10px 0 18px;
}
.brand{
  display:flex; align-items:center; gap:14px;
}
.brand img{
  width:120px; height:120px; 
  object-fit: cover;
}
.brand .title{font-size:36px; margin-top:2px;}
.brand .sub{color:var(--muted); font-size:13px; margin-top:2px;}

.nav{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor:pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:hover{background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22);}
.btn:active{transform: translateY(1px);}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), #1c7cff);
  border-color: rgba(255,255,255,0.18);
}
.btn-primary:hover{background: linear-gradient(135deg, #55c7ff, #2a8bff);}

.hero{
  margin-top: 8px;
}
@media (max-width: 900px){
  .nav{justify-content:flex-start;}
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-pad{padding:18px;}
.hero h1{
  font-size:40px;
  line-height:1.08;
  margin-bottom:22px;
}
.hero p{
  color: var(--muted);
  line-height:4.6;
  font-size:16px;
}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;}
.badge{
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.05);
  font-size:13px; color: var(--muted);
}
.badge strong{color: var(--text); font-weight:650;}

.hr{
  height:1px; background: rgba(255,255,255,0.12);
  margin:22px 0;
}

.section-title{
  font-size:18px;
  letter-spacing:0.2px;
  margin-bottom:10px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 900px){
  .grid3{grid-template-columns:1fr;}
}
.feature{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.05);
}
.feature h3{font-size:15px; margin-bottom:6px;}
.feature p{color:var(--muted); line-height:1.55; font-size:14px;}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.shot{
  grid-column: span 6;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.05);
}
.shot.wide{grid-column: span 12;}
@media (max-width: 900px){
  .shot{grid-column: span 12;}
}
.shot img{width:100%; height:auto; display:block;}
.shot .shot-cap{
  padding:10px 12px;
  color: var(--muted);
  font-size:13px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.brand-text { display:flex; flex-direction:column; gap:2px; }

.byline{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
  color: rgba(234,243,255,0.70);
  font-size:12px;
}

.brand-badge{
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  object-fit: cover;
}

.footer{
  margin-top: 26px;
  color: rgba(234,243,255,0.62);
  font-size: 18px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
.download-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    position: relative;
}

.download-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
.download-info .signature {
    margin-top: auto;
    padding-top: 25px;
}

.download-info p {
    margin-bottom: 0;
}

.download-info code {
    overflow-wrap: anywhere;
}

.download-button {
    flex-shrink: 0;
    display: inline-block;
    padding: 11px 20px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;

    position: absolute;
    top: 16px;
    right: 16px;
}

.download-button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
.download-feature {
    align-items: flex-start;
}

.convert-feature .video-preview {
    margin-top: 75px;
}
/* Affichage sur téléphone */
@media (max-width: 700px) {
    .download-feature {
        flex-direction: column;
        align-items: stretch;
    }

    .download-button {
        width: 100%;
        box-sizing: border-box;
    }
}
.video-preview {
    width: min(100%, 480px);
    margin: 25px auto;
    text-align: center;
}

.video-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid rgba(234, 243, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.video-caption {
    margin-top: 8px;
    color: rgba(234, 243, 255, 0.75);
    font-size: 14px;
}

.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.9);
}

.video-overlay.visible {
    display: flex;
}

.video-full {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.video-close {
    position: fixed;
    top: 15px;
    right: 25px;
    z-index: 10000;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-size: 52px;
    line-height: 1;
    cursor: pointer;
}

.video-close:hover {
    color: #ff5555;
}

body.video-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .video-overlay {
        padding: 15px;
    }

    .video-close {
        top: 8px;
        right: 12px;
        font-size: 42px;
    }
}
/* Modal */
.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.62);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index: 50;
}
.modal{
  width:min(760px, 100%);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(12, 26, 40, 0.95);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.10);
}
.modal-header h2{font-size:16px;}
.modal-body{padding:16px; color: var(--muted); line-height:1.6;}
.modal-body ul{padding-left:18px; margin-top:8px;}
.modal-body li{margin:6px 0;}
.modal-actions{padding:14px 16px; border-top:1px solid rgba(255,255,255,0.10); display:flex; justify-content:flex-end;}
kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2px 6px;
  border-radius: 6px;
  color: rgba(234,243,255,0.85);
}