/* ================================================
   AGENCJA PRAWA JAZDY - STYLES PRINCIPAUX
   Palette moderne, WhatsApp bubble, Responsive
   ================================================ */

:root {
    --primary:       #0d2e6e;
    --primary-light: #1a4db3;
    --accent:        #e63012;
    --accent-hover:  #c0220d;
    --gold:          #f5a623;
    --light-bg:      #f0f4ff;
    --white:         #ffffff;
    --text-dark:     #1a1a2e;
    --text-mid:      #4a4a6a;
    --text-light:    #8888aa;
    --card-shadow:   0 8px 30px rgba(13,46,110,0.12);
    --whatsapp:      #25D366;
    --whatsapp-dark: #128C7E;
}

/* Chat client */
.chat-float{position:fixed;right:28px;bottom:28px;width:64px;height:64px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--primary-light),var(--primary));color:#fff;font-size:27px;box-shadow:0 10px 30px rgba(13,46,110,.38);cursor:pointer;z-index:1000;animation:float 3s ease-in-out infinite}.chat-float:hover{transform:scale(1.08)}.chat-badge{position:absolute;right:-2px;top:-2px;width:18px;height:18px;background:#e63012;border:3px solid #fff;border-radius:50%}.chat-panel{position:fixed;right:28px;bottom:28px;width:min(390px,calc(100vw - 32px));height:min(590px,calc(100vh - 50px));background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(8,25,62,.3);z-index:1001;overflow:hidden}.chat-panel>header{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff}.chat-panel header strong,.chat-panel header small{display:block}.chat-panel header small{opacity:.8;font-size:12px;margin-top:3px}.chat-panel header button{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.chat-body{height:calc(100% - 72px);padding:16px;background:#f5f7fc}.chat-form{display:flex;flex-direction:column;gap:12px}.chat-form input,.chat-form textarea,.chat-send textarea{width:100%;border:1px solid #dce2ee;border-radius:10px;padding:12px;font:inherit;background:#fff}.chat-form textarea{height:110px;resize:vertical}.chat-form button,.chat-send button{border:0;border-radius:10px;background:var(--accent);color:#fff;padding:12px;font-weight:700;cursor:pointer}.chat-messages{height:390px;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:4px}.chat-message{max-width:82%;display:flex;flex-direction:column}.chat-message span{padding:10px 12px;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);white-space:pre-wrap}.chat-message small{font-size:10px;color:#7c879c;margin:3px 5px}.chat-message.client{align-self:flex-end}.chat-message.client span{background:var(--primary);color:#fff;border-bottom-right-radius:4px}.chat-message.admin{align-self:flex-start}.chat-message.admin span{border-bottom-left-radius:4px}.chat-send{display:flex;gap:8px;margin-top:10px}.chat-send textarea{height:48px;resize:none}.chat-send button{width:50px}.chat-status{font-size:12px;color:#58647a;margin-top:8px}@media(max-width:600px){.chat-float{right:16px;bottom:16px}.chat-panel{right:8px;bottom:8px;width:calc(100vw - 16px);height:calc(100vh - 16px)}.chat-messages{height:calc(100vh - 190px)}}
.chat-history-title{font-size:12px;font-weight:700;color:#64708a;margin:0 4px 8px}.send-loader{display:none;align-items:center;justify-content:center;gap:4px;height:18px}.is-sending .button-label{display:none}.is-sending .send-loader{display:inline-flex}.send-loader i,.sending-dots i{width:6px;height:6px;background:currentColor;border-radius:50%;display:inline-block;animation:chatSending .9s infinite ease-in-out}.send-loader i:nth-child(2),.sending-dots i:nth-child(2){animation-delay:.15s}.send-loader i:nth-child(3),.sending-dots i:nth-child(3){animation-delay:.3s}.sending-dots{display:inline-flex!important;gap:2px;padding:0!important;background:none!important;box-shadow:none!important}.sending-dots i{width:4px;height:4px}.chat-message.pending{opacity:.72}.chat-message.failed{opacity:1}.chat-message.failed small{color:#c0220d}.chat-send button:disabled,.chat-form button:disabled{cursor:wait;opacity:.85}@keyframes chatSending{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-5px);opacity:1}}.chat-return-page{min-height:100vh;display:grid;place-items:center;text-align:center;padding:30px;background:linear-gradient(135deg,#0d2e6e,#1a4db3);color:#fff}.chat-return-page h1{font-size:36px}.chat-return-page h1 span{color:#f5a623}.chat-return-page p{margin:12px 0 24px}.chat-return-page a{display:inline-block;background:#e63012;color:#fff;text-decoration:none;padding:12px 22px;border-radius:10px;font-weight:700}
.chat-send{position:relative;align-items:center}.chat-attach{width:42px;height:48px;display:grid;place-items:center;border-radius:10px;background:#e8edf8;color:var(--primary);cursor:pointer;flex:0 0 42px}.chat-attach input{display:none}.chat-file-name{position:absolute;left:0;bottom:-20px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64708a}.chat-media{display:block;max-width:240px;margin-top:5px;border-radius:10px;overflow:hidden}.chat-media img,.chat-message video{display:block;width:100%;max-height:190px;object-fit:cover;border-radius:10px}.chat-message audio{display:block;width:240px;max-width:100%;margin-top:5px}.chat-media-file{display:block;margin-top:5px;padding:9px 11px;border-radius:9px;background:#fff;color:var(--primary);text-decoration:none;font-size:12px}.client .chat-media-file{background:rgba(255,255,255,.92)}.admin-media{margin-top:8px}.admin-media img,.admin-media video{max-width:320px;max-height:240px;border-radius:9px}.admin-media audio{max-width:320px}.admin-media .media-file{display:inline-block;background:#fff;padding:8px;border-radius:7px;color:#0d2e6e}

* { margin: 0; padding: 0; border: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px; line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* HEADER */
#header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); padding: 0;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(13,46,110,0.3);
}
.header-content {
    display: flex; justify-content: space-between;
    align-items: center; height: 70px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(230,48,18,0.4); flex-shrink: 0;
}
.logo-text h1 { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: 0.5px; }
.logo-text p { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.2; max-width: 200px; }

#main-nav ul { display: flex; list-style: none; gap: 5px; }
#main-nav a {
    color: rgba(255,255,255,0.9); text-decoration: none;
    font-weight: 600; font-size: 14px; padding: 8px 16px;
    border-radius: 8px; transition: all 0.25s; white-space: nowrap;
}
#main-nav a:hover, #main-nav a.active {
    background-color: var(--accent); color: var(--white);
    box-shadow: 0 4px 12px rgba(230,48,18,0.35); transform: translateY(-1px);
}

.hamburger {
    display: none; flex-direction: column; cursor: pointer;
    gap: 5px; background: rgba(255,255,255,0.1); border: none;
    border-radius: 8px; padding: 8px; z-index: 1001;
}
.hamburger span { width: 22px; height: 2.5px; background-color: var(--white); border-radius: 2px; transition: all 0.3s ease; display: block; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* HERO */
#hero {
    background: linear-gradient(135deg, rgba(13,46,110,0.88) 0%, rgba(26,77,179,0.82) 100%),
                url('../assets/images/banner001.JPG');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: var(--white); padding: 160px 0 100px; margin-top: 70px; text-align: center;
    position: relative; overflow: hidden;
}
#hero::before {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
    background: var(--light-bg); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content h2 {
    font-size: 40px; font-weight: 800; margin-bottom: 20px;
    line-height: 1.25; max-width: 800px; margin-left: auto; margin-right: auto;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-content p { font-size: 19px; max-width: 650px; margin: 0 auto 35px; opacity: 0.92; }
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white); padding: 15px 36px; font-size: 16px; font-weight: 700;
    text-decoration: none; border-radius: 50px; transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(230,48,18,0.45); letter-spacing: 0.5px; border: none;
}
.cta-button:hover {
    background: linear-gradient(135deg, var(--gold), #e0901a);
    transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245,166,35,0.45); color: var(--white);
}

/* SECTIONS */
#permis { padding: 90px 0 70px; background-color: var(--white); }
.section-title { text-align: center; margin-bottom: 55px; }
.section-title h2 {
    font-size: 34px; font-weight: 800; color: var(--primary);
    margin-bottom: 15px; position: relative; display: inline-block;
}
.section-title h2::after {
    content: ''; position: absolute; width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    bottom: -12px; left: 50%; transform: translateX(-50%); border-radius: 2px;
}
.section-title p { color: var(--text-mid); max-width: 600px; margin: 0 auto; font-size: 16px; }
.page-content { padding: 100px 0 60px; min-height: 500px; background-color: var(--light-bg); }
.page-title { text-align: center; margin-bottom: 50px; }
.page-title h1 { font-size: 38px; font-weight: 800; color: var(--primary); margin-bottom: 15px; line-height: 1.2; }
.page-title p { color: var(--text-mid); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* PERMIS GRID */
.permis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.permis-card {
    background-color: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: var(--card-shadow); transition: all 0.3s;
    border: 1px solid rgba(13,46,110,0.06);
}
.permis-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(13,46,110,0.2); }
.permis-image { height: 200px; overflow: hidden; position: relative; }
.permis-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.permis-card:hover .permis-image img { transform: scale(1.1); }
.permis-content { padding: 22px; }
.permis-content h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.permis-content p { color: var(--text-mid); margin-bottom: 15px; font-size: 14px; line-height: 1.6; }
.permis-price { background: linear-gradient(135deg, var(--light-bg), #e8eeff); padding: 12px; border-radius: 10px; text-align: center; margin-top: 12px; }
.permis-price .price { font-size: 26px; font-weight: 800; color: var(--accent); }
.permis-price .note { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* FORMULAIRES */
.form-container { max-width: 800px; margin: 0 auto; background-color: var(--white); padding: 45px; border-radius: 20px; box-shadow: var(--card-shadow); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); font-size: 14px; }
.form-group label.required::after { content: ' *'; color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 2px solid #e0e6f8; border-radius: 10px;
    font-size: 14px; font-family: inherit; box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafbff; color: var(--text-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light); outline: none;
    box-shadow: 0 0 0 4px rgba(26,77,179,0.1); background-color: var(--white);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; min-width: 200px; }
.form-section { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #eef0fa; }
.form-section h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-item { display: flex; align-items: center; gap: 8px; }
.radio-item input { width: auto; margin: 0; accent-color: var(--primary-light); }
.submit-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); padding: 16px 45px; font-size: 16px; font-weight: 700;
    border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s;
    display: block; margin: 40px auto 0; min-width: 220px;
    box-shadow: 0 6px 20px rgba(13,46,110,0.3);
}
.submit-button:hover { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,48,18,0.35); }
.form-info { background: linear-gradient(135deg, #f0f4ff, #e8eeff); padding: 14px 16px; border-radius: 10px; margin-top: 10px; font-size: 13px; color: var(--text-mid); border-left: 4px solid var(--primary-light); }
.form-info i { color: var(--primary-light); margin-right: 6px; }
.required-note { text-align: center; margin-top: 20px; font-size: 12px; color: var(--text-light); }
.required-note span { color: var(--accent); }

/* ALERTES */
.alert { padding: 14px 18px; border-radius: 12px; margin: 15px auto; max-width: 800px; font-size: 14px; border-left: 4px solid; }
.alert-success { background: #e6f8ee; color: #1e7e34; border-color: #34a853; }
.alert-danger { background: #fbe9e9; color: #842029; border-color: var(--accent); }

/* CONTACT */
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; }
.contact-info, .contact-form { flex: 1; min-width: 280px; }
.contact-card { background-color: var(--white); padding: 32px; border-radius: 20px; box-shadow: var(--card-shadow); margin-bottom: 20px; }
.contact-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 22px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 22px; gap: 16px; }
.contact-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; box-shadow: 0 4px 12px rgba(13,46,110,0.25); }
.contact-details h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.contact-details p { color: var(--text-mid); font-size: 14px; }
.contact-details a { color: var(--primary-light); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.contact-details a:hover { color: var(--accent); text-decoration: underline; }
.map-container { margin-top: 40px; border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); }
.map-container iframe { width: 100%; height: 300px; border: 0; display: block; }
.social-links { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.social-link { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s; font-size: 18px; }
.social-link:hover { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(230,48,18,0.35); }

/* SERVICES */
.service-item { display: flex; align-items: stretch; margin-bottom: 40px; background-color: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow); }
.service-item:nth-child(even) { flex-direction: row-reverse; }
.service-image { width: 40%; min-height: 250px; overflow: hidden; flex-shrink: 0; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-item:hover .service-image img { transform: scale(1.08); }
.service-details { width: 60%; padding: 35px; display: flex; flex-direction: column; justify-content: center; }
.service-details h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.service-details ul { list-style: none; margin: 14px 0; }
.service-details ul li { margin-bottom: 9px; padding-left: 24px; position: relative; color: var(--text-mid); font-size: 14px; }
.service-details ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* À PROPOS */
.about-content { display: flex; align-items: center; gap: 50px; margin-bottom: 60px; }
.about-image { width: 40%; border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow); }
.about-image img { width: 100%; height: auto; display: block; }
.about-text { width: 60%; }
.about-text h2 { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.values { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 50px 0; }
.value-card { background-color: var(--white); padding: 28px 22px; border-radius: 16px; box-shadow: var(--card-shadow); text-align: center; transition: all 0.3s; border: 1px solid rgba(13,46,110,0.06); }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,46,110,0.18); }
.value-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; box-shadow: 0 6px 18px rgba(13,46,110,0.28); }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
.value-card p { color: var(--text-mid); font-size: 13px; line-height: 1.6; }

.stats { display: flex; justify-content: space-around; text-align: center; margin: 55px 0; flex-wrap: wrap; gap: 20px; }
.stat-item { padding: 24px 20px; flex: 1; min-width: 150px; background-color: var(--white); border-radius: 16px; box-shadow: var(--card-shadow); }
.stat-item h3 { font-size: 38px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.stat-item p { color: var(--text-mid); font-size: 14px; font-weight: 600; }

.team { margin-top: 60px; }
.team h2 { text-align: center; font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 40px; }
.team-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.team-member { width: 100%; max-width: 200px; text-align: center; }
.team-member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 4px solid var(--gold); transition: transform 0.3s; box-shadow: 0 6px 20px rgba(13,46,110,0.15); }
.team-member:hover img { transform: scale(1.06); }
.team-member h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.team-member p { color: var(--text-mid); font-size: 13px; line-height: 1.5; }

/* FOOTER */
#footer { background: linear-gradient(135deg, var(--primary) 0%, #0a2050 100%); color: var(--white); padding: 60px 0 25px; margin-top: 0; position: relative; }
#footer::before { content: ''; position: absolute; top: -30px; left: 0; right: 0; height: 32px; background: linear-gradient(135deg, var(--primary) 0%, #0a2050 100%); clip-path: ellipse(55% 100% at 50% 0%); }
.footer-content { display: grid; grid-template-columns: repeat(4,1fr); gap: 35px; margin-bottom: 40px; }
.footer-column h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.8px; }
.footer-column p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; transition: all 0.25s; display: inline-flex; align-items: center; gap: 6px; }
.footer-column ul li a::before { content: '›'; color: var(--gold); font-weight: 700; font-size: 16px; }
.footer-column ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-column ul li i { color: var(--gold); margin-right: 8px; font-size: 14px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.55); }

/* ================================================
   BOUTON WHATSAPP FLOTTANT
   ================================================ */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.whatsapp-bubble {
    display: flex; align-items: center; justify-content: center;
    width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    border-radius: 50%; text-decoration: none;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    transition: all 0.3s ease;
    animation: wa-pulse 2.5s ease-in-out infinite;
    position: relative;
}
.whatsapp-bubble i { font-size: 30px; color: var(--white); }
.whatsapp-bubble:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.6); animation: none; }
.whatsapp-tooltip {
    background: var(--white); color: var(--text-dark); font-size: 13px; font-weight: 600;
    padding: 8px 14px; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    white-space: nowrap; opacity: 0; transform: translateX(10px);
    transition: all 0.3s ease; pointer-events: none;
    position: absolute; right: 72px; bottom: 12px;
}
.whatsapp-tooltip::after {
    content: ''; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
    border: 7px solid transparent; border-right: none; border-left-color: var(--white);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.75), 0 0 0 12px rgba(37,211,102,0.12); }
}

/* ANIMATIONS */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.floating { animation: float 3s ease-in-out infinite; }

/* TABLETTE 1024px */
@media (max-width: 1024px) {
    .permis-grid { grid-template-columns: repeat(2,1fr); }
    .values { grid-template-columns: repeat(2,1fr); }
    .footer-content { grid-template-columns: repeat(2,1fr); }
    .hero-content h2 { font-size: 34px; }
    .service-image { width: 45%; }
    .service-details { width: 55%; }
}

/* MOBILE 768px */
@media (max-width: 768px) {
    .header-content { position: relative; height: 68px; }
    .hamburger { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    #main-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 20px 0; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    #main-nav.active { display: block; }
    #main-nav ul { flex-direction: column; align-items: center; gap: 0; }
    #main-nav li { width: 100%; text-align: center; }
    #main-nav a { display: block; padding: 14px 20px; border-radius: 0; font-size: 16px; }
    #hero { background-attachment: scroll; margin-top: 70px; padding: 100px 0 80px; }
    .hero-content h2 { font-size: 28px; }
    .hero-content p { font-size: 16px; }
    #permis { padding: 60px 0 50px; }
    .section-title h2 { font-size: 26px; }
    .permis-grid { grid-template-columns: 1fr; gap: 20px; }
    .values { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .about-content { flex-direction: column; gap: 30px; }
    .about-image, .about-text { width: 100%; }
    .service-item, .service-item:nth-child(even) { flex-direction: column; }
    .service-image { width: 100%; min-height: 200px; }
    .service-details { width: 100%; }
    .contact-container { flex-direction: column; gap: 25px; }
    .contact-info, .contact-form { width: 100%; }
    .form-container { padding: 28px; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-content { grid-template-columns: repeat(2,1fr); gap: 25px; }
    .page-title h1 { font-size: 30px; }
    .whatsapp-float { bottom: 20px; right: 20px; }
    .whatsapp-bubble { width: 56px; height: 56px; }
    .whatsapp-bubble i { font-size: 26px; }
}

/* PETIT MOBILE 480px */
@media (max-width: 480px) {
    .container { width: 95%; padding: 0 10px; }
    .logo-icon { width: 38px; height: 38px; }
    .hero-content h2 { font-size: 22px; }
    .hero-content p { font-size: 14px; }
    .cta-button { padding: 12px 24px; font-size: 14px; }
    .section-title h2 { font-size: 22px; }
    .values { grid-template-columns: 1fr; }
    .permis-image { height: 160px; }
    .permis-content { padding: 16px; }
    .permis-content h3 { font-size: 16px; }
    .permis-price .price { font-size: 22px; }
    .form-container { padding: 20px; }
    .form-group { margin-bottom: 18px; }
    .form-group input, .form-group select, .form-group textarea { padding: 11px 13px; font-size: 13px; }
    .submit-button { padding: 13px 22px; font-size: 14px; min-width: 160px; }
    .contact-card { padding: 22px; }
    .contact-icon { width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    #footer { padding: 50px 0 20px; }
    .page-content { padding: 90px 0 30px; }
    .page-title h1 { font-size: 24px; }
    .stat-item h3 { font-size: 30px; }
    .whatsapp-bubble { width: 52px; height: 52px; }
    .whatsapp-bubble i { font-size: 24px; }
    .whatsapp-tooltip { font-size: 12px; padding: 7px 11px; }
}

/* TRÈS PETIT 320px */
@media (max-width: 320px) {
    .container { width: 100%; padding: 0 8px; }
    .hero-content h2 { font-size: 18px; }
    .form-container { padding: 15px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 12px; }
    .whatsapp-float { bottom: 14px; right: 14px; }
}
