/* MSD-Technics — feuille de styles principale */

/* hide loader before first paint on page-to-page navigation */
.no-loader #loader { display: none !important; }


/* loading screen */
#loader {
  position: fixed;
  inset: 0;
  background: #080f1e;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.85s ease 0.2s, visibility 0.85s ease 0.2s;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ambient pulse — halo bleu centré */
#loader::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,100,220,0.2) 0%, rgba(15,50,130,0.08) 50%, transparent 70%);
  animation: ambientPulse 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambientPulse {
  from { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  to   { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

/* vignette basse */
#loader::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(3,7,15,0.7) 0%, transparent 100%);
  pointer-events: none;
}

.loader-logo {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 3px;
  opacity: 0;
  margin-bottom: 6px;
  animation: fadeUp 0.65s ease 0.2s forwards;
  z-index: 1;
  text-shadow: 0 0 40px rgba(255,255,255,0.2), 0 0 80px rgba(230,126,34,0.12);
}

.loader-logo span { color: #e67e22; }

.loader-tagline {
  color: rgba(255,255,255,0.38);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0;
  margin-bottom: 42px;
  animation: fadeUp 0.65s ease 0.42s forwards;
  z-index: 1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.drop-wrap {
  position: relative;
  width: 260px;
  height: 310px;
  z-index: 1;
}

.drop {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 54px;
  height: 88px;
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  background: linear-gradient(180deg,
    rgba(190,230,255,0.75) 0%,
    rgba(70,165,255,0.95) 42%,
    rgba(15,105,235,1) 100%
  );
  box-shadow:
    0 0 22px rgba(60,155,255,0.95),
    0 0 65px rgba(35,120,255,0.55),
    0 0 130px rgba(15,90,230,0.28),
    inset 0 -12px 24px rgba(8,55,180,0.45);
  opacity: 0;
  animation: dropFall 1.15s cubic-bezier(0.4, 0, 0.72, 1) 0.7s forwards;
}

/* reflet principal */
.drop::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 16%;
  width: 32%;
  height: 20%;
  background: rgba(255,255,255,0.75);
  border-radius: 50%;
  filter: blur(3px);
}

/* reflet secondaire */
.drop::after {
  content: '';
  position: absolute;
  top: 32%;
  left: 50%;
  width: 12%;
  height: 28%;
  background: rgba(255,255,255,0.28);
  border-radius: 50%;
  filter: blur(2px);
  transform: translateX(-50%);
}

@keyframes dropFall {
  0%   { opacity: 0; top: -20px;  transform: translateX(-50%) scaleY(1.45) scaleX(0.78); }
  6%   { opacity: 1; }
  64%  { opacity: 1; top: 218px;  transform: translateX(-50%) scaleY(1.04) scaleX(0.97); }
  80%  { opacity: 1; top: 234px;  transform: translateX(-50%) scaleY(0.22) scaleX(2.15); }
  100% { opacity: 0; top: 240px;  transform: translateX(-50%) scaleY(0) scaleX(2.7); }
}

/* flash lumineux à l'impact */
.impact-flash {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,240,255,1) 0%, rgba(80,160,255,0.55) 40%, transparent 70%);
  opacity: 0;
  animation: impactFlash 0.55s ease-out 1.72s forwards;
  pointer-events: none;
}

@keyframes impactFlash {
  0%   { opacity: 0;   transform: translateX(-50%) scale(0); }
  18%  { opacity: 1;   transform: translateX(-50%) scale(1.5); }
  100% { opacity: 0;   transform: translateX(-50%) scale(3); }
}

.ripple-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.ripple:nth-child(1) { width: 65px;  height: 25px;  border: 3px solid rgba(160,215,255,0.95); animation: rippleOut 1s ease 1.74s forwards; }
.ripple:nth-child(2) { width: 160px; height: 60px;  border: 2px solid rgba(100,180,255,0.65); animation: rippleOut 1.15s ease 1.81s forwards; }
.ripple:nth-child(3) { width: 290px; height: 108px; border: 2px solid rgba(55,135,230,0.38);  animation: rippleOut 1.35s ease 1.88s forwards; }
.ripple:nth-child(4) { width: 440px; height: 162px; border: 1.5px solid rgba(230,126,34,0.22); animation: rippleOut 1.6s ease 1.95s forwards; }

@keyframes rippleOut {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* splash — 8 gouttes */
.splash {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
}

.splash-drop {
  position: absolute;
  width: 8px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(225,242,255,1), rgba(100,185,255,0.75));
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  opacity: 0;
  transform-origin: bottom center;
  box-shadow: 0 0 10px rgba(120,190,255,0.8);
}

.splash-drop:nth-child(1) { animation: sUp1 0.78s cubic-bezier(0.12,0.88,0.48,1) 1.73s forwards; }
.splash-drop:nth-child(2) { animation: sUp2 0.78s cubic-bezier(0.12,0.88,0.48,1) 1.73s forwards; }
.splash-drop:nth-child(3) { animation: sUp3 0.78s cubic-bezier(0.12,0.88,0.48,1) 1.73s forwards; }
.splash-drop:nth-child(4) { animation: sUp4 0.78s cubic-bezier(0.12,0.88,0.48,1) 1.73s forwards; }
.splash-drop:nth-child(5) { width:6px; height:11px; animation: sUp5 0.68s cubic-bezier(0.12,0.88,0.48,1) 1.76s forwards; }
.splash-drop:nth-child(6) { width:6px; height:11px; animation: sUp6 0.68s cubic-bezier(0.12,0.88,0.48,1) 1.76s forwards; }
.splash-drop:nth-child(7) { width:5px; height:9px;  animation: sUp7 0.62s cubic-bezier(0.12,0.88,0.48,1) 1.79s forwards; }
.splash-drop:nth-child(8) { width:5px; height:9px;  animation: sUp8 0.62s cubic-bezier(0.12,0.88,0.48,1) 1.79s forwards; }

@keyframes sUp1 {
  0%   { opacity:1; transform:translate(-36px,0) rotate(-46deg) scaleY(1); }
  55%  { opacity:1; }
  100% { opacity:0; transform:translate(-68px,-95px) rotate(-46deg) scaleY(0.18); }
}
@keyframes sUp2 {
  0%   { opacity:1; transform:translate(-14px,0) rotate(-18deg) scaleY(1); }
  55%  { opacity:1; }
  100% { opacity:0; transform:translate(-22px,-115px) rotate(-18deg) scaleY(0.18); }
}
@keyframes sUp3 {
  0%   { opacity:1; transform:translate(14px,0) rotate(18deg) scaleY(1); }
  55%  { opacity:1; }
  100% { opacity:0; transform:translate(22px,-115px) rotate(18deg) scaleY(0.18); }
}
@keyframes sUp4 {
  0%   { opacity:1; transform:translate(36px,0) rotate(46deg) scaleY(1); }
  55%  { opacity:1; }
  100% { opacity:0; transform:translate(68px,-95px) rotate(46deg) scaleY(0.18); }
}
@keyframes sUp5 {
  0%   { opacity:.85; transform:translate(-55px,0) rotate(-62deg) scaleY(1); }
  55%  { opacity:.85; }
  100% { opacity:0;   transform:translate(-90px,-62px) rotate(-62deg) scaleY(0.18); }
}
@keyframes sUp6 {
  0%   { opacity:.85; transform:translate(55px,0) rotate(62deg) scaleY(1); }
  55%  { opacity:.85; }
  100% { opacity:0;   transform:translate(90px,-62px) rotate(62deg) scaleY(0.18); }
}
@keyframes sUp7 {
  0%   { opacity:.75; transform:translate(-24px,-3px) rotate(-30deg) scaleY(1); }
  55%  { opacity:.75; }
  100% { opacity:0;   transform:translate(-42px,-135px) rotate(-30deg) scaleY(0.18); }
}
@keyframes sUp8 {
  0%   { opacity:.75; transform:translate(24px,-3px) rotate(30deg) scaleY(1); }
  55%  { opacity:.75; }
  100% { opacity:0;   transform:translate(42px,-135px) rotate(30deg) scaleY(0.18); }
}

.loader-bar {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: visible;
  z-index: 1;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(80,165,255,0.7), rgba(230,126,34,0.95) 60%, #fff);
  animation: fillBar 2.5s ease 0.5s forwards;
  position: relative;
}

.loader-bar-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(230,126,34,0.9), 0 0 24px rgba(230,126,34,0.5);
}

@keyframes fillBar {
  0%   { width: 0%; }
  50%  { width: 55%; }
  85%  { width: 88%; }
  100% { width: 100%; }
}

:root {
  --primary: #1a2e4a;
  --primary-light: #243d61;
  --accent: #e67e22;
  --white: #ffffff;
  --light: #f4f7fb;
  --gray: #6b7280;
  --dark: #111827;
  --border: #d1d5db;
  --shadow: 0 4px 20px rgba(26, 46, 74, 0.12);
  --radius: 10px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* bandeau urgence en haut */
.urgence-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 9px 24px;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.urgence-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
}

.urgence-tel {
  background: var(--white);
  color: var(--accent);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.urgence-tel:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 480px) {
  .urgence-inner {
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
  }
}

/* header */
header {
  background: var(--primary);
  position: sticky;
  top: 37px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #cf6d17 !important;
}

.lang-toggle {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 5px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.8px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.lang-toggle:hover { background: rgba(255,255,255,0.22); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* image de fond par page */
.hero-index {
  background:
    linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(26,46,74,0.75) 60%, rgba(26,46,74,0.65) 100%),
    url('../images/IMG_3232.jpeg') center center / cover no-repeat;
}

.hero-services {
  background:
    linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(26,46,74,0.75) 60%, rgba(26,46,74,0.65) 100%),
    url('../images/IMG_3214.jpeg') center center / cover no-repeat;
}

.hero-realisations {
  background:
    linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(26,46,74,0.75) 60%, rgba(26,46,74,0.65) 100%),
    url('../images/IMG_3210.jpeg') center center / cover no-repeat;
}

.hero-rdv {
  background:
    linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(26,46,74,0.75) 60%, rgba(26,46,74,0.65) 100%),
    url('../images/IMG_3227.jpeg') center center / cover no-repeat;
}

.hero-contact {
  background:
    linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(26,46,74,0.75) 60%, rgba(26,46,74,0.65) 100%),
    url('../images/IMG_3243.jpeg') center center / cover no-repeat;
}

.hero-full {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.2);
  color: var(--accent);
  border: 1px solid rgba(230, 126, 34, 0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #cf6d17;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

section {
  padding: 80px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* cartes services */
.services-bg {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(26, 46, 74, 0.18);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.why-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.why-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* cta */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* footer */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: var(--accent);
}

/* formulaires */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 750px;
  margin: 0 auto;
}

/* marquee */
.marquee-section {
  background: var(--light);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.marquee-track {
  overflow: hidden;
  width: 100%;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.marquee-content .dot {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.2rem;
}

.marquee-track:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* faq */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-left: 4px solid var(--primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font);
  text-align: left;
  gap: 16px;
}

.faq-question:hover {
  background: var(--light);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s;
  min-width: 24px;
  text-align: center;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* avis */
.avis-google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 600;
}

.avis-google-badge span:first-of-type {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.avis-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 4px solid var(--accent);
  transition: transform 0.2s;
}

.avis-card:hover {
  transform: translateY(-4px);
}

.avis-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.avis-texte {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.avis-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.avis-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.avis-auteur strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.avis-auteur span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* page services — grille avec photos */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.svc-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(26,46,74,0.16);
}

.svc-img-wrap {
  position: relative;
  overflow: hidden;
}

.svc-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.svc-card:hover .svc-img-wrap img {
  transform: scale(1.05);
}

.svc-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.svc-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.svc-body p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.svc-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.svc-body ul li {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
}

/* bouton whatsapp flottant */
.phone-float {
  position: fixed;
  bottom: 60px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.phone-btn {
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  animation: vibrate 1.2s ease-in-out infinite;
  text-decoration: none;
  transition: transform 0.2s;
}

.phone-btn:hover {
  transform: scale(1.1);
  animation: none;
}

.phone-bubble {
  background: var(--white);
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.phone-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--white);
  border-right: none;
}

.phone-bubble {
  position: relative;
}

.phone-float:hover .phone-bubble {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@keyframes vibrate {
  0%   { transform: rotate(0deg) scale(1); }
  5%   { transform: rotate(-18deg) scale(1.1); }
  10%  { transform: rotate(18deg) scale(1.1); }
  15%  { transform: rotate(-16deg) scale(1.05); }
  20%  { transform: rotate(16deg) scale(1.05); }
  25%  { transform: rotate(-14deg); }
  30%  { transform: rotate(14deg); }
  35%  { transform: rotate(-10deg); }
  40%  { transform: rotate(10deg); }
  45%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg) scale(1); }
}

/* responsive tablette */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  [style*="grid-template-columns:1fr 1fr"] {
    gap: 28px !important;
  }
}

/* mobile */
@media (max-width: 768px) {

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    z-index: 999;
  }
  nav.open { display: flex; }
  .hamburger { display: flex; }

  .hero { padding: 50px 20px; }
  .hero-full { min-height: calc(100vh - 70px); }
  .hero h1 { font-size: 1.75rem; line-height: 1.25; }
  .hero p { font-size: 0.98rem; }
  .hero-badge { font-size: 0.78rem; }

  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .btn-primary, .btn-outline {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  section { padding: 48px 16px; }
  .section-title h2 { font-size: 1.55rem; }
  .section-title p { font-size: 0.95rem; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .avis-card { padding: 18px 14px; }
  .avis-texte { font-size: 0.85rem; }
  .avis-card { padding: 20px 16px; }
  .avis-texte { font-size: 0.88rem; }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .svc-img-wrap img { height: 180px; }
  .svc-body { padding: 20px 16px; }
  .svc-body h2 { font-size: 1.1rem; }
  .service-card {
    padding: 24px 18px;
  }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.88rem; }
  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  [style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  [style*="grid-template-columns:1fr 1fr"] img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .why-item {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px 12px;
  }
  .why-number { font-size: 2rem; }
  .why-item h3 { font-size: 0.95rem; }
  .why-item p { font-size: 0.82rem; }

  .cta-banner { padding: 44px 16px; }
  .cta-banner h2 { font-size: 1.45rem; }
  .cta-banner p { font-size: 0.95rem; margin-bottom: 24px; }

  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 24px 16px; }

  .container > div[style*="display:grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .phone-float { bottom: 16px; right: 16px; }
  .phone-btn { width: 54px; height: 54px; font-size: 1.4rem; }
  .phone-bubble { display: none; }
}

/* petit mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.45rem; }
  .section-title h2 { font-size: 1.3rem; }
  .cta-banner h2 { font-size: 1.2rem; }

  /* 1 colonne sur très petit écran */
  .services-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
}
