:root {
  --blue: #1f5aa6;
  --blue-dark: #143f78;
  --blue-light: #e8f0fa;
  --ink: #1b2430;
  --muted: #5b6675;
  --line: #d9e0ea;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ok: #1e7a46;
  --busy: #b3261e;
  --radius: 10px;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.logo-mark { background: var(--blue); color: #fff; padding: 6px 10px; border-radius: 4px; letter-spacing: .5px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 6px; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-light); color: var(--blue-dark); }
.nav a.btn, .nav a.btn[aria-current="page"] { color: #fff; background: var(--blue); }
.nav a.btn:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-small { padding: 7px 12px; font-size: .9rem; }
.btn-danger { background: var(--busy); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Hero: band like the business card */
.hero { background: linear-gradient(90deg, #fff 0 58%, var(--blue) 58% 66%, var(--bg-alt) 66%); padding: 70px 0; }
.hero-inner { max-width: 620px; background: rgba(255,255,255,.96); padding: 8px 0; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 16px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); font-weight: 700; font-size: .85rem; margin: 0 0 8px; }

.page-head { background: var(--blue); color: #fff; padding: 44px 0; }
.page-head h1 { margin: 0 0 8px; font-size: 2rem; }
.page-head p { margin: 0; opacity: .92; max-width: 680px; }

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.7rem; margin: 0 0 12px; }
h3 { margin: 0 0 8px; }
.section-intro { color: var(--muted); max-width: 680px; margin: 0 0 28px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  color: #fff; background: linear-gradient(135deg, rgba(31,90,166,.92), rgba(56,140,230,.72));
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 6px 16px rgba(31,90,166,.25); }
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: linear-gradient(135deg, rgba(31,90,166,1), rgba(56,140,230,.9)); }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card-accent { border-left: 6px solid var(--blue); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.cta-band { background: var(--blue); color: #fff; padding: 40px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn { background: #fff; color: var(--blue); }
.cta-band .btn:hover { background: var(--blue-light); }

/* Forms */
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #b9c4d3; border-radius: 8px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-light); border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { color: var(--muted); font-size: .88rem; }
.notice { padding: 14px 16px; border-radius: 8px; margin: 14px 0; }
.notice.ok { background: #e6f4ec; color: var(--ok); border: 1px solid #b7dcc6; }
.notice.err { background: #fbeaea; color: var(--busy); border: 1px solid #efc2c0; }
.hp { position: absolute; left: -9999px; }

/* Admin */
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { background: #0f2a4f; color: #cfd9e8; padding: 40px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .grid { margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer p { margin: 0 0 6px; }
.copy { border-top: 1px solid #24426d; padding-top: 16px; font-size: .85rem; }

/* Boutons flottants appel + SMS (semi-transparents) */
.contact-fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; gap: 10px; }
.fab { display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700;
  border: 1px solid rgba(255,255,255,.55); box-shadow: 0 6px 20px rgba(15,42,79,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .15s, background-color .15s; }
.fab:hover, .fab:focus-visible { color: #fff; transform: translateY(-2px); }
.fab-call { background: rgba(21, 128, 61, .8); }
.fab-call:hover, .fab-call:focus-visible { background: rgba(21, 128, 61, .96); }
.fab-sms { background: rgba(31, 90, 166, .78); }
.fab-sms:hover, .fab-sms:focus-visible { background: rgba(31, 90, 166, .95); }
.fab-wa { background: rgba(37, 211, 102, .78); }
.fab-wa:hover, .fab-wa:focus-visible { background: rgba(37, 211, 102, .95); }
.fab-call svg { animation: ring 2.8s ease-in-out infinite; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 93% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .fab-call svg { animation: none; } .fab { transition: none; } }

@media (max-width: 1150px) {
  .hero { background: #fff; border-left: 10px solid var(--blue); }
}
.logo, .nav a { white-space: nowrap; }
/* Menu déroulant « Meny » dès la tablette (le menu complet ne tient qu'au-delà de ~1020 px) */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(15,42,79,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav a.btn { margin-top: 6px; text-align: center; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 1.8rem; }
  .contact-fab { right: 12px; bottom: 12px; gap: 8px; }
  .fab { padding: 13px; justify-content: center; }
  .fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fab svg { width: 24px; height: 24px; }
  .site-footer { padding-bottom: 80px; }
}

/* Texte long (politique) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 32px; }
.prose table { margin: 8px 0 16px; }
mark { background: #fff3bf; padding: 0 4px; }

/* Pied de page : listes de liens */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq details[open] summary { color: var(--blue); }
.faq details p { margin-top: 0; }

/* Galerie photos */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-6 { grid-template-columns: repeat(6, 1fr); }
.photo { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.photo a { display: block; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; transition: transform .25s; }
.photo a:hover img { transform: scale(1.03); }
.photo figcaption { padding: 8px 10px; font-size: .88rem; color: var(--muted); }
.card-photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
@media (max-width: 900px) { .gallery, .gallery-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery, .gallery-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 20, 35, .88); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 8px; display: block; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.lightbox .lb-close, .lightbox .lb-nav { position: fixed; background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; width: 46px; height: 46px; font-size: 1.4rem; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }

/* Bandeau garantie (toutes les pages) */
.garanti-band { background: linear-gradient(90deg, #0f2a4f, var(--blue)); color: #fff; }
.garanti-band .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; text-align: center; flex-wrap: wrap; }
.garanti-band svg { color: #ffd54a; flex: none; }
.garanti-band p { margin: 0; }
.garanti-band strong { font-size: 1.55rem; letter-spacing: .5px; color: #ffd54a; text-transform: uppercase; margin-right: 6px; }
.garanti-band span { font-size: 1.05rem; }
.garanti-band a { color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 5px 14px; text-decoration: none; font-size: .9rem; }
.garanti-band a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Badge garantie (accueil) */
.hero-wrap { position: relative; }
.garanti-seal { position: absolute; right: 20px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe27a, #f5b800); color: #0f2a4f; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 10px 30px rgba(15,42,79,.35), inset 0 0 0 6px rgba(255,255,255,.55);
  border: 3px dashed rgba(15,42,79,.35); transition: transform .2s; }
.garanti-seal:hover { color: #0f2a4f; transform: translateY(-50%) rotate(0deg) scale(1.04); }
.seal-num { font-size: 5rem; font-weight: 900; line-height: 1; }
.seal-txt { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; text-align: left; }
@media (max-width: 1150px) { .garanti-seal { right: 24px; } }
@media (max-width: 900px) {
  .garanti-seal { position: static; transform: rotate(-4deg); width: 140px; height: 140px; margin: 0 0 20px; gap: 4px; }
  .garanti-seal:hover { transform: rotate(0) scale(1.03); }
  .seal-num { font-size: 3.6rem; }
  .seal-txt { font-size: .82rem; }
}
@media (max-width: 760px) {
  .garanti-band .wrap { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .garanti-band strong { font-size: 1.3rem; display: block; margin: 0; }
  .garanti-band span { font-size: .9rem; }
  .garanti-band svg { width: 28px; height: 28px; }
  .garanti-band a { display: none; }
}

/* Page « Ring och boka » */
.btn-big { font-size: 1.25rem; padding: 16px 26px; }
.call-card h2 { font-size: 2.4rem; color: var(--blue); margin: 4px 0 12px; }
.call-alt { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tablette : boutons flottants en icônes rondes (moins encombrants) */
@media (max-width: 1020px) {
  .contact-fab { right: 12px; bottom: 12px; gap: 8px; }
  .fab { padding: 13px; justify-content: center; }
  .fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fab svg { width: 24px; height: 24px; }
}

/* Téléphone : badge garantie plus petit, à droite du titre, pour garder le bouton d'appel visible */
@media (max-width: 560px) {
  .garanti-seal { float: right; width: 92px; height: 92px; margin: 0 0 6px 10px; gap: 2px; border-width: 2px; box-shadow: 0 6px 16px rgba(15,42,79,.3), inset 0 0 0 4px rgba(255,255,255,.55); }
  .seal-num { font-size: 2.4rem; }
  .seal-txt { font-size: .58rem; }
  .hero { padding: 28px 0; }
  .hero h1 { font-size: 1.6rem; }
  .hero p.lead { font-size: 1rem; margin-bottom: 18px; }
}
