html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #06162f;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 8%;
  background: rgba(4, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.logo img {
  height: 55px;
}

.navbar nav {
  display: flex;
  gap: 28px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #48b8ff;
}

/* ACCUEIL */
.hero {
  height: 100vh;
  position: relative;

  background-image: url("../images/accueil.png");
  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Image sombre en dégradé */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 12, 30, 0.90),
    rgba(5, 28, 70, 0.60),
    rgba(0, 0, 0, 0.45)

);
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 50px;

  background: linear-gradient(135deg, #0066ff, #00c8ff);
  color: white;

  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0,150,255,0.35);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,150,255,0.55);
}

/* SECTIONS */
.section {
  padding: 110px 10%;
  text-align: center;
}

.section h2 {
  font-size: 46px;
  margin-bottom: 30px;
}

.section p {
  max-width: 900px;
  margin: 18px auto;
  font-size: 19px;
  line-height: 1.7;
}

/* Dégradés entre sections */
.intro {
  background: linear-gradient(180deg, #06162f, #0b234a);
}

.services {
  background: linear-gradient(
    180deg,
    #0b234a 0%,
    #16376b 30%,
    #3d6ba8 70%,
    #b8cce8 100%
  );
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 45px;
}

.service-card {
  display: block;
  padding: 35px 28px;
  border-radius: 26px;

  background: rgba(255,255,255,0.95);
  color: #071a38;
  text-decoration: none;

  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(0,200,255,0.08));
  opacity: 0;
  transition: 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0,80,180,0.25);
}

.service-icon {
    margin-bottom: 20px;
    text-align: center;
}

.service-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;

    transition: 0.35s ease;
}
.service-card:hover .service-icon img {
    transform: scale(1.08);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.service-card span {
  font-weight: bold;
  color: #0066ff;
  position: relative;
  z-index: 1;
}

.realisations {
  background: linear-gradient(
    180deg,
    #b8cce8 0%,
    #3d6ba8 20%,
    #071a38 100%
  );
}

.contact {
  background: linear-gradient(180deg, #071a38, #020814);
}


/* RÉALISATIONS */
.section-text {
  margin-bottom: 45px;
}

.realisation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.realisation-card {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  transition: 0.3s;
}

.realisation-card:hover {
  transform: translateY(-8px);
}

.realisation-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.caption {
  padding: 20px;
  font-weight: bold;
  background: rgba(255,255,255,0.08);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 45px;
}

.contact-card {
  padding:  25px 30px;
  border-radius: 22px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #48b8ff;
}

.contact-card p {
  font-size: 18px;
}

/* FOOTER */
footer {
  background: #020814;
  text-align: center;
  padding: 25px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 80px 6%;
  }
}
.devis {
  background: linear-gradient(180deg, #071a38, #0d2b59);
}

.devis-form {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.devis-form input,
.devis-form textarea {
  padding: 18px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
}

.devis-form input::placeholder,
.devis-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.devis-form button {
  padding: 18px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #0099ff, #005eff);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.merci-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #06162f, #0d2b59);
  display: flex;
  justify-content: center;
  align-items: center;
}

.merci-box {
  text-align: center;
  background: rgba(255,255,255,0.08);
  padding: 50px;
  border-radius: 25px;
}
.realisation-card {
    text-decoration: none;
    color: white;
}
/* TRANSITIONS ENTRE PAGES HTML */

body.slide-in-left {
  animation: slideInLeft 0.55s ease;
}

body.slide-in-right {
  animation: slideInRight 0.55s ease;
}

body.page-exit-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

body.page-exit-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.services h2,
.services > p {
    color: white;
}
.map-section {
  margin-top: 60px;
  text-align: center;
}

.map-section h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #48b8ff;
}

.map-section p {
  margin-bottom: 25px;
  color: #d9e7ff;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  height: 420px;
  margin: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.typing-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
    min-height: 70px;
}

#animated-text {
    border-right: 4px solid #48b8ff;
    padding-right: 8px;
    color: white;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
.map-layout {

    display: flex;

    gap: 30px;

    align-items: stretch;

    margin-top: 30px;
}

.map-container {

    flex: 3;

    height: 420px;

    border-radius: 25px;

    overflow: hidden;
}

.google-side-card {

    flex: 1;

    min-width: 250px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 25px;

    padding: 30px;

    text-align: center;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.google-side-card img {

    width: 90px;

    margin: 0 auto 15px;
}

.google-side-card h3 {

    margin-bottom: 15px;
}

.google-side-card p {

    margin-bottom: 25px;
}

.google-review-btn {

    display: inline-block;

    padding: 14px 22px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #4285F4,
        #34A853
    );

    color: white;

    text-decoration: none;

    font-weight: bold;
}
.logo img {
    height: 55px;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(72,184,255,0.5));
}
@media (max-width: 768px) {

  .navbar {
    position: fixed;
    padding: 12px 5%;
    flex-direction: column;
    gap: 10px;
  }

  .logo img {
    height: 42px;
  }

  .navbar nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 6px;
  }

  .navbar nav a {
    white-space: nowrap;
    font-size: 14px;
  }

  .hero {
    height: 85vh;
    padding: 120px 20px 40px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .section {
    padding: 70px 6%;
  }

  .section h2 {
    font-size: 34px;
  }

  .section p {
    font-size: 16px;
  }

  .service-grid,
  .realisation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .realisation-card,
  .contact-card {
    border-radius: 18px;
  }

  .realisation-card img {
    height: 220px;
  }

  .contact-grid {
    gap: 18px;
  }

  .map-layout {
    flex-direction: column;
  }

  .map-container {
    height: 300px;
  }

  .google-side-card {
    width: 100%;
  }
}
.mobile-floating-logo {
  display: none;
}

@media (max-width: 768px) {

  .navbar {
    transition: transform 0.35s ease;
  }

  .navbar.hide-mobile-nav {
    transform: translateY(-100%);
  }

  .mobile-floating-logo {
    display: block;
    position: fixed;
    top: 12px;
    left: 14px;
    z-index: 1001;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-floating-logo img {
    height: 70px;
  }

  .mobile-floating-logo.show-logo {
    opacity: 1;
    pointer-events: auto;
  }
}
.partenaires {
    padding: 80px 10%;
    text-align: center;

    background: linear-gradient(
        180deg,
        #0b234a,
        #102c58
    );
}

.partenaire-label {
    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: rgba(72,184,255,0.12);

    color: #48b8ff;

    font-weight: 600;

    margin-bottom: 20px;
}

.partenaires h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.partenaires p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
}

.logo-partenaire {
    margin-top: 35px;

    max-width: 400px;
    width: 100%;

    transition: 0.3s ease;
}


.logo-partenaire:hover {
    transform: scale(1.05);
}

body.page-exit-left,
body.page-exit-right {
  pointer-events: none;
}
.devis {
  background: linear-gradient(180deg, #071a38, #0d2b59);
}

.devis-form {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.devis-form input,
.devis-form textarea {
  padding: 18px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
}

.devis-form input::placeholder,
.devis-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.file-upload {
  padding: 22px;
  border-radius: 15px;
  border: 1px dashed rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  text-align: center;
}

.file-upload span {
  display: block;
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 6px;
}

.file-upload small {
  display: block;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.file-upload input {
  width: 100%;
  color: white;
}

.devis-form button {
  padding: 18px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #0099ff, #005eff);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.devis-form button:hover {
  transform: translateY(-3px);
}

.contact-info-line {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  text-align: left;
}


.adresse-simple h3,
.horaires-simple h3 {
  color: #48b8ff;
  font-size: 28px;
  margin-bottom: 18px;
}

.adresse-simple p {
  font-size: 20px;
  line-height: 1.7;
  color: #d9e7ff;
}

.horaires-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.jour {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.3s ease;
}

.jour strong {
  display: block;
  color: #48b8ff;
  margin-bottom: 10px;
}

.jour span {
  color: #d9e7ff;
  font-size: 14px;
  line-height: 1.5;
}

.jour.today {
  border: 2px solid #48b8ff;
  background: rgba(72,184,255,0.15);
  box-shadow: 0 0 20px rgba(72,184,255,0.25);
}

.statut-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.open-status {
  border: 2px solid #2ecc71;
  background: rgba(46,204,113,0.13);
}

.open-status h3 {
  color: #2ecc71;
  margin-bottom: 8px;
}

.closed-status {
  border: 2px solid #e74c3c;
  background: rgba(231,76,60,0.13);
}

.closed-status h3 {
  color: #e74c3c;
  margin-bottom: 8px;
}

.statut-card p {
  font-size: 14px;
  color: #d9e7ff;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-info-line {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .adresse-simple {
    margin-top: 0;
  }

  .horaires-days {
    grid-template-columns: repeat(2, 1fr);
  }

  .adresse-simple p {
    font-size: 17px;
  }
}