/*!
Theme Name: Theme Publicité
Theme URI: https://example.com/
Author: Votre nom
Author URI: https://example.com/
Description: Thème WordPress de départ (basé sur Underscores) avec template-parts par page et CSS par page.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: starter-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

StarterTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================
   STYLES GLOBAUX
   Styles propres à chaque page : css/<page>.css
   ========================================================== */
:root{
  /* À remplacer par la charte du projet */
  --noir:#000000;
  --encre:#1D1D1B;
  --encre-douce:#5E5853;
  --ivoire:#F6F1E9;
  --sable:#EDE5D8;
  --ligne:#D9D0C2;
  --blanc:#FFFFFF;
  --accent:#F76F46;
  --accent-texte:#B4441E; /* corail foncé : texte lisible sur fond clair */
  --moutarde:#EDBE31;
  --prune:#682F4A;
  --font:'Jost','Futura','Century Gothic',system-ui,sans-serif;
  --gutter:clamp(16px,4.5vw,72px);
  --header-h:70px;
  color-scheme:light;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font);
  color:var(--encre);
  background:var(--ivoire);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  font-size:17px; line-height:1.6;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}
:focus-visible{outline:3px solid var(--accent-texte); outline-offset:3px;}

.wrap{max-width:1240px; margin:0 auto; padding-inline:var(--gutter);}

.label{font-weight:600; font-size:12px; letter-spacing:0.24em; text-transform:uppercase; color:var(--encre-douce);}
.eyebrow{display:inline-flex; align-items:center; gap:12px; font-size:13px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;}
.eyebrow i{width:16px; height:16px; background:var(--accent); display:block;}
.eyebrow + h2{margin-top:16px;}
h1,h2,h3{font-weight:900; line-height:1.02; letter-spacing:-.01em; text-wrap:balance;}
h4{font-weight:800; line-height:1.08; text-wrap:balance;}
h2{font-size:clamp(34px,5vw,64px);}
.lead{font-size:clamp(18px,1.8vw,21px); color:var(--encre-douce); max-width:56ch; margin-top:18px;}
.section{padding-block:clamp(64px,9vw,120px);}
.section[id]{scroll-margin-top:var(--header-h);}

/* Boutons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:16px 24px; background:var(--accent); border:2px solid var(--accent); color:var(--encre); font-weight:600; font-size:16px; transition:background .15s,color .15s,border-color .15s;}
.btn:hover{background:var(--encre); border-color:var(--encre); color:var(--ivoire);}
.btn.outline{background:transparent; border-color:var(--encre);}
.btn.outline:hover{background:var(--encre); color:var(--ivoire);}

/* En-tête */
#siteHeader{position:sticky; top:0; z-index:50; background:rgba(246,241,233,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--ligne);}
.admin-bar #siteHeader{top:32px;}
@media (max-width:782px){ .admin-bar #siteHeader{top:46px;} }
.nav-inner{display:flex; align-items:center; gap:24px; min-height:var(--header-h);}
.logo img{height:44px; width:auto;}
nav.primary{display:flex; gap:24px; margin-left:auto; font-size:15px; font-weight:500;}
nav.primary a:hover,
nav.primary a.active{color:var(--accent-texte);}
.header-cta{padding:10px 16px; font-size:14px;}
.burger{display:none;}
.mobile-menu{display:none;}

@media (max-width:900px){
  nav.primary{display:none;}
  .header-cta{margin-left:auto;}
  .burger{display:flex; flex-direction:column; gap:5px;}
  .burger span{width:24px; height:2px; background:currentColor;}
  .mobile-menu.open{display:flex; flex-direction:column; gap:16px; position:fixed; inset:var(--header-h) 0 0 0; padding:24px; background:var(--ivoire); z-index:49; font-size:19px; font-weight:600;}
  .mobile-menu nav{display:flex; flex-direction:column; gap:16px;}
}
@media (max-width:480px){
  .nav-inner{gap:12px;}
  .logo img{height:36px;}
}

/* Pied de page */
.site-footer{background:var(--noir); color:#CFC7BD; padding-block:44px; font-size:14px;}
.site-footer .wrap{display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;}
.site-footer img{height:52px; width:auto;}
.site-footer a{color:inherit; text-decoration:underline;}
.footer-tags{color:var(--moutarde); font-weight:600;}

/* En-tête de page (hero simple) */
.page-header{padding:60px 0; background:var(--sable);}
