/* =============================================
   FRANCE ASSISTANCE DÉPANNAGE — style.css
   ============================================= */

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

:root {
  --blue:       #FF7B01;
  --blue-dark:  #DE6B00;
  --blue-light: #FFF0E0;
  --orange:     #FF7B01;
  --dark:       #1E1E20;
  --dark-2:     #141416;
  --gray-50:    #FFFFFD;
  --gray-100:   #F5F5F5;
  --gray-200:   #E9E9E9;
  --gray-400:   #BEBEBE;
  --gray-600:   #666666;
  --gray-800:   #25262A;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
  --font:       'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,.35);
}

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

.btn--nav {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  padding: 8px 18px;
  font-size: 14px;
}
.btn--nav:hover { background: #ea6b0a; border-color: #ea6b0a; color: var(--white); transform: translateY(-1px); }

.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Header top bar ---------- */
.header__top-bar {
  background: var(--dark);
  color: var(--gray-400);
  font-size: 13px;
}
.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
}
.header__phone {
  color: var(--white);
  font-weight: 600;
}
.header__phone:hover { color: var(--orange); }

/* ---------- Nav ---------- */
.header__nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header__nav.scrolled { box-shadow: var(--shadow); }

.header__nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}
.logo--light { color: var(--white); }
.logo__icon { font-size: 28px; flex-shrink: 0; }
.logo__text { font-size: 13px; line-height: 1.3; }
.logo__text strong { display: block; font-size: 15px; color: var(--orange); }
.logo--light .logo__text strong { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.nav__links a:hover { color: var(--orange); }

/* ---------- Burger ---------- */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--white);
  padding: 100px 32px 40px;
  flex-direction: column;
}
.nav__mobile.open { display: flex; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 20px; }
.nav__mobile a { font-size: 20px; font-weight: 600; color: var(--dark); }
.nav__mobile a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 20, 22, 0.88) 0%,
    rgba(30, 30, 32, 0.75) 50%,
    rgba(255, 123, 1, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-block: 80px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  background: rgba(255,123,1,.35);
  border: 1px solid rgba(255,255,255,.25);
  color: #FFD6A5;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #FFB566 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 620px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section--light { background: var(--gray-50); }
.section--dark { background: var(--dark); }
.section--accent { background: linear-gradient(285deg, #FF7B01 -1.5%, #1E1E20 100%); }

.section__header { text-align: center; margin-bottom: 56px; }
.section__header--light .section__title,
.section__header--light .section__subtitle { color: var(--white); }

.section__eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section__eyebrow--light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section--dark .section__title { color: var(--white); }
.section--accent .section__title { color: var(--white); }

.section__subtitle { font-size: 17px; color: var(--gray-600); max-width: 560px; margin-inline: auto; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card__icon {
  font-size: 38px;
  margin-bottom: 18px;
  display: block;
}
.card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.card__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.card__list { padding-left: 4px; }
.card__list li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0 4px 18px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.card__list li:last-child { border-bottom: none; }

/* ---------- Features (Why us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.feature:hover { background: rgba(255,255,255,.1); }

.feature__icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255,123,1,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__body h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.feature__body p  { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.value-card__icon {
  font-size: 44px;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background var(--transition);
}
.testimonial:hover { background: rgba(255,255,255,.12); }

.testimonial__stars { color: #fbbf24; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }

.testimonial__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial__footer strong { display: block; color: var(--white); font-size: 14px; }
.testimonial__footer span  { font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Contact ---------- */
.contact-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-info__list--centered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.contact-info__list--centered li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-cta {
  margin-top: 8px;
}
.contact-info__ico {
  font-size: 22px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__list strong { display: block; font-size: 13px; color: var(--gray-600); margin-bottom: 2px; }
.contact-info__list a { font-size: 14px; font-weight: 500; color: var(--orange); }
.contact-info__list a:hover { text-decoration: underline; }
.contact-info__list span { font-size: 14px; color: var(--gray-800); }



/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer__brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 20px;
}
.footer__bottom p { font-size: 13px; text-align: center; }

/* ---------- FAB (floating call button) ---------- */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 24px rgba(249,115,22,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse 2.5s infinite;
}
.fab:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(249,115,22,.6); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(249,115,22,.45); }
  50%       { box-shadow: 0 6px 36px rgba(249,115,22,.7); }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding-block: 60px; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; justify-content: center; }

  .hero__stats { gap: 24px; }

  .features,
  .values,
  .testimonials,
  .cards { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }

  .header__top-bar { display: none; }
}
