﻿/* ============================================================
   RM Energy – Feuille de styles principale
   Organisation : Variables → Reset → Utilitaires → Mise en page
                  → Composants → Sections → Responsive
   ============================================================ */

/* ---- Variables ---- */
:root {
    /* Brand */
    --orange: #FF6B2B;
    --orange-dark: #D9531A;
    --blue: #1A8FE3;
    --blue-dark: #0F6DB5;
    --yellow: #F5C400;

    /* Backgrounds */
    --bg-dark: #06091A;
    --bg-dark-alt: #0D172E;
    --bg-dark-card: #131D34;
    --bg-light: #ffffff;
    --bg-light-alt: #F4F7FB;

    /* Text  dark sections */
    --text-inv: #E8EDF5;
    --text-inv-muted: #8892A4;

    /* Text  light sections */
    --text: #0D172E;
    --text-muted: #5A6B7A;

    /* Borders */
    --border: #E2E8F0;
    --border-dark: rgba(255, 255, 255, 0.09);

    /* Fonts */
    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;

    --r-sm: 6px;
    --r-md: 14px;
    --r-lg: 24px;

    /* Shadows */
    --sh-sm: 0 1px 4px rgba(0, 0, 0, .08);
    --sh-md: 0 4px 24px rgba(0, 0, 0, .10);
    --sh-lg: 0 8px 48px rgba(0, 0, 0, .18);

    /* Motion */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --fast: 0.2s;
    --mid: 0.35s;
    --slow: 0.55s;

    --nav-h: 70px;
    --container: 1160px;
  }

  *,
  *::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: var(--font-body);
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

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

  ul {
    list-style: none;
  }

  strong {
    font-weight: 600;
  }

  .container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
  }

  .section {
    padding-block: 6rem;
  }

  .section-light {
    background: var(--bg-light);
  }

  .section-dark {
    background: var(--bg-dark-alt);
    color: var(--text-inv);
  }

  .section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
  }

  .section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(255, 107, 43, .1);
    padding: .3rem .85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    font-family: var(--font-body);
  }

  .section-tag--light {
    color: var(--yellow);
    background: rgba(245, 196, 0, .12);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: .75rem;
  }

  .section-title--light {
    color: var(--text-inv);
  }

  .section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .section-subtitle--light {
    color: var(--text-inv-muted);
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition:
      background var(--mid) var(--ease),
      color var(--mid) var(--ease),
      border-color var(--mid) var(--ease),
      transform var(--fast) var(--ease),
      box-shadow var(--mid) var(--ease);
    will-change: transform;
    position: relative;
    overflow: hidden;
  }

  .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0;
    border-radius: inherit;
    transition: opacity var(--fast);
  }

  .btn:active::after {
    opacity: 1;
  }

  .btn:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
  }

  .btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
  }

  .btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    box-shadow: 0 6px 24px rgba(255, 107, 43, .4);
    transform: translateY(-2px);
  }

  .btn-outline {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
  }

  .btn-outline:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
  }

  .btn-outline--light {
    color: var(--text-inv);
    border-color: rgba(255, 255, 255, .35);
  }

  .btn-outline--light:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
  }

  .btn-full {
    width: 100%;
  }



  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    transition: background var(--mid) var(--ease), box-shadow var(--mid) var(--ease), backdrop-filter var(--mid);
  }

  #header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, .4);
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
  }

  /* Logo */
  .nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
  }

  .logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
  }

  .logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
  }

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

  /* Nav links */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }

  .nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    position: relative;
    padding-bottom: 3px;
    transition: color var(--fast);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width var(--mid) var(--ease);
    border-radius: 2px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #000000;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .nav-cta {
    background: var(--orange);
    color: #fff !important;
    padding: .5rem 1.2rem;
    border-radius: var(--r-sm);
    transition: background var(--fast), transform var(--fast);
  }

  .nav-cta::after {
    display: none;
  }

  .nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
  }

  /* Hamburger */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--r-sm);
  }

  .nav-toggle:focus-visible {
    outline: 3px solid var(--yellow);
  }

  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #000000;
    border-radius: 2px;
    transition: transform var(--mid) var(--ease), opacity var(--fast);
  }

  .nav-toggle.open .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open .hamburger:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  .hero {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 6rem);
    padding-bottom: 2rem;
    overflow: hidden;
    background: var(--bg-dark-alt)
  }

  #accueil::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: normal;
  }

  #accueil {
    position: relative;
    z-index: 1;
  }


  .hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 107, 43, 0.12);
    border: 1px solid var(--orange);
    border-radius: 100px;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(255, 107, 43, 0.15);
  }

  .hero-badge .sep {
    color: var(--orange);
    opacity: 1;
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
  }

  .hero-title-accent {
    color: var(--orange);
    display: block;
  }

  .hero-desc {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, .72);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }

  .stats-strip {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding-block: 3rem;
  }

  .stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--orange);
    line-height: 1.1;
    margin-bottom: .35rem;
  }

  .stat-label {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: .02em;
  }

  .stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
    flex-shrink: 0;
  }


  .cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
  }

  /* ---- Service card with image ---- */
  .card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 340px;
    max-width: 340px;
    transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid);
    cursor: default;
    isolation: isolate;
  }

  .card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
    border-color: rgba(255, 107, 43, .30);
  }

  /* Photo area */
  .card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
    flex-shrink: 0;
  }

  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    display: block;
  }

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

  /* Gradient overlay at bottom of photo */
  .card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* Orange accent bar */
  .card-img-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 3px;
    transition: right var(--slow) var(--ease);
    z-index: 2;
  }

  .card:hover .card-img-wrap::before {
    right: 0;
  }

  /* Text body */
  .card-body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: rgba(255, 107, 43, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background var(--mid), transform var(--mid);
    flex-shrink: 0;
  }

  .card:hover .card-icon-wrap {
    background: rgba(255, 107, 43, .20);
    transform: scale(1.08) rotate(-3deg);
  }

  .card-icon {
    width: 24px;
    height: 24px;
    color: var(--orange);
    flex-shrink: 0;
  }

  .card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-inv);
    margin-bottom: .5rem;
  }

  .card p {
    font-size: .9rem;
    color: var(--text-inv-muted);
    line-height: 1.65;
  }

  /* Reveal animation */
  .card[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  }

  .card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity var(--slow) var(--ease),
      transform var(--mid) var(--ease),
      box-shadow var(--mid) var(--ease),
      border-color var(--mid);
  }

  .card[data-reveal].revealed:hover {
    transform: translateY(-7px);
  }


  .ticker-wrap {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--bg-dark);
    padding-block: 1rem;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
  }

  .ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: tickerScroll 60s linear infinite;
    will-change: transform;
  }

  @keyframes tickerScroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-50% - 0.75rem));
    }
  }

  .ticker-track span {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
  }

  .ticker-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: var(--orange) !important;
    display: inline-block !important;
    flex-shrink: 0;
  }


  .about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-left .section-tag,
  .about-left .section-title {
    margin-bottom: 1.25rem;
  }

  .about-left .section-title {
    margin-top: -.25rem;
  }

  .about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-inv);
    line-height: 1.75;
    margin-bottom: 1.25rem;
  }

  .about-body {
    font-size: .98rem;
    color: var(--text-inv-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .about-body strong {
    color: var(--text-inv);
    font-weight: 600;
  }

  .about-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .value-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-dark);
    border-radius: var(--r-md);
    padding: 1.4rem 1.6rem;
    transition: background var(--mid), border-color var(--mid), transform var(--mid) var(--ease);
  }

  .value-card:hover {
    background: rgba(255, 107, 43, .08);
    border-color: rgba(255, 107, 43, .3);
    transform: translateX(6px);
  }

  .value-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 107, 43, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .value-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
  }

  .value-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-inv);
    margin-bottom: .3rem;
  }

  .value-card p {
    font-size: .9rem;
    color: var(--text-inv-muted);
    line-height: 1.6;
  }


  .targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }

  .target-card {
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border);
    background: var(--bg-light);
    transition: transform var(--mid) var(--ease), box-shadow var(--mid);
  }

  .target-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
  }

  .target-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #d8eaf5 0%, #c0d8ee 100%);
  }

  .target-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
    display: block;
  }

  .target-card:hover .target-img-wrap img {
    transform: scale(1.06);
  }

  .target-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 9, 26, .5) 0%, transparent 60%);
    pointer-events: none;
  }

  .target-img-wrap.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .target-img-wrap.img-placeholder::after {
    content: 'Image à venir';
  }

  .target-body {
    padding: 1.75rem;
  }

  .target-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .6rem;
    padding-left: .9rem;
    position: relative;
  }

  .target-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: .1em;
    height: 1.2em;
    width: 3px;
    background: var(--orange);
    border-radius: 2px;
  }

  .target-body p {
    font-size: .93rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.65;
  }

  .target-body ul {
    display: flex;
    flex-direction: column;
    gap: .4rem;
  }

  .target-body ul li {
    font-size: .88rem;
    color: var(--text);
    padding-left: 1.3rem;
    position: relative;
  }

  .target-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
  }


  .contact-section {
    border-top: 1px solid var(--border-dark);
  }

  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-form-col .section-tag,
  .contact-form-col .section-title,
  .contact-form-col .section-subtitle {
    margin-bottom: .75rem;
  }

  .contact-form-col .section-subtitle--light {
    margin-bottom: 2rem;
  }

  .contact-form-col form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

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

  .form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
  }

  .form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-inv-muted);
    letter-spacing: .02em;
  }

  .required {
    color: var(--orange);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: .75rem 1rem;
    border: 1.5px solid var(--border-dark);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-inv);
    background: rgba(255, 255, 255, .06);
    transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
    width: 100%;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, .25);
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 0 0 3px rgba(255, 107, 43, .15);
  }

  .form-group input.invalid,
  .form-group select.invalid,
  .form-group textarea.invalid {
    border-color: #e03146;
    box-shadow: 0 0 0 3px rgba(224, 49, 70, .15);
  }

  .field-error {
    font-size: .78rem;
    color: #f07080;
    min-height: 1em;
  }

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

  .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892A4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  .form-group select option {
    color: #fff;
    background: #1a2744;
  }

  .form-feedback {
    padding: .9rem 1.1rem;
    border-radius: var(--r-sm);
    font-size: .92rem;
    font-weight: 500;
    margin-top: .5rem;
  }

  .form-feedback--success {
    background: rgba(26, 127, 71, .15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, .25);
  }

  .form-feedback--error {
    background: rgba(224, 49, 70, .12);
    color: #f07080;
    border: 1px solid rgba(240, 112, 128, .25);
  }

  /* Honeypot field – hidden from users, visible only to bots */
  .form-honeypot {
    display: none;
  }

  /* "Nous trouver" right column in the contact section */
  .find-us-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .find-us-col .section-tag,
  .find-us-col .section-title {
    margin-bottom: 1rem;
  }

  .address-block {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .address-line {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    font-size: .97rem;
    color: var(--text-inv-muted);
    line-height: 1.6;
  }

  .address-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 107, 43, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .1em;
  }

  .address-icon-wrap svg {
    width: 18px;
    height: 18px;
    color: var(--orange);
  }

  .phone-link {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color var(--fast);
  }

  .phone-link:hover {
    color: #fff;
  }

  .map-container {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: var(--sh-sm);
    line-height: 0;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .map-container iframe {
    width: 100%;
    height: 280px;
    display: block;
    border: 0; /* supprime la bordure par défaut de l'iframe */
  }


  .footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-block: 3.5rem 2rem;
    align-items: start;
  }

  .footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: .75rem;
  }

  .footer-logo-text span {
    color: var(--orange);
  }

  .footer-brand p {
    font-size: .88rem;
    color: var(--text-inv-muted);
    line-height: 1.7;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding-top: .25rem;
  }

  .footer-links a {
    font-size: .88rem;
    color: var(--text-inv-muted);
    transition: color var(--fast);
  }

  .footer-links a:hover {
    color: var(--orange);
  }

  .footer-contact {
    padding-top: .25rem;
  }

  .footer-phone {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
  }

  .footer-phone svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
    flex-shrink: 0;
  }

  .footer-phone a {
    color: var(--orange);
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--fast);
  }

  .footer-phone a:hover {
    color: #fff;
  }

  .footer-address {
    font-size: .85rem;
    color: var(--text-inv-muted);
    padding-left: 1.6rem;
  }

  .footer-legal {
    border-top: 1px solid var(--border-dark);
    padding-block: 1.5rem;
    text-align: center;
  }

  .footer-legal p {
    font-size: .8rem;
    color: rgba(255, 255, 255, .35);
  }

  .footer-legal a {
    color: rgba(255, 255, 255, .55);
    text-decoration: underline;
    transition: color var(--fast);
  }

  .footer-legal a:hover {
    color: var(--orange);
  }


  .back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 46px;
    height: 46px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 43, .4);
    transition: background var(--fast), transform var(--fast), opacity .3s, box-shadow var(--fast);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
  }

  .back-to-top:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 107, 43, .5);
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .back-to-top:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
  }


  [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  }

  [data-reveal="up"] {
    transform: translateY(32px);
  }

  [data-reveal="left"] {
    transform: translateX(-36px);
  }

  [data-reveal="right"] {
    transform: translateX(36px);
  }

  [data-reveal="fade"] {
    transform: none;
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: none;
  }

  .card[data-reveal].revealed {
    transform: translateY(0);
  }


  @keyframes heroFadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-badge {
    animation: heroFadeUp .7s var(--ease) .1s both;
  }

  .hero-title {
    animation: heroFadeUp .7s var(--ease) .25s both;
  }

  .hero-desc {
    animation: heroFadeUp .7s var(--ease) .42s both;
  }

  .hero-actions {
    animation: heroFadeUp .7s var(--ease) .58s both;
  }


  @media (max-width: 1024px) {
    .about-layout {
      gap: 3rem;
    }

    .contact-wrapper {
      gap: 3rem;
    }
  }

  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }

    .nav-menu {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 1rem 1.5rem 2rem;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
      transform: translateY(-110%);
      opacity: 0;
      pointer-events: none;
      transition: transform .3s var(--ease), opacity .3s;
      z-index: 999;
    }

    .nav-menu.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .nav-link {
      display: block;
      padding: .85rem 0;
      border-bottom: 1px solid var(--border-dark);
      font-size: 1rem;
      color: rgba(0, 0, 0, 0.85);
    }

    .nav-cta {
      margin-top: 1rem;
      text-align: center;
      padding: .8rem 1rem;
      border-bottom: none;
    }

    .hero {
      min-height: 100svh;
      padding-top: calc(var(--nav-h) + 4rem);
    }

    .hero-actions {
      flex-direction: column;
      align-items: center;
    }

    .hero-actions .btn {
      width: auto;
      max-width: 340px;
    }

    .hero-badge {
      margin-top: 2.5rem;
    }

    .stats-grid {
      gap: .5rem;
    }

    .stat-divider {
      display: none;
    }

    .stat-item {
      min-width: 45%;
    }

    .about-layout {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .contact-wrapper {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

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

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

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

  @media (max-width: 480px) {
    .section {
      padding-block: 4rem;
    }

    .cards-grid .card {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .hero-title {
      font-size: 2.2rem;
    }

    .stat-item {
      min-width: 100%;
    }

    .stat-divider {
      width: 80%;
      height: 1px;
    }

    .back-to-top {
      bottom: 1rem;
      right: 1rem;
    }
  }

  /* Brand name inside the hero title */
  .hero-brand {
    display: block;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: .25em;
    color: var(--orange);
    letter-spacing: 0.5px;
  }

  .hero-services {
    display: block;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: #ffffff;
    margin-top: 0.5rem;
    line-height: 1.3;
  }

  @media (max-width: 768px) {
    .d-none-mobile {
      display: none;
    }
  }


  section {
    scroll-margin-top: 100px;
  }


  .main-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: heroFadeUp .7s var(--ease) .25s both;
  }

  .main-logo .logo-img {
    height: 160px;
    width: auto;
    max-width: 100%;
  }