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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

/* ========= 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: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    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;
}

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

/* h2 home */

.t3p-free{
  color:#FF5757;
  font-weight:700;
}

/* 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;
}

/* Menu mobile */
.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.open {
    display: flex;
}

/* ========= HERO ========= */
.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;
    text-align: 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;
}

/* ========= CONTENEUR CONTENU ========= */
.main {
    max-width: 1180px;
    margin: 50px auto;
    padding: 0 24px;
}

/* Section titre */
.section-title {
    font-size: 26px;
    margin-bottom: 30px;
}

/* Grille */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* ====== CARDS ACCÈS DIRECTS ====== */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* effet roll-up */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.14);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    flex: 1; /* IMPORTANT : pousse le bouton en bas */
}

/* ====== BOUTONS ====== */
.card .btn {
    align-self: flex-start;
    margin-top: 18px;
    background: #015AAB;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card .btn:hover {
    background: #FF5757;
    box-shadow: 0 8px 18px rgba(255,87,87,0.45);
    transform: translateY(-2px);
}

/* ========= TEXTE + IMAGE ========= */
.info-block {
    max-width: 1180px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: center;
}

.info-text p {
    font-size: 16px;
    line-height: 1.6;
}

.info-image img {
    width: 100%;
    border-radius: 12px;
}

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

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

/* Liens du footer */
.footer a,
.footer a:visited {
    color: #E0E0E0;
    text-decoration: none;
}

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

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .phone {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero {
        height: 60vh;
        min-height: 360px;
    }

    .hero-overlay h1 {
        font-size: 32px;
    }

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