@font-face { font-family: "Bodoni"; src: url("/fonts/BodoniModa-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-400.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  /* Charte VBWEB Caraïbes (Instagram vbweb_caraibes) : bleu ardoise, bleu ciel, blanc */
  --navy: #32506C;
  --ink: #16283A;
  --blue: #3B5C7F;
  --sky: #6CB7E6;
  --soft: #EEF4F9;
  --paper: #FFFFFF;
  --muted: #5A6A7E;
  --bg: var(--paper);
  --accent: var(--blue);
  --marge: clamp(16px, 3vw, 32px);
  --t-petit: 15px;
  --t-corps: 18px;
  --t-moyen: clamp(26px, 2.6vw, 36px);
  --t-grand: clamp(40px, 5vw, 76px);
  --t-geant: clamp(64px, 9.5vw, 150px);
  --rapide: 200ms;
  --sortie: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Inter", system-ui, sans-serif; font-size: var(--t-corps); line-height: 1.55; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .titre, .geant, .appel-mot, .pied-marque, .marque { font-family: "Bodoni", Georgia, serif; font-weight: 800; letter-spacing: -0.02em; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
::selection { background: var(--sky); color: var(--ink); }
.grille { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-inline: var(--marge); }
.t-moyen { font-size: var(--t-moyen); line-height: 1.1; }
.t-grand { font-size: var(--t-grand); line-height: 1; }

/* Boutons : un seul dessin, angles droits */
.bouton { display: inline-block; padding: 14px 22px; background: var(--accent); color: var(--paper); font-weight: 600; font-size: 16px; text-decoration: none; transition: background var(--rapide) var(--sortie), transform var(--rapide) var(--sortie); }
.bouton:hover { background: var(--navy); }
.bouton:active { transform: scale(.97); }
.bouton-clair { background: var(--sky); color: var(--ink); }
.bouton-clair:hover { background: var(--paper); }
.lien { font-weight: 600; color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color var(--rapide); }
.lien:hover { color: var(--navy); }

/* Barre */
.barre { pointer-events: none; position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--marge); color: var(--navy); background: var(--soft); transition: color 300ms var(--sortie), background 300ms var(--sortie); }
.barre[data-encre="clair"] { color: var(--paper); background: var(--navy); }
.marque { font-size: 22px; text-decoration: none; }
.barre nav { display: flex; align-items: center; gap: 24px; font-size: 16px; }
.barre nav a:not(.bouton) { text-decoration: none; font-weight: 600; }
.barre nav a:not(.bouton):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero : deux champs, le titre à cheval sur la ligne */
.hero { position: relative; min-height: 100svh; background: var(--soft); display: flex; flex-direction: column; justify-content: flex-end; }
.hero::after { content: ""; position: absolute; inset: 50% 0 0 0; background: var(--navy); z-index: 0; }
.hero-titre { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid; padding-inline: var(--marge); }
.titre { grid-area: 1 / 1; font-size: var(--t-geant); line-height: .92; text-align: center; }
.titre span { display: block; white-space: nowrap; }
.titre-haut { color: var(--blue); clip-path: inset(0 0 50% 0); }
.titre-bas { color: var(--paper); clip-path: inset(50% 0 0 0); }
.hero-bas { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--marge) 56px; color: var(--paper); }
.hero-phrase { max-width: 34ch; font-size: clamp(18px, 1.6vw, 22px); }

/* Recherches */
.recherches { padding-block: clamp(96px, 12vw, 180px) 0; overflow: hidden; }
.recherches-tete h2 { grid-column: 1 / 6; }
.recherches-tete p { grid-column: 7 / 13; max-width: 52ch; }
.essai { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; padding: 48px var(--marge) 0; font-weight: 600; }
.essai label { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-petit); }
.essai select { font: 600 20px "Inter", sans-serif; color: var(--ink); background: var(--soft); border: 0; border-bottom: 3px solid var(--blue); padding: 10px 40px 10px 12px; min-width: 220px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231A7BB5' stroke-width='2.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.specimens { display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; }
.specimen { position: relative; height: clamp(300px, 30vw, 440px); overflow: hidden; padding: 28px var(--marge) 0; background: var(--soft); }
.specimen-inverse { background: var(--navy); color: var(--paper); }
.legende { position: relative; z-index: 1; font-size: 17px; max-width: 40ch; }
.legende strong { display: block; font-size: clamp(20px, 1.8vw, 26px); color: var(--blue); margin-top: 4px; transition: opacity var(--rapide); }
.specimen-inverse .legende strong { color: var(--sky); }
.geant { position: absolute; left: var(--marge); bottom: -.32em; white-space: nowrap; font-size: clamp(96px, 10vw, 180px); line-height: .8; color: var(--navy); }
.specimen-inverse .geant { color: var(--paper); }
.recherches-fin { padding-block: 32px 0; align-items: baseline; }
.recherches-fin span { grid-column: 1 / 8; }
.recherches-fin a { grid-column: 8 / 13; justify-self: end; }

/* Bandes photo */
.bande { margin-top: clamp(96px, 12vw, 180px); }
.bande img { width: 100%; height: clamp(320px, 56vw, 760px); object-fit: cover; }
.bande figcaption { padding: 12px var(--marge) 0; font-size: var(--t-petit); color: var(--muted); }
.bande-double { display: grid; grid-template-columns: 2fr 1fr; gap: 0; }
.bande-double img { height: clamp(260px, 40vw, 620px); }
.bande-double figcaption { grid-column: 1 / -1; }

/* Audit : le ticket */
.audit { margin-top: clamp(96px, 12vw, 180px); background: var(--blue); color: var(--paper); padding: clamp(80px, 9vw, 140px) var(--marge); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.audit-texte { grid-column: 1 / 6; }
.audit-texte p { margin-top: 24px; font-size: 20px; max-width: 30ch; }
.ticket { grid-column: 7 / 12; background: var(--paper); color: var(--ink); padding: 32px 28px 56px; font-size: 16px; font-variant-numeric: tabular-nums; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px)); }
.ticket h3 { font-size: 18px; letter-spacing: -0.01em; margin-top: 28px; color: var(--navy); }
.ticket h3:first-child { margin-top: 0; }
.ligne { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.ligne span { flex: 0 1 auto; }
.ligne i { flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted var(--sky); transform: translateY(-4px); }
.ligne b { flex: 0 0 auto; font-weight: 600; color: var(--blue); text-align: right; }
.ligne-fin { margin: 32px -28px 0; padding: 12px 28px; background: var(--navy); color: var(--paper); justify-content: space-between; }
.ligne-fin b { color: var(--sky); }

/* Victor */
.victor { padding: clamp(96px, 12vw, 180px) var(--marge); }
.recit { columns: 2; column-gap: 32px; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.22; color: var(--muted); text-align: justify; hyphens: auto; }
.recit strong { color: var(--ink); font-weight: 700; }
.recit mark { color: var(--ink); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.m1 { background: #D3E9F7; }
.m2 { background: var(--sky); }
.m3 { background: #A9D4F0; }
.recit-lien { display: inline; background: var(--navy); color: var(--paper); text-decoration: none; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background var(--rapide); }
.recit-lien:hover { background: var(--blue); }
.photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 72px; align-items: end; }
.photos img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* Preuves */
.preuves { background: var(--soft); padding: clamp(96px, 12vw, 180px) var(--marge); }
.preuves-titre span { display: block; }
.preuves-titre span + span { padding-left: calc(2 * (100% / 12)); }
.preuves table { width: 100%; margin-top: 72px; border-collapse: collapse; font-size: 17px; }
.preuves td { padding: 16px 12px; vertical-align: baseline; }
.preuves td:first-child { width: 16%; color: var(--muted); }
.preuves td:nth-child(2) { width: 34%; font-weight: 600; }
.preuves td:nth-child(3) { width: 26%; color: var(--muted); }
.preuves td:last-child { text-align: right; font-family: "Bodoni", Georgia, serif; font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); color: var(--blue); }
.preuves tbody tr:nth-child(odd) { background: var(--paper); }

/* Appel : tout le bandeau est le lien */
.appel { position: relative; display: block; min-height: 60svh; background: var(--blue); color: var(--paper); text-decoration: none; overflow: hidden; transition: background 0ms, color 0ms; }
.appel:hover, .appel:focus-visible { background: var(--sky); color: var(--ink); }
.appel-phrase { position: absolute; top: 28px; left: var(--marge); max-width: 34ch; font-size: 20px; font-weight: 600; }
.appel-fleche { position: absolute; top: 24px; right: var(--marge); transition: transform var(--rapide) var(--sortie); }
.appel:hover .appel-fleche { transform: translate(6px, -6px); }
.appel-mot { position: absolute; left: var(--marge); bottom: 24px; font-size: clamp(96px, 23vw, 380px); line-height: .78; }

/* Pied */
.pied { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--navy); color: var(--paper); padding: 40px var(--marge) 20px; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 16px; }
.pied-colonnes div { display: flex; flex-direction: column; gap: 6px; }
.pied-colonnes p { font-weight: 600; }
.pied-colonnes a, .pied-colonnes span { color: #C9D6E6; text-decoration: none; }
.pied-colonnes a:hover { color: var(--paper); text-decoration: underline; }
.credits a { text-decoration: underline !important; }
.pied-marque { grid-row: 3; font-size: 11.2vw; line-height: .85; white-space: nowrap; color: var(--sky); }
.pied-legal { grid-row: 4; margin-top: 20px; font-size: 13px; color: #C9D6E6; }

/* Entrées : seulement si le script tourne, jamais sur le premier écran */
.js .anime { opacity: 0; transform: translateY(24px); transition: opacity 260ms var(--sortie), transform 260ms var(--sortie); }
.js .anime.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .anime { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0ms !important; }
}

/* Téléphone */
@media (max-width: 760px) {
  .barre nav a:not(.bouton) { display: none; }
  .barre .bouton { padding: 10px 14px; font-size: 15px; }
  .marque { font-size: 19px; }
  .hero::after { inset: 46% 0 0 0; }
  .hero-titre { top: 46%; }
  .titre { font-size: 14vw; }
  .titre-haut { clip-path: inset(0 0 50% 0); }
  .hero-bas { flex-direction: column; align-items: stretch; text-align: left; padding-bottom: 40px; }
  .hero-phrase { font-size: 17px; }
  .bouton-clair { text-align: center; }
  .recherches-tete h2, .recherches-tete p, .recherches-fin span, .recherches-fin a { grid-column: 1 / -1; justify-self: start; }
  .essai select { min-width: 0; width: 100%; }
  .essai label { flex: 1 1 100%; }
  .specimens { grid-template-columns: 1fr; }
  .specimen { height: 38svh; min-height: 260px; }
  .geant { font-size: 24vw; }
  .bande-double { grid-template-columns: 1fr; }
  .audit-texte, .ticket { grid-column: 1 / -1; }
  .ticket { padding: 24px 18px 48px; }
  .ligne { flex-wrap: wrap; }
  .ligne span { flex-basis: 100%; }
  .ligne i { display: none; }
  .ligne b { text-align: left; }
  .ligne-fin { margin-inline: -18px; padding-inline: 18px; }
  .recit { columns: 1; font-size: 20px; line-height: 1.3; text-align: left; hyphens: manual; }
  .photos { grid-template-columns: 1fr; }
  .preuves table, .preuves tbody, .preuves tr, .preuves td { display: block; width: auto !important; }
  .preuves tr { padding: 14px 12px; }
  .preuves td { padding: 0; text-align: left !important; }
  .preuves-titre span + span { padding-left: 12vw; }
  .appel { min-height: 46svh; }
  .appel-phrase { font-size: 17px; max-width: 22ch; }
  .appel-fleche { width: 32px; height: 32px; }
  .appel-mot { font-size: 25vw; }
  .pied-colonnes { grid-template-columns: 1fr 1fr; row-gap: 32px; font-size: 15px; }
  .pied-marque { font-size: 13.5vw; white-space: normal; }
}
.barre a { pointer-events: auto; }
