﻿/* ==========================================================================
   RKB Truck & Trailer Repairs — Cochrane, Alberta (EN)
   Thème « hot-rod garage » inspiré du nouveau logo : truck noir, chrome,
   flammes rouge → orange → jaune, crème.
   ========================================================================== */
:root {
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ink: #16120E;          /* encre charbon chaud */
  --ink-2: #23190F;
  --ink-deep: #080705;
  --charcoal: #26221C;     /* truck body sombre */
  --chrome: #D8D8D8;       /* chrome argent */
  --chrome-light: #F4F4F2;
  --chrome-deep: #9C9C96;  /* chrome ombré */
  --cream: #F7F3EC;        /* papier crème */
  --cream-2: #EFE9DE;
  --flame-red: #FF2400;    /* pointe de flamme */
  --flame-red-deep: #B22222; /* cerne rouge */
  --flame-orange: #FF8C00;
  --flame-yellow: #FFD700; /* cœur de flamme */
  --risk-red: #C1121F;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(23, 18, 12, .08);
  --shadow-lg: 0 26px 70px rgba(23, 18, 12, .22);
  --line: #E2DACA;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 170px; }  /* entête haute, on compense */
body {
  font-family: var(--font); color: var(--ink); background: var(--cream);
  line-height: 1.7; font-size: 18.5px; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--flame-red-deep); }
a:focus-visible, .card button:focus-visible, .filter-btn:focus-visible { outline: 3px solid var(--flame-orange); outline-offset: 3px; }
.container { width: min(1200px, 94%); margin-inline: auto; }
.skip-link { position: absolute; left: .6rem; top: -10rem; padding: .8rem 1.2rem; background: var(--ink-deep); color: #fff; border-radius: 8px; z-index: 2000; text-decoration: none; transition: top .3s; }
.skip-link:focus-visible { top: .6rem; }
:focus { outline-color: var(--flame-orange); }

/* ==========================================================================
   EN-TÊTE — HAUTE pour accueillir le nouveau logo (quasi carré, truck+flammes)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--white), var(--cream-2));
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--flame-red), var(--flame-orange), var(--flame-yellow), var(--flame-orange), var(--flame-red)) 1;
  box-shadow: 0 4px 18px rgba(23, 18, 12, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; padding: 1.2rem 0;   /* plus de padding : logo bien présent, pas minuscule */
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-logo {
  height: clamp(96px, 13vw, 150px);  /* TAILLE : logo bien visible, entête adaptée */
  width: auto; max-width: 26vw; object-fit: contain;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
/* Hover sur le logo RKB : léger soulèvement + lueur flamme */
.brand:hover .brand-logo {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(255,80,0,.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -.03em;
  color: var(--ink-deep);
  background: linear-gradient(180deg, var(--chrome-light), var(--chrome) 48%, var(--chrome-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.brand-tag {
  font-size: clamp(.72rem, 1.4vw, .88rem); font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.brand-tag::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--flame-yellow), var(--flame-orange) 55%, var(--flame-red) 100%);
  box-shadow: 0 0 10px 2px var(--flame-orange);
}
.topnav { display: flex; align-items: center; gap: 1.5rem; }
.topnav a {
  color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 1.02rem;
  padding: .35rem 0; position: relative;
}
.topnav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--flame-red), var(--flame-orange), var(--flame-yellow));
  border-radius: 3px; transition: width .3s var(--ease);
}
.topnav a:hover::after, .topnav a.active::after { width: 100%; }
.topnav a:hover, .topnav a.active { color: var(--flame-red-deep); }
.nav-phone {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink-deep); color: #fff !important; font-weight: 800;
  padding: .78rem 1.3rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(23,18,12,.28); transition: transform .25s, box-shadow .25s;
}
.nav-phone::before { content: '▸'; font-size: .9em; color: var(--flame-orange); }
.nav-phone:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23,18,12,.35); }
.nav-toggle {
  display: none; width: 46px; height: 46px; background: none; border: 0;
  cursor: pointer; position: relative; z-index: 2001;
}
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px auto; background: var(--ink-deep); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: min(72vh, 620px); min-height: 520px; overflow: hidden; background: var(--charcoal); }
.hero-bg, .hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-slide { opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(8,7,5,.78), rgba(8,7,5,.45) 45%, rgba(8,7,5,.10) 78%);
}
.hero-content {
  position: relative; z-index: 5; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; text-align: left;
  color: #fff; padding-block: 3rem;
}
.hero-content > * { max-width: 720px; margin-left: 0; margin-right: auto; }
.hero-kicker {
  display: flex; align-items: center; justify-content: flex-start; gap: .6rem;
  text-align: left; width: fit-content; max-width: 100%;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: .55rem 1.15rem; border-radius: 999px; font-weight: 800;
  font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 1.3rem;
  text-align: left;
}
.hero-cta { justify-content: flex-start; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em;
  max-width: 18ch; margin-bottom: 1rem;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--flame-red), var(--flame-orange) 55%, var(--flame-yellow));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { max-width: 56ch; color: #E9E2D4; font-size: clamp(1.05rem, 2vw, 1.2rem); margin-bottom: 1.7rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 800;
  text-decoration: none; font-family: var(--font); font-size: 1.02rem; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, var(--flame-red), var(--flame-orange) 52%, var(--flame-yellow));
  box-shadow: 0 10px 26px rgba(255,60,0,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(255,80,0,.45); }
.btn-outline { color: #fff; border: 2px solid rgba(255,255,255,.7); background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink-deep); transform: translateY(-3px); }
.hero-nav {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
}
.hero-arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.25rem; cursor: pointer;
  display: grid; place-items: center; transition: .25s;
}
.hero-arrow:hover { background: var(--flame-orange); border-color: var(--flame-orange); transform: scale(1.06); }
.hero-dots { display: flex; gap: .5rem; }
.hero-dot {
  width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4);
  cursor: pointer; transition: .25s;
}
.hero-dot.active { background: var(--flame-yellow); width: 30px; border-radius: 999px; }

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */
.sec-pad { padding-block: 4.5rem; }
.sec-tag {
  display: inline-block; color: var(--flame-red-deep); font-weight: 800;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.sec-head p { color: #6A5F4E; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: .8rem; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.6rem; align-items: center; }
.intro-perks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.perk {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1rem; font-size: .92rem; font-weight: 700; color: var(--ink-2);
}
.perk::before { content: '★'; color: var(--flame-orange); }
.intro-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.intro-figure { background: #fff; }
.intro-figure img { display: block; width: 100%; height: auto; }

/* ==========================================================================
   SERVICES (grille + filtres)
   ========================================================================== */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter-btn {
  font-family: var(--font); font-size: .95rem; font-weight: 800; cursor: pointer;
  padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink-2); transition: .25s;
}
.filter-btn:hover { border-color: var(--flame-orange); color: var(--flame-red-deep); }
.filter-btn.active {
  background: linear-gradient(115deg, var(--flame-red), var(--flame-orange));
  border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(255,80,0,.3);
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 16/10; background: var(--charcoal); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-cat {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: rgba(8,7,5,.82); color: var(--flame-yellow); font-size: .72rem;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.product-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .6rem; }
.product-short { color: #6A5F4E; margin-bottom: 1rem; }
.product-long-wrap { margin-top: auto; }
.product-long { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.product-card.open .product-long { max-height: 480px; opacity: 1; margin-bottom: 1rem; }
.product-feats { list-style: none; margin: .7rem 0 0; }
.product-feats li { padding: .3rem 0; padding-left: 1.4rem; position: relative; color: #4F4639; }
.product-feats li::before { content: '●'; position: absolute; left: 0; color: var(--flame-orange); font-size: .7rem; top: .55rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.more-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--flame-red-deep);
  font-size: 1rem; cursor: pointer; background: none; border: 0; padding: 0; font-family: var(--font);
}
.more-link:hover { color: var(--flame-orange); }
.more-link .chev { transition: transform .3s; }
.product-card.open .more-link .chev { transform: rotate(180deg); }
.phone-link { font-weight: 800; color: var(--ink-2); white-space: nowrap; }

/* ==========================================================================
   TAUX — pleine largeur, mise en évidence, larges fonts
   ========================================================================== */
.rates-section {
  background: linear-gradient(135deg, #16120E, #2A1D10 55%, #3B2B1A);
  color: #fff; padding-block: 4.5rem;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--flame-red), var(--flame-orange), var(--flame-yellow), var(--flame-orange), var(--flame-red)) 1;
  border-bottom: 4px solid;
  border-image: linear-gradient(90deg, var(--flame-red), var(--flame-orange), var(--flame-yellow), var(--flame-orange), var(--flame-red)) 1;
}
.rates-section .sec-tag { background: rgba(255,255,255,.12); color: var(--flame-yellow); }
.rates-section .sec-head p { color: #CFC6B0; }
.rates-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem;
  max-width: 1200px; margin-inline: auto;
}
.rate-card {
  background: linear-gradient(160deg, #221706, #171105);
  border: 2px solid; border-image: linear-gradient(135deg, var(--flame-red), var(--flame-yellow)) 1;
  border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.rate-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(255,80,0,.22); }
.rate-card h3 { color: var(--flame-yellow); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .6rem; letter-spacing: .02em; }
.rate-price {
  font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, #fff, var(--chrome));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .7rem; letter-spacing: -.02em;
}
.rate-card p { color: #CFC6B0; font-size: 1.1rem; }
.rate-card .rate-addon { color: var(--flame-orange); font-weight: 800; }

/* ==========================================================================
   BANDE CTA
   ========================================================================== */
.cta-band {
  background: linear-gradient(115deg, var(--flame-red), var(--flame-orange) 50%, var(--flame-yellow));
  background-size: 180% 180%; padding-block: 3.6rem; animation: ctaShift 10s ease infinite;
}
@keyframes ctaShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; color: #fff; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.92); max-width: 52ch; }
.cta-inner .sec-tag { color: rgba(255,255,255,.85); }
.cta-inner .btn-light { background: var(--white); color: var(--ink-deep); box-shadow: 0 10px 28px rgba(8,7,5,.25); }
.cta-inner .btn-light:hover { transform: translateY(-3px); }

/* ==========================================================================
   REVUES
   ========================================================================== */
.reviews { background: var(--cream-2); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 1.4rem; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.review-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.review-stars { color: var(--flame-orange); letter-spacing: .08em; font-size: 1.15rem; margin-bottom: .5rem; }
.review-date { display: block; color: #8A7E6B; font-size: .85rem; margin-bottom: .7rem; }
.review-text { color: #4F4639; }
.review-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.review-controls button {
  font-family: var(--font); font-weight: 800; min-height: 44px; padding: .55rem 1rem;
  border: 2px solid var(--flame-red-deep); background: var(--white); color: var(--flame-red-deep);
  border-radius: 10px; cursor: pointer;
}
.review-controls button:disabled { opacity: .5; cursor: default; }
.review-summary { color: #6A5F4E; margin-top: 1.2rem; }

/* Slider d'avis Google (js/reviews.js) */
.review-track {
  display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: .4rem .2rem 1rem; margin-bottom: .4rem;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track .review-card {
  flex: 0 0 calc((100% - 2.8rem) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.review-author { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.review-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-author a { color: inherit; text-decoration: none; }
.review-author h3 { margin: 0; }
.review-author .review-date { margin: 0; }
.review-track .review-text { margin: 0; flex: 1; }
.review-track .review-more { margin-top: .6rem; font-size: .9rem; color: var(--flame-red-deep); font-weight: 700; }
.review-source { margin-top: .9rem; font-size: .8rem; color: #8A7E6B; }
@media (max-width: 900px) { .review-track .review-card { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (max-width: 600px) { .review-track .review-card { flex-basis: 100%; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: stretch; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.card .row { display: flex; gap: .8rem; padding: .45rem 0; align-items: flex-start; }
.card .row .ico { color: var(--flame-orange); }
.card address { font-style: normal; }
.card address a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.card address a:hover { color: var(--flame-red-deep); }
.card .small { display: block; font-weight: 400; color: #6A5F4E; font-size: .95rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin-top: .5rem; font-size: 1.05rem; }
.hours .d { font-weight: 800; }
.hours .h { color: #6A5F4E; }
.contact-note { margin-top: 1.2rem; font-size: 1rem; }
.mapwrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--charcoal); min-height: 100%; }
.mapwrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.form-card { margin-top: 2.2rem; max-width: 100%; width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 10px;
  font-size: 1.02rem; font-family: var(--font); color: var(--ink); background: var(--cream);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--flame-orange); box-shadow: 0 0 0 4px rgba(255,140,0,.15); }
.captcha-field { margin-bottom: 1.25rem; }
.captcha-row { display: flex; align-items: center; gap: 1rem; }
.captcha-question {
  font-size: 1.25rem; font-weight: 800; background: var(--cream-2);
  border: 2px solid var(--line); border-radius: 10px; padding: .6rem 1.1rem; white-space: nowrap;
}
.captcha-row input { width: 110px; text-align: center; font-weight: 800; }
.captcha-field small { display: block; color: #8A7E6B; margin-top: .5rem; }
.form-card .btn { margin-top: .3rem; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: #CFC6B6; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; padding: 3.2rem 0 2.2rem; }
.footer-logo {
  height: clamp(96px, 13vw, 150px);  /* même taille que le logo de l'en-tête */
  width: auto; max-width: 26vw; object-fit: contain; margin-bottom: 1rem;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.footer-logo:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(255,80,0,.35));
}
.footer-brand p { font-size: .95rem; color: #9C9180; max-width: 34ch; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; }
.footer-col a { display: block; color: #CFC6B6; text-decoration: none; padding: .35rem 0; font-size: .98rem; }
.footer-col a:hover { color: var(--flame-yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; font-size: .92rem; }
.agency { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #CFC6B6; position: relative; overflow: hidden; }
.agency:hover span { text-decoration: underline; }
.agency img { height: 24px; width: auto; position: relative; z-index: 1; transition: transform .3s var(--ease); }
/* Hover sur le logo ADternative : reflet lumineux qui traverse */
.agency::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease); z-index: 2; pointer-events: none;
}
.agency:hover::after { left: 120%; }
.agency:hover img { transform: translateY(-2px); }

/* ==========================================================================
   RETOUR EN HAUT + REVEAL
   ========================================================================== */
.to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-red), var(--flame-orange));
  color: #fff; border: 0; font-size: 1.3rem; cursor: pointer; z-index: 900;
  box-shadow: 0 10px 26px rgba(255,80,0,.4); opacity: 0; visibility: hidden;
  transform: translateY(16px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.reveal { opacity: 1; transform: none; }
.js-reveal { opacity: 1; transform: none; }
.js-reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width: 1020px) {
  .product-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media(max-width: 760px) {
  .nav-toggle { display: block; }
  .topnav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 86vw);
    background: var(--ink-deep); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.5rem; padding: 2rem; transition: right .4s var(--ease);
    z-index: 2000;
  }
  .topnav.open { right: 0; }
  .topnav a { color: var(--cream); font-size: 1.2rem; padding: .6rem 0; width: 100%; }
  .topnav a::after { display: none; }
  .nav-phone { align-self: flex-start; margin-top: 1rem; }
  .product-grid, .review-grid { grid-template-columns: 1fr; }
  .hero { height: min(78vh, 560px); }
  .rates-grid { grid-template-columns: minmax(0, 1fr); }
  .rate-card { padding: 1.8rem 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo, .footer-logo { max-width: 32vw; }
}
@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; transform: none; }
}
/* Bannière avis Google */
.review-flyer { display: block; max-width: 760px; margin: 0 auto 2rem; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.review-flyer:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23,18,12,.18); }
.review-flyer img { display: block; width: 100%; height: auto; }

.review-summary { text-align: center; margin: 0 0 1.2rem; }

.reviews .review-source { text-align: center; }
.reviews-teaser { padding-block: 3rem; }
.reviews-teaser .sec-head { margin-bottom: 1.2rem; }
