/* Kenvio — site vitrine. Couleurs reprises du Kenvio CRM. */
:root {
  --orange: #f28a2e;
  --orange-dark: #c9561c;
  --copper: #6b2a0e;
  --ink: #0e141b;
  --ink-2: #18212b;
  --ink-3: #3a4754;
  --mute: #cfd6dd;
  --stone: #f6f4f1;
  --line: #e7e2dc;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-2);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Petits titres au-dessus des grands titres */
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 16px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: #f5a35c; }
.btn.ghost { background: transparent; color: var(--white); border: 1.5px solid #4a5765; }
.btn.ghost:hover { border-color: var(--orange); }
.btn.line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-2); }
.btn.line:hover { border-color: var(--orange-dark); color: var(--orange-dark); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.top .logo img { height: 56px; width: auto; margin-left: -10px; } /* le PNG a des marges blanches */
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--orange-dark); }
.top nav .lang { border: 1.5px solid var(--ink-2); border-radius: 999px; padding: 4px 12px; font-size: 12px; letter-spacing: .04em; }
.top nav .btn { padding: 9px 16px; font-size: 13px; color: var(--ink); }
@media (max-width: 900px) { .top nav a:not(.lang):not(.btn) { display: none; } }
@media (max-width: 680px) { .top .logo img { height: 48px; } .top nav .btn { display: none; } }

/* Bandeau principal : texte à gauche, photo à droite */
.hero { position: relative; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--copper) 100%);
  clip-path: polygon(38% 0, 100% 0, 62% 50%, 100% 100%, 38% 100%, 0 50%);
  opacity: .16;
}
.hero .text { position: relative; padding: 88px 56px 88px max(20px, calc((100vw - 1160px) / 2 + 20px)); display: flex; flex-direction: column; justify-content: center; }
.hero .kicker { color: var(--orange); }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; font-weight: 800; margin: 0 0 24px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--mute); max-width: 560px; margin: 0 0 34px; }
.hero .photo { position: relative; }
.hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(14,20,27,0) 28%); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .photo { height: 280px; order: -1; }
  .hero .photo::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(14,20,27,0) 45%); }
  .hero .text { padding: 36px 20px 64px; }
}

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--stone); }
h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; font-weight: 800; color: var(--ink); margin: 0 0 16px; letter-spacing: -.015em; }
.intro { max-width: 640px; color: var(--ink-3); margin: 0 0 44px; font-size: 17px; }
@media (max-width: 680px) { section { padding: 68px 0; } }

/* Grande phrase « Notre rôle » */
.statement h2 { font-size: clamp(32px, 5.4vw, 68px); line-height: 1.06; max-width: 1000px; margin-bottom: 24px; }
.statement h2 span { color: var(--orange-dark); }
.statement .intro { margin-bottom: 30px; }

/* Deux colonnes : liste + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .media { position: sticky; top: 100px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .media { order: -1; }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .media { position: static; aspect-ratio: 16 / 10; order: -1; }
}

/* Liste numérotée des services */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row .n { font-weight: 800; color: var(--orange-dark); font-size: 15px; padding-top: 3px; }
.row h3 { margin: 0; font-size: 21px; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.row p { grid-column: 2; margin: 4px 0 0; color: var(--ink-3); font-size: 15.5px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--orange-dark); padding: 3px 9px; border-radius: 999px; }

/* Cartes des méthodes */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.card p { margin: 0; color: var(--ink-3); font-size: 15px; }
.card .metric { display: block; font-size: 38px; font-weight: 800; color: var(--orange-dark); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; }

/* Étapes de l'approche */
.steps { counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.step { border-top: 3px solid var(--orange); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--orange-dark); margin-bottom: 6px; }
.step h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.step p { margin: 0; color: var(--ink-3); font-size: 15px; }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Questions fréquentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 600; color: var(--orange-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--orange-dark); }
.faq details p { margin: -6px 0 22px; color: var(--ink-3); font-size: 15.5px; max-width: 640px; }
.faq-side .btn { margin-top: 8px; }

/* Bandeau photo avec appel à l'action */
.band { position: relative; color: var(--white); padding: 130px 0; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,27,.94) 0%, rgba(14,20,27,.78) 50%, rgba(14,20,27,.45) 100%); z-index: 1; }
.band .wrap { position: relative; z-index: 2; }
.band .kicker { color: var(--orange); }
.band h2 { color: var(--white); max-width: 720px; font-size: clamp(30px, 4.4vw, 54px); }
.band p { color: var(--mute); max-width: 560px; font-size: 17px; margin: 0 0 32px; }
@media (max-width: 680px) { .band { padding: 90px 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid .mail { margin-top: 22px; font-size: 15px; color: var(--ink-3); }
.contact-grid .mail a { font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form label .opt { font-weight: 500; color: var(--ink-3); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink-2); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,138,46,.18); }
.form .note { font-size: 13px; color: var(--ink-3); margin: 0; }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* Bouton de réservation toujours visible */
/* Caché sur le bandeau principal (qui a déjà son bouton), il apparaît dès qu'on fait défiler la page. */
.float-book { position: fixed; right: 20px; bottom: 20px; z-index: 30; box-shadow: 0 10px 30px rgba(14,20,27,.28); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background .15s; }
.float-book.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 560px) { .float-book { left: 16px; right: 16px; bottom: 14px; justify-content: center; } }

/* Pied de page */
footer { background: #090d12; color: #8a96a3; font-size: 13px; padding: 34px 0 96px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #c4ccd4; text-decoration: none; }
footer a:hover { color: var(--orange); }

/* Pages légales et page de remerciement */
.legal { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); color: var(--ink); margin: 0 0 6px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal .actions { margin-top: 28px; }
