@charset "utf-8";
/* CSS Document */

/* Réglages globaux */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: white;
}

/* Arrière-plan principal avec gradient bleu aquatique */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #A5D8FF 0%, #00B4D8 50%, #0077B6 100%);
    z-index: -1;
}

/* Effet de vagues */
.waves {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="#00B4D8"/></svg>') repeat-x;
    animation: wave 10s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Menu de navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 119, 182, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

/* Bouton accueil avec icône maison */
.home-link {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.home-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.home-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.home-link:hover .home-icon {
    transform: scale(1.1);
}

/* Container principal */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-y: auto;
    padding-top: 80px;
}

/* Logo */
.logo-container {
    text-align: center;
    padding: 60px 20px;
}

.logo {
    width: 300px;
    max-width: 90%;
    height: auto;
}

/* Sections de contenu */
.welcome-section,
.article-card {
    background: rgba(255, 255, 255, 0.1);
    margin: 40px auto;
    max-width: 800px;
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.welcome-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-section p {
    font-size: 1.2em;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Article Section */
.article-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-card {
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.8em;
    color: #ffffff;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.article-subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Vidéo responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Contenu textuel */
.article-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.article-content h3 {
    font-size: 1.5em;
    margin: 30px 0 15px;
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    padding-left: 20px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive ≥768px */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 119, 182, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 10px 0; }
    .burger { display: flex; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
    .logo { width: 250px; }
    .welcome-section, .article-card { margin: 20px; padding: 30px 20px; }
    .welcome-section h1 { font-size: 2em; }
    .article-title { font-size: 2.2em; }
    .article-content { font-size: 1em; }
}

/* Responsive ≥480px */
@media screen and (max-width: 480px) {
    .nav-link { font-size: 14px; padding: 8px 15px; }
    .home-icon { width: 18px; height: 18px; }
    .article-title { font-size: 1.8em; }
    .welcome-section h1 { font-size: 1.8em; }
}
/* ==== Styles pour formulaire de devis ==== */
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1em;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
}

.contact-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

Vos règles existantes pour .video-con
