/* DCYL Consulting — feuille de style (palette issue du logo) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,600&family=Source+Sans+3:wght@400;600&display=swap');

:root{
  --fond:#FBFCFD;
  --encre:#030629;      /* bleu nuit du logo */
  --bleu:#5390AD;       /* bleu acier du logo */
  --bleu-fonce:#083343; /* bleu pétrole du logo */
  --teinte:#EEF4F7;
  --ligne:#D6DEE4;
  --gris:#55606B;
  --max:1120px;
  --serif:'Fraunces',Georgia,serif;
  --sans:'Source Sans 3','Helvetica Neue',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--fond);color:var(--encre);font-family:var(--sans);font-size:1.0625rem;line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--bleu-fonce);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--bleu)}
:focus-visible{outline:2px solid var(--bleu);outline-offset:3px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em;color:var(--encre)}
h1{font-size:clamp(2.4rem,5.5vw,4.2rem);font-variation-settings:'opsz' 144}
h2{font-size:clamp(1.8rem,3.2vw,2.5rem)}
h3{font-size:1.35rem;font-weight:600}
p{margin:0 0 1em;max-width:62ch}
ul{padding-left:1.2rem}
.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}

/* En-tête */
.site-header{border-bottom:1px solid var(--ligne);background:var(--fond);position:sticky;top:0;z-index:10}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:84px}
.brand img{height:48px;width:auto}
.nav{display:flex;gap:2rem;align-items:center}
.nav a{text-decoration:none;color:var(--encre);font-weight:600;font-size:.95rem;padding:.25rem 0;border-bottom:2px solid transparent}
.nav a[aria-current=page]{border-bottom-color:var(--bleu)}
.nav a:hover{color:var(--bleu)}
.nav-toggle{display:none;background:none;border:1px solid var(--ligne);padding:.5rem .75rem;font:inherit;cursor:pointer;border-radius:4px;color:var(--encre)}
@media (max-width:760px){
  .site-header .wrap{height:72px}
  .brand img{height:40px}
  .nav-toggle{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:72px;background:var(--fond);border-bottom:1px solid var(--ligne);flex-direction:column;align-items:flex-start;gap:0;padding:.5rem clamp(1.25rem,4vw,3rem) 1rem}
  .nav a{padding:.75rem 0;width:100%;border-bottom:1px solid var(--ligne)}
  .nav.open{display:flex}
}

/* Boutons */
.btn{display:inline-block;background:var(--encre);color:#fff;text-decoration:none;padding:.85rem 1.5rem;border-radius:3px;font-weight:600;border:1px solid var(--encre);font-family:var(--sans);font-size:1rem;cursor:pointer}
.btn:hover{background:var(--bleu-fonce);border-color:var(--bleu-fonce);color:#fff}
.btn.secondary{background:transparent;color:var(--encre)}
.btn.secondary:hover{background:var(--teinte);color:var(--encre)}

/* Sections */
section{padding:clamp(3rem,7vw,5.5rem) 0}
.section-rule{border-top:1px solid var(--ligne)}
.section-teinte{background:var(--teinte)}
.lead{font-size:1.25rem;color:var(--gris);max-width:58ch}

/* Hero */
.hero{padding:clamp(3.5rem,9vw,7rem) 0 clamp(3rem,7vw,5rem)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:3rem;align-items:center}
.hero.simple .wrap{grid-template-columns:1fr}
.hero h1{max-width:14ch;margin-bottom:1.25rem}
.hero .actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}
.seal{width:240px;height:240px;justify-self:end}
.seal svg{width:100%;height:100%}
@media (max-width:760px){
  .hero .wrap{grid-template-columns:1fr}
  .seal{width:160px;height:160px;justify-self:start;order:-1}
}

/* Registre (liste type grand-livre) */
.registre{width:100%;border-collapse:collapse;margin-top:1.5rem}
.registre th,.registre td{text-align:left;vertical-align:top;padding:1.1rem 0;border-top:1px solid var(--ligne)}
.registre tr:last-child td{border-bottom:1px solid var(--ligne)}
.registre th{width:34%;font-family:var(--serif);font-weight:400;font-size:1.3rem;padding-right:2rem}
.registre td p{margin:0}
.registre td p+p{margin-top:.6rem}
.registre td ul{margin:.4rem 0 0;padding-left:1.1rem;color:var(--gris)}
@media (max-width:600px){
  .registre th,.registre td{display:block;width:auto;padding:.5rem 0}
  .registre th{border-top:1px solid var(--ligne);padding-top:1.2rem}
  .registre td{border-top:0;padding-bottom:1.4rem}
}

/* Deux colonnes */
.cols{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
@media (max-width:760px){.cols{grid-template-columns:1fr}}

/* Logo de structure (DCYL Audit) */
.structure-logo{max-width:280px;margin:0 0 1.5rem}
.logos{display:flex;gap:3rem;flex-wrap:wrap;align-items:center;margin-top:1rem}
.logos img{max-width:240px}

/* Bandeau sombre */
.band{background:var(--bleu-fonce);color:#fff}
.band h2,.band h3,.band p{color:#fff}
.band .lead{color:#cfe0e8}
.band a{color:#fff}
.band .btn{background:#fff;color:var(--bleu-fonce);border-color:#fff}
.band .btn:hover{background:var(--teinte);color:var(--bleu-fonce)}

/* Repères */
.reperes{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2rem}
.reperes div{border-top:2px solid var(--bleu);padding-top:.75rem}
.reperes strong{font-family:var(--serif);font-size:2rem;font-weight:400;display:block;color:#fff}
.reperes span{color:#cfe0e8}
@media (max-width:600px){.reperes{grid-template-columns:1fr}}

/* Cabinet */
.portrait{background:var(--teinte);aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;color:var(--gris);font-size:.9rem;text-align:center;padding:1rem}
.portrait img{width:100%;height:100%;object-fit:cover}

/* Formulaire */
form{max-width:640px}
.field{margin-bottom:1.25rem}
label{display:block;font-weight:600;margin-bottom:.35rem}
input,textarea,select{width:100%;padding:.75rem .9rem;border:1px solid var(--ligne);background:#fff;font:inherit;border-radius:3px;color:var(--encre)}
input:focus,textarea:focus,select:focus{border-color:var(--bleu);outline:2px solid var(--bleu);outline-offset:0}
textarea{min-height:160px;resize:vertical}
.consent{display:flex;gap:.6rem;align-items:flex-start;font-weight:400}
.consent input{width:auto;margin-top:.35rem}
.note{color:var(--gris);font-size:.95rem}
.alert{padding:1rem 1.25rem;border-left:3px solid var(--bleu);background:var(--teinte);margin-bottom:1.5rem}
.alert.error{border-left-color:#A8382E;background:#f6ebe9}

/* Coordonnées */
.coord{list-style:none;padding:0;margin:0}
.coord li{padding:.75rem 0;border-top:1px solid var(--ligne)}
.coord li:last-child{border-bottom:1px solid var(--ligne)}
.coord strong{display:block;font-size:.9rem;color:var(--gris);font-weight:400}

/* Pied de page */
.site-footer{border-top:1px solid var(--ligne);padding:2.5rem 0;color:var(--gris);font-size:.95rem}
.site-footer .wrap{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.site-footer a{color:var(--gris)}
.site-footer p{margin:0 0 .4rem}
.site-footer img{height:32px;margin-bottom:.9rem}

/* Page mentions légales */
.legal h2{font-size:1.5rem;margin-top:2.5rem}
.legal dl{margin:0 0 1rem}
.legal dt{font-weight:600;margin-top:.75rem}
.legal dd{margin:0;color:var(--gris)}
