/* =========================================================
   EPHITECH BT - STYLE PRINCIPAL
   Fichier : assets/css/style.css
   Objectif : site BT multi-pages avec identité bleu électrique
   ========================================================= */


/* ================= VARIABLES ================= */
/* Couleurs principales du site BT */

:root{
  --bg:#e6f0ff;
  --bg2:#cfe0ff;
  --ink:#071b2f;
  --muted:#4f6475;
  --accent:#0a3d91;
  --accent2:#1256c7;
  --yellow:#ffd400;
  --white:#ffffff;
  --border:#d6e0dc;
}


/* ================= BASE ================= */

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  color:var(--ink);

  /* Fond bleu clair + effet énergie diffus */
  background:
    radial-gradient(circle at 20% 30%, rgba(0,120,255,0.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,120,255,0.08), transparent 40%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

/* Éclairs abstraits très discrets en arrière-plan */
body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image:
    linear-gradient(120deg, transparent 48%, rgba(0,140,255,0.08) 49%, transparent 50%),
    linear-gradient(300deg, transparent 48%, rgba(0,140,255,0.06) 49%, transparent 50%);
  background-size:320px 320px;
  pointer-events:none;
  z-index:0;
}

/* Le contenu passe au-dessus du fond décoratif */
header,
main,
footer{
  position:relative;
  z-index:1;
}

.container{
  max-width:1180px;
  margin:auto;
  padding:24px;
}


/* ================= HEADER ================= */

.site-header{
  background:rgba(255,255,255,0.96);
  border-bottom:4px solid var(--yellow);
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(6px);
}

.header-inner{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}


/* ================= LOGO ================= */

.logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  text-decoration:none;
  color:var(--accent);
  font-weight:900;
  font-size:28px;
  letter-spacing:.5px;
}

.logo img{
  height:64px;
  width:auto;
  object-fit:contain;
  display:block;
}

/* ================= NAVIGATION ================= */

.nav-zone{
  display:flex;
  align-items:center;
  gap:16px;
  background:#f4f8ff;
  padding:8px;
  border-radius:999px;
  border:1px solid #d8e6ff;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
}

.menu{
  display:flex;
  align-items:center;
  gap:4px;
}

.menu a{
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  padding:10px 15px;
  border-radius:999px;
  transition:.2s;
  white-space:nowrap;
}

.menu a:hover,
.menu a.active{
  background:#e5efff;
  color:var(--accent);
}


/* Bouton contact dans le menu */

.contact-link{
  background:var(--accent);
  color:#fff;
  padding:10px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(10,61,145,.28);
  transition:.2s;
}

.contact-link:hover{
  background:var(--accent2);
  color:#fff;
  transform:translateY(-1px);
}


/* ================= HERO ================= */
/* Bandeau principal en haut de page */

.hero{
  padding:34px 0 26px;
}

.hero-card{
  background:linear-gradient(135deg, rgba(7,27,47,.96), rgba(10,61,145,.94));
  color:white;
  padding:34px 38px;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(0,0,0,.18);
  position:relative;
  overflow:hidden;
}
/* ================= HERO IRVE IMAGE ================= */

/* ================= HERO AVEC IMAGE ================= */
/* Utilisé pour IRVE, accueil et chantier */

.irve-hero-card,
.home-hero-card,
.chantier-hero-card,
.industrie-hero-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-bg-image{
  position:absolute;

  inset:0;

  z-index:0;

  overflow:hidden;

  border-radius:18px;

  opacity:0.34;

  pointer-events:none;
}

.hero-bg-image img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  display:block;
}

/* contenu au-dessus de l'image */

/* ================= CONTENU AU-DESSUS DE L'IMAGE ================= */

.irve-hero-card > *:not(.hero-bg-image),
.home-hero-card > *:not(.hero-bg-image),
.chantier-hero-card > *:not(.hero-bg-image),
.industrie-hero-card > *:not(.hero-bg-image){
  position:relative;
  z-index:2;
}

/* ================= HERO CHANTIER ================= */

.chantier-hero-card{
  min-height:340px;
}

/* Dégradé gauche spécifique chantier */

.chantier-hero-card .hero-bg-image::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(7,27,47,0.94) 0%,
      rgba(7,27,47,0.84) 34%,
      rgba(10,61,145,0.52) 56%,
      rgba(10,61,145,0.16) 74%,
      rgba(10,61,145,0.02) 100%
    );

  pointer-events:none;
}

/* ================= HERO INDUSTRIE ================= */

.industrie-hero-card{
  min-height:360px;
}

/* Dégradé spécifique industrie */

.industrie-hero-card .hero-bg-image::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(7,27,47,0.95) 0%,
      rgba(7,27,47,0.88) 32%,
      rgba(10,61,145,0.58) 54%,
      rgba(10,61,145,0.18) 72%,
      rgba(10,61,145,0.02) 100%
    );

  pointer-events:none;
}
/* Halo jaune */
.hero-card::before{
  content:"";
  position:absolute;
  right:-70px;
  top:-70px;
  width:220px;
  height:220px;
  background:var(--yellow);
  opacity:.18;
  border-radius:50%;
}

/* Trait lumineux subtil */
.hero-card::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-40%;
  width:180%;
  height:180%;
  background:linear-gradient(120deg, transparent 42%, rgba(255,255,255,.10) 50%, transparent 58%);
  transform:rotate(18deg);
  pointer-events:none;
}

.hero-card h1{
  margin:0 0 18px;
  font-size:34px;
  line-height:1.15;
  max-width:900px;
  position:relative;
  z-index:1;
}

.lead,
.hero-card p{
  margin:0;
  color:#e8eef5;
  font-size:17px;
  line-height:1.6;
  max-width:900px;
  position:relative;
  z-index:1;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-top:28px;
}

/* Bouton secondaire */
.btn-secondary{
    background:#ffffff;
    color:var(--accent);
    border:1px solid rgba(10,61,145,0.25);
}

.btn-secondary:hover{
    background:#eef5ff;
    color:var(--accent2);
}

/* ================= BOUTONS ================= */

.btn{
  display:inline-block;
  background:var(--yellow);
  color:var(--ink);
  padding:13px 22px;
  border-radius:8px;
  font-weight:800;
  text-decoration:none;
  margin-top:24px;
  border:none;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  transition:.2s;
  position:relative;
  z-index:1;
}

.btn:hover{
  background:#ffe45c;
  transform:translateY(-1px);
}



/* ====Bouton déroulant fiches techniques====*/

/* ================= FICHES TECHNIQUES DÉROULANT ================= */

.tech-sheets-strip{
    margin:4px 0 6px;
}

.tech-sheets-inner{
    width:min(1030px, calc(100% - 48px));
    margin:0 auto;

    display:flex;
    justify-content:flex-end;
}

.tech-sheets-menu{
    position:relative;
    width:min(100%, 320px);
}

.tech-sheets-menu summary{
    min-height:48px;
    padding:0 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    border:1px solid #c9dcf5;
    border-radius:999px;

    background:#fff;
    color:#0a3d91;

    font-weight:900;
    cursor:pointer;

    box-shadow:0 10px 24px rgba(7,27,47,0.08);

    list-style:none;
}

.tech-sheets-menu summary::-webkit-details-marker{
    display:none;
}

.tech-sheets-menu[open] summary{
    border-radius:18px 18px 8px 8px;
}

.tech-sheets-list{
    position:absolute;
    top:58px;
    right:0;
    z-index:100;

    width:360px;
    max-width:calc(100vw - 48px);

    padding:10px;

    border:1px solid #d7e4f5;
    border-radius:14px;

    background:#fff;

    box-shadow:0 18px 38px rgba(7,27,47,0.16);
}

.tech-sheets-list a{
    display:block;

    padding:14px 16px;

    border-radius:10px;

    text-decoration:none;
    color:#071b2f;
}

.tech-sheets-list a:hover{
    background:#eef5ff;
}

.tech-sheets-list strong{
    display:block;

    color:#0a3d91;

    font-size:0.98rem;
}

.tech-sheets-list small{
    display:block;

    margin-top:5px;

    color:#4f6475;

    font-size:0.84rem;
    line-height:1.35;
}

@media(max-width:680px){

    .tech-sheets-inner{
        width:min(100% - 28px, 1030px);
        justify-content:center;
    }

    .tech-sheets-menu{
        width:100%;
    }

    .tech-sheets-list{
        left:0;
        right:auto;
        width:100%;
        max-width:100%;
    }
}

/* ================= SECTIONS ================= */

.section{
  padding:22px 0;
}

.section h2{
  color:var(--accent);
  font-size:26px;
  margin:0 0 18px;
}

.section p{
  color:var(--muted);
  line-height:1.65;
  font-size:16px;
}

.section ul{
  margin-top:14px;
}

.section li{
  margin-bottom:8px;
  line-height:1.5;
}

.section-intro{
  max-width:760px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin-bottom:26px;
}


/* ================= CARTES ================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin-top:18px;
}

.card{
  background:white;
  padding:24px;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transition:.25s;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:var(--yellow);
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}

.card h2,
.card h3{
  font-size:21px;
  margin:8px 0 18px;
  color:var(--accent);
}

.card p{
  color:var(--muted);
}

.card ul{
  padding-left:18px;
  margin:0;
}

.card li{
  margin-bottom:7px;
  color:var(--ink);
}


/* Petits badges pour mettre en avant des prestations */

.badge{
  display:inline-block;
  background:#f4f8ff;
  border:1px solid #d8e6ff;
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
  font-weight:700;
  color:var(--accent);
  margin:0 6px 8px 0;
}

/* ================= grille d'image ================= */
/* ================= Galerie partenariat SOCEMAT compacte ================= */

.socemat-gallery{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
  margin-top:22px;
}

/* Conteneur image */
.socemat-gallery img{
  width:100%;
  height:115px;
  object-fit:contain;
  background:white;
  border-radius:10px;
  border:1px solid var(--border);

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  cursor:pointer;
}

/* Effet au survol */
.socemat-gallery img:hover{
  transform:scale(2.2);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  z-index:2;
  position:relative;
}

.socemat-gallery figure{
  margin:0;
}

.socemat-gallery figcaption{
  font-size:12px;
  margin-top:7px;
  color:var(--muted);
  line-height:1.35;
}

/* Responsive mobile */
@media(max-width:760px){
  .socemat-gallery{
    grid-template-columns:repeat(2, 1fr);
  }
  

  .socemat-gallery img{
    height:110px;
  }
}
@media(max-width:900px){

.irve-hero-card,
.home-hero-card,
.chantier-hero-card,
.industrie-hero-card{
    min-height:auto;
  }

  .hero-bg-image{
    opacity:0.22;
  }
}

/* ================= CONTACT ================= */

.contact-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  background:white;
  padding:28px;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.contact-card{
  background:#f5f9ff;
  padding:24px;
  border-radius:14px;
  border:1px solid #d8e6ff;
}

.contact-card h2{
  margin-top:0;
  color:var(--accent);
}

.contact-card a{
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}

.contact-card a:hover{
  text-decoration:underline;
}


/* ================= FORMULAIRE CONTACT ================= */

.contact-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-form label{
  font-weight:700;
  color:var(--accent);
  font-size:14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #c9daf8;
  border-radius:8px;
  font-family:Arial,sans-serif;
  font-size:15px;
  color:var(--ink);
  background:#fff;
  box-sizing:border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(10,61,145,.14);
}

.contact-form textarea{
  resize:vertical;
}

.form-btn{
  margin-top:10px;
}

.form-btn:disabled{
  opacity:.7;
  cursor:not-allowed;
  transform:none;
}


/* Champ anti-spam invisible */

.hp-field{
  position:absolute;
  left:-9999px;
  opacity:0;
}


/* Message de retour du formulaire */

.form-message{
  margin-top:14px;
  font-weight:700;
  font-size:15px;
}

.form-message.success{
  color:#166534;
}

.form-message.error{
  color:#b91c1c;
}


/* ================= FOOTER ================= */

.footer{
  background:var(--ink);
  color:white;
  padding:28px;
  border-top:4px solid var(--yellow);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer span{
  color:#cfd8df;
}


/* ================= RESPONSIVE ================= */

@media(max-width:900px){

  .container{
    padding:18px;
  }

  .header-inner{
    min-height:auto;
    flex-direction:column;
    gap:18px;
    padding-top:12px;
    padding-bottom:12px;
  }

  .logo img{
    height:58px;
  }

  .logo-text{
    font-size:22px;
  }

  .nav-zone{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    border-radius:18px;
    box-sizing:border-box;
  }

  .menu{
    justify-content:center;
    flex-wrap:wrap;
  }

  .menu a{
    font-size:13px;
    padding:9px 12px;
  }

  .contact-link{
    padding:10px 18px;
  }

  .hero{
    padding:34px 0;
  }

  .hero-card{
    padding:32px 24px;
  }

  .hero-card h1{
    font-size:27px;
  }

  .btn-secondary{
    margin-left:0;
  }

  .contact-box{
    grid-template-columns:1fr;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

/*ne pas afficher le texte remplaceant le logo*/
.logo-text{
  display:none;
}

/*Visuel actif du bouton de selection de page*/
.contact-link.active{
  background:var(--accent2);
  box-shadow:0 4px 16px rgba(10,61,145,0.35);
}
/* ================= AJOUTS SEO / CONVERSION 2026 ================= */
.kicker{
  display:inline-block;
  color:var(--accent);
  background:#f4f8ff;
  border:1px solid #d8e6ff;
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

/* Variante HERO sombre */
/* Variante HERO sombre */
.hero-card .kicker{
  display:inline-flex;
  align-items:center;

  width:fit-content;
  max-width:max-content;

  color:var(--yellow);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}

.trust-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-top:26px;}
.trust-item{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:14px;position:relative;z-index:1;}
.trust-item strong{display:block;color:#fff;font-size:18px;margin-bottom:5px;}
.trust-item span{color:#dce8f5;font-size:14px;line-height:1.4;}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start;}
.panel{background:white;border:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.08);border-radius:16px;padding:26px;}
.panel h3{color:var(--accent);font-size:22px;margin:0 0 14px;}
.check-list{padding-left:0;list-style:none;margin:0;}
.check-list li{position:relative;padding-left:28px;margin-bottom:11px;color:var(--ink);line-height:1.5;}
.check-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--accent);font-weight:900;}
.process{counter-reset:step;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:26px;}
.step{background:white;border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(0,0,0,.07);}
.step::before{counter-increment:step;content:counter(step);display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--yellow);color:var(--ink);font-weight:900;border-radius:50%;margin-bottom:14px;}
.step h3{font-size:19px;color:var(--accent);margin:0 0 10px;}
.cta-band{background:linear-gradient(135deg,var(--accent),var(--ink));color:white;border-radius:18px;padding:32px;display:flex;gap:24px;align-items:center;justify-content:space-between;box-shadow:0 12px 30px rgba(0,0,0,.16);}
.cta-band h2{color:white;margin:0 0 8px;}.cta-band p{color:#e8eef5;margin:0;}.small-note{font-size:14px;color:var(--muted);}
@media(max-width:760px){.two-col{grid-template-columns:1fr}.cta-band{display:block}.cta-band .btn{margin-top:20px}.hero-card{padding:32px}.hero-card h1{font-size:29px}.trust-row{grid-template-columns:1fr}}
