/* Site : Trappes Contrôle */

:root {
      --red: #EA5A35;
      --red-dark: #ef8064;
      --blue: #331151;
      --blue-dark: #371F4B;
      --yellow: #EA5A35;
      --light: #F3F4F6;
      --white: #ffffff;
      --text: #1f2933;
      --muted: #607085;
      --border: #F3F4F6;
      --orange: #EB5A35;
      --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
      --radius: 20px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: var(--light);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }

    img { max-width: 100%; display: block; }
    .orange {
      color: #f4511e; /* orange du site */
      font-weight: 700;
    }
    .container {
      width: min(1180px, calc(100% - 32px));
      margin: auto;
    }

    .topbar {
      background: var(--blue-dark);
      color: var(--white);
      font-size: 14px;
      padding: 8px 0;
    }

    .topbar-inner {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }

    .navbar {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
      color: var(--blue-dark);
      letter-spacing: -0.2px;
    }

    .brand::before {
      content: "";
      width: 12px;
      height: 42px;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--red), #ff7a00);
      display: inline-block;
    }


    .brand small {
      display: block;
      color: var(--muted);
      font-weight: 600;
      line-height: 1.2;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 20px;
      font-weight: 700;
      color: var(--blue-dark);
    }

    nav a:hover { color: var(--red); }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 13px 20px;
      border-radius: 999px;
      font-weight: 800;
      border: 0;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      text-align: center;
    }

    .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

    .btn-primary {
      background: var(--red);
      color: var(--white);
    }

    .btn-primary:hover { background: var(--red-dark); }

    .btn-secondary {
      background: var(--yellow);
      color: var(--blue-dark);
    }

    .btn-outline {
      background: var(--white);
      border: 2px solid var(--blue);
      color: var(--blue);
    }

    .hero {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--blue-dark), var(--blue));
      color: var(--white);
      padding: 78px 0 64px;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto -120px -180px auto;
      width: 420px;
      height: 420px;
      background: var(--yellow);
      border-radius: 50%;
      opacity: 0.18;
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 42px;
      align-items: center;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 8px 14px;
      border-radius: 999px;
      font-weight: 800;
      margin-bottom: 18px;
    }

    h1 {
      font-size: clamp(34px, 5vw, 62px);
      line-height: 1.05;
      margin: 0 0 18px;
      letter-spacing: -1.5px;
    }

    .hero-logo-main {
      width: min(560px, 100%);
      background: var(--white);
      border-radius: 24px;
      padding: 20px 26px;
      margin: 0 0 24px;
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
      border: 5px solid rgba(255, 255, 255, 0.22);
    }

    .hero-logo-main img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .hero p {
      font-size: 19px;
      color: rgba(255,255,255,0.9);
      margin: 0 0 28px;
      max-width: 720px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 26px;
    }

    .hero-card {
      background: var(--orange);
      color: var(--text);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .hero-card h2 {
      color: var(--blue-dark);
      margin: 0 0 10px;
      font-size: 24px;
    }

    .quick-info {
      display: grid;
      gap: 12px;
      margin-top: 18px;
    }

    .quick-info div {
      display: flex;
      gap: 10px;
      padding: 12px;
      background: var(--light);
      border-radius: 14px;
      font-weight: 700;
    }

    .section {
      padding: 72px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 36px;
    }

    .section-title span {
      color: var(--red);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 13px;
    }

    .section-title h2 {
      color: var(--blue-dark);
      margin: 8px 0 10px;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.15;
    }

    .section-title p {
      color: var(--muted);
      max-width: 760px;
      margin: auto;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
    }

    .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    }

    .service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    }

    .service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    }

    .service-content h3 {
    color: var(--blue-dark);
    margin: 0 0 10px;
    font-size: 20px;
    }

    .service-content p {
    color: var(--muted);
    margin: 0 0 18px;
    flex: 1;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: stretch;
    }

    .panel {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }

    .panel h3 {
      color: var(--blue-dark);
      margin-top: 0;
      font-size: 26px;
    }

    .map-box {
      overflow: hidden;
      padding: 0;
      min-height: 420px;
    }

    .map-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .info-list {
      display: grid;
      gap: 14px;
      margin: 22px 0;
    }

    .info-item {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 16px;
      background: var(--light);
    }

    .info-item strong {
      display: block;
      color: var(--blue-dark);
      margin-bottom: 3px;
    }

    .hours {
      width: 100%;
      border-collapse: collapse;
      overflow: hidden;
      border-radius: 16px;
      background: var(--white);
    }

    .hours td {
      padding: 13px 12px;
      border-bottom: 1px solid var(--border);
    }

    .hours td:last-child {
      text-align: right;
      font-weight: 800;
      color: var(--blue-dark);
    }

    .gallery {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr 0.8fr;
      gap: 16px;
    }

    .gallery figure {
      margin: 0;
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--white);
      min-height: 220px;
      border: 1px solid var(--border);
    }

    .gallery figure:first-child {
      grid-row: span 2;
      min-height: 456px;
    }

    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .news-box {
      background: linear-gradient(135deg, var(--red), var(--red-dark));
      color: var(--white);
      border-radius: var(--radius);
      padding: 34px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      box-shadow: var(--shadow);
    }

    .news-box h2 { margin: 0 0 8px; }
    .news-box p { margin: 0; opacity: 0.92; }

    .faq {
      display: grid;
      gap: 14px;
      max-width: 900px;
      margin: auto;
    }

    details {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 18px 20px;
    }

    summary {
      cursor: pointer;
      color: var(--blue-dark);
      font-weight: 900;
    }

    details p { color: var(--muted); }

    footer {
      background: var(--blue-dark);
      color: var(--white);
      padding: 46px 0 22px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr 0.9fr;
      gap: 30px;
      margin-bottom: 32px;
    }

    .footer-logo {
    width: 360px;
    height: auto;
    background: transparent;
    border-radius: 16px;
    padding: 10px 15px;
    display: inline-block;
    margin-bottom: 14px;
    }

    .footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    }

    .socials {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .socials a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
    }

    .legal {
      border-top: 1px solid rgba(255,255,255,0.16);
      padding-top: 18px;
      color: rgba(255,255,255,0.78);
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      z-index: 999;
      transition: 0.3s;
    }

    .whatsapp-float img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
    }
    .news-list {
  margin-top: 20px;
  display: grid;
  gap: 15px;
    }

    .news-item {
      background: #fff;
      border-left: 5px solid #e85b35;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .news-item strong {
      display: block;
      margin-bottom: 5px;
      color: #1e2a38;
    }
    .affiches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
    }

    .affiches-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 22px;
      box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
      border: 1px solid var(--border);
    }
    .socials {
      display: flex;
      gap: 12px;
      margin-top: 15px;
    }

    .socials a {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.25s;
    }

    .socials a img {
      width: 22px;
      height: 22px;
      filter: brightness(0) invert(1); /* logos blancs */
    }

    .socials a:hover {
      background: var(--red);
      transform: translateY(-3px);
    }
    .icon-phone {
      font-size: 18px;
      color: var(--red);
    }
    .tel-top {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
    }

    .tel-top img {
      width: 20px;
      height: 20px;

    }
    @media (max-width: 900px) {
      .affiches-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 920px) {
      nav { display: none; }
      .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .gallery { grid-template-columns: 1fr 1fr; }
      .gallery figure:first-child { grid-row: auto; min-height: 260px; grid-column: span 2; }
      .news-box { grid-template-columns: 1fr; }
    }

    @media (max-width: 620px) {
      .services-grid, .gallery { grid-template-columns: 1fr; }
      .gallery figure:first-child { grid-column: auto; }
      .topbar-inner { justify-content: center; text-align: center; }
      .brand div:last-child { font-size: 14px; }
      .hero { padding: 50px 0; }
      .btn { width: 100%; }
    }
/* =========================
   UTILITAIRES
========================= */
.section-white { background: var(--white); }

.hero-title-small { font-size: clamp(28px, 4vw, 46px); }

.hero-note {
  font-size: 15px;
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.hero-card-text {
  color: var(--white);
  margin: 0;
}

.footer-muted {
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

.footer-contact { margin-bottom: 1em; }
