/* ============================================
   PresenceNet.net — Feuille de style
   Palette inspirée du logo :
   - Bleu marine   : #1B4C7E
   - Bleu marine foncé : #123655
   - Or / doré     : #F0B93D
   - Or foncé      : #C9891A
   - Bleu clair    : #D7E6F0
   - Blanc         : #FFFFFF
   ============================================ */

:root {
    --navy: #1b4c7e;
    --navy-dark: #123655;
    --gold: #f0b93d;
    --gold-dark: #c9891a;
    --light-blue: #d7e6f0;
    --white: #ffffff;
    --text: #1f2d3a;

    --sidebar-width: 210px;
    --header-height: 150px;
}

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

html, body {
    height: 100%;
}

body {
    font-family: "Segoe UI", Verdana, Arial, sans-serif;
    color: var(--text);
    background-color: var(--light-blue);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== EN-TÊTE ==================== */

.site-header {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-blue) 100%);
    border-bottom: 4px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: var(--header-height);
    padding: 15px 30px;
}

.site-header .logo-link {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    line-height: 0;
    border-radius: 50%;
}

.site-header .logo-link:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.site-header .logo {
    height: 110px;
    width: auto;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.site-header .logo-link:hover .logo {
    transform: scale(1.07) rotate(-2deg);
    filter: drop-shadow(0 4px 10px rgba(240, 185, 61, 0.55));
}

/* Petit effet "rebond" appliqué par le JS au moment du clic */
.site-header .logo.logo-bounce {
    animation: logoBounce 0.5s ease;
}

@keyframes logoBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(0.85) rotate(-4deg); }
    60%  { transform: scale(1.15) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.site-header .titre-bloc {
    text-align: center;
}

.site-header h1 {
    font-size: 2.4rem;
    letter-spacing: 1px;
    color: var(--navy);
    text-shadow: 1px 1px 0 var(--gold);
}

.site-header p.slogan {
    margin-top: 6px;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gold-dark);
    font-weight: 600;
}

/* ==================== CORPS DE PAGE ==================== */

.corps {
    display: flex;
    flex: 1;
}

/* ==================== MENU LATÉRAL ==================== */

.menu-lateral {
    width: var(--sidebar-width);
    background-color: var(--navy);
    padding-top: 25px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.menu-lateral .logo-menu {
    display: flex;
    justify-content: center;
    padding: 25px 20px;
    margin-top: 45px;
}

.menu-lateral .logo-menu img {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.menu-lateral ul {
    list-style: none;
}

.menu-lateral li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-lateral a {
    display: block;
    padding: 16px 20px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    border-left: 4px solid transparent;
}

.menu-lateral a:hover {
    background-color: var(--navy-dark);
    padding-left: 26px;
}

.menu-lateral a.actif {
    background-color: var(--gold);
    color: var(--navy-dark);
    border-left: 4px solid var(--gold-dark);
}

/* ==================== CONTENU PRINCIPAL ==================== */

.contenu {
    flex: 1;
    padding: 50px 40px;
    background-color: var(--white);
}

.contenu h2 {
    color: var(--navy);
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 25px;
}

.contenu .texte-page {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.6;
}

.contenu .texte-page p {
    margin-bottom: 16px;
}

/* Bloc de tarification (page Prix / Contact) */
.bloc-prix {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 30px 35px;
    max-width: 420px;
    margin: 20px 0 25px;
    border-left: 6px solid var(--gold);
    box-shadow: 0 6px 18px rgba(27, 76, 126, 0.25);
}

.bloc-prix .montant {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 18px;
}

.bloc-prix .montant .tout-compris {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.bloc-prix .liste-inclus {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bloc-prix .liste-inclus li {
    font-size: 1.05rem;
    padding-left: 26px;
    position: relative;
}

.bloc-prix .liste-inclus li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.note-renouvellement {
    background-color: var(--light-blue);
    border-left: 4px solid var(--navy);
    padding: 14px 18px;
    border-radius: 6px;
    max-width: 500px;
    font-size: 1.02rem;
}

.note-astuce {
    margin-top: 55px;
    padding-top: 18px;
    border-top: 1px solid var(--light-blue);
    max-width: 600px;
    font-size: 0.88rem;
    color: #5a6b7a;
    font-style: italic;
}

/* Carte "exemple de site" (mockup type navigateur), page Votre site */
.carte-exemple-site {
    display: block;
    max-width: 520px;
    margin: 20px 0 10px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--light-blue);
    box-shadow: 0 6px 20px rgba(27, 76, 126, 0.18);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-exemple-site:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(27, 76, 126, 0.28);
}

.carte-exemple-site .barre-navigateur {
    background-color: #e7edf3;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--light-blue);
}

.carte-exemple-site .point {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.point.rouge { background-color: #ef5f52; }
.point.jaune { background-color: #f4bd4a; }
.point.vert  { background-color: #59c96a; }

.carte-exemple-site .url-barre {
    margin-left: 12px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 3px 14px;
    font-size: 0.85rem;
    color: var(--navy);
    flex: 1;
}

.carte-exemple-site .apercu-exemple {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 22px;
}

.carte-exemple-site .logo-exemple {
    height: 64px;
    width: auto;
    flex-shrink: 0;
}

.carte-exemple-site .titre-exemple {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.carte-exemple-site .soustitre-exemple {
    color: var(--text);
    font-size: 0.92rem;
}

.carte-exemple-site .lien-voir-site {
    display: block;
    background-color: var(--gold);
    color: var(--navy-dark);
    text-align: center;
    font-weight: 700;
    padding: 10px;
    font-size: 0.95rem;
}

/* Grille de sites démo (2 images par ligne), page Votre site */
.sous-titre-section {
    color: var(--navy);
    margin: 35px 0 15px;
    font-size: 1.2rem;
}

.grille-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
}

.carte-demo {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--light-blue);
    box-shadow: 0 4px 14px rgba(27, 76, 126, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 76, 126, 0.25);
}

.carte-demo img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.carte-demo figcaption {
    text-align: center;
    background-color: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .grille-demo {
        grid-template-columns: 1fr;
    }
}

/* Bloc infos de contact (page Prix / Contact) */
.bloc-contact-infos {
    margin-top: 90px;
    padding-top: 25px;
    border-top: 2px solid var(--light-blue);
    max-width: 420px;
}

.bloc-contact-infos p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.bloc-contact-infos a {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1px;
    transition: color 0.2s ease;
}

.bloc-contact-infos a:hover {
    color: var(--gold-dark);
}

.bloc-contact-infos .icone {
    margin-right: 6px;
}

/* ==================== PIED DE PAGE ==================== */

.site-footer {
    background-color: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 18px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.site-footer span.gold {
    color: var(--gold);
    font-weight: bold;
}

.site-footer .copyright {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--light-blue);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 700px) {
    :root {
        --header-height: 190px;
    }

    .site-header {
        flex-direction: column;
        padding-top: 20px;
    }

    .site-header .logo-link {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .site-header .logo {
        height: 80px;
    }

    .corps {
        flex-direction: column;
    }

    .menu-lateral {
        width: 100%;
    }

    .menu-lateral ul {
        display: flex;
    }

    .menu-lateral .logo-menu {
        display: none;
    }

    .menu-lateral li {
        flex: 1;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .menu-lateral a {
        text-align: center;
        padding: 14px 8px;
    }

    .contenu {
        padding: 30px 20px;
    }
}
