@import url('./static/fonts/fonts.css');

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Classe pour accessibilité - caché visuellement mais lisible par lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
    /* Hauteur du header fixe */
}

body {
    background-color: #0a0908;
    padding: 5px 0 0 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
}

section[id] {
    scroll-margin-top: 50px;
}

.col {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0a0908;
    opacity: 95%;
    z-index: 999;
    padding: 0 2em;
    box-sizing: border-box;
}

header .right-bloc a {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#header-synequest-logo {
    width: 5em;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 1em;
}

#header-synequest-txt {
    width: 10em;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 1em;
}

.left-bloc {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.left-bloc ul {
    width: 100%;
    color: #a0aab8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin: 0;
    padding: 0;
}

.left-bloc ul li {
    list-style-type: none;
}

.left-bloc ul li a {
    color: #a0aab8;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.3);
}

.left-bloc ul li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.left-bloc ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #1C3B68, #42A832);
    transition: transform 0.3s ease;
}

.left-bloc ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

main #presentation {
    color: white;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url(./static/hero-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.4);
}

#presentation #title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title h1 span:nth-of-type(2) {
    color: #1C3B68;
}

#title h1 span:nth-of-type(4) {
    color: #42A832;
}

#title span {
    font-size: 2em;
}

#title p {
    text-align: center;
    font-size: 1.5em;
    width: 55%;
}


.presentationButtons {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    width: 27%;
    justify-content: space-between;
}

.btnP4p,
.btnCarm {
    border-radius: 25px;
    font-size: 18px;
    padding: 0.8em 2em;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btnP4p::before,
.btnCarm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btnP4p:hover::before,
.btnCarm:hover::before {
    width: 300px;
    height: 300px;
}

.btnP4p {
    background: linear-gradient(135deg, #1C3B68, #2860A8);
    box-shadow: 0 4px 15px rgba(28, 59, 104, 0.4);
}

.btnP4p:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 59, 104, 0.6);
}

.btnCarm {
    background: linear-gradient(135deg, #42A832, #5fcc4f);
    box-shadow: 0 4px 15px rgba(66, 168, 50, 0.4);
}

.btnCarm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 168, 50, 0.6);
}

/* Section P4P - Structure responsive */
#presentationP4p {
    background-color: #1b1b1b;
    padding: 0.5em 1em 1em 1em;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
    box-sizing: border-box;
}

.hd {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5em 0;
    flex-shrink: 0;
}

.p4pLogo {
    height: 3.5em;
    margin-right: 1em;
}

.p4pTxt {
    width: 12em;
}

#infosP4p {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.imageContainerP4p {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imageContainerP4p img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 20px;
}

.contentContainerP4p {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#titresP4p {
    flex-shrink: 0;
    margin-bottom: 0.8em;
}

#titresP4p h1 {
    color: white;
    font-size: 1.8em;
    margin: 0 0 0.3em 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

#titresP4p h1 span {
    color: #2860A8;
}

#titresP4p h2 {
    color: #c5cfd9;
    font-size: 0.95em;
    margin: 0 0 0.6em 0;
    font-weight: 400;
    text-shadow: 0 0 4px rgba(197, 207, 217, 0.3);
}

#titresP4p p {
    color: #a0aab8;
    font-size: 0.85em;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.3);
}

#titresP4p p span {
    color: #2860A8;
    font-weight: 500;
}

/* Boutons de sélection Particuliers/Professionnels */
.p4p-selector {
    display: flex;
    gap: 1em;
    margin: 1em 0 1em 0;
    justify-content: center;
}

.p4p-toggle-btn {
    padding: 0.6em 1.8em;
    background: rgba(20, 20, 20, 0.85);
    color: #a0aab8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.p4p-toggle-btn:hover {
    background: rgba(25, 25, 25, 0.9);
    border-color: rgba(40, 96, 168, 0.5);
    color: white;
    transform: translateY(-2px);
}

.p4p-toggle-btn.active {
    background: #2860A8;
    color: white;
    border-color: #2860A8;
    box-shadow: 0 4px 12px rgba(40, 96, 168, 0.4);
}

.cardsGridP4p {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 0;
    overflow: visible;
}

.cardRowP4p {
    display: flex;
    flex-direction: row;
    gap: 1.2em;
    margin: 0.3em 0;
    width: 100%;
}

.p4pCard {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(0.8em, 1.5vh, 2em) clamp(1em, 1.2vw, 1.8em);
    border-radius: 12px;
    color: #a0aab8;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.85);
    transition: all 0.3s ease;
    will-change: transform;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.25);
}

.p4pCard:hover {
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(40, 96, 168, 0.3);
    transform: translateY(-2px);
    background: rgba(25, 25, 25, 0.7);
    cursor: pointer;
}

.p4pCard h3 {
    color: white;
    font-size: clamp(1em, 1.3vw, 1.4em);
    font-weight: 600;
    margin: 0 0 0.4em 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.p4pCard p {
    line-height: 1.5;
    font-size: clamp(0.8em, 0.95vw, 1em);
    margin: 0;
}


#presentationCarm {
    padding: 1em 1em 2em 1em;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.carmLogo {
    height: 3.5em;
    margin-right: 1em;
}

.carmTxt {
    width: 12em;
}

#infosCarm {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.imageContainerCarm {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imageContainerCarm img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 20px;
}

.contentContainerCarm {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#titresCarm {
    flex-shrink: 0;
    margin-bottom: 1.5em;
}

#titresCarm h1 {
    color: white;
    font-size: 2em;
    margin: 0 0 0.5em 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

#titresCarm h1 span {
    color: #42A832;
}

#titresCarm h2 {
    color: #c5cfd9;
    font-size: 1em;
    margin: 0 0 0.6em 0;
    font-weight: 400;
    text-shadow: 0 0 4px rgba(197, 207, 217, 0.3);
}

#titresCarm h2 span {
    color: #5fcc4f;
}

#titresCarm p {
    color: #a0aab8;
    font-size: 0.9em;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.3);
}

#titresCarm p span {
    color: #42A832;
    font-weight: 500;
}

.cardsGridCarm {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.cardRowCarm {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

.carmCards {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5em, 2vh, 3em) clamp(1.2em, 1.5vw, 2.5em);
    border-radius: 12px;
    color: #a0aab8;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.85);
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.25);
}

.carmCards:hover {
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(66, 168, 50, 0.3);
    transform: translateY(-2px);
    background: rgba(25, 25, 25, 0.7);
    cursor: pointer;
}

.carmCards h3 {
    color: white;
    font-size: clamp(1.1em, 1.5vw, 1.6em);
    font-weight: 600;
    margin: 0 0 0.6em 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.carmCards p {
    line-height: 1.6;
    font-size: clamp(0.85em, 1vw, 1.1em);
    margin: 0;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 9, 8, 0.55);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #5fcc4f;
    border-radius: 12px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(95, 204, 79, 0.5);
    z-index: 10;
    transition: all 0.3s ease;
}

.coming-soon-overlay:hover {
    background: rgba(10, 9, 8, 0.5);
    text-shadow: 0 0 30px rgba(95, 204, 79, 0.7);
}

footer {
    margin-top: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0908 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    color: #a0aab8;
    padding: 3em 0 1em 0;
    border-top: 2px solid #7ec850;
}

footer section:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
    gap: 2em;
}

footer section:last-child {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(160, 170, 184, 0.2);
}

footer section article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 200px;
}

footer section article h4 {
    color: #7ec850;
    font-size: 1.1em;
    margin-bottom: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(126, 200, 80, 0.5), 0 0 20px rgba(126, 200, 80, 0.2);
}

footer section article p {
    margin: 0.5em 0;
    color: #a0aab8;
    font-size: 0.95em;
    line-height: 1.6;
    text-shadow: 0 0 3px rgba(160, 170, 184, 0.25);
}

footer section article a {
    color: #a0aab8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 3px rgba(160, 170, 184, 0.25);
}

footer section article a:hover {
    color: #7ec850;
    padding-left: 5px;
}

footer section article a img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(8%) saturate(545%) hue-rotate(179deg) brightness(95%) contrast(89%);
    transition: filter 0.3s ease;
}

footer section article a:hover img {
    filter: brightness(0) saturate(100%) invert(77%) sepia(32%) saturate(815%) hue-rotate(44deg) brightness(95%) contrast(84%);
}

#footerTitle {
    text-align: left;
}

#footerTitle h3 {
    color: #7ec850;
    font-size: 1.8em;
    margin: 0 0 0.5em 0;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(126, 200, 80, 0.6), 0 0 24px rgba(126, 200, 80, 0.3);
}

#footerTitle p {
    margin: 0.3em 0;
    font-size: 1em;
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

#footerServices h4,
#footerLinks h4,
#footerWebmaster h4 {
    margin-top: 0;
}

#networkIcons {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.network-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.network-section h4 {
    margin: 0 0 0.5em 0;
    color: #42A832;
    text-shadow: 0 0 10px rgba(66, 168, 50, 0.5), 0 0 20px rgba(66, 168, 50, 0.2);
}

.social-links {
    display: flex;
    gap: 0.5em;
}

#networkIcons img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(5%) saturate(987%) hue-rotate(176deg) brightness(92%) contrast(88%);
    transition: all 0.3s ease;
}

#networkIcons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

#networkIcons a:hover {
    transform: translateY(-5px);
}

#networkIcons a:hover img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(574%) hue-rotate(61deg) brightness(96%) contrast(86%);
}

footer section:last-child p {
    color: #a0aab8;
    font-size: 0.9em;
    text-shadow: 0 0 6px rgba(160, 170, 184, 0.4), 0 0 12px rgba(160, 170, 184, 0.2);
}

#aPropos {
    background-color: #1b1b1b;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.6em 0.9em;
    color: #a0aab8;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.25);
}

#aProposTitle {
    width: 50%;
    max-width: 100%;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.9em;
    box-sizing: border-box;
    padding: 0 0.81em;
    margin-bottom: 1.35em;
}

#aProposTitle h2 {
    color: white;
    font-size: 3em;
    margin: 0 0 0.27em 0;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

#aProposTitle h3 {
    color: #c5cfd9;
    font-size: 1.1em;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 0 4px rgba(197, 207, 217, 0.3);
}

#aProposTitle h2 span:first-child {
    color: #1C3B68;
}

#aProposTitle h2 span:nth-child(2) {
    color: #42A832;
}

#aProposTxt {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 4.5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#aProposDesc {
    width: 50%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.85em, 1vw, 1.1em);
    line-height: 1.5;
    flex: 1;
    box-sizing: border-box;
    padding: 0 1.5em;
}

#aProposCards {
    flex: 1;
    width: 50%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 1em;
    box-sizing: border-box;
}

#aProposDesc span:first-child {
    color: #1C3B68;
}

#aProposDesc span:nth-child(2) {
    color: #42A832;
}

#aProposDesc span:nth-child(3) {
    color: #1C3B68;
}

#aProposDesc span:nth-child(4) {
    color: #42A832;
}

#aProposDesc span:nth-child(5) {
    color: #824433;
}

.aProposCard img {
    width: 3.5em;
    height: 3.5em;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.aProposCard > div:first-child {
    flex-shrink: 0;
}

.aProposCard {
    width: 95%;
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 1.2em;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: clamp(0.8em, 1.5vh, 2em) clamp(1em, 1.2vw, 1.8em);
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.aProposCard h4,
.aProposCard h3 {
    color: white;
    font-size: clamp(1em, 1.3vw, 1.4em);
    margin: 0 0 0.4em 0;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.aProposCard p {
    color: #a0aab8;
    font-size: clamp(0.8em, 0.95vw, 1em);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 0 4px rgba(160, 170, 184, 0.25);
}

.aProposCard > div:last-child {
    flex: 1;
}

.aProposCard:hover {
    background: rgba(25, 25, 25, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(28, 59, 104, 0.3);
}

.aProposCard:hover img {
    transform: scale(1.1) rotate(5deg);
}

.aProposCard.active-apropos {
    border: 3px solid #1C3B68;
    background: rgba(28, 59, 104, 0.15);
    box-shadow: 0 0 20px rgba(28, 59, 104, 0.4);
}

/* SYNEQUEST - bleu */
.aProposCard:nth-child(1).active-apropos {
    border: 3px solid #1C3B68;
    background: rgba(28, 59, 104, 0.15);
    box-shadow: 0 0 20px rgba(28, 59, 104, 0.4);
}

/* PC4PEOPLE - vert */
.aProposCard:nth-child(2).active-apropos {
    border: 3px solid #42A832;
    background: rgba(66, 168, 50, 0.15);
    box-shadow: 0 0 20px rgba(66, 168, 50, 0.4);
}

/* CAVAL'ARMOR - marron */
.aProposCard:nth-child(3).active-apropos {
    border: 3px solid #824433;
    background: rgba(130, 68, 51, 0.15);
    box-shadow: 0 0 20px rgba(130, 68, 51, 0.4);
}

/* MONERA - bleu */
.aProposCard:nth-child(4).active-apropos {
    border: 3px solid #1C3B68;
    background: rgba(28, 59, 104, 0.15);
    box-shadow: 0 0 20px rgba(28, 59, 104, 0.4);
}

#aProposDescText {
    transition: opacity 0.3s ease;
}

.aProposCard:first-of-type img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(35%) saturate(1834%) hue-rotate(191deg) brightness(94%) contrast(93%);
}

.aProposCard:nth-of-type(2) img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(574%) hue-rotate(61deg) brightness(96%) contrast(86%);
}

.aProposCard:nth-of-type(3) img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(34%) saturate(1056%) hue-rotate(333deg) brightness(90%) contrast(91%);
}

.aProposCard:nth-of-type(4) img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(35%) saturate(1834%) hue-rotate(191deg) brightness(94%) contrast(93%);
}

#contactForm {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b1b1b;
    min-height: 100vh;
    padding: 2.7em 0.9em 2.7em 0.9em;
    color: #a0aab8;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

#contactForm article {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 95%;
    max-width: 1800px;
    gap: 3.15em;
    padding: 0;
}

#contactCards {
    width: 450px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 0.8em;
    padding: 0;
}

.contactCard {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2em;
    padding: clamp(0.8em, 1.5vh, 1.8em) clamp(1em, 1.2vw, 2em);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.contactCard:hover {
    background: rgba(25, 25, 25, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(66, 168, 50, 0.3);
}

.contactCard div {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.contactCard h5,
.contactCard h3 {
    color: white;
    font-weight: 600;
    font-size: clamp(1em, 1.3vw, 1.4em);
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
}

.contactCard address {
    color: #a0aab8;
    font-style: normal;
    font-size: clamp(0.8em, 0.95vw, 1em);
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

.contactCard address a {
    color: #a0aab8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactCard address a:hover {
    color: #42A832;
}

.contactCard img {
    height: 3.5em;
    min-width: 3.5em;
    filter: brightness(0) saturate(100%) invert(68%) sepia(5%) saturate(987%) hue-rotate(176deg) brightness(92%) contrast(88%);
    transition: filter 0.3s ease;
}

.contactCard:hover img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(574%) hue-rotate(61deg) brightness(96%) contrast(86%);
}

.contactCard {
    cursor: pointer;
}

.contactCard.active-card {
    background: linear-gradient(135deg, rgba(28, 59, 104, 0.3), rgba(66, 168, 50, 0.2));
    border-color: #42A832;
    border-width: 1.8px;
}

.contactCard.active-card img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(89%) saturate(574%) hue-rotate(61deg) brightness(96%) contrast(86%);
}

/* Contenu de contact */
#contactContent {
    flex: 1;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.contact-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.contact-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-content h3 {
    color: white;
    font-size: clamp(1.5em, 2vw, 2.2em);
    margin-bottom: 0.8em;
    margin-top: 0;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 24px rgba(255, 255, 255, 0.3);
}

.contact-content p {
    color: #a0aab8;
    margin-bottom: 1.5em;
    font-size: clamp(0.9em, 1.1vw, 1.2em);
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

/* Messages de confirmation */
#form-message-pc4people,
#form-message-cavalarmor {
    margin-top: 0.9em;
    padding: 0.9em;
    border-radius: 7.2px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    font-weight: 500;
}

/* Téléphone */
.phone-info {
    display: flex;
    flex-direction: column;
    gap: 2.43em;
}

.call-button {
    background: linear-gradient(135deg, #1C3B68, #42A832);
    color: white;
    padding: 1.5em 2.5em;
    border-radius: 12px;
    font-size: clamp(1.2em, 1.5vw, 1.6em);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(66, 168, 50, 0.4);
}

.availability {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5em;
    border-radius: 12px;
    border: 1px solid #333;
}

.availability h4 {
    color: white;
    margin-top: 0;
    font-size: clamp(1.2em, 1.5vw, 1.6em);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
}

.availability ul {
    list-style: none;
    padding: 0;
    margin: 0.72em 0;
}

.availability ul li {
    color: #a0aab8;
    padding: 0.6em 0;
    font-size: clamp(0.9em, 1.1vw, 1.2em);
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

.availability .note {
    color: #42A832;
    font-weight: 500;
    margin-top: 0.72em;
    padding-top: 0.72em;
    border-top: 1px solid #333;
    font-size: 0.855em;
    text-shadow: 0 0 10px rgba(66, 168, 50, 0.5), 0 0 20px rgba(66, 168, 50, 0.2);
}

/* Formulaires */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.98em;
}

.form-row {
    display: flex;
    gap: 1.98em;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45em;
    flex: 1;
}

.form-group label {
    color: #a0aab8;
    font-weight: 500;
    font-size: clamp(0.9em, 1.1vw, 1.2em);
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1em 1.2em;
    background-color: rgba(10, 9, 8, 0.8);
    border: 1.8px solid #333;
    border-radius: 12px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.9em, 1.1vw, 1.2em);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 15px rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #42A832;
    box-shadow: 0 0 9px rgba(66, 168, 50, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* Map */
.map-container {
    margin: 0.9em 0;
    border-radius: 9px;
    overflow: hidden;
    border: 1.8px solid #333;
}

.map-container iframe {
    height: 500px;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 0.45em;
    margin-top: 0.9em;
}

.address-info p {
    color: #a0aab8;
    font-size: 0.9em;
    margin: 0.27em 0;
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

/* Horaires */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 0.72em;
    margin: 1.08em 0;
}

.schedule-day {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid #333;
    border-radius: 8px;
    padding: 0.8em;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.schedule-day:hover {
    transform: translateY(-2px);
    border-color: #42A832;
}

.schedule-day.closed {
    opacity: 0.5;
}

.schedule-day .day-name {
    color: white;
    font-weight: 600;
    font-size: 0.855em;
    margin-bottom: 0.45em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 255, 255, 0.2);
}

.schedule-day .day-hours {
    color: #42A832;
    font-size: 0.9em;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(66, 168, 50, 0.5), 0 0 15px rgba(66, 168, 50, 0.2);
}

.schedule-day.closed .day-hours {
    color: #a0aab8;
}

.schedule-note {
    background: rgba(66, 168, 50, 0.1);
    border: 1px solid #42A832;
    border-radius: 9px;
    padding: 1.08em;
    margin-top: 1.35em;
}

.schedule-note p {
    color: #a0aab8;
    margin: 0.45em 0;
    font-size: 0.855em;
    text-shadow: 0 0 8px rgba(160, 170, 184, 0.4), 0 0 15px rgba(160, 170, 184, 0.2);
}

.schedule-note strong {
    color: #42A832;
    text-shadow: 0 0 8px rgba(66, 168, 50, 0.5), 0 0 15px rgba(66, 168, 50, 0.2);
}

.submit-contact-btn {
    background: linear-gradient(135deg, #1C3B68, #42A832);
    color: white;
    padding: 1.2em 2.5em;
    border: none;
    border-radius: 12px;
    font-size: clamp(1.1em, 1.3vw, 1.4em);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0.5em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.submit-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(66, 168, 50, 0.4);
}

.submit-contact-btn:active {
    transform: translateY(0);
}

/* Media Query pour écrans 4K et grands écrans (2560px et plus) */
@media screen and (min-width: 2560px) {

    /* Section Informatique - P4P */
    #presentationP4p {
        padding: 3em 4em;
    }

    .p4pLogo {
        height: 5em;
    }

    .p4pTxt {
        width: 16em;
    }

    #titresP4p {
        margin: 1.5em 3em;
    }

    #titresP4p h1 {
        font-size: 3em;
    }

    #titresP4p h2 {
        font-size: 1.4em;
    }

    .p4p-selector {
        margin: 2.5em 0;
    }

    .p4p-toggle-btn {
        padding: 1em 2.5em;
        font-size: 1.2em;
    }

    .p4pCard {
        margin: 1em;
        padding: 28px;
    }

    .p4pCard h3 {
        font-size: 1.6em;
        margin: 14px 0 10px 0;
    }

    .p4pCard p {
        font-size: 1.1em;
        line-height: 1.7;
    }

    .imageContainerP4p img {
        border-radius: 24px;
    }

    /* Section Tourisme Équestre - CARM */
    #presentationCarm {
        padding: 3em 4em;
    }

    .carmLogo {
        height: 5.5em;
    }

    .carmTxt {
        width: 16em;
    }

    #titresCarm {
        margin: 1.5em 3em;
    }

    #titresCarm h1 {
        font-size: 3em;
    }

    #titresCarm h2 {
        font-size: 1.4em;
    }

    .carmCards {
        margin: 1em;
        padding: 28px;
    }

    .carmCards h3 {
        font-size: 1.6em;
        margin: 14px 0 10px 0;
    }

    .carmCards p {
        font-size: 1.1em;
        line-height: 1.7;
    }

    .coming-soon-overlay {
        font-size: 2.5em;
    }

    .imageContainerCarm img {
        border-radius: 24px;
    }

    /* Section Présentation */
    #presentation #title h1 {
        font-size: 3.5em;
    }

    #presentation #title p {
        font-size: 1.4em;
    }

    /* Section À Propos */
    #aProposTitle h2 {
        font-size: 3em;
    }

    #aProposDesc {
        font-size: 1.8em;
    }

    #aProposCitation p {
        font-size: 1.6em;
    }

    /* Section Contact */
    #contactForm h1 {
        font-size: 2.5em;
    }

    .contact-form-item label {
        font-size: 1.2em;
    }

    .contact-form-item input,
    .contact-form-item textarea {
        font-size: 1.1em;
        padding: 1em;
    }

    .submit-contact-btn {
        font-size: 1.3em;
        padding: 1.2em 2.2em;
    }

    /* Header */
    #header-synequest-logo {
        width: 6em;
    }

    #header-synequest-txt {
        width: 12em;
    }

    .left-bloc ul li a {
        font-size: 1.2em;
        padding: 0.7em 1.3em;
    }

    /* Footer */
    footer {
        font-size: 1.1em;
    }
}



/* Media Query pour écrans moyens (1200px à 1440px) */
@media screen and (max-width: 1440px) {
    #aProposDesc {
        font-size: 1.3em;
    }
    
    #aPropos {
        padding: 10em 0.9em;
        min-height: auto;
    }
    
    #contactForm {
        padding: 5em 0.9em;
        min-height: auto;
    }
}

@media screen and (max-width: 1200px) {
    /* footer {
        display: none;
    } */

    body {
        display: block;
    }

    header {
        background-color: #0a0908;

        .left-bloc {
            display: none;
        }

        .right-bloc {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
    }

    footer section {
        flex-wrap: wrap;
    }


}

@media screen and (max-width: 800px) {

    #presentation {
        text-align: center;
    }

    #title h1 {
        font-size: 1.5em;
    }

    #title span {
        font-size: 1.4em;
    }

    #title p {
        font-size: 0.95em;
        width: 90%;
    }
    
    .presentationButtons {
        width: 80%;
        max-width: 400px;
        flex-direction: column;
        gap: 1em;
    }
    
    .btnP4p,
    .btnCarm {
        width: 100%;
    }
    
    .cardRowP4p {
        flex-direction: column;
        gap: 0.8em;
    }
    
    .p4pCard {
        width: 100%;
    }
    
    .cardRowCarm {
        flex-direction: column;
        gap: 0.8em;
    }
    
    .carmCards {
        width: 100%;
    }

    #titresP4p h1,
    #titresCarm h1 {
        text-align: center;
    }

    .imageContainerP4p,
    .imageContainerCarm {
        display: none;
    }

    #aPropos {
        min-height: fit-content;
    }

    #aProposTitle {
        width: 90%;
        font-size: 1.4em;
    }

    #aProposTitle h2 {
        font-size: 1.5em;
    }

    #aProposTitle h3 {
        font-size: 1em;
    }

    #aProposTxt {
        flex-direction: column;
    }

    #aProposDesc {
        order: 2;
        width: 90%;
        font-size: 1.3em;
        line-height: 1.5em;
    }

    #aProposCards {
        flex-direction: row;
        flex: 1;
        width: 100%;
        gap: 0.9em;
        padding: 0 0.5em;
    }


    .aProposCard {
        width: 25%;
        font-size: 1.5em;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0.7em 0.9em;
        min-height: 5em;
    }

    .aProposCard h3,
    .aProposCard h4 {
        font-size: 1em;
        text-align: center;
        width: 100%;
        color: white;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }

    .aProposCard:nth-child(1) h3 {
        color: #2860A8;
    }

    .aProposCard:nth-child(2) h3 {
        color: #42A832;
    }

    .aProposCard:nth-child(3) h3 {
        color: #824433;
    }

    .aProposCard:nth-child(4) h3 {
        color: #1C3B68;
    }

    .aProposCard p {
        display: none;
    }

    .aProposCard img {
        display: none;
    }

    #contactForm article {
        flex-direction: column;
        gap: 2.7em;
    }

    #contactCards {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1;
        order: 1;
    }
    
    .contactCard {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.8em;
    }
    
    .contactCard img {
        width: 2em;
        height: 2em;
        min-width: 2em;
        object-fit: contain;
    }
    
    .contactCard h5 {
        font-size: 0.8em;
    }
    
    .contactCard p,
    .contactCard address {
        font-size: 0.75em;
    }

    #contactContent {
        width: 100%;
        order: 2;
    }

}

/* Media Query pour Petits Mobiles (max 500px) */
@media screen and (max-width: 500px) {

    /* Header */
    header {
        padding: 0.3em 0.5em;
    }

    #header-synequest-logo {
        width: 3em;
        margin: 0.3em;
    }

    #header-synequest-txt {
        width: 6em;
        margin: 0.3em;
    }

    .left-bloc ul {
        gap: 0.3em;
    }

    .left-bloc ul li a {
        font-size: 0.75em;
        padding: 0.3em 0.5em;
    }

    /* Section Présentation */
    #presentation {
        text-align: center;
        padding: 1em 0.5em;
    }

    #title h1 {
        font-size: 1.2em;
    }

    #title span {
        font-size: 1.1em;
    }

    #title p {
        font-size: 0.85em;
        width: 95%;
    }

    /* Sections PC4PEOPLE et CAVALARMOR */
    .hd {
        padding: 0.3em 0;
    }

    .p4pLogo,
    .carmLogo {
        height: 2em;
        margin-right: 0.3em;
    }

    .p4pTxt,
    .carmTxt {
        width: 6em;
    }

    #titresP4p h1,
    #titresCarm h1 {
        font-size: 1.2em;
    }

    #titresP4p h2,
    #titresCarm h2 {
        font-size: 0.85em;
    }

    .p4p-selector {
        margin: 0.5em 0;
        gap: 0.5em;
    }

    .p4p-toggle-btn {
        padding: 0.5em 1em;
        font-size: 0.8em;
    }

    .p4pCard,
    .carmCards {
        padding: 0.7em 0.8em;
    }

    .p4pCard h3,
    .carmCards h3 {
        font-size: 0.9em;
        margin: 0 0 0.3em 0;
    }

    .p4pCard p,
    .carmCards p {
        font-size: 0.75em;
        line-height: 1.4;
    }

    .coming-soon-overlay {
        font-size: 1.2em;
    }

    /* Section À Propos */
    #aPropos {
        padding: 2em 0.5em;
    }

    #aProposTitle {
        width: 95%;
        font-size: 0.9em;
    }

    #aProposTitle h2 {
        font-size: 1.2em;
    }

    #aProposTitle h3 {
        font-size: 0.85em;
    }

    #aProposDesc {
        width: 95%;
        font-size: 0.95em;
        line-height: 1.4em;
    }

    .aProposCard {
        width: 25%;
        min-width: 70px;
        font-size: 0.75em;
        padding: 0.7em 0.3em;
        gap: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .aProposCard > div {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .aProposCard h3,
    .aProposCard h4 {
        font-size: 0.85em;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .aProposCard p {
        display: none;
    }

    .aProposCard img {
        display: none;
    }

    /* Section Contact */
    #contactForm {
        padding: 2em 0.5em;
    }

    #contactForm h1 {
        font-size: 1.2em;
    }
    
    #contactCards {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1;
    }

    .contactCard {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.7em;
    }

    .contactCard img {
        width: 2em;
        height: 2em;
        min-width: 2em;
        object-fit: contain;
    }

    .contactCard h5,
    .contactCard h3 {
        font-size: 0.8em;
    }

    .contactCard p,
    .contactCard address {
        font-size: 0.75em;
    }

    .contact-content h3 {
        font-size: 1.2em;
    }

    .contact-content p {
        font-size: 0.85em;
    }

    .form-group label {
        font-size: 0.85em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.85em;
        padding: 0.7em 0.8em;
    }

    .submit-contact-btn {
        font-size: 0.9em;
        padding: 0.8em 1.3em;
    }

    .call-button {
        font-size: 1em;
        padding: 1em 1.5em;
    }
    
    #content-telephone h3 {
        font-size: 1.2em;
    }

    #content-telephone p {
        font-size: 0.8em;
    }

    /* Footer */
    footer {
        padding: 1.5em 0.5em;
    }

    footer section article h4 {
        font-size: 1em;
    }

    footer section article p,
    footer section article a {
        font-size: 0.85em;
    }

    #footerTitle h3 {
        font-size: 1.5em;
    }

    #networkIcons img {
        margin: 0 0.3em;
        width: 1.5em;
    }

}

/* Media Query pour iPhone X et petits mobiles (max 400px) */
@media screen and (max-width: 400px) {
    
    body {
        padding: 0;
    }
    
    header {
        padding: 0.5em;
    }
    
    #header-synequest-logo {
        width: 2.5em;
        margin: 0.2em;
    }
    
    #header-synequest-txt {
        width: 5em;
        margin: 0.2em;
    }
    
    #presentationP4p,
    #presentationCarm,
    #aPropos,
    #contactForm {
        padding: 1em 0.5em;
    }
    
    .p4pCard,
    .carmCards {
        padding: 0.5em;
        margin: 0.2em 0;
    }
    
    #title p {
        width: 100%;
        padding: 0 0.5em;
    }
    
    .presentationButtons {
        width: 90%;
    }
    
    .cardRowP4p,
    .cardRowCarm {
        gap: 0.5em;
    }
    
    .p4pCard h3,
    .carmCards h3 {
        font-size: 0.85em;
    }
    
    .p4pCard p,
    .carmCards p {
        font-size: 0.7em;
    }
    
    .aProposCard {
        width: 23%;
        min-width: 65px;
        height: auto;
        min-height: 4.5em;
        padding: 0.4em 0.2em;
        gap: 0.2em;
        flex-direction: column;
    }
    
    .aProposCard h3 {
        font-size: 0.7em;
        margin: 0.2em 0;
        text-align: center;
    }
    
    .aProposCard div {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #aProposCards img {
        height: 2em;
        margin: 0;
    }
    
    #aProposTitle {
        width: 100%;
        padding: 0 0.3em;
    }
    
    #aProposDesc {
        width: 100%;
        padding: 0 0.3em;
        font-size: 0.9em;
    }
    
    #contactCards {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1;
    }
    
    .contactCard {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.5em;
    }
    
    .contactCard img {
        width: 2em;
        height: 2em;
        min-width: 2em;
        object-fit: contain;
    }
    
    #content-telephone h3 {
        font-size: 1.2em;
    }

    #content-telephone p {
        font-size: 1.2em;
    }

    .call-button {
        font-size: 1em;
        padding: 1em 1.5em;
    }
    
}