/* ========= RESET ========= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
}

body {
    font-family: "Roboto", sans-serif;
    background: #f3f4f6;
    color: #2d2d2d;
    padding-top: 90px; /* header fixe */
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

/* ========= HEADER ========= */
.t3p-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 90px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 55px;
    transition: transform 0.25s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

/* Menu desktop */
.nav-desktop {
    display: flex;
    gap: 22px;
}

.nav-desktop a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-desktop a:hover {
    color: #d7263d;
}

/* Téléphone */
.phone {
    color: #333;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.phone:hover {
    color: #FF5757;
    transform: translateY(-2px);
    opacity: 0.85;
}

/* ========= BURGER ========= */
.burger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    right: 0;
    width: 70%;
    background: #fff;
    box-shadow: -2px 0 6px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 999;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.mobile-phone {
    color: #d7263d;
    font-weight: 700;
}

.mobile-menu.open {
    display: flex;
}

/* ========= HERO VIDEO ========= */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.05)
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,1);
}

.hero-overlay h1 {
    font-size: 60px;
    margin-bottom: 12px;
}

.hero-overlay p {
    font-size: 25px;
}

/* ========= MAIN ========= */
main {
    flex: 1;
}

.main {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 24px;
}

/* ========= BANDEAU CONTACT ========= */
.page-hero{
    background:#015AAB;
    color:#fff;
    padding:60px 20px;
    text-align:center;
}
.page-hero h1{
    font-size:36px;
    margin-bottom:10px;
}
.page-hero p{
    font-size:16px;
    opacity:0.95;
}

/* ========= FORMULAIRE ========= */
.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 40px auto;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-bottom: 18px;
}

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

.rgpd{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13px;
    margin-bottom:18px;
    line-height:1.4;
}

.rgpd input[type="checkbox"]{
    width:16px;
    height:16px;
    margin-top:2px;
    accent-color:#015AAB;
    flex:0 0 auto;
}

.contact-form button{
    width:100%;
    background:#015AAB;
    color:#fff;
    padding:12px 18px;
    border:none;
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:background 0.2s ease, transform 0.15s ease;
}

.contact-form button:hover{
    background:#014b8f;
    transform:translateY(-1px);
}
	

.hp-field{
    position:absolute;
    left:-9999px;
    opacity:0;
    height:0;
    overflow:hidden;
}
	
.success-message{
    margin-top:30px;
}

.error-message{
    margin-top:30px;
}

.form-message{
    margin-top:30px;
    margin-bottom:20px;
    font-weight:500;
}

/* ========= FOOTER ========= */
.footer {
    background: #000;
    color: #ccc;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.footer-inner {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    color: #ccc;
    margin-left: 18px;
    text-decoration: none;
}

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

/* ===== PAGES LÉGALES : AÉRATION ===== */
.main h2 {
    margin-top: 26px;
    margin-bottom: 10px;
}

.main p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.main a {
    color: #015AAB;
    text-decoration: none;
    font-weight: 500;
}

.main a:hover {
    text-decoration: underline;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 768px) {

    .nav-desktop, .phone {
        display: none;
    }

    .burger {
        display: block;
    }

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

    .contact-hero h1 {
        font-size: 28px;
    }
	.page-hero{ padding:44px 16px; }
  	.page-hero h1{ font-size:28px; }
}

