/* ============================================================
   Rapid'Secours — Feuille de style principale
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --red:       #CC1B1B;
  --red-dark:  #A81515;
  --red-light: #E83232;
  --gold:      #F5A623;
  --dark:      #111111;
  --dark-2:    #1C1C1C;
  --dark-3:    #2A2A2A;
  --gray:      #666666;
  --gray-lt:   #999999;
  --border:    #E8E8E8;
  --light:     #F7F7F7;
  --white:     #FFFFFF;
  --green:     #1A9E3F;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: .2s ease;
  --max-w: 1160px;
  --px: 24px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ---------- Utility ---------- */
.text-red   { color: var(--red); }
.text-white { color: var(--white); }
.text-gray  { color: var(--gray-lt); }
.text-green { color: var(--green); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm  { font-size: .875rem; padding: 8px 16px; }
.btn--md  { font-size: 1rem;    padding: 12px 24px; }
.btn--lg  { font-size: 1.05rem; padding: 16px 28px; }
.btn--full{ width: 100%; justify-content: center; }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(204,27,27,.3);
}
.btn--red:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(204,27,27,.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--dark  { background: var(--dark-2); }
.section--light { background: var(--light); }

.section__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section__head--light { color: var(--white); }

.section__label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section__label--red { color: var(--red-light); }

.section__head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__head p { color: var(--gray); font-size: 1.05rem; }
.section__head--light p { color: var(--gray-lt); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.header__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header__nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header__nav a:hover { color: var(--red); background: rgba(204,27,27,.06); }

.header__cta { margin-left: auto; }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}
.header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0d0d0d 0%, #1a0808 60%, #0d0d0d 100%);
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(204,27,27,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,.08) 0%, transparent 40%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,27,27,.2);
  border: 1px solid rgba(204,27,27,.4);
  color: #FF8888;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,27,27,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(204,27,27,0); }
}

.hero__content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__sub strong { color: var(--gold); font-weight: 700; }

.hero__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__phones .btn--lg span { display: flex; flex-direction: column; line-height: 1.3; }
.hero__phones .btn--lg small { font-size: .7rem; font-weight: 500; opacity: .8; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero__stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

.hero__stat__sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-cat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.service-cat:hover { box-shadow: var(--shadow-md); }

.service-cat__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.service-cat__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.service-cat__icon--red  { background: rgba(204,27,27,.1);  color: var(--red); }
.service-cat__icon--gold { background: rgba(245,166,35,.12); color: #C88000; }

.service-cat__header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.service-list {
  padding: 8px 0;
}
.service-list li {
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  transition: background var(--transition);
}
.service-item:hover { background: var(--light); }

.service-item__text strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
}
.service-item__text span {
  font-size: .82rem;
  color: var(--gray);
  margin-top: 2px;
  display: block;
}
.service-item__price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   PILLARS (Engagements)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover {
  border-color: rgba(204,27,27,.4);
  transform: translateY(-4px);
}

.pillar__icon {
  width: 64px; height: 64px;
  background: rgba(204,27,27,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--red-light);
}

.pillar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ============================================================
   TARIFS
   ============================================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(204,27,27,.12);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--red);
  background: linear-gradient(145deg, rgba(204,27,27,.04), rgba(204,27,27,.02));
  box-shadow: 0 4px 20px rgba(204,27,27,.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-card__icon {
  width: 52px; height: 52px;
  background: rgba(204,27,27,.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--red);
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-card__price {
  margin-bottom: 16px;
  line-height: 1;
}
.pricing-card__price .from {
  font-size: .78rem;
  color: var(--gray);
  display: block;
  margin-bottom: 4px;
}
.pricing-card__price strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}
.pricing-card__price .text-green { font-size: 1.6rem; }

.pricing-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.5;
}

.pricing__note {
  text-align: center;
  font-size: .82rem;
  color: var(--gray);
  font-style: italic;
}

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.zone__text .section__label { display: block; margin-bottom: 12px; }
.zone__text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.zone__text > p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.zone__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.zone__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.5;
}
.zone__list li svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.zone__list li strong { color: var(--dark); }

.zone__map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.zone__map-embed iframe { display: block; }

/* ============================================================
   AVIS GOOGLE
   ============================================================ */
.reviews__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.reviews__stars { display: flex; gap: 3px; }
.star--full  { color: var(--gold); }
.star--half  { color: var(--gold); }
.star--empty { color: var(--border); }

.reviews__score { font-size: 1.4rem; font-weight: 800; }
.reviews__count { color: var(--gray); font-size: .9rem; }

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

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-card__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.review-card__author {
  flex: 1;
  min-width: 0;
}
.review-card__author strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-card__author span { font-size: .78rem; color: var(--gray); }

.review-card__google { color: #4285F4; flex-shrink: 0; }

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-card__text {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
}

.reviews__cta {
  text-align: center;
  margin-top: 40px;
}
.reviews__cta .btn--outline { color: var(--dark); border-color: var(--border); }
.reviews__cta .btn--outline:hover { border-color: var(--red); color: var(--red); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact__info .section__label { display: block; margin-bottom: 12px; }
.contact__info h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact__info > p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact__card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(204,27,27,.1);
}
.contact__card--info { cursor: default; }
.contact__card--info:hover { border-color: var(--border); box-shadow: none; }

.contact__card-icon {
  width: 42px; height: 42px;
  background: rgba(204,27,27,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact__card div span {
  display: block;
  font-size: .75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.contact__card div strong {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,27,27,.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
}

.form-error {
  font-size: .78rem;
  color: var(--red);
  min-height: 16px;
  display: block;
}

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

.form-group + .btn { margin-top: 8px; }

.btn-loader {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-legal {
  font-size: .75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(26,158,63,.08);
  border: 1px solid rgba(26,158,63,.3);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}
.form-success.visible { display: block; }

.form-error-global {
  margin-top: 16px;
  padding: 16px;
  background: rgba(204,27,27,.06);
  border: 1px solid rgba(204,27,27,.25);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: .9rem;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: .88rem; line-height: 1.7; max-width: 240px; }

.footer__col h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: .88rem; }
.footer__col a { transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .82rem;
}
.footer__bottom strong { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .zone__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }

  .header__nav,
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* Mobile nav */
  .header__nav.open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px var(--px);
    z-index: 999;
    animation: slide-down .2s ease;
  }
  .header__nav.open ul {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .header__nav.open a {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
  .header__nav.open + .header__cta {
    display: flex;
    position: fixed;
    bottom: 32px;
    left: var(--px);
    right: var(--px);
    z-index: 999;
  }
  .header__nav.open + .header__cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }

  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 640px) {
  :root { --px: 16px; }
  .section { padding: 64px 0; }

  .hero__phones { flex-direction: column; }
  .hero__phones .btn--lg { width: 100%; justify-content: center; }
  .hero__stats { gap: 20px; }
  .hero__stat__sep { height: 28px; }

  .pillars { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 24px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* Print */
@media print {
  .header, .hero__scroll, .footer { display: none; }
  .hero { min-height: auto; padding: 20px 0; }
  * { color: #000 !important; background: #fff !important; }
}
