/* ============================================================
   SAS ACC – Feuille de styles
   Agence : Elimboo (https://elimboo.com) — v1.2
   ============================================================ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --orange:    #C86A1A;
  --orange-lt: #E07A28;
  --orange-dk: #9E4E0E;
  --night:     #162030;
  --night-lt:  #1E2E42;
  --cream:     #F8F3EC;
  --white:     #FFFFFF;
  --gray:      #6B7280;
  --gray-lt:   #E8E4DF;
  --text:      #2D2D2D;
  --ff-title:  'Cormorant Garamond', Georgia, serif;
  --ff-body:   'Outfit', system-ui, sans-serif;
  --radius:    6px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --ease:      .32s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--ff-body); color: var(--text); background: var(--cream); line-height: 1.7; overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button, input, select, textarea { font-family: var(--ff-body); }

/* ── TYPO ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-title); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1em; }

.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }

/* ── CONTAINER ───────────────────────────────────────────────── */
.acc-container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

/* ── BOUTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all var(--ease); letter-spacing: .02em;
}
.btn-primary  { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,106,26,.3); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn-night    { background: var(--night); color: var(--white); border-color: var(--night); }
.btn-night:hover { background: var(--night-lt); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline  { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
#acc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
#acc-header.scrolled {
  background: rgba(20, 30, 46, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .65rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.acc-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.acc-logo {
  display: flex; align-items: center; gap: .75rem;
  flex-shrink: 0;
}
.acc-logo-mark {
  width: 46px; height: 46px; border-radius: 8px;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title); font-size: 1.3rem; font-weight: 700; color: var(--white);
  flex-shrink: 0; transition: background var(--ease);
}
.acc-logo-text  { display: flex; flex-direction: column; line-height: 1.2; }
.acc-logo-name  { font-family: var(--ff-title); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.acc-logo-tagline { font-size: .62rem; color: rgba(255,255,255,.55); letter-spacing: .07em; text-transform: uppercase; }

/* Nav bureau */
.acc-nav {
  display: flex; align-items: center; gap: 1.8rem;
  flex: 1; justify-content: center;
}
.acc-nav a {
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.8);
  letter-spacing: .05em; text-transform: uppercase;
  position: relative; transition: color var(--ease);
}
.acc-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--orange); transition: width var(--ease);
}
.acc-nav a:hover, .acc-nav a.active { color: var(--white); }
.acc-nav a:hover::after, .acc-nav a.active::after { width: 100%; }

/* Actions droite (FB + devis + hamburger) */
.acc-header-right {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
}

/* Icône Facebook dans le header */
.acc-fb-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.75);
  transition: all var(--ease); border: 1px solid rgba(255,255,255,.15);
}
.acc-fb-icon:hover { background: #1877F2; color: var(--white); border-color: #1877F2; }

.acc-btn-devis { padding: .6rem 1.3rem; font-size: .82rem; }

/* Hamburger */
.acc-hamburger {
  display: none;          /* caché sur bureau */
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; cursor: pointer;
}
.acc-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   PANEL MOBILE
   Principe : toujours dans le DOM mais translateX(100%) par défaut.
   Aucun display:none — contrôle uniquement via transform.
══════════════════════════════════════════════════════════════ */
.acc-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(320px, 88vw) !important;
  background: var(--night) !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform .36s cubic-bezier(.4,0,.2,1) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  visibility: visible !important;
}
.acc-panel.open { transform: translateX(0) !important; }

/* Overlay */
.acc-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.55) !important;
  z-index: 9998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .36s ease !important;
}
.acc-overlay.open { opacity: 1 !important; pointer-events: auto !important; }

/* En-tête panel */
.acc-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.acc-panel-logo { display: flex; align-items: center; gap: .6rem; }
.acc-panel-close {
  width: 36px; height: 36px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.08); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background var(--ease);
}
.acc-panel-close:hover { background: rgba(255,255,255,.18); }

/* Liens panel */
.acc-panel-nav {
  display: flex; flex-direction: column;
  padding: 1.2rem 1.4rem; gap: 0; flex: 1;
}
.acc-panel-nav a {
  font-family: var(--ff-title); font-size: 1.4rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--ease), padding-left var(--ease);
}
.acc-panel-nav a:last-child { border-bottom: none; }
.acc-panel-nav a:hover { color: var(--orange-lt); padding-left: .35rem; }

/* Pied panel */
.acc-panel-foot {
  padding: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: .9rem;
  flex-shrink: 0;
}
.acc-panel-fb {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  font-size: .82rem; color: rgba(255,255,255,.45);
  transition: color var(--ease);
}
.acc-panel-fb:hover { color: rgba(255,255,255,.75); }

/* Bloquer le scroll du body quand panel ouvert */
body.panel-open { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE HEADER
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .acc-nav, .acc-btn-devis { display: none; }
  .acc-hamburger { display: flex; }
  /* FB icon reste visible sur mobile */
}
@media (max-width: 480px) {
  .acc-fb-icon { display: none; } /* Sur très petit écran on masque le FB du header (il est dans le panel) */
}

/* ══════════════════════════════════════════════════════════════
   HERO SPLIT SCREEN
══════════════════════════════════════════════════════════════ */
.acc-hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; overflow: hidden;
}
.acc-hero-side {
  position: relative; width: 50%; overflow: hidden;
  cursor: pointer; transition: width .65s cubic-bezier(.77,0,.175,1);
}
.acc-hero-side:hover { width: 60%; }
.acc-hero-side:hover ~ .acc-hero-side { width: 40%; }

.acc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .65s cubic-bezier(.77,0,.175,1);
}
.acc-hero-side:hover .acc-hero-bg { transform: scale(1.05); }

.acc-hero-overlay { position: absolute; inset: 0; }
.acc-hero-left  .acc-hero-bg      { background-image: url('../images/hero-charpente.jpg'); }
.acc-hero-left  .acc-hero-overlay { background: linear-gradient(135deg, rgba(200,106,26,.72) 0%, rgba(22,32,48,.55) 100%); }
.acc-hero-right .acc-hero-bg      { background-image: url('../images/hero-ossature-bois.jpg'); }
.acc-hero-right .acc-hero-overlay { background: linear-gradient(225deg, rgba(22,32,48,.78) 0%, rgba(22,32,48,.6) 100%); }

.acc-hero-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(255,255,255,.15);
  z-index: 5; pointer-events: none;
}
.acc-hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}
.acc-hero-label {
  font-size: .73rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: .35rem;
}
.acc-hero-title {
  font-family: var(--ff-title); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1.15;
  margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.acc-hero-desc {
  font-size: clamp(.85rem, 1.4vw, .98rem); color: rgba(255,255,255,.8);
  max-width: 300px; margin-bottom: 1.8rem; line-height: 1.6;
}
.acc-hero-logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  pointer-events: none;
}
.acc-hero-logo-mark {
  width: 60px; height: 60px; background: var(--white); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title); font-size: 1.5rem; font-weight: 700; color: var(--orange);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.acc-hero-logo-name {
  font-family: var(--ff-title); font-size: .9rem; font-weight: 600;
  color: var(--white); letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.acc-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.45); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.acc-scroll-hint::after { content: ''; width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent); }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(5px); } }

/* Mobile : hero vertical */
@media (max-width: 768px) {
  .acc-hero { flex-direction: column; }
  .acc-hero-side { width: 100% !important; height: 50vh; transition: none; }
  .acc-hero-divider { width: 100%; height: 1px; top: 50%; left: 0; bottom: auto; }
  .acc-hero-logo, .acc-scroll-hint { display: none; }
  .acc-hero-title { font-size: 2rem; }
  .acc-hero-desc { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS COMMUNES
══════════════════════════════════════════════════════════════ */
.acc-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.acc-section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.acc-section-header .section-label { justify-content: center; }
.acc-section-header h2 { margin-bottom: .75rem; }
.acc-section-header p  { font-size: 1.05rem; color: var(--gray); margin-bottom: 0; }

/* STATS */
.acc-intro { background: var(--night); color: var(--white); padding: 4.5rem 0; }
.acc-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.acc-stat { padding: 2rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.acc-stat:last-child { border-right: none; }
.acc-stat-number {
  font-family: var(--ff-title); font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: .3rem;
}
.acc-stat-label { font-size: .82rem; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 640px) {
  .acc-stats-grid { grid-template-columns: 1fr 1fr; }
  .acc-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .acc-stat:nth-child(3), .acc-stat:nth-child(4) { border-bottom: none; }
}

/* CARDS SERVICES */
.acc-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.acc-service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06); transition: all var(--ease);
}
.acc-service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acc-service-card-img { height: 220px; overflow: hidden; }
.acc-service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-service-card:hover .acc-service-card-img img { transform: scale(1.06); }
.acc-service-card-body { padding: 1.7rem; }
.acc-service-icon {
  width: 46px; height: 46px; background: linear-gradient(135deg,var(--orange),var(--orange-lt));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: white; font-size: 1.2rem;
}
.acc-service-card.night .acc-service-icon { background: linear-gradient(135deg,var(--night),var(--night-lt)); }
.acc-service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.acc-service-card p  { font-size: .88rem; color: var(--gray); margin-bottom: 1.2rem; }
.acc-service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem; font-weight: 600; color: var(--orange); transition: gap var(--ease);
}
.acc-service-card.night .acc-service-link { color: var(--night); }
.acc-service-link:hover { gap: .7rem; }
@media (max-width: 900px) { .acc-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .acc-services-grid { grid-template-columns: 1fr; } }

/* GALERIE */
.acc-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.acc-gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.acc-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.acc-gallery-item:nth-child(4) { grid-column: span 2; }
.acc-gallery-item img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; transition: transform .55s ease; }
.acc-gallery-item:hover img { transform: scale(1.07); }
.acc-gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top,rgba(22,32,48,.7) 0%,transparent 60%);
  opacity: 0; transition: opacity var(--ease); display: flex; align-items: flex-end; padding: 1rem;
}
.acc-gallery-item:hover .acc-gallery-overlay { opacity: 1; }
.acc-gallery-tag {
  display: inline-block; padding: .25rem .7rem; border-radius: 4px;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: var(--orange); color: var(--white);
}
.acc-gallery-tag.blue { background: var(--night); }
@media (max-width: 768px) {
  .acc-gallery-grid { grid-template-columns: 1fr 1fr; }
  .acc-gallery-item:nth-child(1), .acc-gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 480px) { .acc-gallery-grid { grid-template-columns: 1fr; } }

/* À PROPOS */
.acc-about {
  background: linear-gradient(135deg,var(--night) 0%,var(--night-lt) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.acc-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,5vw,6rem); align-items: center; }
.acc-about-text .section-label { color: var(--orange-lt); }
.acc-about-text .section-label::before { background: var(--orange-lt); }
.acc-about-text h2 { color: var(--white); margin-bottom: 1.2rem; }
.acc-about-text p  { color: rgba(255,255,255,.75); }
.acc-about-features { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.8rem 0; }
.acc-about-feature { display: flex; align-items: flex-start; gap: 1rem; }
.acc-about-feature-icon {
  width: 38px; height: 38px; background: rgba(200,106,26,.18); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--orange-lt);
  flex-shrink: 0; margin-top: .1rem;
}
.acc-about-feature-text strong { display: block; font-size: .92rem; color: var(--white); margin-bottom: .15rem; }
.acc-about-feature-text p { font-size: .83rem; color: rgba(255,255,255,.55); margin-bottom: 0; }
.acc-about-img { position: relative; }
.acc-about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.acc-about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.acc-about-img-badge {
  position: absolute; bottom: -1.2rem; left: -1.2rem;
  background: var(--orange); color: var(--white); padding: 1rem 1.3rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center;
}
.acc-about-img-badge strong { display: block; font-family: var(--ff-title); font-size: 2rem; font-weight: 700; line-height: 1; }
.acc-about-img-badge span  { font-size: .75rem; opacity: .9; }
@media (max-width: 900px) { .acc-about-grid { grid-template-columns: 1fr; } .acc-about-img { display: none; } }

/* AVIS */
.acc-avis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.acc-avis-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: 0 2px 14px rgba(0,0,0,.05); transition: all var(--ease);
}
.acc-avis-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.acc-avis-stars { display: flex; gap: .2rem; color: #F59E0B; font-size: .95rem; margin-bottom: .9rem; }
.acc-avis-text { font-size: .92rem; font-style: italic; line-height: 1.7; margin-bottom: 1.3rem; position: relative; color: var(--text); }
.acc-avis-text::before {
  content: '"'; font-family: var(--ff-title); font-size: 3.5rem; color: var(--orange);
  opacity: .18; position: absolute; top: -.8rem; left: -.4rem; line-height: 1; pointer-events: none;
}
.acc-avis-author { display: flex; align-items: center; gap: .75rem; }
.acc-avis-avatar {
  width: 40px; height: 40px; background: linear-gradient(135deg,var(--orange),var(--night));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title); font-weight: 700; color: var(--white); font-size: 1rem; flex-shrink: 0;
}
.acc-avis-author-name { font-weight: 600; font-size: .88rem; }
.acc-avis-author-loc  { font-size: .75rem; color: var(--gray); }
@media (max-width: 900px) { .acc-avis-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .acc-avis-grid { grid-template-columns: 1fr; } }

/* ZONES SEO */
.acc-zones { background: var(--white); padding: 4rem 0; }
.acc-zones-intro { text-align: center; color: var(--gray); margin-bottom: 2rem; font-size: .93rem; }
.acc-zones-grid { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.acc-zone-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem .85rem; background: var(--cream); border: 1px solid var(--gray-lt);
  border-radius: 999px; font-size: .78rem; color: var(--text); transition: all var(--ease);
}
.acc-zone-tag:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* CTA BANDE */
.acc-cta-band {
  background: linear-gradient(100deg,var(--orange-dk),var(--orange),var(--orange-lt));
  padding: 4rem 0; text-align: center; overflow: hidden; position: relative;
}
.acc-cta-band h2 { color: var(--white); margin-bottom: .7rem; text-shadow: 0 2px 10px rgba(0,0,0,.15); }
.acc-cta-band p  { color: rgba(255,255,255,.88); font-size: 1rem; max-width: 520px; margin: 0 auto 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* HERO PAGE INTÉRIEURE */
.acc-page-hero {
  padding: 10rem 0 5rem;
  background-size: cover; background-position: center; background-attachment: fixed;
  position: relative; overflow: hidden;
}
.acc-page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(22,32,48,.82),rgba(22,32,48,.5)); }
.acc-page-hero-content { position: relative; z-index: 2; color: var(--white); }
.acc-page-hero-content .section-label { color: rgba(255,255,255,.65); }
.acc-page-hero-content .section-label::before { background: rgba(255,255,255,.65); }
.acc-page-hero-content h1 { color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.3); margin-bottom: .7rem; }
.acc-page-hero-content p  { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 580px; }
@media (max-width: 768px) { .acc-page-hero { padding: 8rem 0 4rem; background-attachment: scroll; } }

/* DETAIL SERVICE */
.acc-service-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem,5vw,5rem); align-items: center; }
.acc-service-detail-grid.reverse { direction: rtl; }
.acc-service-detail-grid.reverse > * { direction: ltr; }
.acc-service-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.acc-service-detail-img img { width: 100%; height: 360px; object-fit: cover; display: block; }
.acc-service-detail-text h2 { margin-bottom: .7rem; }
.acc-service-detail-text p  { color: var(--gray); }
.acc-service-list { display: flex; flex-direction: column; gap: .65rem; margin: 1.4rem 0; }
.acc-service-list-item { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; }
.acc-service-list-item::before {
  content: ''; flex-shrink: 0; width: 17px; height: 17px; margin-top: .2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C86A1A' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 860px) {
  .acc-service-detail-grid, .acc-service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* FORMULAIRE DEVIS */
.acc-devis-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.acc-devis-info h2 { margin-bottom: .8rem; }
.acc-devis-info p  { color: var(--gray); }
.acc-devis-contact-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
.acc-devis-contact-item { display: flex; align-items: center; gap: .9rem; font-size: .92rem; }
.acc-devis-contact-icon {
  width: 38px; height: 38px; background: linear-gradient(135deg,var(--orange),var(--orange-lt));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}
.acc-devis-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(1.8rem,4vw,2.8rem); box-shadow: var(--shadow);
}
.acc-form-title { font-family: var(--ff-title); font-size: 1.45rem; font-weight: 700; margin-bottom: 1.6rem; color: var(--text); }
.acc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.acc-form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.acc-form-group label { font-size: .8rem; font-weight: 600; color: var(--text); letter-spacing: .04em; }
.acc-form-group input,
.acc-form-group select,
.acc-form-group textarea {
  padding: .7rem .95rem; border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius); font-size: .9rem; color: var(--text);
  background: var(--cream); transition: border-color var(--ease), box-shadow var(--ease); width: 100%;
}
.acc-form-group input:focus, .acc-form-group select:focus, .acc-form-group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(200,106,26,.1); background: var(--white);
}
.acc-form-group textarea { resize: vertical; min-height: 110px; }
.acc-service-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1.4rem; }
.acc-service-check {
  display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem;
  border: 1.5px solid var(--gray-lt); border-radius: var(--radius);
  cursor: pointer; transition: all var(--ease); font-size: .83rem; user-select: none;
}
.acc-service-check input { display: none; }
.acc-service-check.checked { border-color: var(--orange); background: rgba(200,106,26,.06); color: var(--orange); font-weight: 600; }
.acc-form-submit { width: 100%; justify-content: center; padding: .9rem; font-size: .95rem; }
.acc-form-msg { display: none; padding: .9rem; border-radius: var(--radius); margin-top: .9rem; font-size: .88rem; font-weight: 500; }
.acc-form-msg.success { background: #D1FAE5; color: #065F46; }
.acc-form-msg.error   { background: #FEE2E2; color: #7F1D1D; }
@media (max-width: 860px) {
  .acc-devis-grid { grid-template-columns: 1fr; }
  .acc-devis-info { display: none; }
  .acc-form-row { grid-template-columns: 1fr; }
  .acc-service-checkboxes { grid-template-columns: 1fr; }
}

/* CONTACT */
.acc-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 860px) {
  .acc-contact-grid { grid-template-columns: 1fr; }
  .acc-contact-grid .acc-devis-form-wrap { order: -1; }
}

/* BLOG */
.acc-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.acc-post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: all var(--ease); }
.acc-post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.acc-post-thumb { height: 190px; overflow: hidden; }
.acc-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-post-card:hover .acc-post-thumb img { transform: scale(1.05); }
.acc-post-body { padding: 1.4rem; }
.acc-post-cat { display: inline-block; padding: .22rem .65rem; background: rgba(200,106,26,.1); color: var(--orange); border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .65rem; }
.acc-post-body h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.4; }
.acc-post-body h3 a { color: var(--text); transition: color var(--ease); }
.acc-post-body h3 a:hover { color: var(--orange); }
.acc-post-meta { font-size: .75rem; color: var(--gray); margin-top: .9rem; display: flex; align-items: center; gap: .4rem; }
@media (max-width: 900px) { .acc-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acc-blog-grid { grid-template-columns: 1fr; } }

/* PAGES LÉGALES */
.acc-legal { background: var(--cream); padding: 9rem 0 5rem; }
.acc-legal-content { max-width: 840px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3.2rem); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.acc-legal-content h1 { font-size: 1.9rem; margin-bottom: 1.8rem; padding-bottom: .9rem; border-bottom: 2px solid var(--gray-lt); }
.acc-legal-content h2 { font-size: 1.2rem; margin: 1.8rem 0 .65rem; color: var(--night); }
.acc-legal-content p, .acc-legal-content li { font-size: .93rem; color: var(--gray); line-height: 1.75; }
.acc-legal-content ul { padding-left: 1.3rem; list-style: disc; }
.acc-legal-content ul li { margin-bottom: .35rem; }
.acc-legal-content a { color: var(--orange); }

/* FOOTER */
#acc-footer { background: var(--night); color: rgba(255,255,255,.72); padding: 4rem 0 0; }
.acc-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.acc-footer-brand p { font-size: .86rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: 1rem 0; }
.acc-footer-social { display: flex; gap: .6rem; }
.acc-footer-social a {
  width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); transition: all var(--ease);
}
.acc-footer-social a:hover { background: var(--orange); color: var(--white); }
.acc-footer-col h4 { font-family: var(--ff-title); font-size: 1rem; color: var(--white); margin-bottom: 1.1rem; font-weight: 600; }
.acc-footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.acc-footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color var(--ease); display: flex; align-items: center; gap: .35rem; }
.acc-footer-col ul li a::before { content: '›'; color: var(--orange); font-size: .95rem; }
.acc-footer-col ul li a:hover { color: var(--orange-lt); }
.acc-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 0; font-size: .76rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: .5rem; }
.acc-footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--ease); }
.acc-footer-bottom a:hover { color: var(--orange-lt); }
.acc-footer-legal-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.acc-footer-credit a { color: var(--orange-lt); font-weight: 500; }
@media (max-width: 1000px) { .acc-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acc-footer-top { grid-template-columns: 1fr; gap: 2rem; } .acc-footer-bottom { flex-direction: column; text-align: center; } }

/* 404 */
.acc-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--cream); padding: 6rem 2rem; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* UTILITAIRES */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mb-2 { margin-bottom: 1rem; }

/* ASTRA OVERRIDES */
.ast-header-break-point .main-header-bar, .main-header-bar, #masthead { display: none !important; }
.footer-widget-area, .site-footer { display: none !important; }
.ast-container { max-width: 100% !important; padding: 0 !important; }
.entry-header, .ast-page-builder-template .entry-header, .ast-breadcrumbs-wrapper { display: none; }
.site-content { padding-top: 0 !important; }

/* Réalisations filtres */
.acc-filter-btn { padding:.5rem 1.3rem; border:1.5px solid var(--gray-lt); border-radius:999px; background:var(--white); font-family:var(--ff-body); font-size:.83rem; font-weight:600; cursor:pointer; color:var(--gray); transition:all var(--ease); }
.acc-filter-btn.active, .acc-filter-btn:hover { background:var(--orange); border-color:var(--orange); color:white; }
.acc-real-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.acc-real-item { background:var(--white); border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,.06); transition:all var(--ease); }
.acc-real-item:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.acc-real-img { height:230px; overflow:hidden; }
.acc-real-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.acc-real-item:hover .acc-real-img img { transform:scale(1.06); }
.acc-real-body { padding:1.3rem; }
.acc-real-tag { display:inline-block; padding:.2rem .65rem; border-radius:999px; font-size:.7rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; margin-bottom:.55rem; }
.acc-real-tag.orange { background:rgba(200,106,26,.1); color:var(--orange); }
.acc-real-tag.blue   { background:rgba(22,32,48,.1); color:var(--night); }
.acc-real-body h3 { font-size:1rem; margin-bottom:.25rem; }
.acc-real-body p  { font-size:.82rem; color:var(--gray); margin:0; }
@media(max-width:800px) { .acc-real-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:520px) { .acc-real-grid { grid-template-columns:1fr; } }
