/* Hallmark · custom (brand-led: Myline Travel logo, pink + plum) · genre playful · posture: committed · nav: wordmark, service links, one WhatsApp action · footer: logo beside three short lists · hero: split, photo right · job: contact on WhatsApp · signature: the Bosphorus photo wearing the Myline badge · deal: manual */
/* critique: a brochure that sells by pictures and one green-light action; everything else is quiet plum type on warm white */

:root {
  --col: 40px;
  --fond: #fff8fb;
  --surface: #fffbfd;
  --rose: #d81b72;
  --rose-fonce: #a8105a;
  --rose-pale: #fde7f1;
  --prune: #3d0f37;
  --texte: #4b2645;
  --doux: #7a5873;
  --trait: #f2d3e3;
  --ciel: #e9f3fa;
  --blanc: #fffafc;
  --ombre: rgba(61, 15, 55, 0.12);
  --focus: #6f2bd1;

  --titre: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --corps: "Figtree", "Segoe UI", system-ui, sans-serif;

  --r-grand: 28px;
  --r-moyen: 18px;
  --r-pilule: 999px;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --pas: clamp(56px, 8vw, 104px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--prune);
  line-height: 1.08;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.saut { position: absolute; left: 12px; top: -60px; background: var(--prune); color: var(--blanc); padding: 12px 16px; border-radius: var(--r-moyen); z-index: 10; }
.saut:focus-visible { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.picto { width: 64px; height: 64px; color: var(--rose); }

/* ---------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.5em;
  border: 2px solid var(--rose); border-radius: var(--r-pilule);
  background: var(--rose); color: var(--blanc);
  font: 600 1.05rem/1 var(--corps); text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.btn:hover { background: var(--rose-fonce); border-color: var(--rose-fonce); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn span { white-space: nowrap; }
.btn--petit { min-height: 44px; padding: 0 1.1em; font-size: 0.97rem; }
.btn--ligne { background: transparent; color: var(--rose-fonce); }
.btn--ligne:hover { background: var(--rose-pale); border-color: var(--rose-fonce); }
.lien { color: var(--rose-fonce); font-weight: 600; text-underline-offset: 4px; background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 0.4em; }
.lien:hover { color: var(--prune); }
.lien .ico { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- en-tête */
.entete { background: var(--fond); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 5; }
.entete__rang { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.2rem/1 var(--titre); color: var(--prune); }
.marque img { width: 64px; height: auto; }
.menu { margin-left: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu__large { display: flex; gap: 4px; }
.menu__large a, .menu__mobile a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: var(--r-pilule); text-decoration: none; font-weight: 500; color: var(--texte); transition: background-color 160ms ease, color 160ms ease; }
.menu__large a:hover, .menu__mobile a:hover { background: var(--rose-pale); color: var(--prune); }
.menu a[aria-current="page"] { color: var(--rose-fonce); background: var(--rose-pale); }
.menu__mobile { display: none; position: relative; }
.menu__mobile summary { list-style: none; cursor: pointer; padding: 12px 16px; border: 1px solid var(--trait); border-radius: var(--r-pilule); font-weight: 600; color: var(--prune); }
.menu__mobile summary::-webkit-details-marker { display: none; }
.menu__mobile ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: var(--r-moyen); padding: 8px; min-width: 240px; box-shadow: 0 18px 40px var(--ombre); }

@media (max-width: 1180px) {
  .menu__large { display: none; }
  .menu__mobile { display: block; }
}
@media (max-width: 520px) {
  .marque span { display: none; }
  .entete .btn--petit { padding: 0 0.9em; }
}

/* ---------- héros de l'accueil */
.hero { padding: clamp(32px, 5vw, 64px) 0 var(--pas); }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--col); align-items: center; }
.hero__phrase { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--doux); max-width: 32ch; }
.hero__photo { position: relative; margin: 0; }
.hero__img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: center 35%; border-radius: var(--r-grand); box-shadow: 0 30px 60px var(--ombre); }
.hero__logo { position: absolute; left: -28px; bottom: -28px; width: clamp(140px, 15vw, 200px); height: auto; background: var(--blanc); border-radius: var(--r-moyen); padding: 12px 16px; box-shadow: 0 16px 36px var(--ombre); }

@media (max-width: 860px) {
  .hero__grille { grid-template-columns: minmax(0, 1fr); }
  .hero__img { aspect-ratio: 4 / 3.2; }
  .hero__logo { left: 16px; bottom: -24px; }
}

/* ---------- sections */
.bloc { padding: var(--pas) 0; }
.bloc--serre { padding-top: 24px; }
.bloc--rose { background: var(--rose-pale); }

.tuiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col); }
.tuile a { display: block; text-decoration: none; }
.tuile__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-moyen); margin-bottom: 16px; transition: transform 240ms ease; }
.tuile__img--aplat { display: grid; place-items: center; background: var(--rose-pale); }
.tuile a:hover .tuile__img { transform: translateY(-4px); }
.tuile h3 { margin-bottom: 0.25em; }
.tuile a:hover h3 { color: var(--rose-fonce); }
.tuile p { color: var(--doux); margin: 0; }
/* 7 services : le premier (Visas) prend deux colonnes, pour remplir deux rangées complètes */
.tuile:first-child { grid-column: span 2; }
.tuile:first-child .tuile__img { aspect-ratio: 8 / 3; }
@media (max-width: 900px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tuiles { grid-template-columns: minmax(0, 1fr); } .tuile:first-child { grid-column: auto; } .tuile:first-child .tuile__img { aspect-ratio: 4 / 3; } }

.visa-rang { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--col); align-items: start; }
.visa-rang p { color: var(--doux); }
.pays-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pays { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--surface); border-radius: var(--r-moyen); text-decoration: none; font-weight: 600; color: var(--prune); transition: background-color 160ms ease, transform 160ms ease; }
.pays img { border-radius: 4px; box-shadow: 0 0 0 1px var(--trait); }
.pays:hover { background: var(--blanc); transform: translateX(4px); color: var(--rose-fonce); }
@media (max-width: 800px) { .visa-rang { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 400px) { .pays-liste { grid-template-columns: minmax(0, 1fr); } }

.bateau { background: var(--ciel); }
.bateau__grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--col); align-items: center; }
.bateau p { color: var(--doux); }
.bateau__img { width: 100%; height: auto; }
.compagnies { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.compagnies li { padding: 8px 16px; border-radius: var(--r-pilule); background: var(--surface); color: var(--prune); font-weight: 600; font-size: 0.97rem; }
@media (max-width: 800px) { .bateau__grille { grid-template-columns: minmax(0, 1fr); } }

.etapes__liste { list-style: none; counter-reset: etape; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col); }
.etapes__liste li { counter-increment: etape; border-top: 2px solid var(--trait); padding-top: 20px; }
.etapes__liste li::before { content: counter(etape); display: block; font: 700 2.6rem/1 var(--titre); color: var(--rose); margin-bottom: 12px; }
.etapes__liste p { color: var(--doux); margin: 0; }
@media (max-width: 760px) { .etapes__liste { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- formulaire */
.formulaire { background: var(--prune); color: var(--blanc); }
.formulaire h2 { color: var(--blanc); }
.formulaire__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--col); align-items: start; }
.formulaire__intro p { color: var(--trait); }
.formulaire__tels a { color: var(--blanc); font-weight: 600; white-space: nowrap; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; background: var(--surface); color: var(--texte); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-grand); }
.champ { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: 0.95rem; color: var(--prune); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1.5px solid var(--trait); border-radius: 12px; background: var(--fond);
  font: 400 1rem/1.4 var(--corps); color: var(--texte);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--rose); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; background: var(--blanc); }
.champ input:user-invalid { border-color: var(--rose-fonce); }
.champ textarea { resize: vertical; }
.form__note { margin: 0; color: var(--doux); font-size: 0.95rem; min-height: 1.4em; }
@media (max-width: 860px) { .formulaire__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pages intérieures */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); }
.page-hero--court { padding-bottom: 24px; }
.page-hero__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-grand); }
.page-hero__img--aplat { display: grid; place-items: center; background: var(--rose-pale); }
.page-hero__img--aplat .picto { width: 120px; height: 120px; }
.ariane { font-size: 0.95rem; color: var(--doux); margin-bottom: 20px; }
.ariane a { color: var(--doux); text-underline-offset: 3px; }
.ariane a:hover { color: var(--rose-fonce); }
@media (max-width: 860px) { .page-hero__grille { grid-template-columns: minmax(0, 1fr); } }

.offres { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col); }
.offre__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-moyen); margin-bottom: 20px; }
.offre__img--aplat { display: grid; place-items: center; background: var(--rose-pale); }
.offre__img--bateau { object-fit: contain; background: var(--ciel); padding: 16px; }
.offre__texte p { color: var(--doux); }
@media (max-width: 700px) { .offres { grid-template-columns: minmax(0, 1fr); } }

.cartes-pays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col); }
.carte-pays { display: block; text-decoration: none; }
.carte-pays__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-moyen); margin-bottom: 12px; transition: transform 240ms ease; }
.carte-pays:hover .carte-pays__img { transform: translateY(-4px); }
.carte-pays__nom { display: flex; align-items: center; gap: 12px; font: 700 1.2rem/1.2 var(--titre); color: var(--prune); }
.carte-pays__nom img { border-radius: 3px; }
.carte-pays:hover .carte-pays__nom { color: var(--rose-fonce); }
.carte-pays__type { display: block; color: var(--doux); font-size: 0.95rem; margin-top: 4px; }
.note { margin-top: 40px; color: var(--doux); }
@media (max-width: 960px) { .cartes-pays { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cartes-pays { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }

/* visas par continent */
.continent__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.continent__tete h2 { margin: 0; }
.continent { padding-top: 48px; scroll-margin-top: 96px; }
.continent:first-child { padding-top: 16px; }
.continents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.continent-tuile { display: block; text-decoration: none; }
.continent-tuile__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-moyen); margin-bottom: 12px; transition: transform 240ms ease; }
.continent-tuile:hover .continent-tuile__img { transform: translateY(-4px); }
.continent-tuile__nom { display: block; font: 700 1.25rem/1.2 var(--titre); color: var(--prune); }
.continent-tuile:hover .continent-tuile__nom { color: var(--rose-fonce); }
.continent-tuile__pays { display: block; color: var(--doux); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 960px) { .continents { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .continents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
.puces { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-block; padding: 8px 16px; border-radius: var(--r-pilule); background: var(--rose-pale); color: var(--prune); font-weight: 600; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.puce:hover { background: var(--rose); color: var(--blanc); }
.puce:active { transform: translateY(1px); }

.docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col); align-items: start; }
.docs > div:first-child p { color: var(--doux); }
.docs__liste { background: var(--rose-pale); border-radius: var(--r-grand); padding: clamp(24px, 3vw, 40px); }
.docs__type { font: 700 1.25rem/1.2 var(--titre); color: var(--prune); }
.docs__liste ul { margin: 0 0 24px; padding-left: 1.2em; }
.docs__liste li { padding: 4px 0; }
.docs__liste li::marker { color: var(--rose); }
@media (max-width: 800px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- pied de page */
.pied { background: var(--fond); padding: 64px 0 40px; border-top: 1px solid var(--trait); }
.pied__haut { display: grid; grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr)); gap: var(--col); }
.pied h2 { font-family: var(--corps); font-size: 1rem; font-weight: 600; color: var(--prune); margin-bottom: 12px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { display: inline-block; padding: 4px 0; color: var(--texte); text-decoration: none; }
.pied__titre-adr { margin-top: 20px; }
.pied address { font-style: normal; line-height: 1.6; }
.pied address a { color: var(--rose-fonce); text-underline-offset: 3px; }
.pied li a:hover { color: var(--rose-fonce); text-decoration: underline; text-underline-offset: 3px; }
.pied__marque img { width: 160px; height: auto; }
.pied__bas { margin: 40px 0 8px; color: var(--doux); font-size: 0.95rem; }
.pied__credits { color: var(--doux); font-size: 0.85rem; margin: 0; }
.pied__credits a { color: var(--doux); text-underline-offset: 3px; }
.pied__credits a:hover { color: var(--rose-fonce); }
.credits { margin: 32px 0 0; padding-left: 1.2em; color: var(--doux); font-size: 0.95rem; max-width: 70ch; }
.credits li { padding: 4px 0; }
@media (max-width: 760px) { .pied__haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .tuile a:hover .tuile__img, .carte-pays:hover .carte-pays__img, .pays:hover, .continent-tuile:hover .continent-tuile__img { transform: none; }
}
