/* =========================================================
   TOITURE & PATRIMOINE ALBIGEOIS — v2
   Blocs francs, découpes en pente de toit, une section par métier
   ========================================================= */

:root {
  --slate: #202B35;
  --terracotta: #B66C43;
  --stone: #F3EFE8;
  --white: #FFFFFF;
  --mineral: #73766F;

  --terracotta-dark: #9E5A35;
  --terracotta-light: #E3A77F;
  --slate-2: #2A3743;
  --line: rgba(32, 43, 53, .12);
  --line-strong: rgba(32, 43, 53, .24);
  --line-light: rgba(255, 255, 255, .14);
  --text-light: rgba(255, 255, 255, .78);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h1: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.45rem, 1.3rem + .6vw, 1.8rem);
  --fs-body: clamp(.97rem, .93rem + .2vw, 1.0625rem);

  --gutter: clamp(1rem, .5rem + 2.4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --maxw: 1280px;
  --radius: 3px;
  --pitch: 14%;

  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--terracotta); color: var(--white); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--terracotta); color: var(--white); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Titres ---------- */
.title {
  font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2);
  line-height: 1.06; letter-spacing: -.01em; color: var(--slate);
  margin-bottom: 1.5rem;
}
.title span { display: block; color: var(--terracotta); font-style: italic; font-weight: 600; }
.title--light { color: var(--white); }
.title--light span { color: var(--terracotta-light); }
.title--center { text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.kicker--light { color: var(--terracotta-light); }

.text { color: var(--mineral); margin-bottom: 1rem; }
.text strong { color: var(--slate); }
.text-small { font-size: .88rem; color: var(--mineral); margin-top: 1.2rem; }

.head-center { text-align: center; max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.head-center .kicker { justify-content: center; }
.head-text { color: var(--mineral); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem; border: 2px solid transparent; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--dark { background: var(--slate); color: var(--white); }
.btn--dark:hover { background: var(--slate-2); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: var(--white); color: var(--slate); }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- Barre infos ---------- */
.infobar { background: var(--slate); color: rgba(255,255,255,.75); font-size: .8rem; }
.infobar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 38px; }
.infobar p { display: flex; align-items: center; gap: .55rem; }
.dot { width: 7px; height: 7px; background: var(--terracotta); transform: rotate(45deg); }
.infobar-mail:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white); color: var(--slate);
  border-bottom: 1px solid var(--line); transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(32,43,53,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; transition: height .4s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; position: relative; z-index: 2; }
.brand-mark { width: 50px; height: 43px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.brand-sub { font-size: .64rem; font-weight: 700; letter-spacing: .44em; text-transform: uppercase; margin-top: .35rem; color: var(--terracotta); }
.brand--light { color: var(--white); }

.main-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.main-nav a { position: relative; font-size: .92rem; font-weight: 500; padding: .5rem 0; transition: color .3s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terracotta); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--terracotta); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-mobile-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--terracotta); }
.header-phone:hover { color: var(--terracotta); }

.nav-toggle { display: none; width: 46px; height: 46px; position: relative; z-index: 2; background: var(--slate); border-radius: var(--radius); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.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 ---------- */
.hero { display: grid; grid-template-columns: 46% 54%; min-height: min(calc(100vh - 122px), 820px); background: var(--slate); color: var(--white); }
.hero-panel { display: flex; align-items: center; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) calc(clamp(3.5rem, 7vw, 6rem) + 60px) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); position: relative; z-index: 2; }
.hero-content { max-width: 36rem; }
.hero-title { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.015em; margin-bottom: 1.2rem; }
.hero-title span { color: var(--terracotta-light); font-style: italic; font-weight: 600; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.35; margin-bottom: 1.2rem; }
.hero-text { color: var(--text-light); margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-visual { position: relative; overflow: hidden; }
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  clip-path: polygon(calc(var(--pitch) + 3%) 0, 100% 0, 100% 100%, 3% 100%);
  animation: heroImg 1.6s var(--ease-out) both;
}
.hero-stripe {
  position: absolute; inset: 0; background: var(--terracotta);
  clip-path: polygon(var(--pitch) 0, calc(var(--pitch) + 3%) 0, 3% 100%, 0 100%);
  animation: heroStripe 1.2s var(--ease-out) .2s both;
}
.hero-badge {
  position: absolute; right: 0; bottom: 60px; z-index: 2;
  background: var(--white); color: var(--slate); padding: 1.1rem 1.5rem 1.1rem 1.3rem;
  border-left: 5px solid var(--terracotta); font-size: .85rem; line-height: 1.35;
  animation: anim 1s var(--ease-out) .9s both;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }

@keyframes heroImg { from { transform: scale(1.06); } to { transform: none; } }
@keyframes heroStripe { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes anim { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.anim { animation: anim 1s var(--ease-out) both; animation-delay: calc(.15s + var(--d) * .1s); }

/* ---------- Atouts ---------- */
.assets-strip { position: relative; z-index: 3; margin-top: -60px; }
.assets { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: 0 14px 40px rgba(32,43,53,.1); }
.asset { padding: 2rem 1.8rem; border-right: 1px solid var(--line); }
.asset:last-child { border-right: 0; }
.asset svg { width: 40px; height: 40px; color: var(--terracotta); margin-bottom: 1rem; }
.asset h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.1; margin-bottom: .35rem; }
.asset p { font-size: .9rem; color: var(--mineral); line-height: 1.5; }
.asset--accent { background: var(--terracotta); color: var(--white); border-right: 0; }
.asset--accent svg { color: var(--white); }
.asset--accent p { color: rgba(255,255,255,.88); }

/* ---------- Entreprise ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.about-media { position: relative; padding: 0 0 0 0; }
.about-block { position: absolute; left: -26px; top: -26px; width: 55%; height: 62%; background: var(--terracotta); }
.about-media img { position: relative; width: 100%; aspect-ratio: 20 / 23; object-fit: cover; }
.about-card {
  position: relative; z-index: 2; margin-left: -18%;
  background: var(--slate); color: var(--white);
  padding: clamp(2rem, 1.2rem + 3vw, 3.6rem);
}
.about-card .title { color: var(--white); }
.about-card .title span { color: var(--terracotta-light); }
.about-card p { color: var(--text-light); margin-bottom: 1rem; }
.about-card p strong { color: var(--white); }
.pledges { display: grid; gap: .1rem; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line-light); }
.pledges li { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-light); font-weight: 600; }
.pledges span { display: grid; place-items: center; width: 34px; height: 34px; background: var(--terracotta); font-size: .78rem; font-weight: 700; flex: none; }

/* ---------- Tuiles prestations ---------- */
.services-overview { background: var(--stone); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile a { position: relative; display: block; aspect-ratio: 5 / 6; overflow: hidden; background: var(--slate); color: var(--white); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .4s; opacity: .85; }
.tile a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(32,43,53,0) 35%, rgba(32,43,53,.92) 100%); }
.tile a::after { content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; height: 5px; width: 0; background: var(--terracotta); transition: width .5s var(--ease); }
.tile a:hover img { transform: scale(1.07); opacity: 1; }
.tile a:hover::after { width: 100%; }
.tile-num { position: absolute; top: 0; left: 0; z-index: 2; background: var(--terracotta); padding: .45rem .7rem; font-size: .8rem; font-weight: 700; }
.tile-title { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }

/* ---------- Bloc couverture ---------- */
.cover-block { display: grid; grid-template-columns: 1fr 1fr; background: var(--slate); color: var(--white); min-height: 560px; }
.cover-text { padding: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); }
.cover-text p { color: var(--text-light); margin-bottom: 1rem; }
.cover-text p strong { color: var(--white); }
.cover-visual { position: relative; overflow: hidden; }
.cover-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.cover-visual::before { content: ""; position: absolute; inset: 0; background: var(--terracotta); clip-path: polygon(18% 0, 22% 0, 0 100%, 0 100%); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; margin: 1.6rem 0 2rem; }
.checks li { position: relative; padding-left: 1.7rem; font-size: .94rem; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 8px; border-left: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta); transform: rotate(-45deg); }
.checks--light li::before { border-color: var(--terracotta-light); }

/* ---------- Réparation ---------- */
.repair-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.repair-media { position: relative; margin-bottom: 2rem; }
.repair-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.repair-tag {
  position: absolute; right: -2rem; bottom: -2rem; max-width: 260px;
  background: var(--terracotta); color: var(--white); padding: 1.4rem 1.5rem; font-size: .9rem; line-height: 1.45;
}
.repair-tag strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-bottom: .3rem; }
.process { display: grid; gap: .8rem; margin-top: 1.6rem; }
.process li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--stone); border-left: 4px solid var(--slate); transition: border-color .3s; }
.process li:hover { border-left-color: var(--terracotta); }
.process span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--slate); color: var(--white); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.process h3 { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; }
.process p { font-size: .9rem; color: var(--mineral); line-height: 1.5; }

/* ---------- Zinguerie ---------- */
.feature--stone { background: var(--stone); }
.zinc-grid { display: grid; grid-template-columns: 1fr 14px 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.zinc-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-content: center; }
.zinc-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.zinc-gallery img:nth-child(2) { margin-top: 2.5rem; }
.zinc-gallery img:nth-child(3) { margin-top: -2.5rem; }
.zinc-bar { background: var(--terracotta); }
.zinc-content { align-self: center; padding-block: 1rem; }

/* ---------- Entretien ---------- */
.care-block { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); min-height: 560px; }
.care-text { padding: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); }
.care-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2rem; }
.care-cols > div { padding: 1.2rem; background: var(--stone); border-top: 4px solid var(--terracotta); }
.care-cols h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.15; margin-bottom: .35rem; }
.care-cols p { font-size: .88rem; color: var(--mineral); line-height: 1.5; }
.care-visual { position: relative; overflow: hidden; background: var(--white); }
.care-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.care-stripe { position: absolute; inset: 0; background: var(--slate); clip-path: polygon(14% 0, 18% 0, 0 82%, 0 64%); }

/* ---------- Méthode ---------- */
.method {
  position: relative; background: var(--slate); color: var(--white);
  padding: calc(var(--section) + 60px) 0 var(--section);
  clip-path: polygon(0 70px, 50% 0, 100% 70px, 100% 100%, 0 100%);
  margin-top: -1px;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.6rem; background: var(--slate-2); border-top: 4px solid var(--terracotta); }
.step-num { display: block; font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--terracotta-light); margin-bottom: 1rem; }
.step h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; line-height: 1.1; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--text-light); line-height: 1.55; }
.method-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 3rem; }
.method-cta p { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; font-style: italic; }

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.clients-grid li { padding: 1.8rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--slate); transition: border-top-color .3s, transform .3s var(--ease); }
.clients-grid li:hover { border-top-color: var(--terracotta); transform: translateY(-4px); }
.clients-grid h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.1; margin-bottom: .5rem; }
.clients-grid p { font-size: .92rem; color: var(--mineral); line-height: 1.55; }

/* ---------- Secteur ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.towns li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; background: var(--white); border: 1px solid var(--line-strong); font-weight: 500; font-size: .92rem; }
.towns li::before { content: ""; width: 8px; height: 8px; background: var(--terracotta); transform: rotate(45deg); }
.towns li.is-main { background: var(--slate); color: var(--white); border-color: var(--slate); font-weight: 700; }
.area-map { position: relative; }
.area-map::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 45%; height: 55%; background: var(--terracotta); }
.area-map iframe { position: relative; width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.02); background: var(--white); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.faq-call { display: inline-flex; flex-direction: column; margin-top: 1rem; padding: 1.1rem 1.4rem; background: var(--stone); border-left: 4px solid var(--terracotta); font-size: .9rem; color: var(--mineral); }
.faq-call strong { font-size: 1.35rem; color: var(--slate); }
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--stone); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--slate); color: var(--white); font-size: 1.2rem; font-weight: 400; transition: background-color .3s; }
.faq-item[open] summary::after { content: "–"; background: var(--terracotta); }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--mineral); }

/* ---------- Contact ---------- */
.contact { background: var(--stone); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: 0 20px 50px rgba(32,43,53,.1); }
.contact-panel { position: relative; overflow: hidden; background: var(--slate); color: var(--white); padding: clamp(2rem, 1.2rem + 3.5vw, 4rem); }
.contact-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; background: var(--terracotta); transform: rotate(45deg); opacity: .9; }
.contact-lead { color: var(--text-light); margin-bottom: 1.8rem; }
.contact-phone { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.3rem; background: var(--terracotta); font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; transition: background-color .3s; }
.contact-phone:hover { background: var(--terracotta-dark); }
.contact-phone svg { width: 24px; height: 24px; }
.contact-details { display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.contact-details dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: .2rem; }
.contact-details dd { color: rgba(255,255,255,.9); word-break: break-word; }
.contact-details a:hover { color: var(--terracotta-light); }

.quote-form { position: relative; background: var(--white); padding: clamp(2rem, 1.2rem + 3.5vw, 4rem); display: grid; gap: 1.2rem; align-content: start; }
.form-title { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
.field-group { border: 0; padding: 0; margin: 0; }
.field-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .45rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem .95rem; font-size: .86rem; font-weight: 500; background: var(--stone); border: 1px solid transparent; transition: background-color .25s, color .25s; }
.chip:hover span { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--slate); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; background: var(--stone); border: 1px solid transparent; border-bottom: 2px solid var(--line-strong); border-radius: 0; font-size: 1rem; transition: border-color .25s, background-color .25s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--line); border-bottom-color: var(--terracotta); }
.field.has-error input { border-bottom-color: var(--terracotta-dark); }
.field-error { display: block; font-size: .8rem; color: var(--terracotta-dark); margin-top: .3rem; }
.field-error:empty { margin: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--mineral); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .1rem; flex: none; accent-color: var(--terracotta); }
.consent-error { margin-top: -.8rem; }
.form-success { position: absolute; inset: 0; background: var(--white); padding: clamp(2rem, 1.2rem + 3.5vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; border-top: 6px solid var(--terracotta); }
.form-success[hidden] { display: none; }
.form-success p { color: var(--mineral); }
.form-success a { color: var(--terracotta); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--white); border-top: 6px solid var(--terracotta); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .92rem; margin: 1.2rem 0 1.4rem; max-width: 22rem; }
.footer-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .6rem; position: relative; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--terracotta); }
.footer-links { display: grid; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-links a { transition: color .25s; word-break: break-word; }
.footer-links a:hover { color: var(--terracotta-light); }
.footer-phone { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-light); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.3rem; padding-right: calc(var(--gutter) + 70px); font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Bouton d'appel flottant ---------- */
.call-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--terracotta); color: var(--white); border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(32,43,53,.25);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.call-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.call-fab:hover { background: var(--terracotta-dark); }
.call-fab svg { width: 24px; height: 24px; }
.call-fab::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--terracotta); border-radius: var(--radius); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }


.footer-credit a { color: var(--terracotta-light); font-weight: 600; }
.footer-credit a:hover { color: var(--white); }

/* =========================================================
   RESPONSIVE
   Paliers : ≤1180 (petit portable / tablette paysage)
             ≤980  (tablette portrait)
             ≤640  (mobile)
             ≤380  (petit mobile)
   ========================================================= */

/* ---------- ≤ 1180px ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .main-nav ul { gap: 1.1rem; }
  .asset { padding: 1.6rem 1.3rem; }
  .tile-title { font-size: 1.3rem; }
  .hero-content { max-width: 32rem; }
  .hero-panel { padding-top: 3rem; padding-bottom: calc(3rem + 60px); }
  .hero-text { font-size: .95rem; margin-bottom: 1.8rem; }
  .about-card { margin-left: -12%; }
  .zinc-grid { gap: 1.5rem; }
}

/* ---------- ≤ 980px : tablette ---------- */
@media (max-width: 980px) {
  html { scroll-padding-top: 80px; }
  .infobar .infobar-hours { display: none; }

  /* Header + menu */
  .nav-toggle { display: block; }
  .header-actions .btn--sm { display: none; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 70px; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--white); padding: 120px var(--gutter) max(2rem, env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; }
  .main-nav a::after { display: none; }
  .nav-mobile-footer { display: grid; gap: .8rem; text-align: center; color: var(--mineral); font-size: .9rem; }
  body.menu-open { overflow: hidden; }

  /* Hero : photo au-dessus, texte dessous */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { height: clamp(260px, 46vw, 400px); order: -1; }
  .hero-visual img { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); animation: none; }
  .hero-stripe { display: none; }
  .hero-badge { bottom: auto; top: 1rem; animation: none; }
  .hero-panel { padding: 2.5rem var(--gutter) 3.5rem; }
  .hero-content { max-width: 40rem; }

  /* Atouts */
  .assets-strip { margin-top: 0; }
  .assets { grid-template-columns: 1fr 1fr; box-shadow: none; border: 1px solid var(--line); }
  .asset { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .asset:nth-child(2n) { border-right: 0; }
  .asset:nth-child(n+3) { border-bottom: 0; }

  /* Entreprise */
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin-left: 26px; }
  .about-media img { aspect-ratio: 16 / 9; }
  .about-card { margin: -5rem 0 0 clamp(1rem, 6vw, 3rem); }

  /* Prestations : 4 colonnes compactes */
  .tiles { grid-template-columns: repeat(4, 1fr); gap: .7rem; }
  .tile a { aspect-ratio: 3 / 4; }
  .tile-title { font-size: 1.12rem; left: .8rem; right: .8rem; bottom: .8rem; }
  .tile-num { padding: .35rem .55rem; font-size: .72rem; }

  /* Blocs couverture / entretien */
  .cover-block, .care-block { grid-template-columns: 1fr; min-height: 0; }
  .cover-visual, .care-visual { height: clamp(220px, 40vw, 340px); order: -1; }
  .cover-visual img, .care-visual img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
  .cover-visual::before, .care-stripe { display: none; }

  /* Réparation */
  .repair-grid { grid-template-columns: 1fr; gap: 3rem; }
  .repair-media img { aspect-ratio: 16 / 9; }
  .repair-tag { right: 1.5rem; bottom: -1.5rem; }

  /* Zinguerie : galerie sur une ligne */
  .zinc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .zinc-gallery { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .zinc-gallery img:nth-child(2), .zinc-gallery img:nth-child(3) { margin-top: 0; }
  .zinc-bar { height: 6px; width: 100px; }

  /* Méthode, clients */
  .method { clip-path: polygon(0 50px, 50% 0, 100% 50px, 100% 100%, 0 100%); padding-top: calc(var(--section) + 40px); }
  .steps, .clients-grid { grid-template-columns: 1fr 1fr; }

  /* Secteur, FAQ, contact */
  .area-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .area-map { margin-right: 16px; }
  .area-map iframe { height: 380px; }
  .faq-call { display: flex; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
}

/* Téléphone en paysage / écrans bas */
@media (max-width: 980px) and (max-height: 520px) and (orientation: landscape) {
  .hero-visual { height: 200px; }
  .cover-visual, .care-visual { height: 200px; }
  .main-nav { padding-top: 90px; }
  .main-nav a { font-size: 1.4rem; padding: .6rem 0; }
}

/* ---------- ≤ 640px : mobile ---------- */
@media (max-width: 640px) {
  .infobar-mail { display: none; }
  .infobar-inner { justify-content: center; min-height: 34px; font-size: .76rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 42px; height: 36px; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 64px; }
  .nav-toggle { width: 44px; height: 44px; }
  .main-nav { padding-top: 110px; }
  .main-nav a { font-size: 1.65rem; padding: .85rem 0; }

  .title { margin-bottom: 1.2rem; }
  .head-center { margin-bottom: 2rem; }

  /* Hero */
  .hero-visual { height: 240px; }
  .hero-badge { top: .75rem; padding: .65rem .9rem .65rem .8rem; font-size: .74rem; border-left-width: 4px; }
  .hero-badge strong { font-size: 1.15rem; }
  .hero-panel { padding: 2rem var(--gutter) 2.8rem; }
  .hero-text { margin-bottom: 1.8rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  /* Atouts */
  .asset { padding: 1.2rem 1rem; }
  .asset svg { width: 32px; height: 32px; margin-bottom: .7rem; }
  .asset h3 { font-size: 1.15rem; }
  .asset p { font-size: .8rem; }

  /* Entreprise */
  .about-media { margin-left: 14px; }
  .about-media img { aspect-ratio: 4 / 3; }
  .about-block { left: -14px; top: -14px; }
  .about-card { margin: -2.5rem 0 0; padding: 2rem 1.4rem; }
  .about-card .btn { width: 100%; }

  /* Prestations : 2 colonnes carrées */
  .tiles { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tile a { aspect-ratio: 1; }
  .tile-title { font-size: 1.08rem; }

  /* Couverture */
  .cover-visual, .care-visual { height: 210px; }
  .cover-text, .care-text { padding: 2rem 1.4rem 2.4rem; }
  .checks, .care-cols { grid-template-columns: 1fr; }
  .cover-text .btn, .care-text .btn, .zinc-content .btn { width: 100%; }

  /* Réparation */
  .repair-grid { gap: 2rem; }
  .repair-media img { aspect-ratio: 4 / 3; }
  .repair-tag { position: relative; right: auto; bottom: auto; max-width: none; margin: -2rem 1rem 0; padding: 1.1rem 1.2rem; }
  .repair-tag strong { font-size: 1.35rem; }
  .process li { padding: 1rem; gap: .9rem; }
  .process span { width: 36px; height: 36px; font-size: 1.2rem; }

  /* Zinguerie */
  .zinc-gallery { grid-template-columns: 1fr 1fr; gap: .5rem; }

  /* Méthode : étapes en ligne compactes */
  .method { clip-path: polygon(0 32px, 50% 0, 100% 32px, 100% 100%, 0 100%); padding-top: calc(var(--section) + 24px); }
  .steps { grid-template-columns: 1fr; gap: .7rem; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: start; padding: 1.3rem 1.2rem; }
  .step-num { grid-row: span 2; font-size: 2.4rem; margin-bottom: 0; }
  .step h3 { font-size: 1.3rem; margin-bottom: .25rem; }
  .method-cta { flex-direction: column; text-align: center; margin-top: 2.2rem; }
  .method-cta p { font-size: 1.35rem; }
  .method-cta .btn { width: 100%; }

  /* Clients */
  .clients-grid { grid-template-columns: 1fr; gap: .7rem; }
  .clients-grid li { padding: 1.3rem 1.2rem; }
  .clients-grid h3 { font-size: 1.3rem; }

  /* Secteur */
  .towns { gap: .45rem; }
  .towns li { padding: .5rem .8rem; font-size: .86rem; }
  .area-map { margin-right: 8px; }
  .area-map iframe { height: 300px; }
  .area-map::before { right: -8px; bottom: -8px; }

  /* FAQ */
  .faq-item summary { padding: 1rem 1.1rem; font-size: .97rem; }
  .faq-item summary::after { width: 28px; height: 28px; }
  .faq-item p { padding: 0 1.1rem 1.1rem; font-size: .94rem; }

  /* Contact */
  .contact { padding-inline: 0; }
  .contact .container { padding-inline: 0; }
  .contact-grid { box-shadow: none; }
  .contact-panel, .quote-form { padding: 2.2rem var(--gutter); }
  .contact-phone { font-size: 1.3rem; width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .chip span { padding: .6rem .85rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: .15rem; }
  .footer-links li { padding: 0; }
  .footer-links a, .footer-bottom a, .contact-details a { display: inline-block; padding: .55rem 0; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: .4rem; padding-bottom: calc(1.3rem + 70px); }

  .call-fab { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

/* ---------- ≤ 380px : petits mobiles ---------- */
@media (max-width: 380px) {
  .brand-name { font-size: 1.02rem; }
  .brand-sub { letter-spacing: .34em; }
  .brand-mark { width: 36px; height: 31px; }
  .tile-title { font-size: .98rem; left: .6rem; right: .6rem; bottom: .6rem; }
  .assets { grid-template-columns: 1fr; }
  .assets .asset { border-right: 0; border-bottom: 1px solid var(--line); }
  .assets .asset:last-child { border-bottom: 0; }
  .asset { display: grid; grid-template-columns: 32px 1fr; column-gap: .9rem; }
  .asset svg { grid-row: span 2; margin: 0; }
}

/* Écrans tactiles : pas d'effets de survol qui « collent » */
@media (hover: none) {
  .btn:hover, .clients-grid li:hover { transform: none; }
  .tile a:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
