/* =========================================================
   Site Anne PIGEON BORMANS – Avocat
   Feuille de style unique pour toutes les pages.
   Couleurs et polices : modifier les variables ci-dessous.
   ========================================================= */
:root{
  --orange:#fc4c04;      /* couleur principale (boutons, soulignés, icônes) */
  --orange-hover:#d93f00;
  --noir:#222222;        /* fond des sections sombres + pied de page */
  --brique:#832702;      /* fond des sections rouge brique */
  --gris-clair:#f7f7f7;  /* fond des sections gris clair */
  --texte:#353535;
  --titre:#222222;
  --ligne:rgba(200,200,200,.6);
  --ombre:5px 15px 40px 0 rgba(47,47,47,.2);
  --serif:Georgia,"Times New Roman",serif;
  --sans:"Lucida Sans","Lucida Sans Unicode","Lucida Grande","Segoe UI",Tahoma,sans-serif;
  --largeur:980px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);font-size:16px;line-height:1.4;color:var(--texte);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0 0 8px}
p:last-child{margin-bottom:0}
h1,h2,h3{font-weight:normal;color:var(--titre);margin:0}
h3{font-family:var(--sans);font-size:24px;line-height:1.4}
ul{margin:0;padding:0;list-style:none}
.container{max-width:calc(var(--largeur) + 20px);margin:0 auto;padding:0 10px}
.center{text-align:center}

/* ---------- Icônes (SVG en masque, prennent la couleur du texte) ---------- */
.i{display:inline-block;width:1em;height:1em;flex:none;background:currentColor;
   -webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;vertical-align:-.13em}

/* ---------- En-tête : logo ---------- */
.site-header{background:#fff;text-align:center;padding:3px 0}
.site-header .logo{display:inline-block}
.site-header .logo img{width:336px;height:auto;margin:0 auto}

/* ---------- Menu principal ---------- */
.main-nav{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.2)}
.main-nav>ul{display:flex;justify-content:center;flex-wrap:wrap}
.main-nav li{position:relative}
.main-nav a,.main-nav .folder{display:block;padding:15px 20px;text-decoration:none;color:var(--texte);font-size:16px;cursor:pointer;background:none;border:0;font-family:inherit;line-height:1.4}
.main-nav>ul>li>a:hover,.main-nav>ul>li>.folder:hover,.main-nav>ul>li.active>a,.main-nav>ul>li.active>.folder{background:var(--orange);color:#fff}
.main-nav .folder .i{font-size:12px;margin-left:4px;vertical-align:0}
.main-nav .submenu{display:none;position:absolute;left:0;top:100%;min-width:320px;background:#fff;box-shadow:0 6px 12px rgba(0,0,0,.18);text-align:left;padding:6px 0}
.main-nav li:hover>.submenu,.main-nav li:focus-within>.submenu{display:block}
.main-nav .submenu a{padding:8px 15px;font-size:15px}
.main-nav .submenu a:hover,.main-nav .submenu li.active a{color:var(--orange)}

/* ---------- En-tête mobile (affiché sous 992px) ---------- */
.mobile-bar,.mobile-menu{display:none}

/* ---------- Bandeau photo (accueil) ---------- */
/* Photo des colonnes : Unsplash (licence libre, usage commercial autorisé), servie par leur CDN.
   background-attachment:fixed = effet de défilement (l'image reste fixe pendant que la page défile). */
.hero{height:617px;display:flex;align-items:center;
  background:var(--noir) url("https://images.unsplash.com/photo-1590410051810-08d7d33f0322?w=2000&q=80&auto=format&fit=crop") center/cover no-repeat fixed}
.hero .container{width:100%;display:flex;justify-content:flex-end}
.hero-box{background:#fff;width:426px;padding:15px 25px 20px;margin:10px 0;text-align:right}
.hero-box .title{margin-bottom:12px}
.hero-box li{font-size:18px;margin-bottom:5px}
.hero-box li .i{color:var(--orange);font-size:15px;margin-right:10px}

/* ---------- Bandeau du titre H1 ---------- */
.h1-band{background:rgba(200,200,200,.2);padding:20px 10px}
.h1-band h1{font-family:var(--serif);font-size:18px;line-height:1.4;text-align:center}

/* ---------- Sections ---------- */
.section{padding:50px 10px}
.bg-gris{background:var(--gris-clair)}
.bg-noir{background:var(--noir);color:#fff}
.bg-brique{background:var(--brique);color:#fff}
.bg-noir h2,.bg-noir h3,.bg-brique h2,.bg-brique h3{color:#fff}
.bg-noir .card h2,.bg-noir .card h3,.bg-brique .card h2,.bg-brique .card h3{color:var(--titre)}

/* Titre de section : souligné orange + fine ligne grise */
.title{border-bottom:1px solid var(--ligne);margin-bottom:25px}
.title h2{font-family:var(--serif);font-size:32px;line-height:1.4;margin:0}
.title h2 span{display:inline-block;border-bottom:3px solid var(--orange);padding-bottom:5px;margin-bottom:-2px}
.title.center{text-align:center}
.title.right{text-align:right}

/* Boutons */
.btn{display:inline-block;background:var(--orange);color:#fff;text-decoration:none;font-size:14px;line-height:20px;padding:8px 20px;border:0;cursor:pointer;font-family:inherit;transition:background .2s}
.btn:hover{background:var(--orange-hover)}
.btn-block{display:block;width:100%;text-align:center}
.actions{margin-top:20px}

/* Cartes blanches avec ombre */
.card{background:#fff;color:var(--texte);box-shadow:var(--ombre);padding:30px}
.card-center{max-width:800px;margin:0 auto}
.lead{font-style:italic;font-weight:bold;text-align:center}

/* Grille de 2 cartes (Services, IA, ouvrages) */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:30px 80px;max-width:880px;margin:0 auto}
.box{background:#fff;color:var(--texte);box-shadow:var(--ombre);padding:20px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:207px}
.box .i{font-size:30px;color:var(--orange)}
.box h3{color:var(--titre)}
.box.brique{background:var(--brique);min-height:185px}
.box.brique .i,.box.brique h3{color:#fff}
.intro-ia{text-align:center;font-weight:bold;margin-bottom:30px}
.outro-ia{text-align:center;font-weight:bold;margin-top:30px}

/* Bloc image + texte */
.media{display:grid;grid-template-columns:304px 1fr;gap:60px;align-items:start}
.media.reverse{grid-template-columns:1fr 304px}
.media.reverse .media-img{order:2}
.media-img img{box-shadow:var(--ombre);width:100%}
.media-text .title{margin-bottom:20px}
.text-block{max-width:820px;margin:0 auto}
.text-block .title{margin-bottom:20px}
.faq-q{font-style:italic}

/* Listes avec coches */
.checks li{position:relative;padding-left:29px;margin-bottom:5px}
.checks li .i{position:absolute;left:0;top:.25em;color:var(--orange);font-size:15px}
.bg-brique .media-text .checks li .i,.bg-noir .media-text .checks li .i{color:#fff}
.checks.centered li{padding-left:0;text-align:center}
.checks.centered li .i{position:static;margin-right:8px}

/* Onglets (page Présentation) */
.tabs-nav{display:grid;grid-template-columns:repeat(3,1fr)}
.tabs-nav button{background:var(--noir);color:#fff;border:0;padding:18px 22px;font-family:inherit;font-size:18px;line-height:1.4;cursor:pointer;text-align:center}
.tabs-nav button.active,.tabs-nav button:hover{background:var(--orange)}
.tab-panel{display:none;background:var(--gris-clair);padding:30px 40px}
.tab-panel.active{display:block}
.tab-panel h3{margin-bottom:15px}
.tab-panel img{box-shadow:var(--ombre)}

/* Informations pratiques */
.infos{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:940px;margin:0 auto}
.infos h3{display:flex;align-items:center;gap:15px;margin-bottom:12px}
.infos h3 .round{width:36px;height:36px;border-radius:50%;background:#c8c8c8;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:20px}
.infos .col{padding-left:0}
.infos .lines{padding-left:51px}
.infos .line{display:flex;gap:10px;margin-bottom:6px}
.infos .line .i{color:var(--orange);font-size:14px;margin-top:4px}
.infos .checks{margin-top:14px}
.infos .bullets li{margin-bottom:21px;padding-left:16px;position:relative}
.infos .bullets li::before{content:"•";position:absolute;left:0}
.reveal-phone{text-decoration:underline;cursor:pointer}

/* Formulaire de contact */
.contact-form{margin-top:25px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 30px}
.form-grid .full{grid-column:1/-1}
.contact-form label{display:block;font-size:14px;margin-bottom:6px}
.contact-form input,.contact-form textarea{width:100%;border:1px solid #ccc;padding:8px 10px;font:inherit;font-size:15px;color:var(--texte);background:#fff}
.contact-form textarea{min-height:100px;resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--orange);outline-offset:-1px}
.contact-form .hp{display:none}
.form-status{margin-top:15px;text-align:center;font-weight:bold}

/* Pages de texte (mentions légales, plan du site) */
.prose h2{font-family:var(--serif);font-size:24px;margin:25px 0 10px}
.prose h3{font-size:18px;margin:15px 0 6px}
.prose ul{list-style:disc;padding-left:22px;margin-bottom:8px}
.prose ul li{margin-bottom:4px}
.sitemap a{color:var(--texte)}
.sitemap a:hover{color:var(--orange)}
.sitemap ul{list-style:none;padding-left:20px}
.sitemap>ul{padding-left:0}
.sitemap li{margin:6px 0}

/* ---------- Pied de page ---------- */
.site-footer{background:var(--noir);color:#fff;font-size:15px;padding:30px 10px;box-shadow:0 0 8px 0 rgba(0,0,0,.1)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 230px;gap:40px}
.site-footer h2{font-family:var(--serif);font-size:32px;color:#fff;line-height:1.4}
.footer-links li{display:flex;gap:6px;margin-bottom:6px}
.footer-links .i{font-size:10px;margin-top:6px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-links a.current{text-decoration:underline}
.site-footer .line{display:flex;gap:10px;margin-bottom:6px;font-weight:bold}
.site-footer .line .i{color:var(--orange);font-size:12px;margin-top:4px}
.site-footer .reveal-phone{text-decoration:underline}
.site-footer .btn{font-size:12px;padding:6px 15px;line-height:17px;margin:12px 0;text-align:center;display:block}
.footer-legal li{margin-bottom:4px;font-weight:bold}
.subfooter{background:#fff;padding:8px 10px;font-size:13px;font-style:italic;color:#646464;box-shadow:0 3px 8px 0 rgba(0,0,0,.1)}

/* Bouton retour en haut */
#backtotop{position:fixed;right:10px;bottom:20px;width:40px;height:40px;border:0;background:#444;color:#fff;font-size:17px;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:60}
#backtotop.show{display:flex}

/* =========================================================
   Tablette & mobile
   ========================================================= */
@media (max-width:991px){
  .site-header .logo img{width:240px}
  .main-nav{display:none}
  .mobile-bar{display:flex;position:sticky;top:0;z-index:50;background:#e8e8e8;border-top:1px solid #ddd}
  .mobile-bar a,.mobile-bar button{flex:1;display:flex;align-items:center;justify-content:center;height:48px;color:#222;background:none;border:0;font-size:20px;cursor:pointer;text-decoration:none}
  .mobile-menu.open{display:block;position:fixed;inset:0;z-index:70;background:#fff;overflow:auto;padding:10px 0 40px}
  .mobile-menu .close{display:block;margin:0 10px 10px auto;background:none;border:0;font-size:26px;cursor:pointer;color:#222}
  .mobile-menu a,.mobile-menu .folder{display:flex;justify-content:space-between;width:100%;padding:13px 20px;border:0;border-bottom:1px solid #eee;background:none;text-align:left;font:inherit;color:var(--texte);text-decoration:none;cursor:pointer}
  .mobile-menu li.active>a{background:var(--orange);color:#fff}
  .mobile-menu .submenu{display:none;background:#f7f7f7}
  .mobile-menu .submenu a{padding-left:35px;font-size:15px}
  .mobile-menu li.open>.submenu{display:block}
  .hero{height:auto;padding:60px 0;background-attachment:scroll}
  .hero-box{width:100%}
  .section{padding:35px 10px}
  .media,.media.reverse{grid-template-columns:1fr;gap:25px}
  .media.reverse .media-img{order:0}
  .media-img{max-width:420px;margin:0 auto}
  .grid-2{grid-template-columns:1fr;gap:20px}
  .tabs-nav{grid-template-columns:1fr}
  .tab-panel.active{padding:25px}
  .infos{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:25px}
}
@media (max-width:600px){
  .title h2{font-size:26px}
  .site-footer h2{font-size:26px}
  h3{font-size:20px}
  .card{padding:20px}
  .form-grid{grid-template-columns:1fr}
  .infos .lines{padding-left:0}
}

/* ---------- Icônes (générées) ---------- */
.i-check{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.i-briefcase{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M9 3h6a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v4H2V9a2 2 0 0 1 2-2h3V5a2 2 0 0 1 2-2zm0 2v2h6V5zM2 14.5h8.5V16h3v-1.5H22V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}
.i-copyright{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm3.1 6.6a4.6 4.6 0 1 0 0 6.8l-1.6-1.6a2.4 2.4 0 1 1 0-3.6z'/%3E%3C/svg%3E")}
.i-gavel{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='rotate%28-45 12 12%29'%3E%3Crect x='6' y='2' width='12' height='6' rx='1.2'/%3E%3Crect x='10.6' y='8' width='2.8' height='13' rx='1.2'/%3E%3C/g%3E%3Crect x='13' y='19' width='9' height='2.6' rx='1'/%3E%3C/svg%3E")}
.i-building{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5 2h14v20h-5v-4h-4v4H5zm3 3v2h2V5zm6 0v2h2V5zM8 9v2h2V9zm6 0v2h2V9zm-6 4v2h2v-2zm6 0v2h2v-2z'/%3E%3C/svg%3E")}
.i-search{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.3' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M15.3 15.3L21 21' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E")}
.i-document{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5 2h9l5 5v15H5zm9 1.5V8h4.5zM8 12v1.8h8V12zm0 4v1.8h8V16z'/%3E%3C/svg%3E")}
.i-newspaper{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4 3h16v16a2 2 0 0 1-2 2H5a3 3 0 0 1-3-3V8h2zm3 3v4h6V6zm8 0v1.6h3V6zm0 3v1.6h3V9zM7 12v1.6h11V12zm0 3v1.6h11V15z'/%3E%3C/svg%3E")}
.i-bookopen{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4.5c3.5-1 7-.8 9.2 1.2V20c-2.4-1.6-5.6-1.8-9.2-1zM22 4.5c-3.5-1-7-.8-9.2 1.2V20c2.4-1.6 5.6-1.8 9.2-1z'/%3E%3C/svg%3E")}
.i-book{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h13v15H7a1.5 1.5 0 0 0 0 3h12v2H7a3.5 3.5 0 0 1-3.5-3.5V4.5A2.5 2.5 0 0 1 6 2zm3 4v1.8h7V6z'/%3E%3C/svg%3E")}
.i-bulb{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3Crect x='8' y='18.3' width='8' height='1.9' rx='.9'/%3E%3Crect x='9.5' y='21' width='5' height='1.8' rx='.9'/%3E%3C/svg%3E")}
.i-marker{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E")}
.i-info{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-1.4 8.2v8h2.8v-8zM12 5.2a1.7 1.7 0 1 0 0 3.4 1.7 1.7 0 0 0 0-3.4z'/%3E%3C/svg%3E")}
.i-home{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l10 9h-3v9h-5v-6h-4v6H5v-9H2z'/%3E%3C/svg%3E")}
.i-phone{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")}
.i-chevron{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E")}
.i-caret{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9h14l-7 8z'/%3E%3C/svg%3E")}
.i-arrowup{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-7.5 8.5H9V20h6v-7.5h4.5z'/%3E%3C/svg%3E")}
.i-bars{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18v2.4H3zM3 10.8h18v2.4H3zM3 16.1h18v2.4H3z'/%3E%3C/svg%3E")}
.i-close{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23000' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E")}
