/* =====================================================================
   STYLE DU SITE — SARL VIDIEU
   Couleurs reprises du logo (bleu marine + jaune doré).
   Changez les valeurs ci-dessous et tout le site se met à jour.
   ===================================================================== */

:root {
  --navy:        #1c3d6e;   /* bleu principal du logo */
  --navy-dark:   #142c50;
  --navy-darker: #0f2340;
  --gold:        #e8a31e;   /* jaune doré du logo (accent) */
  --gold-dark:   #cf8d10;
  --ink:         #1f2733;   /* texte principal */
  --muted:       #5b6675;   /* texte secondaire */
  --bg:          #ffffff;
  --bg-soft:     #f5f7fa;
  --border:      #e4e8ee;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 3px rgba(20,44,80,.08);
  --shadow-md:   0 10px 30px rgba(20,44,80,.10);
  --largeur:     1100px;
  --font-head:   "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:   "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Base --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-dark); margin: 0 0 .6rem; }
a { color: var(--navy); }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.center-narrow { max-width: 720px; margin: 0 auto 2rem; text-align: center; }

/* --- Icônes SVG --- */
.icon, .icon-sm, .icon-lg { flex-shrink: 0; vertical-align: middle; }
.icon { width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }

/* --- Accessibilité : focus visible --- */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible,
textarea:focus-visible, label:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--navy-darker);
  padding: .8rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-family: var(--font-head);
  border: 2px solid var(--gold); cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; font-size: 1.05rem; padding: .95rem 1.5rem; }
.btn-light { background: #fff; color: var(--navy-dark); border-color: #fff; }
.btn-light:hover { background: #eef2f7; border-color: #eef2f7; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.link-more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  text-decoration: none;
}
.link-more:hover { color: var(--gold-dark); }

/* --- En-tête / navigation --- */
.site-header {
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 88px; }
.logo { display: flex; align-items: center; text-decoration: none; padding: 6px 0; margin-right: auto; }
.logo-img { max-height: 72px; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 800; color: var(--navy-dark); font-size: 1.25rem; display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { font-size: .68rem; font-weight: 600; color: var(--gold-dark); letter-spacing: .02em; }

.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); padding: .55rem .8rem;
  border-radius: var(--radius-sm); font-weight: 500;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.site-nav a.active { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta a { color: var(--navy-darker); }
.menu-toggle, .menu-button { display: none; }
.menu-button { color: var(--navy-dark); }

/* --- Hero (accueil) --- */
.hero {
  position: relative; overflow: hidden;
  color: #fff; padding: 5rem 0; min-height: 540px;
  display: flex; align-items: center;
}
/* Mosaïque de 4 photos en fond */
.hero-mosaic {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr;
}
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
/* Voile bleu marine semi-transparent (garde l'identité + lisibilité du texte) */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(232,163,30,.22), transparent 60%),
    linear-gradient(135deg, rgba(28,61,110,.70) 0%, rgba(20,41,74,.62) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--gold); background: rgba(255,255,255,.08);
  padding: .35rem .85rem; border-radius: 999px; margin: 0 0 1.2rem;
}
.hero h1 { color: #fff; font-size: 2.9rem; font-weight: 800; margin: 0 0 .4rem; letter-spacing: -.01em; }
.hero h1 span { display: block; font-size: 1.35rem; font-weight: 600; color: var(--gold); margin-top: .35rem; }
.hero-sub { font-size: 1.2rem; max-width: 620px; opacity: .95; }
.hero-actions { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* --- Bandeau de confiance --- */
.trust-band { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.6rem 20px;
}
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; }
.trust-item .icon { color: var(--navy); background: rgba(28,61,110,.08); padding: 8px; width: 40px; height: 40px; border-radius: 10px; }

/* --- Sections --- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin: 0 0 .5rem; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin: .7rem auto 0; }
.section-intro { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 2.4rem; }

/* --- Cartes de services --- */
.services-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: box-shadow .18s ease, transform .18s ease, border-color .18s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #d3dbe6; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,163,30,.18), rgba(28,61,110,.10));
  color: var(--navy); margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.15rem; margin: .2rem 0 .5rem; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* --- Avis clients --- */
.avis-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.avis-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; margin: 0; box-shadow: var(--shadow-sm); }
.avis-stars { display: inline-flex; gap: 2px; margin-bottom: .6rem; }
.star-on { color: var(--gold); }
.star-off { color: #d8dde4; }
.avis-card blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink); }
.avis-card blockquote::before { content: "« "; color: var(--gold-dark); }
.avis-card blockquote::after { content: " »"; color: var(--gold-dark); }
.avis-card figcaption { color: var(--muted); font-size: .92rem; }
.avis-card figcaption strong { color: var(--navy-dark); font-family: var(--font-head); }
.avis-source::before { content: " — "; }
.avis-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.google-widget { margin-top: 2rem; }

/* --- Avant / Après (intégré à la galerie, même style de carte) --- */
.ba-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ba-badge {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  color: #fff; padding: 3px 9px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.ba-badge.avant { background: var(--navy-dark); }
.ba-badge.apres { background: var(--gold); color: var(--navy-darker); }

/* --- Réseaux sociaux (boutons icône + libellé) --- */
.social-links { display: inline-flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.3rem; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; color: #fff;
  transition: transform .08s ease, box-shadow .15s ease, opacity .15s;
}
.social-btn:hover { box-shadow: var(--shadow-md); opacity: .95; color: #fff; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c 35%, #dc2743 55%, #cc2366 75%, #bc1888); }
.social-fb { background: #1877f2; }
.follow-section .social-links { margin-top: .5rem; }

/* --- Bandeau d'appel à l'action --- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 120%, rgba(232,163,30,.22), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
  color: #fff; padding: 3.4rem 0; text-align: center;
}
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { margin: 0 0 1.5rem; opacity: .95; }
.cta-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* --- En-tête de page intérieure --- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 2.8rem 0; }
.page-hero h1 { margin: 0; font-size: 2.2rem; font-weight: 800; }

/* --- Contenu texte --- */
.page-content { max-width: 760px; }
.page-content h2 { margin-top: 2rem; font-size: 1.4rem; }
.page-content ul { padding-left: 1.2rem; }
.page-content a { color: var(--navy); font-weight: 600; }

/* --- Galerie de réalisations --- */
.galerie { display: grid; gap: 1.2rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.galerie-item { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.galerie-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.galerie-item img { width: 100%; height: 230px; object-fit: cover; }
.galerie-item figcaption { padding: .9rem 1.1rem; }
.galerie-item figcaption strong { font-family: var(--font-head); color: var(--navy-dark); }
.galerie-cat { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--navy-darker); background: rgba(232,163,30,.22); border-radius: 999px; padding: 3px 11px; margin-top: .5rem; }

/* --- Page Contact / Devis --- */
.devis-layout { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr; align-items: start; }
.devis-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.devis-form h2 { font-size: 1.25rem; margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--bg-soft); }
.devis-form h2:not(:first-child) { margin-top: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--navy-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28,61,110,.15);
}
fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 0 0 1.4rem; }
legend { font-family: var(--font-head); font-weight: 700; color: var(--navy-dark); padding: 0 .4rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; margin: .5rem 0; cursor: pointer; color: var(--ink); }
.check input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--navy); cursor: pointer; }
.field-help { font-size: .85rem; color: var(--muted); margin: .35rem 0 .9rem; }
.req { color: var(--gold-dark); }
.notice { background: #fff7e6; border: 1px solid #f3d18a; color: #8a5a00; padding: 1rem 1.2rem; border-radius: var(--radius-sm); max-width: 760px; margin: 0 auto 1.6rem; }
.notice code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }
.notice-info { background: #eef3fb; border-color: #c5d6f0; color: var(--navy, #1c3d6e); }
.notice-info a { color: var(--navy, #1c3d6e); font-weight: 600; }

/* --- Côté droit de l'en-tête (toujours visible) --- */
.header-right { display: flex; align-items: center; gap: .6rem; }

/* --- Bouton de bascule de langue FR / EN (thème navy, lisible sur fond blanc) --- */
.lang-switcher { display: inline-flex; align-items: center; gap: .25rem; }
.lang-switcher .lang-active,
.lang-switcher .lang-link {
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: .22rem .52rem; border-radius: 6px; line-height: 1;
}
.lang-switcher .lang-active { background: var(--navy, #1c3d6e); color: #fff; }
.lang-switcher .lang-link {
  color: var(--navy, #1c3d6e); border: 1px solid var(--navy, #1c3d6e);
  background: #fff; text-decoration: none;
}
.lang-switcher .lang-link:hover { background: var(--navy, #1c3d6e); color: #fff; }

.devis-aside { display: grid; gap: 1.2rem; }
.aside-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.aside-box h2 { font-size: 1.1rem; margin: 0 0 1rem; }

/* Étapes numérotées */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; min-height: 2.2rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Listes contact (footer + aside) */
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .7rem; }
.footer-list .icon-sm { margin-top: .2rem; color: var(--gold); }

/* --- Pied de page --- */
.site-footer { background: var(--navy-darker); color: #c4d0e0; margin-top: 0; }
.footer-grid { display: grid; gap: 1.8rem; padding: 3rem 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer h3 { font-family: var(--font-head); color: #fff; font-size: 1.05rem; margin: 0 0 .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-list .icon-sm { color: var(--gold); }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { display: inline-flex; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--gold); color: var(--navy-darker); }
.footer-bottom { background: rgba(0,0,0,.25); padding: 1rem 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c4d0e0; }
.footer-bottom a:hover { color: var(--gold); }

/* --- Responsive (téléphones / tablettes) --- */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .devis-layout { grid-template-columns: 1fr; }
  .menu-button { display: inline-flex; cursor: pointer; background: none; border: none; padding: 8px; }
  .site-nav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .menu-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; }
  .site-nav a.active { box-shadow: inset 3px 0 0 var(--gold); border-radius: var(--radius-sm); }
  .nav-cta a { justify-content: center; margin-top: .3rem; }
}
@media (max-width: 520px) {
  .hero { padding: 3.5rem 0; min-height: 460px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .field-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

/* --- Respect du "mouvement réduit" (accessibilité) --- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
