/* ===== LJ Télécom — feuille de style (couleurs du logo) ===== */
/* Polices hébergées sur le site (aucun appel à Google) */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400.woff) format('woff')}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500.woff) format('woff')}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600.woff) format('woff')}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700.woff) format('woff')}
@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/inter-800.woff) format('woff')}

:root{
  --sky:#9ddaea;        /* bleu pâle du logo */
  --sky-soft:#e6f5fa;
  --blue:#5ab3e5;       /* bleu du logo */
  --blue-deep:#1f7ab8;  /* bleu foncé pour textes et liens lisibles */
  --ink:#0d0f12;        /* noir du logo */
  --ink-2:#1a1f26;
  --text:#2a2f36;
  --muted:#5f6873;
  --line:#e2e8ee;
  --bg-alt:#f3f8fb;
  --radius:16px;
  --radius-big:90px;    /* le grand coin arrondi du logo */
  --shadow:0 14px 40px rgba(13,15,18,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--text);line-height:1.65;background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-deep)}
h1,h2,h3{font-family:Inter,system-ui,sans-serif;line-height:1.15;margin:0 0 .6em;color:var(--ink)}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem);font-weight:800;letter-spacing:-.01em}
h2{font-size:clamp(1.65rem,3vw,2.35rem);font-weight:800;letter-spacing:-.01em}
h3{font-size:1.18rem;font-weight:700}
.container{width:min(1180px,92%);margin-inline:auto}
.eyebrow{font-family:Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.22em;font-size:.74rem;font-weight:700;color:var(--blue-deep);margin:0 0 .8em}

/* Boutons : noir comme le lettrage du logo, survol bleu */
.btn{display:inline-block;background:var(--ink);color:#fff;text-decoration:none;font-family:Inter,system-ui,sans-serif;font-weight:700;letter-spacing:.02em;padding:.9em 1.6em;border-radius:12px;border:2px solid var(--ink);transition:.2s;cursor:pointer;font-size:.98rem}
.btn:hover{background:var(--blue);border-color:var(--blue);color:var(--ink);transform:translateY(-1px)}
.btn-outline{background:transparent;color:var(--ink)}
.btn-outline:hover{background:var(--sky);border-color:var(--sky)}
.btn-small{padding:.55em 1.1em;font-size:.88rem}
.btn-full{width:100%}

/* En-tête */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:76px}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--ink)}
.brand img{width:46px;height:46px}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-name{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:1.15rem;letter-spacing:.42em}
.brand-tag{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--blue-deep);font-weight:600;margin-top:.2rem}
.nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:1.7rem}
.nav a,.dropdown-btn{color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem;font-family:Inter,system-ui,sans-serif;cursor:pointer}
.dropdown-btn{background:none;border:0;padding:0}
.nav > ul > li > a:not(.btn):hover,.dropdown-btn:hover{color:var(--blue-deep)}
.nav a.btn{color:#fff;padding:.55em 1.1em}
.nav a.btn:hover{color:var(--ink)}
.has-dropdown{position:relative}
.dropdown{position:absolute;top:calc(100% + 16px);left:-1rem;min-width:290px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 45px rgba(13,15,18,.12);padding:.5rem!important;display:none!important;flex-direction:column;gap:0!important}
.dropdown::before{content:"";position:absolute;top:-16px;left:0;right:0;height:16px}
.dropdown a{display:block;padding:.6rem .85rem;border-radius:9px;font-weight:500!important}
.dropdown a:hover{background:var(--sky-soft);color:var(--blue-deep)}
.has-dropdown:hover .dropdown,.has-dropdown.open .dropdown{display:flex!important}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--ink);margin:5px 0;transition:.25s}

/* Accueil */
.hero{padding:clamp(3rem,7vw,5.5rem) 0;background:linear-gradient(180deg,#fff 0%,var(--sky-soft) 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3.5rem;align-items:center}
.hl{color:var(--blue);}
.lead{font-size:1.14rem;color:var(--muted);max-width:34em}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.9rem 0 1.6rem}
.hero-badges{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;font-size:.9rem;color:var(--muted)}
.hero-badges li::before{content:"";display:inline-block;width:8px;height:8px;background:var(--blue);border-radius:2px;margin-right:.5rem;vertical-align:middle}

/* Mosaïque façon logo */
.mosaic{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:500px;margin-left:auto;aspect-ratio:1}
.tile{border-radius:6px;overflow:hidden;position:relative}
.tile img{width:100%;height:100%;object-fit:cover}
.tile-photo{background:var(--sky)}
.corner-tl{border-top-left-radius:var(--radius-big)}
.corner-br{border-bottom-right-radius:var(--radius-big)}
.tile-sky{background:var(--sky);display:flex;flex-direction:column;justify-content:flex-end;padding:1.4rem;color:var(--ink)}
.tile-sky strong{font-family:Inter,system-ui,sans-serif;font-size:clamp(2.2rem,5vw,3.3rem);line-height:1;font-weight:800}
.tile-sky span{font-weight:600;font-size:.95rem}
.tile-blue{background:var(--blue);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:var(--ink);font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:.95rem;text-align:center}
.tile-blue svg{width:42%;max-width:70px;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linejoin:round}

/* Sections */
.section{padding:clamp(3.5rem,8vw,6rem) 0}
.section-alt{background:var(--bg-alt)}
.section-head{text-align:center;max-width:700px;margin:0 auto 3.2rem}
.section-head p:last-child{color:var(--muted)}

/* Services */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.service{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s;position:relative;display:flex;flex-direction:column}
.service:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.service-img{aspect-ratio:16/10;background:var(--sky);overflow:hidden}
.service-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.service:hover .service-img img{transform:scale(1.05)}
.service-body{padding:1.5rem 1.6rem 1.7rem}
.service-body > p{color:var(--muted);margin-top:0}
.service ul{padding-left:1.1rem;margin:0;font-size:.94rem}
.service li{margin:.35rem 0}
.service li::marker{color:var(--blue)}
.service:nth-child(-n+3) .service-body h3::before{content:"";display:block;width:34px;height:4px;border-radius:2px;background:var(--blue);margin-bottom:.8rem}
.service.featured{border:2px solid var(--blue)}
.tag{position:absolute;top:14px;right:14px;z-index:2;background:var(--ink);color:#fff;font-family:Inter,system-ui,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.04em;padding:.35rem .8rem;border-radius:999px}

/* Processus */
.process{background:var(--ink);color:#b9c3cc;padding:3rem 0}
.process-title{color:#fff;font-size:1.3rem;margin-bottom:1.8rem}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:1.4rem}
.steps li{font-size:.9rem;line-height:1.45;border-top:2px solid rgba(157,218,234,.25);padding-top:1rem}
.steps span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px 8px 8px 18px;background:var(--sky);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-weight:800;margin-bottom:.7rem}
.steps li:nth-child(even) span{background:var(--blue)}
.steps strong{display:block;color:#fff;font-family:Inter,system-ui,sans-serif;font-size:1.05rem;margin-bottom:.15rem}

/* À propos */
.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:4rem;align-items:center}
.about-grid > div > p{color:var(--muted)}
.about-visual{position:relative;padding:0 0 3rem 0}
.about-photo{border-radius:8px;border-top-left-radius:var(--radius-big);overflow:hidden;aspect-ratio:9/8;background:var(--sky)}
.about-photo img{width:100%;height:100%;object-fit:cover}
.about-logo{position:absolute;right:-1rem;bottom:0;width:42%;background:#fff;border-radius:18px;padding:1.1rem;box-shadow:var(--shadow)}
.stats{list-style:none;padding:0;margin:2rem 0 0;display:flex;gap:2.5rem;flex-wrap:wrap}
.stats strong{display:block;font-family:Inter,system-ui,sans-serif;font-size:2.2rem;color:var(--ink);line-height:1}
.stats li{border-left:4px solid var(--blue);padding-left:.8rem}
.stats li:nth-child(2){border-color:var(--sky)}
.stats span{font-size:.86rem;color:var(--muted)}

/* Bonnes pratiques */
.practices{max-width:880px;margin:0 auto;display:grid;gap:1rem}
.practices details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 1.5rem;transition:border-color .2s}
.practices details[open]{border-color:var(--sky)}
.practices summary{cursor:pointer;font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:1.04rem;color:var(--ink);padding:1.2rem 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.practices summary::-webkit-details-marker{display:none}
.practices summary::after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--sky-soft);color:var(--blue-deep);font-size:1.3rem;line-height:1}
.practices details[open] summary::after{content:"–";background:var(--blue);color:var(--ink)}
.practices ul{margin:0 0 1.3rem;padding-left:1.1rem;color:var(--muted)}
.practices li{margin:.45rem 0}
.practices li strong{color:var(--ink)}

/* Contact */
.contact{background:var(--ink);color:#b9c3cc;position:relative;overflow:hidden}
.contact::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:var(--blue);opacity:.12;top:-140px;right:-120px}
.contact::after{content:"";position:absolute;width:300px;height:300px;border-radius:0 0 0 160px;background:var(--sky);opacity:.08;bottom:-80px;left:-60px}
.contact h2{color:#fff}
.contact .eyebrow{color:var(--sky)}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:3.5rem;align-items:start;position:relative;z-index:1}
.coords{list-style:none;padding:0;margin:2rem 0 0;display:grid;gap:1.1rem}
.coords li{display:flex;gap:.9rem;align-items:flex-start}
.ci{flex:none;width:40px;height:40px;border-radius:10px;background:rgba(157,218,234,.12);display:grid;place-items:center}
.ci svg{width:20px;height:20px;fill:none;stroke:var(--sky);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.coords li > a,.coords li > span:last-child{padding-top:.45rem}
.coords a{color:#fff;text-decoration:none;font-weight:600}
.coords a:hover{color:var(--sky)}
.contact-form{background:#fff;color:var(--text);border-radius:18px;border-top-left-radius:60px;padding:2.2rem;box-shadow:0 25px 60px rgba(0,0,0,.35);display:grid;gap:1rem}
.contact-form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.contact-form label{display:grid;gap:.35rem;font-size:.88rem;font-weight:600;color:var(--ink);font-family:Inter,system-ui,sans-serif}
.contact-form input,.contact-form select,.contact-form textarea{font:inherit;font-family:Inter,sans-serif;font-weight:400;font-size:.98rem;padding:.75rem .9rem;border:1px solid #cfd8e0;border-radius:10px;background:#fbfdfe;color:var(--text);width:100%}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(90,179,229,.25);background:#fff}
.contact-form textarea{resize:vertical}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin:0;font-size:.95rem;min-height:1.4em}
.form-status.ok{color:#0f7a45;font-weight:600}
.form-status.error{color:#c62828;font-weight:600}
.btn[disabled]{opacity:.6;cursor:wait}

/* Pied de page */
.site-footer{background:#07090b;color:#8a949e;padding:2.8rem 0 2rem;font-size:.9rem}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:1.5rem;align-items:center}
.footer-brand{display:flex;align-items:center;gap:1.3rem}
.footer-brand img{width:90px;flex:none}
.footer-brand p{margin:0;max-width:24em}
.footer-grid nav{display:flex;flex-wrap:wrap;gap:1.3rem;justify-content:flex-end}
.footer-grid a{color:#c4ccd4;text-decoration:none}
.footer-grid a:hover{color:var(--sky)}
.copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.08);padding-top:1.2rem;margin:.6rem 0 0}

/* Consentement */
.contact-form label.consent{display:flex;gap:.65rem;align-items:flex-start;font-family:Inter,system-ui,sans-serif;font-weight:400;font-size:.86rem;color:var(--muted);line-height:1.5}
.consent input{width:18px!important;height:18px;flex:none;margin-top:.15rem;accent-color:var(--blue-deep);padding:0}

/* Liens légaux du pied de page */
.legal-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;justify-content:flex-start!important;font-size:.85rem}

/* Fenêtres des textes légaux */
dialog.legal{width:min(820px,94vw);max-height:88vh;padding:0;border:0;border-radius:18px;border-top-left-radius:50px;box-shadow:0 30px 80px rgba(0,0,0,.35);color:var(--text);overflow:hidden}
dialog.legal[open]{display:flex;flex-direction:column}
dialog.legal::backdrop{background:rgba(13,15,18,.6);backdrop-filter:blur(3px)}
.legal-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.3rem 1.6rem 1.1rem 2.2rem;border-bottom:4px solid var(--sky);background:#fff}
.legal-head h2{margin:0;font-size:1.4rem}
.legal-close{flex:none;width:40px;height:40px;border-radius:10px;border:0;background:var(--sky-soft);font-size:1.6rem;line-height:1;cursor:pointer;color:var(--ink)}
.legal-close:hover{background:var(--blue)}
.legal-body{overflow-y:auto;padding:1.4rem 2.2rem 2rem;font-size:.95rem}
.legal-body h3{font-size:1.02rem;margin:1.5rem 0 .4rem}
.legal-body h3:first-child{margin-top:.4rem}
.legal-body p{margin:.4rem 0}
.legal-body ul{padding-left:1.2rem;margin:.4rem 0}
.legal-body li{margin:.35rem 0}
.legal-date{margin-top:1.6rem!important;font-size:.85rem;color:var(--muted)}
@media (max-width:600px){.legal-head{padding:1rem 1rem 1rem 1.4rem}.legal-body{padding:1rem 1.3rem 1.6rem}dialog.legal{border-top-left-radius:30px}}

/* Barre de contact fixe (mobile) */
.mobile-bar{display:none}
@media (max-width:880px){
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:.6rem 4% calc(.6rem + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(13,15,18,.08);transition:transform .3s ease}
  .mobile-bar.cache{transform:translateY(110%)}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem;border-radius:12px;font-family:Inter,system-ui,sans-serif;font-weight:700;text-decoration:none;font-size:1rem}
  .mb-call{background:var(--blue);color:var(--ink)}
  .mb-quote{background:var(--ink);color:#fff}
  .mb-call svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* Apparition au défilement */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}

/* Responsive */
@media (max-width:1000px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:880px){
  .nav-toggle{display:block}
  .nav{position:fixed;inset:76px 0 auto 0;background:#fff;max-height:0;overflow:hidden;transition:max-height .35s ease;box-shadow:0 20px 30px rgba(0,0,0,.08)}
  .nav.open{max-height:calc(100vh - 76px);overflow:auto}
  .nav ul{flex-direction:column;align-items:stretch;gap:0;padding:.5rem 4% 1rem}
  .nav > ul > li{border-bottom:1px solid var(--line)}
  .nav a,.dropdown-btn{display:block;width:100%;text-align:left;padding:.9rem 0}
  .nav a.btn{margin:1rem 0 0;text-align:center;padding:.85rem}
  .nav > ul > li:last-child{border:0}
  .dropdown{position:static;box-shadow:none;border:0;background:var(--sky-soft);min-width:0;margin-bottom:.7rem}
  .has-dropdown:hover .dropdown{display:none!important}
  .has-dropdown.open .dropdown{display:flex!important}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .mosaic{margin:0 auto;max-width:380px;width:100%}
  .about-visual{max-width:520px;margin:0 auto;width:100%}
  .about-logo{right:0}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid nav{justify-content:flex-start}
}
@media (max-width:600px){
  :root{--radius-big:60px}
  .services-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .contact-form .row{grid-template-columns:1fr}
  .contact-form{padding:1.5rem;border-top-left-radius:40px}
  .brand-tag{display:none}
  .brand-name{font-size:1rem;letter-spacing:.32em}
  .footer-brand{flex-direction:column;align-items:flex-start}
}
