/* ========================================= */
/* BASE */
/* ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #000000;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

body,
button,
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

button {
    font-size: 15px;
}


/* ========================================= */
/* HEADER */
/* ========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid #1d1d1d;
}

.navbar {
    max-width: 1200px;
    min-height: 84px;
    margin: auto;
    padding: 14px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;
}

.logo img {
    width: 54px;
    height: 54px;

    display: block;
    object-fit: contain;
}

.logo span {
    display: flex;
    align-items: center;

    line-height: 1;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.logo strong {
    margin-left: 6px;
    color: #ff2a1a;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #dddddd;
    text-decoration: none;
    transition: 0.2s;
}

nav a:hover {
    color: #ff2a1a;
}


/* ========================================= */
/* BOUTONS */
/* ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    background: #ff2a1a;
    color: #ffffff;

    border: 0;
    border-radius: 9px;

    text-decoration: none;
    font-weight: 700;
    cursor: pointer;

    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 42, 26, 0.28);
}

.btn-secondaire {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 9px;

    text-decoration: none;
}

.btn-secondaire:hover {
    border-color: #ff2a1a;
}


/* ========================================= */
/* TITRES */
/* ========================================= */

.petit-titre {
    margin-bottom: 12px;

    color: #ff2a1a;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.centre {
    text-align: center;
}

.titre-section {
    margin: 0 0 45px;

    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
}

.titre-section span,
.hero h1 span,
.hero h2 span,
.apropos h2 span,
.pourquoi h2 span,
.footer-logo span {
    color: #ff2a1a;
}


/* ========================================= */
/* ACCUEIL */
/* ========================================= */

/* ========================================= */
/* ACCUEIL - GRAND BANDEAU */
/* ========================================= */

.hero {
    width: 100%;

    min-height: calc(100vh - 84px);

    padding: 70px 6%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(46px, 7vw, 78px);
    line-height: 0.95;
}

.hero h2 {
    margin: 25px 0 20px;
    font-size: clamp(29px, 4vw, 46px);
    line-height: 1.15;
}

.description {
    max-width: 650px;
    color: #b9b9b9;
    font-size: 17px;
    line-height: 1.8;
}

.hero-boutons {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ========================================= */
/* GRANDE PHOTO DU SETUP */
/* ========================================= */

.hero-photo {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;
}


.hero-photo img {
    width: 100%;

    height: 600px;

    display: block;

    object-fit: cover;

    border-radius: 24px;

    border: 1px solid #242424;

    box-shadow: 0 0 50px rgba(255, 42, 26, 0.15);
}

.avantages-rapides {
    margin-top: 40px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.avantages-rapides div {
    padding: 16px;

    background: #090909;
    border: 1px solid #202020;
    border-radius: 12px;
}

.avantages-rapides strong,
.avantages-rapides small {
    display: block;
}

.avantages-rapides small {
    margin-top: 7px;
    color: #8e8e8e;
    line-height: 1.4;
}


/* ========================================= */
/* SECTIONS */
/* ========================================= */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 95px 25px;
}


/* ========================================= */
/* SERVICES */
/* ========================================= */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    padding: 30px;

    background: #0a0a0a;
    border: 1px solid #222222;
    border-radius: 16px;

    transition: 0.2s;
}

.service:hover {
    transform: translateY(-5px);
    border-color: #ff2a1a;
}

.icone {
    margin-bottom: 18px;
    font-size: 31px;
}

.service h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.service p {
    margin: 0;
    color: #9f9f9f;
    line-height: 1.65;
}


/* ========================================= */
/* À PROPOS */
/* ========================================= */

/* ========================================= */
/* À PROPOS - PLEINE LARGEUR */
/* ========================================= */

.apropos {
    width: 100%;

    min-height: 750px;

    margin: 0;

    padding: 80px 6%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}



/* ========================================= */
/* PHOTO À PROPOS */
/* ========================================= */

.apropos-photo {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;
}


.apropos-photo img {
    width: 100%;

    height: 600px;

    display: block;

    object-fit: cover;

    border: 1px solid #242424;

    border-radius: 24px;

    box-shadow: 0 0 50px rgba(255, 42, 26, 0.10);
}



/* ========================================= */
/* TEXTE À PROPOS */
/* ========================================= */

.apropos-texte {
    width: 100%;

    max-width: 750px;
}


.apropos h2 {
    margin: 0 0 30px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.1;
}


.apropos-texte p {
    max-width: 750px;

    color: #aaaaaa;

    font-size: 17px;

    line-height: 1.8;
}



/* ========================================= */
/* AVANTAGES */
/* ========================================= */

.liste-avantages {
    width: 100%;

    margin-top: 30px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


.liste-avantages div {
    padding: 18px;

    background: #0b0b0b;

    border: 1px solid #222222;

    border-radius: 10px;
}


/* ========================================= */
/* GALERIE */
/* ========================================= */

.galerie {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.photo-galerie {
    position: relative;
    overflow: hidden;

    min-height: 300px;

    background: #0b0b0b;
    border: 1px solid #222222;
    border-radius: 18px;
}

.photo-galerie img {
    width: 100%;
    height: 100%;
    min-height: 300px;

    display: block;
    object-fit: cover;
}

.nom-photo {
    position: absolute;
    left: 16px;
    bottom: 16px;

    padding: 9px 13px;

    background: rgba(0, 0, 0, 0.78);
    border-radius: 8px;

    font-weight: 700;
}


/* ========================================= */
/* POURQUOI NOUS CHOISIR */
/* ========================================= */

.pourquoi {
    padding: 95px 25px;

    background: #060606;
    border-top: 1px solid #171717;
    border-bottom: 1px solid #171717;
}

.pourquoi h2 {
    margin: 0 0 45px;

    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
}

.pourquoi-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.raison {
    padding: 28px;

    background: #0b0b0b;
    border: 1px solid #202020;
    border-radius: 15px;
}

.raison-icone {
    font-size: 30px;
}

.raison h3 {
    margin: 18px 0 10px;
}

.raison p {
    margin: 0;
    color: #9f9f9f;
    line-height: 1.6;
}


/* ========================================= */
/* CONTACT */
/* ========================================= */

.contact {
    max-width: 1200px;
    margin: 90px auto;
    padding: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    background: linear-gradient(135deg, #07111c, #050505);
    border: 1px solid #173552;
    border-radius: 20px;
}

.contact h2 {
    margin: 0 0 10px;
    font-size: 36px;
}

.contact p {
    color: #a7a7a7;
}

.gros-btn {
    padding: 16px 27px;
    white-space: nowrap;
}


/* ========================================= */
/* FOOTER */
/* ========================================= */

footer {
    max-width: 1200px;
    margin: auto;
    padding: 55px 25px;

    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 45px;

    border-top: 1px solid #1e1e1e;
}

.footer-logo {
    margin-top: 0;
    font-size: 25px;
}

footer h4 {
    margin-top: 0;
}

footer a {
    display: block;
    margin: 10px 0;

    color: #a5a5a5;
    text-decoration: none;
}

footer a:hover {
    color: #ff2a1a;
}

footer p {
    color: #909090;
}

.copyright {
    padding: 22px;

    color: #707070;
    text-align: center;

    border-top: 1px solid #151515;
}


/* ========================================= */
/* AGENDA */
/* ========================================= */

.agenda-modal {
    display: none;

    position: fixed;
    inset: 0;
    z-index: 500;

    padding: 25px;

    background: rgba(0, 0, 0, 0.88);

    align-items: center;
    justify-content: center;

    overflow-y: auto;
}

.agenda-modal.open {
    display: flex;
}

.agenda-box {
    position: relative;

    width: 100%;
    max-width: 650px;
    max-height: 92vh;

    padding: 32px;

    background: #07111c;
    border: 1px solid #ff2a1a;
    border-radius: 18px;

    overflow-y: auto;
}

.agenda-box h2 {
    margin-top: 0;
    font-size: 30px;
}

.close {
    position: absolute;
    top: 12px;
    right: 16px;

    background: transparent;
    color: #ffffff;

    border: 0;

    font-size: 31px;
    cursor: pointer;
}

.agenda-box label {
    display: block;
    margin-top: 4px;

    font-size: 14px;
    font-weight: 700;
}

.agenda-box input,
.agenda-box select,
.agenda-box textarea {
    width: 100%;
    margin: 8px 0 17px;
    padding: 12px 13px;

    background: #101820;
    color: #ffffff;

    border: 1px solid #2b3f52;
    border-radius: 8px;

    outline: none;
}

.agenda-box input:focus,
.agenda-box select:focus,
.agenda-box textarea:focus {
    border-color: #ff2a1a;
}

.creneaux {
    margin: 10px 0 18px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.slot {
    padding: 11px 8px;

    background: #101820;
    color: #ffffff;

    border: 1px solid #2b3f52;
    border-radius: 8px;

    cursor: pointer;
}

.slot:hover,
.slot.active {
    background: #ff2a1a;
    border-color: #ff2a1a;
}

#recap {
    margin-bottom: 20px;
    padding: 15px;

    background: #0d1d2d;
    border-radius: 10px;

    line-height: 1.6;
}

.confirmation {
    display: none;
    padding: 15px 0;
}

.confirmation h3 {
    color: #4dc3ff;
}


/* ========================================= */
/* TABLETTE */
/* ========================================= */

@media (max-width: 950px) {

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        order: -1;
    }

    .hero-photo img {
        min-height: 320px;
        max-height: 440px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .apropos {
        grid-template-columns: 1fr;
    }

    .pourquoi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 650px) {

    .navbar {
        min-height: 72px;
        padding: 10px 16px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo span {
        font-size: 17px;
    }

    .navbar > .btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 45px 18px 70px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .avantages-rapides {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 18px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .apropos {
        margin: 0;
        padding: 70px 18px;
    }

    .apropos-photo img {
        height: 330px;
    }

    .liste-avantages {
        grid-template-columns: 1fr;
    }

    .galerie {
        grid-template-columns: 1fr;
    }

    .pourquoi {
        padding: 70px 18px;
    }

    .pourquoi-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        margin: 60px 18px;
        padding: 30px;

        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .creneaux {
        grid-template-columns: repeat(2, 1fr);
    }

    .agenda-box {
        padding: 26px 20px;
    }

}

/* ========================================= */
/* AGENDA V2 - CALENDRIER VISUEL */
/* ========================================= */

.agenda-box {
    max-width: 900px;
    background: #070b11;
}

.agenda-entete {
    padding-right: 45px;
    margin-bottom: 28px;
}

.agenda-entete h2 {
    margin: 0 0 8px;
    font-size: 34px;
}

.agenda-entete > p:last-child {
    margin: 0;
    color: #9299a3;
}

.agenda-etape {
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.agenda-etape span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff2a1a;
    border-radius: 50%;
    font-weight: 800;
}

.calendrier {
    padding: 20px;
    background: #0b1119;
    border: 1px solid #1d2b39;
    border-radius: 14px;
}

.calendrier-entete {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    text-align: center;
}

.calendrier-entete strong {
    font-size: 20px;
    text-transform: capitalize;
}

.calendrier-entete button {
    width: 40px;
    height: 40px;
    background: #111b26;
    color: #ffffff;
    border: 1px solid #26394b;
    border-radius: 9px;
    font-size: 27px;
    cursor: pointer;
}

.calendrier-entete button:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.jours-semaine,
.jours-calendrier {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.jours-semaine {
    margin-bottom: 8px;
    color: #7f8b98;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.jour-calendrier,
.jour-vide {
    min-height: 48px;
}

.jour-calendrier {
    background: #101820;
    color: #ffffff;
    border: 1px solid #213140;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.2s;
}

.jour-calendrier:hover:not(:disabled) {
    border-color: #ff2a1a;
    transform: translateY(-2px);
}

.jour-calendrier.selectionne {
    background: #ff2a1a;
    border-color: #ff2a1a;
    box-shadow: 0 0 18px rgba(255, 42, 26, 0.25);
}

.jour-calendrier.indisponible {
    color: #48515b;
    background: #090d12;
    cursor: not-allowed;
}

.message-creneaux {
    margin: 0 0 12px;
    color: #8f9aa6;
    font-size: 14px;
}

.slot.reserve {
    opacity: 0.3;
    text-decoration: line-through;
    cursor: not-allowed;
}

.champs-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.recap-rdv {
    border: 1px solid #1d3d5c;
}

.recap-rdv p {
    margin: 8px 0 0;
}

.bouton-confirmer {
    width: 100%;
    min-height: 50px;
}

.confirmation {
    text-align: center;
}

.confirmation-icone {
    width: 70px;
    height: 70px;
    margin: 10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff2a1a;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 900;
}

@media (max-width: 650px) {
    .agenda-modal {
        padding: 10px;
    }

    .agenda-box {
        max-height: 96vh;
        padding: 25px 15px;
    }

    .agenda-entete h2 {
        font-size: 27px;
    }

    .calendrier {
        padding: 12px;
    }

    .jours-semaine,
    .jours-calendrier {
        gap: 4px;
    }

    .jour-calendrier,
    .jour-vide {
        min-height: 40px;
    }

    .champs-double {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================= */
/* IDENTITE FIRE TECH */
/* ========================================= */

:root {
    --fire-red: #ff2a1a;
    --fire-red-bright: #ff3b20;
    --fire-orange: #ff6a00;
    --fire-dark: #090303;
    --fire-panel: #0c0c0c;
    --fire-border: #2a1715;
}

::selection {
    background: var(--fire-red);
    color: #ffffff;
}

.logo img {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 22px rgba(255, 42, 26, 0.22);
}

.logo strong,
.hero span,
.apropos span,
.petit-titre {
    color: var(--fire-red);
}

.btn {
    background: linear-gradient(135deg, var(--fire-red), #c9140b);
    border: 1px solid #ff4b3d;
    box-shadow: 0 0 20px rgba(255, 42, 26, 0.18);
}

.btn:hover {
    background: linear-gradient(135deg, var(--fire-red-bright), var(--fire-orange));
    box-shadow: 0 0 30px rgba(255, 42, 26, 0.35);
}

.hero-photo img,
.apropos-photo img {
    border-color: var(--fire-border);
    box-shadow: 0 0 50px rgba(255, 42, 26, 0.10);
}

.service-card:hover,
.galerie-item:hover {
    border-color: var(--fire-red);
    box-shadow: 0 0 28px rgba(255, 42, 26, 0.12);
}

.agenda-contenu {
    border-color: var(--fire-red);
    box-shadow: 0 0 60px rgba(255, 42, 26, 0.16);
}

.etape-numero,
.jour-calendrier.selectionne,
.slot.active {
    background: linear-gradient(135deg, var(--fire-red), #b80d08);
    border-color: var(--fire-red-bright);
    box-shadow: 0 0 18px rgba(255, 42, 26, 0.35);
}

.jour-calendrier:not(:disabled):hover,
.slot:not(:disabled):hover {
    border-color: var(--fire-red);
}

.notification-rdv {
    background: #100504;
    border-color: var(--fire-red);
    box-shadow: 0 10px 40px rgba(255, 42, 26, 0.30);
}

.notification-icone {
    background: var(--fire-red);
}


/* ========================================= */
/* FIRE TECH - NOTRE HISTOIRE */
/* ========================================= */

.apropos-texte strong {
    color: #ffffff;
}

.histoire-accent {
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(255, 42, 26, 0.13), rgba(255, 111, 0, 0.03));
    border-left: 3px solid #ff2a1a;
    border-radius: 0 10px 10px 0;
}

.philosophie-fire-tech {
    margin-top: 30px;
    padding: 26px;
    background: #090909;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 0 35px rgba(255, 42, 26, 0.08);
}

.philosophie-fire-tech h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 24px;
}

.philosophie-fire-tech p {
    margin-bottom: 20px;
}

.valeurs-fire-tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.valeurs-fire-tech span {
    padding: 13px 15px;
    color: #ffffff;
    background: #0e0e0e;
    border: 1px solid #30201e;
    border-radius: 10px;
}

.signature-fire-tech {
    margin-top: 28px;
    color: #ff2a1a !important;
    font-size: 19px !important;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.signature-fire-tech span {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 650px) {
    .valeurs-fire-tech {
        grid-template-columns: 1fr;
    }

    .philosophie-fire-tech {
        padding: 20px;
    }
}
